Fix last ChangeLog entry.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2
3 * progmodes/flymake.el (flymake-create-temp-inplace): Use
4 file-truename.
5
6 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7
8 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
9
10 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
11
12 * calc/calc-units.el (math-extract-units): Properly extract powers
13 of units.
14
15 2012-10-20 Daniel Colascione <dancol@dancol.org>
16
17 * frame.el (make-frame): Set x-display-name as we used to in order
18 to unbreak creating an X11 frame from an Emacs daemon started
19 without a display.
20
21 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * minibuffer.el (minibuffer-force-complete): Make the next completion use
24 the same completion-field (bug@12221).
25
26 2012-10-19 Martin Rudalics <rudalics@gmx.at>
27
28 * emacs-lisp/debug.el (debug): Record height of debugger window
29 also when debugger will be back (Bug#8789).
30
31 2012-10-18 Chong Yidong <cyd@gnu.org>
32
33 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
34 Convert to defcustom.
35 (gdb-get-source-file): Don't bind pop-up-windows.
36
37 * progmodes/gud.el (gud-display-line): Don't specially re-use
38 other frames for the gdb-mi case (Bug#12648).
39
40 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * emacs-lisp/advice.el: Clean up commentary a bit.
43 (ad-do-advised-functions, ad-with-originals): Use `declare'.
44 (byte-code-function-p): Never redefine.
45
46 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
47
48 2012-10-18 Glenn Morris <rgm@gnu.org>
49
50 * dired.el (dired-sort-toggle): Some ls implementations only allow
51 a single option string. (Bug#12666)
52
53 * minibuffer.el (completion-cycle-threshold): Doc fix.
54
55 2012-10-17 Kenichi Handa <handa@gnu.org>
56
57 * international/mule.el (set-keyboard-coding-system):
58 Recover input meta mode when the new coding system doesn not use 8-bit.
59 Supply TERMINAL arg to set-input-meta-mode.
60
61 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
62
63 * wdired.el (wdired-old-marks): New variable.
64 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
65 (wdired-do-renames): Move point with renamed file and don't lose
66 mark status (Bug#11795).
67
68 2012-10-16 Juri Linkov <juri@jurta.org>
69
70 * replace.el (query-replace-help): Mention multi-buffer replacement
71 keys in the Help message. (Bug#12655)
72
73 2012-10-15 Chong Yidong <cyd@gnu.org>
74
75 * emacs-lisp/byte-run.el (defsubst): Doc fix.
76
77 2012-10-14 Eli Zaretskii <eliz@gnu.org>
78
79 * window.el (display-buffer): Doc fix.
80
81 * progmodes/compile.el (compilation-error-regexp-alist-alist):
82 Adjust the msft regexp to the output of Studio 2010, and move msft
83 before edg-1. See the discussion on emacs-devel,
84 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
85 for the details.
86
87 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
90 (oset): Move uses of object-class-fast macro after its definition.
91
92 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
93
94 2012-10-13 Chong Yidong <cyd@gnu.org>
95
96 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
97 enabled, re-enable it (Bug#11963).
98
99 2012-10-13 Martin Rudalics <rudalics@gmx.at>
100
101 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
102 non-nil, restore window configuration (Bug#12623).
103
104 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * help-fns.el (describe-variable, describe-function-1):
107 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
108
109 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
110
111 2012-10-12 Glenn Morris <rgm@gnu.org>
112
113 * mail/rmailsum.el (rmail-header-summary):
114 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
115
116 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
117
118 * progmodes/python.el (python-mode-map):
119 Replace subtitute-key-definition with proper command remapping.
120 (python-nav--up-list): Fix behavior for blocks on the same level.
121
122 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
125
126 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
127 changes to the format of load-history.
128
129 * international/mule-cmds.el (read-char-by-name): Move let-binding of
130 completion-ignore-case in case that var is buffer-local (bug#12615).
131
132 2012-10-11 Kenichi Handa <handa@gnu.org>
133
134 * international/eucjp-ms.el: Re-generated.
135
136 2012-10-10 Kenichi Handa <handa@gnu.org>
137
138 * select.el (xselect--encode-string): If a coding is specified for
139 selection, and that is compatible with COMPOUND_TEXT, use it.
140
141 2012-10-10 Martin Rudalics <rudalics@gmx.at>
142
143 * window.el (switch-to-buffer-preserve-window-point): New option.
144 (switch-to-buffer):
145 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
146
147 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
150 Don't document nil as a useful value (bug#12583).
151
152 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
153
154 * net/tramp.el (tramp-debug-message):
155 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
156 (with-tramp-progress-reporter): Rename from
157 `tramp-with-progress-reporter'.
158 (with-tramp-file-property, with-tramp-connection-property):
159 Move from tramp-cache.el, rename from `with-file-property' and
160 `with-connection-property', respectively.
161
162 * net/tramp-cache.el: Remove `with-file-property' and
163 `with-connection-property'.
164
165 * net/tramp.el:
166 * net/tramp-gvfs.el:
167 * net/tramp-sh.el:
168 * net/tramp-smb.el: Adapt callees.
169
170 * net/trampver.el: Update release number.
171
172 2012-10-09 Glenn Morris <rgm@gnu.org>
173
174 * w32-fns.el (set-message-beep):
175 * term/w32-win.el (set-message-beep): Update declarations.
176
177 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
180 (mode-line-widen, mode-line-input-method-map)
181 (mode-line-coding-system-map, mode-line-remote)
182 (mode-line-unbury-buffer, mode-line-bury-buffer)
183 (mode-line-next-buffer, mode-line-previous-buffer):
184 Replace save-selected-window+select-window => with-selected-window.
185
186 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
187 * progmodes/cc-vars.el (bq-process): Remove, unused.
188
189 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
190
191 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
192
193 Implemented `backward-up-list'-like navigation.
194 * progmodes/python.el (python-nav-up-list)
195 (python-nav-backward-up-list): New functions.
196 (python-mode-map): Define substitute key for backward-up-list to
197 python-nav-backward-up-list.
198
199 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
200
201 * progmodes/python.el (python-fill-paragraph): Rename from
202 python-fill-paragraph-function. Fixed fill-paragraph for
203 decorators (Bug#12605).
204
205 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
206
207 * progmodes/python.el (python-shell-output-filter): Handle extra
208 carriage return in OSX (Bug#12409).
209
210 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
211
212 Fix shell handling of unbalanced quotes and parens in output.
213 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
214 (python-syntax-propertize-function): Use it.
215 (python-shell-output-syntax-table): New var.
216 (inferior-python-mode): Prevent unbalanced parens/quotes from
217 previous output mess with current input context.
218
219 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
220
221 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
222 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
223
224 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
225
226 * ffap.el (ffap-replace-file-component): Support Tramp file name
227 syntax, not only ange-ftp's one.
228
229 2012-10-08 Glenn Morris <rgm@gnu.org>
230
231 * cus-start.el (message-log-max): Set :version.
232
233 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
234
235 2012-10-08 Martin Rudalics <rudalics@gmx.at>
236
237 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
238 the minibuffer window (Bug#10851).
239
240 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
241
242 Enhancements on forward-sexp movement.
243 * progmodes/python.el (python-nav-beginning-of-statement)
244 (python-nav-end-of-statement): Return point-marker.
245 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
246 (python-info-current-symbol)
247 (python-info-statement-starts-block-p): Rename from
248 python-info-beginning-of-block-p.
249 (python-info-statement-ends-block-p): Rename from
250 python-info-end-of-block-p.
251 (python-info-beginning-of-statement-p)
252 (python-info-end-of-statement-p)
253 (python-info-beginning-of-block-p, python-info-end-of-block-p):
254 New functions.
255
256 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
259 frame-selected-windows.
260
261 2012-10-08 Daniel Colascione <dancol@dancol.org>
262
263 * battery.el (battery-status-function): Check for
264 w32-battery-status itself, not system-time windows-nt.
265
266 * frame.el: Require cl-lib.
267 (display-format-alist): New variable mapping frame types to
268 functions that initialize them.
269 (window-system-for-display): New function: interprets
270 display-format-alist.
271 (make-frame-on-display): Remove existing display-selection logic
272 and just forward to make-frame, which will now DTRT.
273 (make-frame): Restructure to use window-system-for-display to
274 figure out how to create a frame on a given display.
275 (display-mouse-p): Look for frame-type w32, not a particular
276 system-type.
277
278 * loadup.el: Load w32 lisp code when we have the w32 feature.
279
280 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
281 system-type windows-nt.
282
283 * server.el (server-create-window-system-frame): Look for window
284 type.
285 (server-proces-filter): Only force a window system when windows-nt
286 _and_ w32. Explain why.
287
288 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
289 of window systems we configure for the mode.
290
291 * startup.el (command-line): Mark window system is initialized
292 after we've done it.
293
294 * common-win.el (x-select-text): Look for w32, not windows-nt.
295
296 * ns-win.el: Require cl-lib. Add ourselves to
297 display-format-alist.
298 (ns-initialize-window-system): Assert we're not initialized twice.
299
300 * w32-win.el: Enable lexical binding; require cl-lib; add
301 ourselves to display-format-alist.
302 (w32-handle-dropped-file): Convert incoming dropped files from
303 Windows paths to Cygwin ones before passing them on to the rest of
304 Emacs.
305 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
306 (w32-initialize-window-system): Assert we're not initialized twice.
307
308 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
309 (x-initialize-window-system): Assert we're not initialized twice.
310
311 * w32-common-fns.el: New File.
312 (w32-version, w32-using-nt, w32-get-clipboard-data)
313 (w32-set-clipboard-data, x-set-selection, x-get-selection)
314 (w32-charset-info-alist, x-last-selected, text)
315 (x-get-selection-value, x-selection-value): Move here.
316
317 * w32-fns.el: Require w32-common-fns.
318 (w32-version, w32-using-nt, w32-get-clipboard-data)
319 (w32-set-clipboard-data, x-set-selection, x-get-selection)
320 (w32-charset-info-alist, x-last-selected, text)
321 (x-get-selection-value, x-selection-value): Move to
322 w32-common-fns.
323
324 * w32-vars.el:
325 (w32-allow-system-shell, w32-system-shells): Define only in
326 non-cygwin case.
327
328 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
331 (read-passwd): Remove a few more potential sources of leaks.
332
333 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
334
335 * progmodes/python.el (inferior-python-mode)
336 (python-shell-make-comint): Fix initialization of local
337 variables copied from parent buffer.
338
339 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
340
341 * term/ns-win.el (ns-read-file-name): Update declaration to match
342 nsfns.m.
343 (ns-respond-to-change-font): Change fontsize separatly so we are sure
344 it is set when font is acted upon.
345
346 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
347
348 Enhancements to indentation.
349 * progmodes/python.el (python-indent-context): Give priority to
350 inside-string context. Make comments indentation markers.
351 (python-indent-region): Do not mess with strings, unless it's the
352 enclosing set of quotes.
353
354 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * window.el (internal--before-save-selected-window)
357 (internal--after-save-selected-window): New functions extracted from
358 save-selected-window. Make sure we return the `alist' we construct.
359 (save-selected-window): Use them.
360
361 * textmodes/tex-mode.el (tex-recenter-output-buffer):
362 Use with-selected-window.
363
364 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
365 forms that define macros (bug#12593).
366
367 2012-10-07 Kenichi Handa <handa@gnu.org>
368
369 * international/mule-conf.el (compound-text-with-extensions):
370 Add :mime-charset property as x-ctext.
371
372 2012-10-07 Stefan Merten <smerten@oekonux.de>
373
374 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
375 (rst-indent-literal-normal, rst-indent-literal-minimized)
376 (rst-indent-comment): Correct :version tag.
377 (rst-official-cvs-rev): Correct version string.
378
379 2012-10-07 Glenn Morris <rgm@gnu.org>
380
381 * mail/rmailmm.el (rmail-mime-process-multipart):
382 Do not confuse a multipart message with an epilogue
383 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
384
385 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
386
387 Fix shell output retrieval and comint-prompt-regexp init.
388 * progmodes/python.el (inferior-python-mode):
389 (python-shell-make-comint): Fix initialization of
390 comint-prompt-regexp from copied file local variables.
391 (python-shell-fetched-lines): Remove var.
392 (python-shell-output-filter-in-progress): Rename from
393 python-shell-fetch-lines-in-progress.
394 (python-shell-output-filter-buffer): Rename from
395 python-shell-fetch-lines-string.
396 (python-shell-fetch-lines-filter): Delete function.
397 (python-shell-output-filter): New function.
398 (python-shell-send-string-no-output): Use them.
399
400 2012-10-07 Glenn Morris <rgm@gnu.org>
401
402 * hi-lock.el (hi-lock-process-phrase):
403 Try to make it less fragile. (Bug#7161)
404
405 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
406
407 2012-10-06 Glenn Morris <rgm@gnu.org>
408
409 * ehelp.el (electric-help-mode): Use help-mode rather than
410 non-existent mode `help'.
411 (electric-help-map): Use button-buffer-map. (Bug#10917)
412
413 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
414 (reftex-create-bibtex-footer): Fix custom types.
415
416 * progmodes/sh-script.el (sh-indent-after-continuation):
417 Add explicit :group.
418
419 * textmodes/rst.el (rst-preferred-decorations)
420 (rst-shift-basic-offset): Clarify obsolescence versions.
421
422 * profiler.el (profiler): Add missing group :version tag.
423 * avoid.el (mouse-avoidance-banish-position):
424 * proced.el (proced-renice-command):
425 * calc/calc.el (calc-ensure-consistent-units):
426 * calendar/icalendar.el (icalendar-import-format-uid):
427 * net/tramp.el (tramp-save-ad-hoc-proxies):
428 * progmodes/bug-reference.el (bug-reference-bug-regexp):
429 * progmodes/flymake.el (flymake-error-bitmap)
430 (flymake-warning-bitmap, flymake-fringe-indicator-position):
431 * progmodes/sh-script.el (sh-indent-after-continuation):
432 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
433 (verilog-before-save-font-hook, verilog-after-save-font-hook):
434 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
435 (vhdl-array-index-record-field-in-sensitivity-list)
436 (vhdl-indent-comment-like-next-code-line):
437 * textmodes/reftex-vars.el (reftex-ref-style-alist)
438 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
439 (reftex-cite-key-separator, reftex-create-bibtex-header)
440 (reftex-create-bibtex-footer):
441 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
442 (rst-indent-literal-normal, rst-indent-literal-minimized)
443 (rst-indent-comment): Add missing custom :version tags.
444
445 * calendar/timeclock.el (timeclock-modeline-display):
446 Add missing obsolete alias for renamed user option.
447
448 * strokes.el (strokes-modeline-string):
449 * emulation/crisp.el (crisp-mode-modeline-string):
450 * eshell/esh-mode.el (eshell-status-in-modeline):
451 Aliases to defcustoms must come before the defcustom.
452
453 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
454 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
455 (cal-tex-cursor-week-monday): Doc fixes.
456 (cal-tex-cursor-week2-summary): Doc fix.
457 Rename from cal-tex-cursor-week-at-a-glance.
458
459 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
460 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
461
462 * calendar/calendar.el (calendar-mode-map):
463 Add cal-tex-cursor-week2-summary.
464
465 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
468
469 * subr.el (read-passwd-map): New var.
470 (read-passwd): Use `read-string' again.
471 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
472
473 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
474
475 * register.el (append-to-register, prepend-to-register):
476 Deactivate mark, as does `copy-to-register' (bug#12389).
477
478 2012-10-06 Chong Yidong <cyd@gnu.org>
479
480 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
481
482 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
483
484 * international/characters.el: Fix simple mistake ((car chars) ->
485 elt), delete duplicated code.
486
487 2012-10-06 Glenn Morris <rgm@gnu.org>
488
489 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
490
491 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
492
493 * color.el (color-hsl-to-rgb): Fix incorrect results for
494 small and large hue values. (Bug#12559)
495
496 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
497
498 Enhancements to docstring formatting when filling paragraphs.
499 * progmodes/python.el (python-fill-docstring-style): Rename from
500 python-fill-string-style. Added new style.
501 (python-fill-string): Use new style. Better checks for
502 docstrings.
503
504 2012-10-05 Glenn Morris <rgm@gnu.org>
505
506 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
507
508 * color.el (color-name-to-rgb, color-rgb-to-hex)
509 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
510 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
511 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
512 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
513
514 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
515
516 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
517
518 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
519 to get the correct size across symlinks.
520
521 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
522
523 2012-10-04 Juri Linkov <juri@jurta.org>
524
525 * replace.el (query-replace-interactive): Declare obsolete.
526 (query-replace-read-from): Add the last incremental search string
527 to the list of default values accessible via M-n.
528 (map-query-replace-regexp): Use `read-regexp'.
529 (query-replace, query-replace-regexp, query-replace-regexp-eval)
530 (map-query-replace-regexp, replace-string, replace-regexp):
531 Fix docstrings to replace mentions of `query-replace-interactive'
532 with alternatives. (Bug#12526)
533
534 2012-10-04 Juri Linkov <juri@jurta.org>
535
536 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
537 (dired-pop-to-buffer): Declare obsolete.
538 (dired-mark-pop-up): Doc fix.
539
540 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
541
542 Allow user to set docstring style for fill-paragraph.
543 * progmodes/python.el
544 (python-fill-comment-function, python-fill-string-function)
545 (python-fill-decorator-function, python-fill-paren-function):
546 Remove :safe for defcustoms.
547 (python-fill-string-style): New defcustom
548 (python-fill-paragraph-function): Enhance context detection.
549 (python-fill-string): Honor python-fill-string-style settings.
550
551 2012-10-04 Martin Rudalics <rudalics@gmx.at>
552
553 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
554 after setting its buffer (Bug#10805).
555
556 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
557
558 Fix cornercase for string syntax.
559 * progmodes/python.el (python-syntax-propertize-function):
560 Simplify and enhance the regexp for unescaped quotes. Now it also
561 matches quotes in weird situations like the single quote in
562 "something\"'".
563 (python-syntax-stringify): Simplify num-quotes detecting code.
564
565 2012-10-03 Glenn Morris <rgm@gnu.org>
566
567 * help-macro.el (three-step-help):
568 Revert 2012-09-29 change. (Bug#12567)
569
570 2012-10-03 Martin Rudalics <rudalics@gmx.at>
571
572 * menu-bar.el (kill-this-buffer): Don't do anything when
573 `menu-frame' is not alive or visible (Bug#8184).
574
575 * emacs-lisp/debug.el (debug): When quitting the debugger window
576 restore current buffer (Bug#12502).
577
578 2012-10-02 Chong Yidong <cyd@gnu.org>
579
580 * progmodes/hideif.el (hif-lookup, hif-defined):
581 Handle semantic-c-takeover-hideif.
582
583 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
584
585 Change sampling interval units from ms to ns.
586 * profiler.el (profiler-sampling-interval): Change units
587 from ms to ns, multiplying the default by 1000000 so that
588 it remains 1 ms.
589 (profiler-report-cpu-line-format): Give enough room for
590 the maximum counters on 64-bit hosts.
591 (profiler-report-render-calltree-1): Call them "CPU samples",
592 not "Time (ms)", since they are not milliseconds now (and
593 never really were).
594
595 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
596
597 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
598 Fix querying BBDB for entries without a last name (Bug#11580).
599
600 2012-10-02 Chong Yidong <cyd@gnu.org>
601
602 * emacs-lisp/eieio.el: Restore Version header.
603
604 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * vc/diff-mode.el (diff--auto-refine-data): New var.
607 (diff-hunk): Use it to delay refinement.
608 (diff-mode): Remove overlays when we turn off font-lock.
609
610 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
611 (table-initialize-table-fixed-width-mode)
612 (table-set-table-fixed-width-mode): Remove functions.
613 (table-command-list): Move initialization into declaration.
614 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
615 (table-with-cache-buffer): Use `declare'.
616 (table-span-cell): Simplify via CSE.
617 (table-fixed-width-mode): Use define-minor-mode.
618 (table-call-interactively, table-funcall, table-apply): Remove.
619 (table-function): New function, to replace them.
620
621 * bookmark.el (bookmark-search-pattern): Remove var.
622 (bookmark-read-search-input): Remove function.
623 (bookmark-bmenu-search): Reimplement using a minibuffer.
624
625 * faces.el (modeline): Remove obsolete face name.
626
627 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
628 and give a non-nil default value.
629 (add-change-log-entry): Simplify accordingly.
630
631 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
632
633 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
634 (vc-git-log-edit-toggle-amend): New function.
635 (vc-git-log-edit-toggle-signoff): New function.
636 (vc-git-log-edit-mode): New major mode.
637 (vc-git-log-edit-mode-map): Keymap for it.
638 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
639
640 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
641 header names.
642 (log-edit-toggle-header): New function.
643 (log-edit-extract-headers): Accept function values in HEADERS alist.
644
645 2012-10-01 David Engster <deng@randomsample.de>
646
647 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
648 from symbol property and change message to be more consistent with
649 Emacs proper.
650 (eieio-describe-generic): Add filename for each implementation.
651 Fix indices for generic and normal methods.
652 (eieio-method-def, eieio-class-def): New buttons.
653 (eieio-help-find-method-definition)
654 (eieio-help-find-class-definition): New functions.
655 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
656 class, constructor and method definitions.
657
658 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
659 information in symbol property.
660 (scoped-class): Remove.
661 (eieio-slot-name-index, call-next-method): Check if it is bound.
662
663 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
664
665 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
666 (eieio-custom-mode): New major mode.
667 (eieio-customize-object): Use it.
668
669 2012-10-01 Eric Ludlam <zappo@gnu.org>
670
671 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
672 specifying the expected class, and whether subclassing is allowed.
673 (eieio-persistent-convert-list-to-object):
674 (eieio-persistent-validate/fix-slot-value)
675 (eieio-persistent-slot-type-is-class-p): New functions.
676 (eieio-named::slot-missing): Doc fix.
677
678 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
679 Stop using unused publd variable.
680
681 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
682 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
683 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
684 (eieio-speedbar-handle-click): Do not specify a class for the
685 method. Fixes method invocation order problems with EDE.
686
687 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
690 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
691
692 2012-10-01 Karl Fogel <kfogel@red-bean.com>
693
694 * bookmark.el (bookmark-version-control): Give tags in the
695 :type choices (Bug#12309), and improve doc string.
696 (bookmark-write-file): Bind `print-circle' to `t' to allow
697 circular custom bookmark types. (Bug#12503)
698
699 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
700
701 Revert the FOLLOW-SYMLINKS change for file-attributes.
702 * files.el (remote-file-name-inhibit-cache, after-find-file):
703 * time.el (display-time-file-nonempty-p): Undo last change.
704
705 * profiler.el (profiler-sampling-interval): Change default back to 1.
706 See Stefan Monnier in
707 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
708
709 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
710
711 Shell output catching a la gud-gdb.
712 * progmodes/python.el (python-shell-fetch-lines-in-progress)
713 (python-shell-fetch-lines-string, python-shell-fetched-lines):
714 New Vars.
715 (python-shell-fetch-lines-filter): New function.
716 (python-shell-send-string-no-output): Use them.
717
718 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
719
720 * profiler.el (profiler-sampling-interval): Rename from
721 profiler-sample-interval.
722 (profiler-sampling-interval): Default to 10.
723 (profiler-find-profile): New command (was profiler-find-log).
724 (profiler-find-profile-other-window): New command.
725 (profiler-find-profile-other-frame): New command.
726 (profiler-profile): Introduce API-level data structure.
727
728 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
729
730 file-attributes has a new optional arg FOLLOW-SYMLINKS.
731 * files.el (remote-file-name-inhibit-cache):
732 * time.el (display-time-file-nonempty-p): Use it.
733 * files.el (after-find-file): Don't chase links before calling
734 file-exists-p, as file-exists-p already does the right thing.
735
736 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
737
738 Merge from standalone RefTeX repository.
739
740 The following ChangeLog entries are shortened versions of the
741 original ones with file paths adapted. A not so strongly edited
742 version of the original ChangeLog can be found in the commit log.
743
744 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
745 (reftex-arg-cite): Use `reftex-cite-key-separator'.
746 Correctly handle new value type returned by `reftex-citation'.
747
748 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
749 that entries with whitespace at various places are found.
750 Doc fix. Include entries that are cross-referenced from cited entries.
751 Include @String definitions in the resulting bib file. Add header
752 and footer defined in `reftex-create-bibtex-header' and
753 `reftex-create-bibtex-footer'.
754 (reftex-do-citation): Make it possible again to insert
755 non-existent entries. Save match data when asking for optional
756 arguments. Return all keys, not just the first one.
757 (reftex-all-used-citation-keys): Fix regexp to correctly extract
758 all citations in the same line.
759 (reftex-parse-bibtex-entry): Accept additional optional argument
760 `raw' and keep quotes or braces if it is non-nil. Match fields
761 containing hyphens besides word constituents.
762 (reftex-get-string-refs): New function.
763 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
764 and ask if it should be reread in case it did.
765 (reftex-pop-to-bibtex-entry)
766 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
767 entries with spaces or tabs in front of arguments.
768 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
769 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
770 Match entries containing numbers and symbol constituents.
771 (reftex-do-citation, reftex-figure-out-cite-format):
772 Use `reftex-cite-key-separator'.
773
774 * textmodes/reftex-dcr.el: Move provide statement to end of file.
775 (reftex-mouse-view-crossref): Explain why point is set.
776
777 * textmodes/reftex-global.el: Whitespace changes.
778
779 * textmodes/reftex-index.el: Move provide statement to end of
780 file.
781 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
782 (reftex-index-visit-phrases-buffer): Set marker when visiting
783 buffer. This allows for returning from the phrases file to the
784 file one was just editing instead of the file where the last
785 phrases was added from.
786 (reftex-index-phrases-syntax-table): New variable. Give ?\"
787 punctuation syntax as it usually is not used as string quote in
788 TeX-related modes and may occur unmatched. The change also
789 prevents fontification of quoted content.
790 (reftex-index-phrases-mode): Use it.
791
792 * textmodes/reftex-parse.el (reftex-parse-from-file):
793 Move backward one char if a `\' was matched after a section macro.
794 (reftex-parse-from-file): Use beginning of match instead of end as
795 bound.
796
797 * textmodes/reftex-ref.el: Adapt creation of
798 `reftex-<package>-<macro>' functions to new structure of
799 `reftex-ref-style-alist'.
800 (reftex-reference): Use `reftex-ref-style-list' function.
801 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
802 reference macro if `reftex-ref-macro-prompt' is non-nil.
803 (reftex-reference): Pass refstyle to `reftex-format-special'.
804 Determine reference macro by looking at
805 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
806 Use only one special format function.
807 (reftex-varioref-vref, reftex-fancyref-fref)
808 (reftex-fancyref-Fref): Remove definitions. The functions are now
809 generated from `reftex-ref-style-alist'.
810 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
811 Remove.
812 (reftex-format-special): New function.
813
814 * textmodes/reftex-sel.el
815 (reftex-select-cycle-ref-style-internal): Adapt to new structure
816 of `reftex-ref-style-alist'. Remove code for testing macro type.
817 (reftex-select-toggle-varioref)
818 (reftex-select-toggle-fancyref): Remove.
819 (reftex-select-cycle-ref-style-internal)
820 (reftex-select-cycle-ref-style-forward)
821 (reftex-select-cycle-ref-style-backward): New functions.
822 (reftex-select-label-map): Use `v' and `V' for general cycling
823 through reference styles. Add `p' for switching between number
824 and page reference types.
825
826 * textmodes/reftex-toc.el (reftex-re-enlarge):
827 Call `enlarge-window' only if there is something to do because in Emacs
828 the horizontal version throws an error even if the parameter is 0.
829
830 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
831 (reftex-plug-into-AUCTeX): Doc fix.
832 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
833 string. Adapt to new name.
834 (reftex-ref-style-alist): Change structure so that it is not
835 possible to use multiple different package names within a style.
836 Remove the symbols for symbols for macro type distinction.
837 Add characters for macro selection.
838 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
839 (reftex-create-bibtex-footer): New variables.
840 (reftex-format-ref-function): Mention third argument of special
841 format function.
842 (reftex-ref-style-alist, reftex-ref-style-default-list):
843 New variables.
844 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
845 to new implementation. Mark as obsolete. Add compatibility code
846 for honoring the variable values in case they are set.
847 (reftex-cite-format-builtin, reftex-bibliography-commands):
848 Add support for ConTeXt.
849 (reftex-format-ref-function, reftex-format-cite-function):
850 Fix custom type.
851 (reftex-cite-key-separator): New variable.
852
853 * textmodes/reftex.el (reftex-syntax-table-for-bib)
854 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
855 `reftex-syntax-table' because parens have to retain their paren
856 syntax in order for parsing of BibTeX entries like @book(...) to
857 work.
858 (reftex-in-comment): Do not error out if `comment-start-skip' is
859 not set. Deal correctly with escaped comment characters.
860 (reftex-tie-multifile-symbols): Add doc string.
861 Initialize `reftex-ref-style-list'.
862 (reftex-untie-multifile-symbols): Add doc string.
863 (reftex-add-index-macros): Doc fix.
864 (reftex-ref-style-activate, reftex-ref-style-toggle)
865 (reftex-ref-style-list): New functions.
866 (reftex-mode-menu): Use them. Adapt to new structure of
867 `reftex-ref-style-alist'.
868 (reftex-select-with-char): Kill the RefTeX Select buffer when
869 done.
870 (reftex-remove-if): New function.
871 (reftex-erase-all-selection-and-index-buffers)
872 (reftex-mode-menu): Reference styles are now computed from
873 `reftex-ref-style-alist'. Fix typo.
874 (reftex-report-bug): New function.
875 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
876 algorithms with O(n log n). Introduce optional argument SORT (not
877 yet used).
878
879 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
880
881 Enhancements for triple-quote string syntax.
882 * progmodes/python.el (python-syntax-propertize-function):
883 Match both quote cases in one regexp.
884 (python-syntax-stringify): Handle matches properly.
885
886 2012-09-30 Juri Linkov <juri@jurta.org>
887
888 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
889 to nil around the call to `insert' to prevent
890 directory time modification by lock_file. (Bug#2295)
891 * tar-mode.el (tar-summarize-buffer): Idem.
892
893 2012-09-30 Juri Linkov <juri@jurta.org>
894
895 * facemenu.el (list-colors-sort): Add option "Luminance".
896 (list-colors-sort-key): Implement it.
897
898 * vc/diff-mode.el (diff-refine-removed):
899 * vc/ediff-init.el (ediff-fine-diff-A):
900 * vc/smerge-mode.el (smerge-refined-removed):
901 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
902
903 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
904
905 * term/ns-win.el (x-file-dialog): New function.
906
907 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
908
909 * ido.el (ido-max-directory-size): Default to nil; the current
910 default is small for POSIX systems, and impractical on Windows 7
911 now that lstat returns directory sizes for NTFS.
912
913 2012-09-30 Martin Rudalics <rudalics@gmx.at>
914
915 In buffer display functions handle window-height/window-width
916 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
917 * window.el (window--display-buffer): New argument ALIST.
918 Obey window-height and window-width alist entries.
919 (window--try-to-split-window): New argument ALIST.
920 Bind window-combination-limit to t when the window's size shall be
921 changed and window-combination-limit equals `window-size'.
922 (display-buffer-in-atom-window)
923 (display-buffer-in-major-side-window)
924 (display-buffer-in-side-window, display-buffer-same-window)
925 (display-buffer-reuse-window, display-buffer-pop-up-frame)
926 (display-buffer-pop-up-window, display-buffer-below-selected)
927 (display-buffer-at-bottom, display-buffer-in-previous-window)
928 (display-buffer-use-some-window): Adjust all callers of
929 window--display-buffer and window--try-to-split-window.
930 (fit-frame-to-buffer): New option.
931 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
932 is non-nil.
933 (display-buffer-in-major-side-window): Evaluate window-height /
934 window-width alist entries.
935
936 * help.el (temp-buffer-resize-frames)
937 (temp-buffer-resize-regexps): Remove options.
938 (temp-buffer-resize-mode): Adjust doc-string.
939 (resize-temp-buffer-window): Don't consult
940 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
941 temp-buffer-resize-frames.
942
943 * dired.el (dired-mark-pop-up):
944 Call display-buffer-below-selected with a fit-window-to-buffer alist
945 entry.
946
947 2012-09-30 Chong Yidong <cyd@gnu.org>
948
949 * server.el (server-host): Document the security implications.
950 (server-auth-key): Doc fix.
951
952 * startup.el (initial-buffer-choice): Doc fix.
953
954 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
955
956 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
957 restriction change.
958
959 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
960
961 * help-fns.el (help-fns--obsolete): Fix last change.
962
963 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
966 (minor-mode-map-alist): Remove redundant code.
967
968 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
969 visited in a buffer.
970 (cvs-insert-visited-file): New function.
971 (find-file-hook): Use it.
972
973 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
974
975 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
976 chose face.
977 (log-edit-empty-buffer-p): Don't require a space after a header.
978
979 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
980
981 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
982
983 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
984 a proper minor-mode.
985
986 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
987
988 2012-09-29 Glenn Morris <rgm@gnu.org>
989
990 * winner.el (winner-mode): Remove variable (let define-minor-mode
991 handle it).
992 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
993 Doc fixes.
994 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
995 (winner-mode): Use define-minor-mode.
996
997 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
998 the full definition in loaddefs, rather than duplicating it.
999
1000 * help-macro.el (three-step-help): No need to autoload defcustom.
1001
1002 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1003 (inferior-lisp-program, inferior-lisp-load-command)
1004 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1005 No need to autoload defcustoms.
1006
1007 * hippie-exp.el (hippie-expand-try-functions-list)
1008 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1009 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1010 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1011 (hippie-expand-only-buffers): No need to autoload defcustoms.
1012 * progmodes/vhdl-mode.el (vhdl-line-expand):
1013 Explicitly load hippie-exp, so it does not get autoloaded
1014 while hippie-expand-try-functions-list is let-bound.
1015
1016 2012-09-28 Glenn Morris <rgm@gnu.org>
1017
1018 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1019
1020 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1021 Only "cl.el" counts as cl these days.
1022
1023 2012-09-28 Juri Linkov <juri@jurta.org>
1024
1025 Display archive errors in the echo area instead of inserting
1026 to the file buffer.
1027
1028 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1029 to STDERR-TEST that can be a regexp matching a successful output.
1030 Create a temporary file and redirect stderr to it. Search for
1031 STDERR-TEST in the stderr output and display it in the echo area
1032 if no match is found.
1033 (archive-extract-by-file): New function like
1034 `archive-extract-by-stdout' but extracting archives to files
1035 and looking for successful matches in stdout. Function body is
1036 mostly copied from `archive-rar-extract'.
1037 (archive-rar-extract): Use `archive-extract-by-file'.
1038 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1039
1040 2012-09-28 Leo Liu <sdl.web@gmail.com>
1041
1042 * pcomplete.el (pcomplete-show-completions):
1043 Use minibuffer-message to make pcomplete usable in minibuffer.
1044
1045 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1046
1047 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * type-break.el: Use lexical-binding.
1050 (type-break-mode): Use define-minor-mode.
1051
1052 * emacs-lisp/pcase.el (pcase--mark-used): New.
1053 (pcase--u1): Use it (bug#12512).
1054
1055 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1056 in load-history with the right file name.
1057
1058 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1059
1060 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1061 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1062 (doc-view-get-bounding-box): Make bounding box slicing work for
1063 ODF and DVI documents.
1064
1065 2012-09-28 Glenn Morris <rgm@gnu.org>
1066
1067 * type-break.el (type-break-mode, type-break-interval)
1068 (type-break-good-rest-interval, type-break-keystroke-threshold):
1069 No need to autoload.
1070 (type-break-good-rest-interval, type-break-keystroke-threshold):
1071 Add :set-after.
1072
1073 2012-09-28 Chong Yidong <cyd@gnu.org>
1074
1075 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1076 Add :version tag.
1077
1078 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1081
1082 2012-09-27 Glenn Morris <rgm@gnu.org>
1083
1084 * faces.el (x-display-name): Declare (for without-x builds).
1085
1086 * linum.el (linum-format): Don't autoload it. Improve :type.
1087
1088 * progmodes/tcl.el: Don't require outline when compiling.
1089 (outline-regexp, outline-level): Declare.
1090 * textmodes/sgml-mode.el: Don't require outline when compiling.
1091 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1092
1093 * term.el (term-ansi-reset):
1094 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1095
1096 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1097 files for RCS and SCCS. (Bug#9781)
1098
1099 2012-09-27 Chong Yidong <cyd@gnu.org>
1100
1101 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1102 change; value should be t.
1103
1104 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * image-mode.el: Use lexical-binding.
1107 (image-mode-winprops): Use t to stand for the window of
1108 a buffer that's not displayed.
1109 * doc-view.el (doc-view-new-window-function): Handle the new
1110 t in winprops.
1111 (doc-view-enlarge): Make it a real nop if the size is not changed.
1112 (doc-view-display): Handle the case where the buffer is not (yet?)
1113 displayed in any window.
1114 (doc-view-saved-settings): New var.
1115 (doc-view-mode): Use it.
1116 (doc-view-fallback-mode): Set it.
1117
1118 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1119 Set lexical-binding.
1120 (minibuffer-eldef-shorten-default): New var.
1121 (minibuffer-default-in-prompt-regexps): Use it for new default.
1122 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1123
1124 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * international/uni-bidi.el:
1127 * international/uni-category.el:
1128 * international/uni-name.el:
1129 * international/uni-numeric.el: Regenerate.
1130
1131 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1132 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * profiler.el: New file.
1135
1136 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1139 (testcover-reinstrument): Simplify with CSE.
1140
1141 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1142
1143 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1144
1145 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1146
1147 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1148 (verilog-auto-input, verilog-auto-insert-lisp)
1149 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1150 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1151 (verilog-auto-unused, verilog-auto-wire)
1152 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1153 newline. Reported by Andrew Jones.
1154 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1155 Reported by Brad Dobbie.
1156 (verilog-batch-delete-trailing-whitespace):
1157 Create verilog-batch-delete-trailing-whitespace.
1158 Reported by Brad Dobbie.
1159 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1160 parameters from another module. Reported by Dan Katz.
1161 (verilog-auto, verilog-auto-assign-modport)
1162 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1163 AUTOINOUTMODPORT for UVM interface module shell generation.
1164 Reported by Brad Dobbie.
1165 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1166 standard behavior.
1167 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1168 Reported by Matt Martin.
1169
1170 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1171
1172 * window.el (window--resize-child-windows): When resizing child
1173 windows proportionally, process them in reverse order to
1174 preserve the "when splitting a window the new one gets the odd
1175 line" behavior.
1176 (window--resize-root-window-vertically): When resizing the
1177 minibuffer window try to affect only windows at the bottom of the
1178 frame. (Bug#12419)
1179
1180 2012-09-25 Chong Yidong <cyd@gnu.org>
1181
1182 * subr.el (declare): Doc fix.
1183
1184 * help-fns.el (help-fns--obsolete): Handle macros properly.
1185
1186 2012-09-25 Chong Yidong <cyd@gnu.org>
1187
1188 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1189 this function obsolete.
1190
1191 * calendar/cal-x.el (calendar-two-frame-setup)
1192 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1193 * calendar/calendar.el (american-calendar, european-calendar)
1194 (calendar-for-loop):
1195 * comint.el (comint-dynamic-simple-complete)
1196 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1197 * desktop.el (desktop-load-default):
1198 * dired-x.el (dired-omit-here-always)
1199 (dired-hack-local-variables, dired-default-directory):
1200 * emacs-lisp/derived.el (derived-mode-class):
1201 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1202 * emacs-lock.el (toggle-emacs-lock):
1203 * epa.el (epa-display-verify-result):
1204 * epg.el (epg-sign-keys, epg-start-sign-keys)
1205 (epg-passphrase-callback-function):
1206 * eshell/esh-util.el (eshell-for):
1207 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1208 (eshell-add-to-window-buffer-names):
1209 * files.el (locate-file-completion):
1210 * imenu.el (imenu-example--create-c-index)
1211 (imenu-example--create-lisp-index)
1212 (imenu-example--lisp-extract-index-name)
1213 (imenu-example--name-and-position):
1214 * international/mule-cmds.el (princ-list):
1215 * international/mule-diag.el (decode-codepage-char):
1216 * international/mule-util.el (detect-coding-with-priority):
1217 * iswitchb.el (iswitchb-read-buffer):
1218 * mail/mailalias.el (mail-complete):
1219 * mail/sendmail.el (mail-sent-via):
1220 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1221 (mouse-major-mode-menu):
1222 * password-cache.el (password-read-and-add):
1223 * pcomplete.el (pcomplete-parse-comint-arguments):
1224 * progmodes/sh-script.el (sh-maybe-here-document):
1225 * replace.el (query-replace-regexp-eval):
1226 * savehist.el (savehist-load):
1227 * simple.el (choose-completion-delete-max-match):
1228 * term.el (term-dynamic-simple-complete):
1229 * vc/ediff-init.el (ediff-check-version):
1230 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1231 * vc/vc.el (vc-diff-switches-list):
1232 * view.el (view-return-to-alist-update): Likewise.
1233
1234 * subr.el (eval-next-after-load, makehash, insert-string)
1235 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1236 mark obsolete.
1237 (mode-line-inverse-video): Variable deleted.
1238
1239 * international/mule-util.el (string-to-sequence): Remove.
1240
1241 * calendar/calendar.el (calendar-version):
1242 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1243 (icalendar-convert-diary-to-ical):
1244 * cus-edit.el (custom-mode):
1245 * ansi-color.el (ansi-color-unfontify-region):
1246 * international/latin1-disp.el (latin1-char-displayable-p):
1247 * progmodes/cwarn.el (turn-on-cwarn-mode):
1248 * progmodes/which-func.el (which-func-update-1):
1249 Use define-obsolete-function-alias.
1250
1251 * net/newst-backend.el (newsticker-cache-filename):
1252 * net/newst-treeview.el (newsticker-groups-filename):
1253 Fix incorrect obsolescence declaration.
1254
1255 * allout.el (allout-passphrase-hint-string): Likewise.
1256 (allout-init): Use a declare form to mark obsolete.
1257
1258 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1259 this applies to functions.
1260
1261 * iswitchb.el (iswitchb-read-buffer): Move code of
1262 iswitchb-define-mode-map here, and delete that obsolete function.
1263
1264 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1265 font-lock-reference-face.
1266
1267 2012-09-25 Glenn Morris <rgm@gnu.org>
1268
1269 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1270 Doc fixes.
1271
1272 * eshell/em-term.el (eshell-term-name):
1273 Default to term-term-name. (Bug#12485)
1274
1275 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1276
1277 * progmodes/python.el (python-shell-send-buffer): Better handling
1278 of "if __name__ == '__main__':" conditionals when sending the buffer.
1279
1280 2012-09-24 Glenn Morris <rgm@gnu.org>
1281
1282 * eshell/esh-cmd.el (eshell-find-alias-function):
1283 Tighten up file-name regexp. (Bug#12499)
1284
1285 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1286
1287 Enhancements for triple-quote string syntax.
1288 * progmodes/python.el (python-quote-syntax): Remove.
1289 (python-syntax-propertize-function): New value.
1290 (python-syntax-count-quotes, python-syntax-stringify):
1291 New functions.
1292
1293 2012-09-24 Chong Yidong <cyd@gnu.org>
1294
1295 * mail/supercite.el (sc-version): Remove obsolete function.
1296 (sc-describe): Don't mark as obsolete, since it is bound.
1297 (sc-submit-bug-report): Remove.
1298
1299 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1300 (cvs-commit-buffer-require-final-newline): Remove.
1301 (log-edit-require-final-newline)
1302 (log-edit-changelog-full-paragraphs): Default to t.
1303
1304 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1305 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1306 * vc/vc.el (vc-checkout-carefully): Likewise.
1307
1308 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1309 (emerge-version): Remove.
1310
1311 * progmodes/compile.el (compile-internal): Remove.
1312 (compilation-parse-errors-function): Fix typo.
1313
1314 * international/mule.el (set-char-table-default): Remove.
1315 (set-coding-priority, make-coding-system, generic-char-p)
1316 (charset-list, charset-bytes, charset-id): Use declare to mark
1317 functions as obsolete.
1318
1319 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1320 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1321 * vc/vc-hooks.el (vc-default-registered): Don't use
1322 vc-master-templates.
1323
1324 * font-lock.el (font-lock-reference-face):
1325 Use define-obsolete-variable-alias.
1326
1327 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1328 * calendar/calendar.el (calendar-font-lock-keywords):
1329 * calendar/diary-lib.el (diary-font-lock-keywords)
1330 (diary-fancy-font-lock-keywords):
1331 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1332 * textmodes/reftex-index.el (reftex-insert-index):
1333 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1334 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1335 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1336 * progmodes/prolog.el (prolog-font-lock-keywords):
1337 * progmodes/idlwave.el (idlwave-idl-keywords):
1338 * progmodes/ada-mode.el (ada-font-lock-keywords):
1339 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1340
1341 2012-09-24 Glenn Morris <rgm@gnu.org>
1342
1343 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1344
1345 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1346
1347 * progmodes/python.el (python-indent-line): More consistent cursor
1348 movement behavior.
1349
1350 2012-09-23 Stefan Merten <smerten@oekonux.de>
1351
1352 * textmodes/rst.el: Fix compiler warning.
1353
1354 2012-09-23 Roland Winkler <winkler@gnu.org>
1355
1356 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1357 Transcribe also LaTeX hyphenation.
1358 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1359 bibtex-reformat-previous-options.
1360
1361 2012-09-23 Roland Winkler <winkler@gnu.org>
1362
1363 * proced.el (proced-renice-command): New variable.
1364 (proced-marked-processes): New function.
1365 (proced-with-processes-buffer): New macro.
1366 (proced-send-signal): Use them.
1367 (proced-renice): New command bound to r.
1368
1369 2012-09-23 Roland Winkler <winkler@gnu.org>
1370
1371 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1372 ibuffer-saved-filter-groups has one element, shortcut the call of
1373 completing-read. (Bug#12331)
1374
1375 2012-09-23 Chong Yidong <cyd@gnu.org>
1376
1377 * bindings.el (mode-line-toggle-read-only):
1378 * bs.el (bs-toggle-readonly):
1379 * buff-menu.el (Buffer-menu-toggle-read-only):
1380 * dired.el (dired-toggle-read-only):
1381 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1382
1383 2012-09-23 Chong Yidong <cyd@gnu.org>
1384
1385 * image.el (image-type-available-p): Adapt to init-image-library
1386 argument changes.
1387
1388 2012-09-22 Juri Linkov <juri@jurta.org>
1389
1390 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1391 `dired-toggle-read-only'. (Bug#12462)
1392
1393 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1394
1395 * subr.el (temp-output-buffer-show): New function.
1396 (with-output-to-temp-buffer): Call temp-output-buffer-show
1397 instead of internal-temp-output-buffer-show.
1398
1399 2012-09-22 Chong Yidong <cyd@gnu.org>
1400
1401 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1402 (Bug#12462).
1403
1404 * repeat.el (repeat): Doc fix (Bug#12348).
1405
1406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1407 (Bug#10909).
1408
1409 * simple.el (shell-command-on-region): Doc fix.
1410 (read-only-mode): Doc fix.
1411
1412 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1413
1414 * emacs-lisp/timer.el (run-with-idle-timer)
1415 (timer-activate-when-idle): Warn against reinvoking an idle timer
1416 from within its own timer action. (Bug#12447)
1417
1418 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1419
1420 * cus-start.el (window-combination-limit): Add new optional
1421 values.
1422 * window.el (temp-buffer-window-show)
1423 (window--try-to-split-window): Handle new values of
1424 window-combination-limit (Bug#1806).
1425 (split-window): Test window-combination-limit for t instead of
1426 non-nil.
1427 (display-buffer-at-bottom): New buffer display action function.
1428 * help.el (temp-buffer-resize-regexps): New option.
1429 (temp-buffer-resize-mode): Rewrite doc-string.
1430 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1431 Don't resize reused window. Suggested by Glenn Morris.
1432
1433 2012-09-22 Stefan Merten <smerten@oekonux.de>
1434
1435 * textmodes/rst.el: Revamp section title faces.
1436 (rst-official-version)
1437 (rst-package-emacs-version-alist): Sync with official version
1438 V1.4.0.
1439 (rst-faces-defaults, rst-set-level-default)
1440 (rst-level-face-max, rst-level-face-base-color)
1441 (rst-level-face-base-light, rst-level-face-format-light)
1442 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1443 (rst-adornment-faces-alist): Match new setup.
1444 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1445 (rst-level-5, rst-level-6): New faces.
1446
1447 2012-09-22 Chong Yidong <cyd@gnu.org>
1448
1449 * simple.el (undo): Handle indirect buffers (Bug#8207).
1450
1451 2012-09-21 Leo Liu <sdl.web@gmail.com>
1452
1453 IDO: Disable match re-ordering for buffer switching.
1454 * ido.el (ido-buffer-disable-smart-matches): New variable.
1455 (ido-set-matches-1): Use it. (Bug#2042)
1456
1457 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1458
1459 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1460 Fix 2011-05-17 change. (Bug#12418)
1461
1462 2012-09-21 Leo Liu <sdl.web@gmail.com>
1463
1464 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1465
1466 2012-09-21 Glenn Morris <rgm@gnu.org>
1467
1468 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1469 Be more robust about locating simple.el.
1470
1471 2012-09-21 Glenn Morris <rgm@gnu.org>
1472
1473 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1474
1475 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1476
1477 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1478
1479 2012-09-20 Juri Linkov <juri@jurta.org>
1480
1481 * replace.el (query-replace-read-from): Use `read-regexp' instead
1482 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1483 (occur-read-primary-args): Use `read-regexp' instead of
1484 `read-string'.
1485 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1486 `read-from-minibuffer'.
1487 * isearch.el (isearch-occur): Use `read-regexp' instead of
1488 `read-string'.
1489 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1490 `read-from-minibuffer'.
1491 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1492 of `read-string'. (Bug#7567)
1493
1494 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1495 and allow accepting a list of strings prepended to a list of
1496 standard default values. Doc fix. (Bug#12321)
1497
1498 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1499
1500 * replace.el (read-regexp): Don't add ": " when PROMPT already
1501 ends with a colon and space. (Bug#12321)
1502
1503 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1504
1505 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1506 error.
1507
1508 2012-09-20 Stefan Merten <smerten@oekonux.de>
1509
1510 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1511 Fixes feature request bug#11711.
1512 (rst-mode): Create `imenu-create-index-function'.
1513 (rst-get-stripped-line): Delete after refactoring.
1514 (rst-section-tree, rst-section-tree-rec)
1515 (rst-section-tree-point): Refactor and document properly.
1516 (rst-imenu-find-adornments-for-position)
1517 (rst-imenu-convert-cell, rst-imenu-create-index):
1518 New function.
1519
1520 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1523 (macroexp--expand-all): Use it.
1524 (macroexp--funcall-and-return): Remove by folding it into its sole
1525 caller (macroexp--warn-and-return).
1526 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1527 Use macroexp--obsolete-warning.
1528
1529 * calc/calc.el: Fix last change by removing the whole chunk, since it
1530 was only needed back when Calc was not bundled.
1531
1532 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1533
1534 * emacs-lisp/debug.el (debug): Restore assignment to
1535 debugger-old-buffer removed on 2012-09-08.
1536
1537 2012-09-20 Juri Linkov <juri@jurta.org>
1538
1539 * dired-aux.el (dired-diff): Remove (require 'diff) since
1540 `diff-latest-backup-file' is now autoloaded.
1541
1542 2012-09-20 Chong Yidong <cyd@gnu.org>
1543
1544 * vc/diff.el (diff-latest-backup-file): Autoload.
1545
1546 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * calc/calc.el: Remove redundant autoload shape check.
1549 (sel-mode): Don't defvar.
1550 (calc-get-stack-element): Add `sel-mode' arg instead.
1551 (calc-top, calc-top-list): Pass it this additional argument.
1552 * calc/calc-store.el (calc-store-map):
1553 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1554 (calc-map-equation, calc-outer-product, calc-inner-product):
1555 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1556
1557 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1558
1559 2012-09-19 Juri Linkov <juri@jurta.org>
1560
1561 * dired-aux.el (dired-diff): Add (require 'diff) because
1562 `diff-latest-backup-file' is not autoloaded.
1563 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1564 of `dired-get-filename' to t to not report error when there is
1565 no default file on the current line.
1566
1567 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1570 macroexp--eval-if-compile.
1571 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1572 (macroexp--expand-all): Use them (bug#12371).
1573
1574 * doc-view.el (doc-view-guess-paper-size)
1575 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1576
1577 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1578
1579 New feature: set optimal slice from BoundingBox information.
1580 * doc-view.el (doc-view-mode-map): Add keybinding.
1581 (doc-view-menu): Add menu entry.
1582 (doc-view-set-slice): Adapt docstring.
1583 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1584 (doc-view-scale-bounding-box)
1585 (doc-view-set-slice-from-bounding-box): New functions.
1586 (doc-view-paper-sizes): New defvar.
1587
1588 2012-09-19 Glenn Morris <rgm@gnu.org>
1589
1590 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1591 (byte-compile-log-warning): Autoload. (Bug#12371)
1592
1593 * calendar/calendar.el (calendar-american-month-header)
1594 (calendar-european-month-header, calendar-iso-month-header)
1595 (calendar-month-header): New options.
1596 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1597 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1598
1599 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1600
1601 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1602
1603 2012-09-18 Juri Linkov <juri@jurta.org>
1604
1605 * dired-aux.el (dired-diff): Restore original functionality of
1606 getting the default value, but keep new feature of using the
1607 latest existing backup file (`diff-latest-backup-file').
1608
1609 2012-09-18 Juri Linkov <juri@jurta.org>
1610
1611 * dired.el (dired-mark): If the region is active in Transient Mark
1612 mode, mark all files in the active region. Doc fix.
1613 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1614 Doc fix. (Bug#10624)
1615
1616 2012-09-18 Juri Linkov <juri@jurta.org>
1617
1618 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1619 attributes for M-n are pulled from the file at point.
1620 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1621 Suggested by Drew Adams. (Bug#10624)
1622
1623 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1626 whitespace after "end".
1627 (ruby-do-end-to-brace): Collapse block to one line if it fits
1628 within fill-column.
1629
1630 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1631
1632 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1633 value.
1634 (debug): Don't remove debugger window when debugger is expected
1635 to be back.
1636
1637 2012-09-18 Chong Yidong <cyd@gnu.org>
1638
1639 * custom.el (defface): Doc fix.
1640
1641 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1642
1643 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1644
1645 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1646 to initialize query-on-exit; then test that instead (bug#12288).
1647
1648 2012-09-17 Stefan Merten <smerten@oekonux.de>
1649
1650 * textmodes/rst.el: Add support for `testcover'.
1651 (rst-defcustom-testcover, rst-testcover-add-compose)
1652 (rst-testcover-add-1value): New functions.
1653 (rst-portable-mark-active-p): Replace by `use-region-p'.
1654 (rst-update-section, rst-classify-adornment)
1655 (rst-find-title-line): Mark `1value' forms.
1656 (rst-classify-adornment): Remove superfluous form.
1657 (rst-update-section, rst-get-adornments-around)
1658 (rst-adornment-complete-p, rst-get-next-adornment)
1659 (rst-adjust, rst-promote-region)
1660 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1661 (rst-find-pfx-in-region, rst-section-tree-rec)
1662 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1663 (rst-toc-node, rst-toc, rst-forward-section)
1664 (rst-iterate-leftmost-paragraphs)
1665 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1666 (rst-bullet-list-region)
1667 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1668 (rst-compile-find-conf, rst-compile)
1669 (rst-repeat-last-character): Fix style.
1670
1671 2012-09-17 Chong Yidong <cyd@gnu.org>
1672
1673 * comint.el (comint--complete-file-name-data): Don't add a space
1674 if the status is `sole'; that adds a gratuitous space in the
1675 completion-cycling case (Bug#12092).
1676
1677 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1678
1679 2012-09-17 Richard Stallman <rms@gnu.org>
1680
1681 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1682 only in the mime-shown mode, not in raw mode.
1683 (rmail-mime): Toggle off mime by displaying the message without
1684 mime processing. (Bug#12305)
1685
1686 * mail/rmail.el (rmail-retry-failure):
1687 Turn off mime processing first. (Bug#12037)
1688
1689 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1690
1691 2012-09-17 Chong Yidong <cyd@gnu.org>
1692
1693 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1694 (shell-dynamic-complete-functions): Convert to defcustom.
1695 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1696
1697 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1698 * comint.el (comint-prompt-read-only):
1699 * custom.el (defcustom):
1700 * hi-lock.el (hi-lock-mode):
1701 * ibuffer.el (ibuffer-formats):
1702 * ielm.el (ielm-prompt-read-only):
1703 * novice.el (disable-command):
1704 * saveplace.el (toggle-save-place):
1705 * speedbar.el (speedbar-supported-extension-expressions):
1706 * startup.el (auto-save-list-file-prefix, init-file-user)
1707 (after-init-hook, inhibit-startup-echo-area-message):
1708 * strokes.el (strokes-help):
1709 * time-stamp.el (time-stamp):
1710 * calendar/calendar.el (calendar, diary-file):
1711 * calendar/diary-lib.el (diary-mail-entries, diary)
1712 (diary-list-entries-hook):
1713 * calendar/holidays.el (holidays, calendar-holidays):
1714 * calendar/lunar.el (lunar-phases):
1715 * calendar/solar.el (sunrise-sunset):
1716 * emulation/edt.el (edt-load-keys):
1717 * emulation/viper.el (viper-mode):
1718 * eshell/em-alias.el (eshell-command-aliases-list):
1719 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1720 * international/ogonek.el (ogonek-information):
1721 * net/tramp-cmds.el (tramp-bug):
1722 * net/quickurl.el (quickurl-reread-hook-postfix):
1723 * play/decipher.el (decipher-font-lock-keywords):
1724 * progmodes/cc-styles.el (c-set-style):
1725 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1726 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1727 * progmodes/octave-mod.el (octave-mode):
1728 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1729 * progmodes/verilog-mode.el (verilog-read-defines):
1730 * textmodes/two-column.el (2C-mode): Likewise.
1731
1732 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1733
1734 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1735 that holds many addresses.
1736
1737 2012-09-16 Chong Yidong <cyd@gnu.org>
1738
1739 * align.el (align-areas): Call the indication function with
1740 positions instead of markers for arguments (Bug#12343).
1741
1742 * files.el (parse-colon-path): Use split-string (Bug#12351).
1743
1744 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1745 (display-buffer-function): Mark as obsolete.
1746
1747 * progmodes/compile.el (compilation-parse-errors): Accept list
1748 values similar to font-lock-keywords (Bug#12136).
1749 Suggested by Oleksandr Manzyuk.
1750 (compilation-error-regexp-alist): Doc fix.
1751
1752 2012-09-15 Glenn Morris <rgm@gnu.org>
1753
1754 * version.el (emacs-bzr-version-bzr): New function.
1755 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1756
1757 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1758 checkouts, check the parent dirstate matches the branch.
1759 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1760 empty string.
1761
1762 * version.el (emacs-bzr-version): Doc fix.
1763 (emacs-bzr-version-dirstate): New function.
1764 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1765 is local try and check that it matches the branch. If not, just
1766 use dirstate information. (Bug#12441)
1767
1768 2012-09-14 Juri Linkov <juri@jurta.org>
1769
1770 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1771 (Bug#12399)
1772
1773 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1776
1777 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1778 Remove obsolete byte-compiler hack that tried to silence some warnings.
1779 (edebug-submit-bug-report): Remove.
1780 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1781 Remove aliases, use the un-prefixed name instead.
1782 (edebug-pop-to-buffer): Consider other frames.
1783 (edebug-original-read):: Make it more obvious that it's always defined.
1784 (edebug--make-form-data-entry, edebug--form-data-name)
1785 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1786 single-dashed name, and implement with cl-defstruct.
1787 (edebug-set-form-data-entry): Use the standard accessors.
1788 (edebug-make-top-form-data-entry): Use push.
1789 (edebug-no-match): Drop useless `funcall'.
1790 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1791 to functions.
1792 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1793 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1794 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1795 (easy-menu-define, with-custom-print): Remove redundant specs.
1796 (edebug-outside-overriding-local-map)
1797 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1798 (edebug--display): Bind unread-command-events directly to nil rather
1799 than binding it to unread-command-events and later setting it to nil.
1800 (edebug--display): Kill edebug-eval-buffer here...
1801 (edebug--recursive-edit): ...rather than here.
1802 Bind standard-output and standard-input.
1803 (edebug-eval): Check cl-macroexpand-all is fboundp.
1804 (edebug-temp-display-freq-count): Fix last change.
1805
1806 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1807 * subr.el (noreturn, 1value): Add `debug' spec.
1808 * emacs-lisp/advice.el: Require cl-lib.
1809 (ad-copy-tree): Remove, use copy-tree instead.
1810 (ad-dolist): Remove use dolist or cl-dolist instead.
1811 (ad-do-return): Remove, use cl-return instead.
1812 (defadvice): Add `debug' spec.
1813
1814 2012-09-13 Juri Linkov <juri@jurta.org>
1815
1816 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1817 (Bug#12399)
1818
1819 2012-09-13 Glenn Morris <rgm@gnu.org>
1820
1821 * calc/calc.el (math-compose-expr):
1822 * calc/calc-ext.el (math-compose-expr):
1823 * progmodes/cc-defs.el (cl-macroexpand-all):
1824 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1825 (cl-macroexpand-all): Update declarations.
1826
1827 * vc/vc.el: No need to require ediff.
1828 (ediff-load-version-control): Declare.
1829 (ediff-vc-internal): Fix declaration.
1830 (vc-version-ediff): Require ediff.
1831
1832 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1833
1834 Use a more backwards-compatible timer format (Bug#12430).
1835 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1836 being right after USECS, as that better supports old code that
1837 inadvisedly looked directly at the timer vector.
1838
1839 2012-09-13 Kenichi Handa <handa@gnu.org>
1840
1841 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1842 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1843 `coding-priority' property of these language environment.
1844
1845 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1846
1847 Fix glitches caused by addition of psec to timers (Bug#12430).
1848 * image.el (image-animate-timer):
1849 * time.el (display-time-world-timer):
1850 Use timer--function and timer--args rather than raw access to
1851 timer vector.
1852
1853 2012-09-13 Glenn Morris <rgm@gnu.org>
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1856 If not compiling a file, try using load-file-name.
1857
1858 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1861 Fix last change.
1862 (edebug-update-eval-list): Use `push'.
1863
1864 * emacs-lisp/edebug.el: Use lexical-binding.
1865 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1866 Mark unused args with underscore.
1867 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1868 (edebug-form-data): Use defvar-local.
1869 (edebug-make-before-and-after-form, edebug-make-after-form):
1870 Use backquote.
1871 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1872 Not dynamically scoped any more.
1873 (edebug--enter-trace): Add arguments `function' and `args'.
1874 Rename from edebug-enter-trace.
1875 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1876 (edebug--update-coverage): Add `after-index' and `value' args.
1877 Rename from edebug-update-coverage.
1878 (edebug-slow-after): Call it accordingly.
1879 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1880 edebug-recursive-edit.
1881 (edebug--display): Call it accordingly. Add args `value',
1882 `offset-index', and `arg-mode'. Rename from edebug-display.
1883 (edebug-debugger, edebug): Call it accordingly.
1884 (edebug-eval-display-list): Use dolist.
1885
1886 2012-09-12 Juri Linkov <juri@jurta.org>
1887
1888 * info.el (Info-search): Don't check for isearch-mode and
1889 isearch-regexp before let-binding search-spaces-regexp to
1890 Info-search-whitespace-regexp.
1891 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1892 search-whitespace-regexp if isearch-lax-whitespace or
1893 isearch-regexp-lax-whitespace is non-nil.
1894 (Info-mode): Don't set local variable search-whitespace-regexp.
1895 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1896
1897 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1900 (debugger-env-macro): Remove support for unread-command-char.
1901
1902 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1903 the temporary map re-appearing on emulation-mode-map-alists.
1904
1905 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1906 since 22.1.
1907
1908 * ehelp.el (with-electric-help): Accept functions in
1909 electric-help-form-to-execute.
1910 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1911 And replace unread-command-char -> unread-command-events.
1912
1913 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
1914
1915 Sync with Tramp 2.2.6.
1916
1917 * net/tramp.el (tramp-accept-process-output): Don't use
1918 JUST-THIS-ONE in the XEmacs case.
1919
1920 * net/trampver.el: Update release number.
1921
1922 2012-09-12 Martin Rudalics <rudalics@gmx.at>
1923
1924 * emacs-lisp/debug.el (debugger-previous-window-height):
1925 New variable.
1926 (debug): When debugger-jumping-flag is non-nil try to restore
1927 height of debugger window. (Bug#8789)
1928
1929 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1932 overriding-local-map and pre/post-command-hook here.
1933 (edebug-recursive-edit): Do it here instead (bug#12345).
1934 (edebug-outside-unread-command-char): Remove all uses of
1935 unread-command-char.
1936
1937 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1938 inhibit-debugger is bound instead.
1939
1940 2012-09-11 Bastien Guerry <bzg@gnu.org>
1941
1942 * subr.el (set-temporary-overlay-map): Add a docstring.
1943 (Bug#12346)
1944
1945 2012-09-11 Bastien Guerry <bzg@gnu.org>
1946
1947 * minibuffer.el (completion-table-subvert): Fix docstring.
1948 (Bug#12347)
1949
1950 2012-09-11 Bastien Guerry <bzg@gnu.org>
1951
1952 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
1953
1954 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1955
1956 * progmodes/sql.el: Version 3.1
1957 (sql-db2-escape-newlines): New variable.
1958 (sql-escape-newlines-filter): Use it.
1959
1960 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1961
1962 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1963
1964 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1965
1966 * vc/diff-mode.el (diff-mode-menu):
1967 Bind diff-remove-trailing-whitespace.
1968
1969 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1972 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1973 (emacs-lisp-byte-code-mode): New functions.
1974 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1975 (eval-defun-2): Remove bogus interactive spec.
1976 (lisp-indent-line): Remove redundant whole-exp code, now done in
1977 indent-according-to-mode.
1978 (save-match-data): Remove redundant indent data.
1979
1980 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1981 Use `declare'.
1982
1983 2012-09-09 Juri Linkov <juri@jurta.org>
1984
1985 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1986 (replace-lax-whitespace, query-replace-regexp)
1987 (query-replace-regexp-eval, replace-regexp): Doc fix.
1988 (perform-replace, replace-highlight): Let-bind
1989 isearch-lax-whitespace to replace-lax-whitespace and
1990 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1991
1992 * isearch.el (isearch-query-replace): Let-bind
1993 replace-lax-whitespace to isearch-lax-whitespace and
1994 replace-regexp-lax-whitespace to
1995 isearch-regexp-lax-whitespace. (Bug#10885)
1996
1997 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2000
2001 2012-09-09 Alan Mackenzie <acm@muc.de>
2002
2003 * progmodes/cc-engine.el (c-state-cache-init):
2004 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2005 (c-record-parse-state-state):
2006 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2007
2008 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2009
2010 * register.el (register-separator): Rename from
2011 separator-register. All uses changed. Doc fix.
2012 (register): Fix version.
2013
2014 2012-09-09 Chong Yidong <cyd@gnu.org>
2015
2016 * replace.el (query-replace-map): Bind four new symbols for
2017 requesting window scrolling.
2018
2019 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2020 query-replace-map (Bug#8948).
2021
2022 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2023
2024 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2025 since they are now in query-replace-map.
2026
2027 * window.el (scroll-other-window-down): Make the arg optional.
2028
2029 2012-09-09 Chong Yidong <cyd@gnu.org>
2030
2031 * files.el (hack-local-variables-confirm): Use quit-window to kill
2032 the *Local Variables* buffer.
2033
2034 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2037 not just expect to be at its beginning. Adjust callees.
2038 Succeed when do-end block has no space before the pipe character.
2039 (ruby-brace-to-do-end): When the original block is one-liner,
2040 convert to multiline. Reindent the result.
2041
2042 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2043
2044 * register.el (register): New group.
2045 (separator-register): New user option.
2046 (increment-register): Route it to `append-to-register', if
2047 register contains text. Implication is that `C-x r +' can now be
2048 used for appending to a text register (bug#12217).
2049 (append-to-register, prepend-to-register): Add separator based on
2050 `separator-register'.
2051
2052 2012-09-08 Alan Mackenzie <acm@muc.de>
2053
2054 AWK Mode: make auto-newline work when there's "==" in the pattern.
2055 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2056 correctly.
2057 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2058 Test more rigorously for "=" token.
2059
2060 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2061
2062 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2063 Only fail when reached LIMIT.
2064
2065 2012-09-08 Chong Yidong <cyd@gnu.org>
2066
2067 * dired.el (dired-mode-map): Don't bind M-=.
2068
2069 * dired-aux.el (dired-diff): Use backup file as default.
2070
2071 2012-09-08 Drew Adams <drew.adams@oracle.com>
2072
2073 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2074
2075 2012-09-08 Chong Yidong <cyd@gnu.org>
2076
2077 * subr.el (syntax-after, syntax-class): Doc fix.
2078
2079 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2080
2081 * window.el (display-buffer-in-previous-window): New buffer
2082 display action function.
2083
2084 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2085 (debugger-previous-window): New variable.
2086 (debug): Rewrite using display-buffer-in-previous-window,
2087 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2088
2089 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2092
2093 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2094
2095 * progmodes/python.el (python-shell-send-string):
2096 When default-directory is remote, create temp file on remote
2097 filesystem.
2098 (python-shell-send-file): When file is remote, pass local view of
2099 file paths to remote Python interpreter. (Bug#12340)
2100
2101 2012-09-07 Chong Yidong <cyd@gnu.org>
2102
2103 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2104
2105 * files.el (after-find-file): Don't fail on a read-only buffer if
2106 require-final-newline is `visit' or `visit-save' (Bug#11156).
2107
2108 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2109
2110 * userlock.el (ask-user-about-supersession-threat):
2111 Use read-char-choice (Bug#12093).
2112
2113 2012-09-07 Chong Yidong <cyd@gnu.org>
2114
2115 * subr.el (buffer-narrowed-p): New function.
2116
2117 * ses.el (ses-widen):
2118 * simple.el (count-words--buffer-message):
2119 * net/browse-url.el (browse-url-of-buffer): Use it.
2120
2121 * simple.el (count-words-region): Don't signal an error if there
2122 is a non-nil prefix arg and the mark is not set.
2123
2124 * help.el (describe-key-briefly): Allow the message to be seen
2125 when invoked from the minibuffer (Bug#7014).
2126
2127 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2128
2129 * progmodes/ruby-mode.el (ruby-end-of-defun)
2130 (ruby-beginning-of-defun): Simplify, allow indentation before
2131 block beginning and end keywords.
2132 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2133 (ruby-end-of-defun): Expect that the point is at the beginning of
2134 the defun.
2135
2136 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2139 (bug#12367).
2140 (cl--make-usage-args): Strip _ from argument names.
2141
2142 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2143
2144 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2145 obsolete alias speedbar-key-map.
2146 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2147 (vhdl-index-menu-init): Don't use obsolete variable
2148 font-lock-maximum-size.
2149
2150 2012-09-06 Chong Yidong <cyd@gnu.org>
2151
2152 * frame.el (window-system-version): Mark as obsolete.
2153
2154 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2155 of obsolete variable speedbar-key-map.
2156
2157 2012-09-06 Juri Linkov <juri@jurta.org>
2158
2159 * replace.el (replace-lax-whitespace): New defcustom.
2160 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2161 (replace-string, replace-regexp): Mention it in docstrings.
2162 (perform-replace, replace-highlight): Let-bind
2163 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2164 to the values of replace-lax-whitespace and regexp-flag.
2165 Don't let-bind search-whitespace-regexp. (Bug#10885)
2166
2167 * isearch.el (isearch-query-replace): Let-bind
2168 replace-lax-whitespace instead of let-binding
2169 replace-search-function and replace-re-search-function.
2170 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2171 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2172 (isearch-toggle-symbol): Set isearch-regexp to nil
2173 in isearch-word mode (like in isearch-toggle-word).
2174
2175 2012-09-06 Juri Linkov <juri@jurta.org>
2176
2177 * replace.el (replace-search-function)
2178 (replace-re-search-function): Set default values to nil.
2179 (perform-replace): Let-bind isearch-related variables based on
2180 replace-related values, call `isearch-search-fun' and let-bind
2181 the result to `search-function'. Remove code that sets
2182 `search-function' and `search-string' separately for
2183 `delimited-flag'.
2184 (replace-highlight): Add new argument `delimited-flag' and
2185 rename other arguments to the names used in `perform-replace'.
2186 Let-bind `isearch-word' to the argument `delimited-flag'.
2187 (Bug#10885, bug#10887)
2188
2189 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2190
2191 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2192 ruby-beginning-of-indent, simplify, allow all keywords to have
2193 indentation before them.
2194 (ruby-beginning-of-indent): Adjust for above. Search until the
2195 found point is not inside a string or comment.
2196 (ruby-font-lock-keywords): Allow symbols to start with "@"
2197 character, give them higher priority than variables.
2198 (ruby-syntax-propertize-function)
2199 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2200 matchers. Expression expansions are not comments when inside a
2201 string, and there comment syntax status is irrelevant.
2202 (ruby-match-expression-expansion): New function. Check that
2203 expression expansion is inside a string, and it's not escaped.
2204 (ruby-font-lock-keywords): Use it.
2205
2206 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2207
2208 * help.el (temp-buffer-max-height): New default value.
2209 (temp-buffer-resize-frames): New option.
2210 (resize-temp-buffer-window): Optionally resize frame.
2211
2212 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2213 (fit-frame-to-buffer): New function.
2214
2215 2012-09-05 Glenn Morris <rgm@gnu.org>
2216
2217 * emulation/cua-rect.el (cua--init-rectangles):
2218 * textmodes/picture.el (picture-mode-map):
2219 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2220 like forward-char and backward-char. (Bug#12317)
2221
2222 2012-09-05 Leo Liu <sdl.web@gmail.com>
2223
2224 * progmodes/flymake.el (flymake-warning-re): New variable.
2225 (flymake-parse-line): Use it.
2226
2227 2012-09-05 Glenn Morris <rgm@gnu.org>
2228
2229 * calendar/holidays.el (holiday-christian-holidays):
2230 Rename an entry. (Bug#12289)
2231
2232 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2235 (bug#12222).
2236
2237 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * loadup.el: Load macroexp. Remove hack.
2240 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2241 (macroexp--expand-all): Use it to get better warnings.
2242 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2243 (internal-macroexpand-for-load): New functions.
2244 (macroexp--pending-eager-loads): New var.
2245 (emacs-startup-hook): New hack to replace one in loadup.el.
2246 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2247 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2248 (cl-psetf): Simplify.
2249 (cl-defstruct): Add indent rule.
2250
2251 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2252
2253 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2254 over `user-mail-address' for the SMTP MAIL FROM envelope.
2255 (smtpmail-via-smtp): Ditto.
2256
2257 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * progmodes/ruby-mode.el: Clean up keybindings.
2260 (ruby-mode-map): Don't bind ruby-electric-brace,
2261 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2262 backward-kill-word, reindent-then-newline-and-indent.
2263 (ruby-mark-defun): Remove.
2264 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2265 (ruby-mode): Set local beginning-of-defun-function and
2266 end-of-defun-function values.
2267
2268 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2269
2270 * window.el (temp-buffer-window-setup-hook)
2271 (temp-buffer-window-show-hook): New hooks.
2272 (temp-buffer-window-setup, temp-buffer-window-show)
2273 (with-temp-buffer-window): New functions.
2274 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2275 (special-display-popup-frame): Make sure the window used shows BUFFER.
2276
2277 * help.el (temp-buffer-resize-mode): Fix doc-string.
2278 (resize-temp-buffer-window): New optional argument WINDOW.
2279
2280 * files.el (recover-file, save-buffers-kill-emacs):
2281 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2282
2283 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2286 remote definition of `default-directory', ensure we can connect.
2287
2288 2012-09-02 Juri Linkov <juri@jurta.org>
2289
2290 Toggle whitespace matching mode with M-s SPC.
2291 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2292
2293 * isearch.el (search-whitespace-regexp): Doc fix.
2294 Remove cons cell customization.
2295 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2296 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2297 New variables.
2298 (isearch-forward, isearch-forward-regexp): Doc fix.
2299 (isearch-toggle-lax-whitespace): New command.
2300 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2301 (re-search-forward-lax-whitespace)
2302 (re-search-backward-lax-whitespace): New functions.
2303 (isearch-whitespace-regexp): Remove function.
2304 (isearch-query-replace): Let-bind replace-search-function and
2305 replace-re-search-function.
2306 (isearch-occur): Let-bind search-spaces-regexp according to the
2307 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2308 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2309 condition for C-q SPC.
2310 (isearch-search-fun-default): Use new functions mentioned above.
2311 (isearch-search-forward, isearch-search-backward): Remove functions.
2312 (isearch-search): Don't let-bind search-spaces-regexp.
2313 (isearch-lazy-highlight-space-regexp): Remove variable.
2314 (isearch-lazy-highlight-lax-whitespace)
2315 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2316 (isearch-lazy-highlight-new-loop): Use them.
2317 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2318
2319 2012-09-02 Chong Yidong <cyd@gnu.org>
2320
2321 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2322
2323 2012-09-02 Glenn Morris <rgm@gnu.org>
2324
2325 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2326
2327 2012-09-01 Glenn Morris <rgm@gnu.org>
2328
2329 * term.el: Tidy up menu definitions.
2330 (term-mode-map): Use easymenu for In/Out, Complete menus.
2331 (term-pager-break-map): Initialize in the defvar.
2332 (term-terminal-menu, term-signals-menu): Define with easymenu.
2333 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2334 (term-pager-menu): New, extracted from term-process-pager.
2335 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2336 (term-update-mode-line): Propertize line/char and page items.
2337 (term-process-pager): Move keymap initialization elsewhere.
2338
2339 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2340
2341 * window.el (switch-to-prev-buffer): Handle additional values of
2342 BURY-OR-KILL argument. Don't switch in minibuffer window.
2343 (switch-to-next-buffer): Don't switch in minibuffer window.
2344 (quit-restore-window): New function based on quit-window.
2345 Handle additional values of former KILL argument.
2346 (quit-window): Call quit-restore-window with appropriate
2347 interpretation of KILL argument.
2348 (display-buffer-below-selected): New buffer display action
2349 function.
2350
2351 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * minibuffer.el (completion-at-point-functions): Complete docstring
2354 (bug#12254).
2355
2356 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2357
2358 Better seed support for (random).
2359 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2360 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2361 * play/mpuz.el, play/tetris.el, play/zone.el:
2362 * calc/calc-comb.el (math-init-random-base):
2363 * play/blackbox.el (bb-init-board):
2364 * play/life.el (life):
2365 * server.el (server-use-tcp):
2366 * type-break.el (type-break):
2367 Remove unnecessary call to (random t).
2368 * net/sasl.el (sasl-unique-id-function):
2369 Change (random t) to (random), now that the latter is more random.
2370 * play/life.el (life-initialized): Remove no-longer-needed var.
2371
2372 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2373
2374 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2375 Consider frame's buffer predicate when choosing the buffer.
2376 (Bug#12081)
2377
2378 2012-08-30 Richard Stallman <rms@gnu.org>
2379
2380 * simple.el (special-mode-map): Delete binding for `z'.
2381
2382 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2383
2384 * progmodes/compile.el (compilation-always-kill): Doc fix.
2385
2386 2012-08-30 Chong Yidong <cyd@gnu.org>
2387
2388 * window.el (display-buffer-reuse-frames): Make the obsolescence
2389 message more informative.
2390
2391 2012-08-30 Glenn Morris <rgm@gnu.org>
2392
2393 * paren.el (show-paren-delay):
2394 Add a :set function. Doc fix. (Bug#12297)
2395
2396 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2397
2398 * progmodes/compile.el (compilation-always-kill): New var.
2399 (compilation-start): Use it.
2400
2401 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2404 * files.el (read-only-mode): Move to simple.el.
2405
2406 * files.el (read-only-mode): New minor mode.
2407 (toggle-read-only): Use it and mark obsolete.
2408 (find-file--read-only):
2409 * vc/vc.el (vc-next-action, vc-checkout):
2410 * vc/vc-cvs.el (vc-cvs-checkout):
2411 * obsolete/vc-mcvs.el (vc-mcvs-update):
2412 * ffap.el (ffap--toggle-read-only): Update callers.
2413
2414 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * eshell/esh-ext.el (eshell-external-command): Do not examine
2417 remote shell scripts.
2418 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2419
2420 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2421 "/usr/local/sbin".
2422
2423 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2426
2427 2012-08-28 Leo Liu <sdl.web@gmail.com>
2428
2429 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2430 completion-at-point. (Bug#12220)
2431
2432 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2433
2434 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2435
2436 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2439 be buffer-local; add delete-trailing-whitespace (bug#12259).
2440
2441 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2442
2443 * progmodes/hideif.el (hif-compress-define-list):
2444 Fix typo. (Bug#11951)
2445
2446 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2447
2448 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2449 buffer local setting.
2450
2451 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2452 rcirc-encode-coding-system.
2453
2454 2012-08-28 Leo Liu <sdl.web@gmail.com>
2455
2456 * net/rcirc.el (rcirc-split-message): New function.
2457 (rcirc-send-message): Use it. (Bug#12051)
2458
2459 2012-08-28 Juri Linkov <juri@jurta.org>
2460
2461 * info.el (Info-fontify-node): Hide empty lines at the end of
2462 the node. (Bug#12272)
2463
2464 2012-08-27 Drew Adams <drew.adams@oracle.com>
2465
2466 * dired.el (dired-pop-to-buffer): Make window start at beginning
2467 of buffer (Bug#12281).
2468
2469 2012-08-26 Chong Yidong <cyd@gnu.org>
2470
2471 * window.el (special-display-regexps, special-display-frame-alist)
2472 (special-display-buffer-names, special-display-function)
2473 (display-buffer-reuse-frames): Mark as obsolete.
2474
2475 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2476
2477 * help.el (help-print-return-message): Don't treat
2478 display-buffer-reuse-frames specially.
2479
2480 2012-08-26 Chong Yidong <cyd@gnu.org>
2481
2482 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2483 New variable, replacing gdb-frame-parameters.
2484 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2485 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2486 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2487 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2488 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2489 the functions directly with gdb-display-buffer-other-frame-action.
2490 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2491 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2492 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2493 (gdb-display-registers-buffer): Define directly.
2494 (def-gdb-display-buffer): Macro deleted.
2495 (gdb-display-buffer): Remove second and third args, callers don't
2496 use them. Defer to the default display-buffer behavior, apart
2497 from making windows dedicated.
2498 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2499
2500 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2501
2502 * window.el (display-buffer-pop-up-frame): Handle a
2503 pop-up-frame-parameters alist entry.
2504 (display-buffer): Document it.
2505
2506 2012-08-26 Chong Yidong <cyd@gnu.org>
2507
2508 * isearch.el (search-whitespace-regexp): Make string and nil
2509 values apply to both ordinary and regexp search. Allow a cons
2510 cell value to distinguish between the two.
2511 (isearch-whitespace-regexp, isearch-search-forward)
2512 (isearch-search-backward): New functions.
2513 (isearch-occur, isearch-search-fun-default, isearch-search)
2514 (isearch-lazy-highlight-new-loop): Use them.
2515 (isearch-forward, isearch-forward-regexp): Doc fix.
2516
2517 2012-08-26 Chong Yidong <cyd@gnu.org>
2518
2519 * faces.el (help-argument-name): Always inherit from italic
2520 (Bug#12213).
2521
2522 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2523
2524 * window.el (window--even-window-heights): Even heights when
2525 WINDOW and the selected window form a vertical combination.
2526 (display-buffer-use-some-window): Provide that window used gets
2527 sized back by quit-window. (Bug#11880) and (Bug#12091)
2528
2529 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2530
2531 Fix file time stamp problem with bzr and CVS (Bug#12001).
2532 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2533 in the file's time stamp, since the version control system loses
2534 that information.
2535
2536 2012-08-22 Juri Linkov <juri@jurta.org>
2537
2538 * info.el (Info-fontify-node): Hide the suffix of the
2539 Info file name in the header line. (Bug#12187)
2540
2541 2012-08-22 Glenn Morris <rgm@gnu.org>
2542
2543 * calendar/cal-tex.el (cal-tex-weekly-common):
2544 Restore leading blank page.
2545
2546 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2547
2548 * misc.el (forward-to-word, backward-to-word): Activate or extend
2549 the region under `shift-select-mode'. (Bug#12231)
2550
2551 2012-08-22 Bastien Guerry <bzg@gnu.org>
2552
2553 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2554 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2555 gives details on why the space is never needed.
2556
2557 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2558
2559 * window.el (walk-window-tree, window-with-parameter):
2560 New optional argument MINIBUF to control whether these functions
2561 should run on the minibuffer window.
2562 (window-at-side-list): Don't operate on minibuffer window.
2563 (window-in-direction): Simplify and rewrite doc-string.
2564 (window--size-ignore): Rename to window--size-ignore-p.
2565 Update callers.
2566 (display-buffer-in-atom-window, window--major-non-side-window)
2567 (window--major-side-window, display-buffer-in-major-side-window)
2568 (delete-side-window, display-buffer-in-side-window):
2569 New functions.
2570 (window--side-check, window-deletable-p, delete-window)
2571 (delete-other-windows, split-window): Handle side windows and
2572 atomic windows appropriately.
2573 (window--display-buffer): Call display-buffer-record-window also
2574 when the window buffer did not change.
2575
2576 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2577
2578 * help-fns.el (help-fns--key-bindings):
2579 Abbreviate non-symbol remap targets. (Bug#12174)
2580
2581 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2582
2583 * dired.el (dired-mark-remembered): Don't clobber point.
2584 (Bug#11795)
2585
2586 2012-08-22 Glenn Morris <rgm@gnu.org>
2587
2588 * progmodes/bug-reference.el (bug-reference): New custom group.
2589 (bug-reference-bug-regexp): Make it a defcustom.
2590
2591 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2592
2593 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2594 (js-paren-indent-offset, js-square-indent-offset)
2595 (js-curly-indent-offset): Add :safe (Bug#12257).
2596
2597 2012-08-22 Edward O'Connor <hober0@gmail.com>
2598
2599 * json.el (json-key-format): Add error properties.
2600 (json-encode-key): New function.
2601 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2602 Use json-encode-key.
2603
2604 2012-08-22 Glenn Morris <rgm@gnu.org>
2605
2606 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2607 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2608 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2609 Update for above change.
2610
2611 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2612
2613 * cus-face.el (custom-face-attributes): Fix customize type for the
2614 :underline attribute. (Bug#11805)
2615
2616 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2617
2618 * window.el (window-point-1, set-window-point-1): Remove.
2619 (window-in-direction, record-window-buffer)
2620 (set-window-buffer-start-and-point, split-window-below)
2621 (window--state-get-1, display-buffer-record-window):
2622 Replace calls to window-point-1 and set-window-point-1 by calls to
2623 window-point and set-window-point respectively.
2624
2625 2012-08-21 Glenn Morris <rgm@gnu.org>
2626
2627 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2628 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2629 Use it.
2630
2631 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2632 (cal-tex-shortday): New function.
2633 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2634 (cal-tex-cursor-filofax-daily): Use the above.
2635
2636 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2637 New functions.
2638 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2639 (cal-tex-cursor-filofax-week): Use them.
2640
2641 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2642 New constants.
2643 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2644 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2645
2646 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2647 (cal-tex-end-document): Don't rely on buffer name.
2648
2649 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2650 Use cal-tex-vspace.
2651 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2652 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2653 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2654 Use cal-tex-arg.
2655
2656 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2657 (cal-tex-cursor-week, cal-tex-cursor-week2)
2658 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2659 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2660 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2661 (cal-tex-insert-preamble, cal-tex-b-document)
2662 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2663 Improve cal-tex-cmd usage.
2664
2665 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2666 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2667 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2668 (cal-tex-weekly-paper): New function.
2669 (cal-tex-cursor-week, cal-tex-cursor-week2)
2670 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2671 (cal-tex-cursor-day): Use it.
2672
2673 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2674 (cal-tex-cursor-filofax-week): Remove leading blank page.
2675
2676 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2677 Add autoload cookie. For now at least, don't use color, since
2678 no other cal-tex function does.
2679
2680 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2681 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2682 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2683
2684 2012-08-21 Juri Linkov <juri@jurta.org>
2685
2686 * info.el (Info-file-attributes): New variable.
2687 (info-insert-file-contents): Add file attributes to
2688 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2689 `Info-toc-nodes' when previous modtime of the Info file is less
2690 than new modtime.
2691 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2692 of info.el. (Bug#12230)
2693
2694 2012-08-20 Glenn Morris <rgm@gnu.org>
2695
2696 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2697 * calendar/holidays.el (calendar-holiday-list):
2698 Report errors with display-warning rather than beep'n'sleep.
2699
2700 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp.el (tramp-accept-process-output): Accept only output
2703 from PROC. Otherwise, process filters and sentinels might be
2704 confused. (Bug#12145)
2705
2706 2012-08-20 Chong Yidong <cyd@gnu.org>
2707
2708 * descr-text.el (describe-text-properties-1): Use overlays-in to
2709 report on empty overlays (Bug#3322).
2710
2711 2012-08-20 Glenn Morris <rgm@gnu.org>
2712
2713 * mail/rmailout.el (rmail-output-read-file-name):
2714 Trap and report errors in rmail-output-file-alist elements.
2715
2716 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2717 since most non-font-lock faces are not also variables).
2718
2719 2012-08-20 Edward Reingold <reingold@iit.edu>
2720
2721 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2722 New function. (Bug12160)
2723
2724 2012-08-19 Glenn Morris <rgm@gnu.org>
2725
2726 * mail/rmailout.el (rmail-output-read-file-name):
2727 Fix previous change (when the alist is nil or does not match).
2728
2729 2012-08-19 Chong Yidong <cyd@gnu.org>
2730
2731 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2732 (Bug#12228).
2733
2734 2012-08-18 Chong Yidong <cyd@gnu.org>
2735
2736 * simple.el (yank-handled-properties): New defcustom.
2737 (yank-excluded-properties): Add font-lock-face and category.
2738 (yank): Doc fix.
2739
2740 * subr.el (remove-yank-excluded-properties):
2741 Obey yank-handled-properties. The special handling of font-lock-face
2742 and category is now done this way, instead of being hard-coded.
2743 (insert-for-yank-1): Remove font-lock-face handling.
2744 (yank-handle-font-lock-face-property)
2745 (yank-handle-category-property): New function.
2746
2747 2012-08-17 Glenn Morris <rgm@gnu.org>
2748
2749 * mail/rmailout.el (rmail-output-read-file-name):
2750 Check rmail-output-file-alist against the full message body
2751 in the correct rmail buffer. (Bug#12214)
2752
2753 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2754
2755 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2756 Eliminate superfluous prompt. (Bug#12203)
2757
2758 2012-08-17 Chong Yidong <cyd@gnu.org>
2759
2760 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2761 font spec, set the font directly (Bug#3228).
2762
2763 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (delete-window): Fix last fix.
2766
2767 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2768
2769 * window.el (window-valid-p): Move to window.c.
2770 (window-child, window-child-count, window-last-child)
2771 (window-normalize-window, window-combined-p)
2772 (window-combinations, window-atom-root, window-min-size)
2773 (window-sizable, window-sizable-p, window-size-fixed-p)
2774 (window-min-delta, window-max-delta, window--resizable)
2775 (window--resizable-p, window-resizable, window-total-size)
2776 (window-full-height-p, window-full-width-p, window-body-size)
2777 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2778 (minimize-window, window-deletable-p, delete-window)
2779 (delete-other-windows, set-window-buffer-start-and-point)
2780 (next-buffer, previous-buffer, split-window, balance-windows-2)
2781 (set-window-text-height, window-buffer-height)
2782 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2783 (truncated-partial-width-window-p): Minor code adjustments.
2784 In doc-strings state whether the argument window has to denote a
2785 live, valid or any window.
2786
2787 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2788
2789 * progmodes/subword.el (subword-forward-function)
2790 (subword-backward-function, subword-forward-regexp)
2791 (subword-backward-regexp): New variables.
2792 (subword-forward, subword-forward-internal, subword-backward-internal):
2793 Use new variables, eg so that different "word" definitions
2794 can be easily used. (Bug#11411)
2795
2796 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2799 for composite selectors.
2800 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2801 operation just because we can't find a previous revision.
2802
2803 2012-08-15 Chong Yidong <cyd@gnu.org>
2804
2805 * frame.el (set-frame-font): Accept font objects.
2806
2807 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2810
2811 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2812
2813 * man.el (Man-overstrike-face, Man-underline-face)
2814 (Man-reverse-face): Remove variables.
2815 (Man-overstrike, Man-underline, Man-reverse): New faces.
2816 (Man-fontify-manpage): Use them instead of the variables.
2817 (Man-cleanup-manpage): Comment change.
2818 (Man-ansi-color-map): New variable.
2819 (Man-fontify-manpage): Use it.
2820 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2821
2822 Implement ANSI SGR parameters 22-27 (bug#12146).
2823 * ansi-color.el (ansi-colors): Doc fix.
2824 (ansi-color-context, ansi-color-context-region): Doc fix.
2825 (ansi-color--find-face): New function.
2826 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2827 Rename the local variable `face' to `codes' since it is now a list of
2828 ansi codes. Doc fix.
2829 (ansi-color-get-face): Remove.
2830 (ansi-color-parse-sequence): New function, derived from
2831 ansi-color-get-face.
2832 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2833 codes 22-27.
2834
2835 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * subr.el (read-passwd): Allow use from a minibuffer.
2838
2839 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2840
2841 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2842 inside comments and strings as identifiers.
2843
2844 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2845 expression to evaluate. This allows to evaluate expressions with
2846 embedded whitespace.
2847 (gud-tooltip-tips): Add a blank before the newline in the
2848 message-box text, for the benefit of message-box emulation on
2849 MS-Windows.
2850
2851 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2852 messages from GDB, pop them up in a tooltip to give feedback to
2853 user.
2854 (gdb-tooltip-print-1): Quote the expression to evaluate.
2855 This allows to evaluate expressions with embedded whitespace.
2856 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2857 if the TTY name is nil or empty (which happens when communicating
2858 with the inferior via pipes, e.g. on MS-Windows).
2859 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2860 don't send that to the GUD buffer.
2861
2862 2012-08-14 Glenn Morris <rgm@gnu.org>
2863
2864 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2865 Optimize away setq-default with no args, as for setq. (Bug#12195)
2866
2867 2012-08-14 Chong Yidong <cyd@gnu.org>
2868
2869 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2870
2871 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2872 (Bug#12085).
2873
2874 2012-08-14 Glenn Morris <rgm@gnu.org>
2875
2876 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2877
2878 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2881 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2882 Use cached shell name.
2883
2884 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2885
2886 * progmodes/python.el (python-shell-send-string):
2887 (python-shell-send-setup-code): Do not use `format' with `message'.
2888
2889 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2892 (ruby-percent-literal-beg-re): New constant.
2893 (ruby-syntax-general-delimiters-goto-beg): Rename to
2894 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2895 (ruby-syntax-propertize-general-delimiters): Rename to
2896 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2897 popular term. Adjust comments everywhere.
2898 (ruby-syntax-propertize-percent-literal): Only propertize when not
2899 inside a simple string or comment. When the literal is unclosed,
2900 leave the text after it unpropertized.
2901 (ruby-syntax-methods-before-regexp): New constant.
2902 (ruby-syntax-propertize-function): Use it to recognize regexps.
2903 Don't look at the text after regexp, just use the whitelist.
2904
2905 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2906
2907 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2908 non-nil always load the compiled file if it exists. (Bug#12197)
2909
2910 2012-08-14 Chong Yidong <cyd@gnu.org>
2911
2912 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2913 (hi-lock-set-pattern): When deciding whether to use font lock or
2914 overlays, look at font-lock-mode instead of font-lock-fontified
2915 (Bug#12168).
2916 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2917 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2918
2919 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2920
2921 * subr.el (internal--after-with-selected-window): Fix typo
2922 (Bug#12193).
2923
2924 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2925
2926 Use `completion-table-dynamic' for completion functions.
2927 * progmodes/python.el
2928 (python-shell-completion--do-completion-at-point)
2929 (python-shell-completion--get-completions):
2930 Remove functions.
2931 (python-shell-completion-complete-at-point): New function.
2932 (python-completion-complete-at-point): Use it.
2933
2934 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2935
2936 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2937 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2938
2939 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * subr.el (function-get): Refine `autoload' arg so it can also
2942 autoload functions for gv.el (bug#12191).
2943 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2944 autoloads macros.
2945
2946 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2947 Prefer pcase-let over destructuring-bind.
2948 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2949 Also, remove whitespace as we go, rather than after accumulating the
2950 various places.
2951
2952 * subr.el (internal--before-with-selected-window)
2953 (internal--after-with-selected-window): Fix typo seleted->selected.
2954 (with-selected-window): Adjust callers.
2955 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2956
2957 2012-08-13 Bastien Guerry <bzg@gnu.org>
2958
2959 * window.el (special-display-popup-frame): Minor docstring
2960 enhancement. (Bug#12172)
2961
2962 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2963
2964 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2965 type 1-6.
2966 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2967 extended headers.
2968
2969 * files.el (hack-local-variables-filter): Remove useless eval.
2970
2971 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2972
2973 * subr.el (with-selected-window): Fix last change.
2974
2975 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * subr.el (internal--before-with-seleted-window)
2978 (internal--after-with-seleted-window): New functions.
2979 (with-selected-window): Use them, to replace dependency on
2980 tty-top-frame.
2981
2982 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2983
2984 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2985 binding for `newline'.
2986 (ruby-move-to-block): When moving backward, stop at block opening,
2987 not indentation.
2988 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2989 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2990 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2991 `ruby-toggle-block'.
2992
2993 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * ibuffer.el (ibuffer-do-toggle-read-only):
2996 * dired.el (dired-toggle-read-only):
2997 * buff-menu.el (Buffer-menu-toggle-read-only):
2998 * bindings.el (mode-line-toggle-read-only):
2999 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3000
3001 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3002
3003 * descr-text.el (describe-char): Put the overlays over the
3004 "displayed as" character.
3005
3006 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3007
3008 * calc/calc-units.el (math-default-units-table): Give an
3009 initial value.
3010 (math-put-default-units): Add options to put composite units and
3011 unit systems in the default units table.
3012 (calc-convert-units): Send composite units to
3013 `math-put-default-units' when appropriate.
3014
3015 2012-08-11 Glenn Morris <rgm@gnu.org>
3016
3017 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3018
3019 * tutorial.el (help-with-tutorial):
3020 * emacs-lisp/copyright.el (copyright-update-directory):
3021 * emacs-lisp/autoload.el (autoload-find-generated-file)
3022 (autoload-find-file): Disable local eval: (for insurance).
3023
3024 * files.el (hack-local-variables-filter): If an eval: form is not
3025 known to be safe, and enable-local-variables is :safe, then ignore
3026 the form totally, as is done for non-eval forms. (Bug#12155)
3027 This is CVE-2012-3479.
3028
3029 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3032 (rx-form): Simplify.
3033
3034 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3037 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3038 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3039 (ruby-syntax-propertize-function): Adjust for changes in
3040 `ruby-syntax-propertize-heredoc'.
3041
3042 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3043
3044 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3045 binding (use `M-;' instead).
3046 (ruby-singleton-class-p): New function.
3047 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3048
3049 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3052
3053 2012-08-10 Chong Yidong <cyd@gnu.org>
3054
3055 * progmodes/python.el (python-shell-get-process-name): Don't mess
3056 with same-window-buffer-names.
3057
3058 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3059 (eshell-remove-from-window-buffer-names): Make obsolete.
3060 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3061 (eshell): Just use pop-to-buffer-same-window instead.
3062
3063 2012-08-10 Chong Yidong <cyd@gnu.org>
3064
3065 * bindings.el: Bind M-= back to count-words-region.
3066
3067 * simple.el (count-words-region): Accept a prefix arg for acting
3068 on the entire buffer.
3069 (count-words--buffer-message): New helper function.
3070
3071 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3074 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3075 (event-start, event-end): Use posn-at-point to return a more
3076 informative posn.
3077 (posnp): New function.
3078 * mouse.el (popup-menu-normalize-position): Use it.
3079
3080 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3081
3082 * mouse.el (popup-menu-normalize-position): New function.
3083 (popup-menu): Use `popup-menu-normalize-position' to normalize
3084 the form for POSITION argument.
3085
3086 * term/x-win.el (x-menu-bar-open):
3087 Use the value returend from (posn-at-point) as position
3088 passed to `popup-menu'.
3089
3090 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3091
3092 * calc/calccomp.el (math-compose-expr): Add extra argument
3093 indicating that parentheses should be put around products in
3094 denominators. Give multiplication precedence over division during
3095 composition.
3096
3097 2012-08-09 Chong Yidong <cyd@gnu.org>
3098
3099 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3100 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3101 (Man-untabify-command, manual-program): Convert to defcustom
3102 (Bug#10429).
3103
3104 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3105
3106 * descr-text.el (describe-char): Don't insert extra newlines
3107 (Bug#10127).
3108
3109 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3110 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3111
3112 * align.el (align-region): Delete temporary markers (Bug#10047).
3113 Plus some code cleanups.
3114
3115 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3116
3117 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3118 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3119 (python-shell-internal-last-output): Use make-local-variable
3120 instead of make-variable-buffer-local.
3121
3122 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3123
3124 * progmodes/python.el: Enhancements to forward-sexp.
3125 (python-nav-forward-sexp): Rename from
3126 python-nav-forward-sexp-function.
3127 (python-nav--forward-sexp, python-nav--backward-sexp):
3128 New functions.
3129
3130 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3131
3132 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3133 modes and simplification modes.
3134
3135 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * delsel.el (delete-selection-pre-hook): Don't propagate the
3138 file-supersession signals (bug#12161).
3139
3140 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3143 (cl-map-extents): Add compatibility aliases (bug#12135).
3144
3145 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3148 tests by `ignore-error'.
3149 (tramp-find-shell): Open also a new shell, when cache is already
3150 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3151
3152 2012-08-08 Juri Linkov <juri@jurta.org>
3153
3154 * bookmark.el: Add `defaults' property to the bookmark record.
3155 (bookmark-current-buffer): Doc fix.
3156 (bookmark-make-record): Add `defaults' property with default values
3157 to the bookmark record.
3158 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3159 with `bookmark-insert-current-bookmark'.
3160 (bookmark-set): Get `defaults' property from the bookmark record
3161 and use it in `read-from-minibuffer'.
3162 (bookmark-insert-current-bookmark): Remove function.
3163
3164 * info.el (Info-bookmark-make-record): Add `defaults' property
3165 with values of canonical Info node name, the current Info file
3166 name and the current Info node name. (Bug#12107)
3167
3168 2012-08-08 Juri Linkov <juri@jurta.org>
3169
3170 * files.el (basic-save-buffer): Use `buffer-name' as the default
3171 of `read-file-name' when buffer is not visiting a file (bug#12128).
3172
3173 2012-08-08 Juri Linkov <juri@jurta.org>
3174
3175 * info.el (Info-isearch-search): Doc fix.
3176 (Info-search): Change search-failed message from "initial node" to
3177 "end of node" (bug#12078).
3178 (Info-isearch-search): Change `isearch-string-state' to
3179 `isearch--state-string'.
3180
3181 2012-08-08 Glenn Morris <rgm@gnu.org>
3182
3183 * language/persian.el: Remove file.
3184 * language/misc-lang.el: Move unique part of persian.el here.
3185 * loadup.el: Remove language/persian.
3186
3187 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3188
3189 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3190
3191 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3192
3193 * progmodes/python.el Fixed defsubst warning.
3194 (python-syntax-context) Rename from python-info-ppss-context.
3195 (python-syntax-context-type): Rename from
3196 python-info-ppss-context-type.
3197 (python-syntax-comment-or-string-p): Rename from
3198 python-info-ppss-comment-or-string-p.
3199
3200 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3201
3202 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3203
3204 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3205
3206 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3207 a defcustom that is quoted with backquote.
3208
3209 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3210 Fix handling of interactive spec when the body uses return.
3211 (math-do-arg-check, math-define-function-body): Use backquote forms.
3212 * calc/calc-ext.el (math-defcache): Likewise.
3213 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3214 * allout.el (allout-new-exposure): Likewise.
3215 * calc/calcalg2.el (math-tracing-integral): Likewise.
3216 * info.el (Info-last-menu-item): Likewise.
3217 * emulation/vip.el (vip-loop): Likewise.
3218 * textmodes/artist.el (artist-funcall): Likewise.
3219 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3220 Construct menu-item directly.
3221
3222 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3223 Don't declare.
3224
3225 2012-08-07 Chong Yidong <cyd@gnu.org>
3226
3227 * simple.el (deactivate-mark): Preserve text properties when
3228 saving the primary selection (Bug#8384).
3229
3230 2012-08-07 Kevin Ryde <user42@zip.com.au>
3231
3232 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3233 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3234 and continue processing (Bug#12110).
3235
3236 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3239 syntax-propertize-function (bug#10095).
3240
3241 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3244 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3245 describe-function-1.
3246 (describe-function-1): Use them. Move compiler macro after sig.
3247 (help-fns--compiler-macro): Use function-get. Assume we're already in
3248 standard-output. Adjust layout to new call order.
3249
3250 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3251 re-binding a symbol that has a symbol-macro (bug#12119).
3252
3253 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3254
3255 * language/persian.el: New file. (Bug#11812)
3256 * loadup.el: Add language/persian.el.
3257
3258 2012-08-06 Chong Yidong <cyd@gnu.org>
3259
3260 * window.el (window--maybe-raise-frame): New function.
3261 (window--display-buffer): Split off from here.
3262 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3263 (display-buffer-pop-up-window, display-buffer-use-some-window):
3264 Obey an inhibit-switch-frame action alist entry.
3265 (display-buffer): Update doc.
3266
3267 * replace.el (occur-after-change-function): Avoid losing focus by
3268 using the inhibit-switch-frame display parameter (Bug#12139).
3269
3270 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3271
3272 Make internal shell process buffer names start with space.
3273 * progmodes/python.el (python-shell-make-comint): Add optional
3274 argument INTERNAL.
3275 (run-python-internal): Use it.
3276 (python-shell-internal-get-or-create-process): Check for new
3277 internal buffer names.
3278
3279 2012-08-06 Glenn Morris <rgm@gnu.org>
3280
3281 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3282 Do less getting and setting of environment variables.
3283
3284 2012-08-05 Chong Yidong <cyd@gnu.org>
3285
3286 * proced.el (proced): Add substitution string to docstring to
3287 trigger autoloading of the proced library on C-h f (Bug#1768).
3288
3289 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3290 Don't show defvars which have no second argument (Bug#8638).
3291
3292 * imenu.el (imenu-generic-expression): Move documentation here
3293 from imenu--generic-function.
3294 (imenu--generic-function): Refer to imenu-generic-expression.
3295
3296 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3297
3298 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3299 indentation declaration.
3300 (viper-loop): Add indentation declaration (Bug#7025).
3301
3302 2012-08-05 Chong Yidong <cyd@gnu.org>
3303
3304 * help-fns.el (describe-variable): Add hyperlink for
3305 directory-local variables files. Improve buffer-local and
3306 permanent-local reporting; suggested by MON KEY (Bug#6644).
3307
3308 * help-mode.el (help-dir-local-var-def): New button type.
3309
3310 * files.el (kill-buffer-hook): Provide a defvar.
3311
3312 2012-08-05 Glenn Morris <rgm@gnu.org>
3313
3314 * eshell/esh-ext.el (eshell/addpath):
3315 Also update eshell-path-env. (Bug#12013)
3316
3317 2012-08-05 Chong Yidong <cyd@gnu.org>
3318
3319 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3320
3321 * fringe.el (fringe-styles): Add docstring.
3322 (fringe--check-mode): New function.
3323 (set-fringe-mode, set-fringe-style): Use it.
3324 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3325
3326 * files.el (set-auto-mode): Fix invalid setq call.
3327
3328 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * isearch.el: Misc simplification; use defstruct.
3331 (isearch-mode-map): Dense maps now work like sparse ones.
3332 (isearch--state): New defstruct.
3333 (isearch-string-state, isearch-message-state, isearch-point-state)
3334 (isearch-success-state, isearch-forward-state)
3335 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3336 (isearch-wrapped-state, isearch-barrier-state)
3337 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3338 replaced by defstruct's accessors.
3339 (isearch--set-state): Rename from isearch-top-state and change
3340 calling convention.
3341 (isearch-push-state): Use new isearch--get-state.
3342 (isearch-toggle-word): Disable regexp when enabling word.
3343 (isearch-message-prefix): Remove unused arg _c-q-hack.
3344 (isearch-message-suffix): Remove unused arg _ellipsis.
3345
3346 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 * simple.el (list-processes--refresh): For a server use :host or
3349 :local as the address.
3350 (list-processes): Doc fix.
3351
3352 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3353
3354 * lisp/mpc.el: Support password in host argument.
3355 (mpc--proc-connect): Parse and use new password element.
3356 Set mpc-proc variable instead of returning process.
3357 (mpc-proc): Adjust accordingly.
3358
3359 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3360
3361 * whitespace.el (whitespace-display-mappings): Use Unicode
3362 codepoints, instead of emacs-mule codepoints. See
3363 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3364 for the details.
3365
3366 * files.el (file-truename): Don't skip symlink-chasing part on
3367 windows-nt. Incorporate the resolution of 8+3 short aliases on
3368 Windows into the loop that recursively chases symlinks.
3369 Compare directory and its parent case-insensitively on MS-Windows and
3370 MS-DOS.
3371
3372 2012-08-03 Chong Yidong <cyd@gnu.org>
3373
3374 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3375
3376 * sort.el (sort-regexp-fields): Doc fix.
3377
3378 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3379
3380 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3381 labels regex position point at the expected place.
3382
3383 2012-08-03 MON KEY <monkey@sandpframing.com>
3384
3385 * net/imap.el (imap-interactive-login, imap-authenticate)
3386 (imap-mailbox-lsub, imap-mailbox-list)
3387 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3388 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3389 (imap-parse-response): Doc fix.
3390
3391 2012-08-03 João Távora <joaotavora@gmail.com>
3392
3393 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3394 if sexp scanning does not move point (Bug#5734).
3395
3396 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3397
3398 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3399 Add listings, minted, and ctable packages.
3400 (reftex-label-alist-builtin): Move listings, minted, and ctable
3401 entries before LaTeX.
3402 (reftex-label-alist): Docfix.
3403
3404 2012-08-02 Bastien Guerry <bzg@gnu.org>
3405
3406 * replace.el (occur): Fix docstring (bug#12122).
3407
3408 2012-08-02 Glenn Morris <rgm@gnu.org>
3409
3410 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3411
3412 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3415 * international/mule-cmds.el: Create
3416 inactivate-current-input-method-function as an obsolete alias for
3417 deactivate-current-input-method-function. See Katsumi Yamaoka in
3418 <http://bugs.gnu.org/10150#46>.
3419
3420 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3421
3422 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3423 of nested `if's.
3424
3425 2012-08-01 Glenn Morris <rgm@gnu.org>
3426
3427 * progmodes/autoconf.el (autoconf-definition-regexp):
3428 Add AH_TEMPLATE, adjust submatch numbering.
3429 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3430 (autoconf-current-defun-function): Update for above change.
3431 (autoconf-current-defun-function): First skip to end of current word.
3432
3433 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3434
3435 * calendar/cal-html.el (cal-html-insert-agenda-days):
3436 Fix typo. (Bug#12018)
3437
3438 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3439
3440 Shell processes: enhancements to startup and CEDET compatibility.
3441 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3442 (python-shell-make-comint): accept-process-output at startup.
3443 (run-python-internal): Set inferior-python-mode-hook to nil.
3444 (python-shell-internal-get-or-create-process): call sit-for.
3445 (python-preoutput-result): Add obsolete alias.
3446 (python-shell-internal-send-string): Use it.
3447 (python-shell-send-setup-code): Remove call to
3448 accept-process-output.
3449
3450 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3453 (Bug#12108)
3454
3455 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3456
3457 * calc-mode.el (calc-basic-simplification-mode): Rename from
3458 `calc-limited-simplification-mode'.
3459 (calc-alg-simplification-mode): New function.
3460 (calc-set-simplify-mode): Adjust message.
3461
3462 * calc.el (calc-set-mode-line): Adjust mode line display for
3463 basic simplification mode.
3464
3465 * calc-help.el (calc-m-prefix-help): Update help message.
3466
3467 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3468 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3469
3470 2012-07-31 Bastien Guerry <bzg@gnu.org>
3471
3472 * man.el (man): Fix comment. (bug#12101)
3473
3474 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3475
3476 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3477 Don't return a non-nil value when no suitable buffer was found.
3478
3479 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3480
3481 * progmodes/python.el (run-python-internal): Disable font lock for
3482 internal shells.
3483
3484 2012-07-30 Stefan Merten <smerten@oekonux.de>
3485
3486 * textmodes/rst.el: Silence `checkdoc-ispell'.
3487 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3488 (rst-official-version, rst-official-cvs-rev)
3489 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3490 (rst-mode-map): New key binding.
3491
3492 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3493
3494 Update .PHONY listings in makefiles.
3495 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3496 autoloads, update-subdirs, updates, bzr-update, update-authors,
3497 compile-onefile, compile-calc, backup-compiled-files,
3498 compile-after-backup, compile-one-process, mh-autoloads,
3499 bootstrap-clean, distclean, maintainer-clean.
3500
3501 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3502
3503 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3504 (calc-set-mode-line): Don't display "AlgSimp ".
3505
3506 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3507 (calc-lim-simplify-mode): New function.
3508 (calc-set-simplify-mode): Default to 'alg.
3509 (calc-default-simplify-mode): Make algebraic simplifications
3510 the default.
3511
3512 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3513 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3514
3515 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3516 indicate new simplification modes.
3517
3518 * calc/README: Mention new default simplification mode.
3519
3520 * calc/calc.el (math-normalize-error): New variable.
3521 (math-normalize): Set `math-normalize-error' to t
3522 when there's an error.
3523
3524 * calc/calc-alg.el (math-simplify): Don't simplify when
3525 `math-normalize' returns an error.
3526
3527 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3528
3529 * international/mule-cmds.el (set-locale-environment): Revert last
3530 change, since display-graphic-p returns nil when this function is
3531 called during startup. Instead...
3532
3533 * term/w32console.el (terminal-init-w32console): ...setup the
3534 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3535
3536 2012-07-29 Juri Linkov <juri@jurta.org>
3537
3538 * simple.el (goto-line): Don't display default line number in the
3539 prompt because it should be displayed by `read-number' (bug#9952).
3540 Add the current line number to the defaults of `goto-line' to
3541 allow its easier modification by users with `M-n' (bug#9201).
3542
3543 * subr.el (read-number): Support multiple default values like in
3544 other minibuffer reading functions. Replace `read' with
3545 `string-to-number' for consistency with `number-to-string'.
3546
3547 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3548
3549 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3550 * emulation/viper-init.el (viper-deactivate-input-method-action):
3551 Rename from viper-inactivate-input-method-action.
3552 (viper-deactivate-input-method):
3553 Rename from viper-inactivate-input-method.
3554 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3555 * international/mule-cmds.el (deactivate-input-method):
3556 Rename from inactivate-input-method.
3557 Also run input-method-deactivate-hook.
3558 (deactivate-current-input-method-function):
3559 Rename from inactivate-current-input-method-function.
3560 (input-method-deactivate-hook): New hook.
3561 (input-method-inactivate-hook): Mark obsolete.
3562 (inactivate-input-method): Mark obsolete.
3563
3564 * international/quail.el (quail-activate):
3565 Also run quail-deactivate-hook.
3566 (quail-deactivate): Rename from quail-inactivate.
3567 * international/robin.el (robin-activate):
3568 Also run robin-deactivate-hook.
3569 (robin-deactivate): Rename from robin-inactivate.
3570
3571 2012-07-29 Chong Yidong <cyd@gnu.org>
3572
3573 * simple.el (indicate-copied-region): New function.
3574 (kill-ring-save): Split off from here.
3575
3576 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3577 (kill-rectangle): Set deactivate-mark to t on read-only error.
3578
3579 * register.el (copy-to-register, copy-rectangle-to-register):
3580 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3581 (append-to-register, prepend-to-register): Call indicate-copied-region.
3582
3583 2012-07-29 Juri Linkov <juri@jurta.org>
3584
3585 * simple.el (async-shell-command-buffer): New defcustom.
3586 (shell-command): Use it. (Bug#4719)
3587
3588 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3589
3590 * international/mule-cmds.el (set-locale-environment): In a
3591 console session on MS-Windows, set up keyboard and terminal
3592 encoding from the OEM codepage, not the ANSI codepage.
3593 (Bug#12055)
3594
3595 2012-07-28 Chong Yidong <cyd@gnu.org>
3596
3597 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3598 gdb-get-location.
3599
3600 2012-07-28 Leo Liu <sdl.web@gmail.com>
3601
3602 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3603 the alist (bug#12029).
3604
3605 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3606
3607 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3608 (compile-always, compile-first)
3609 ($(lisp)/calendar/cal-loaddefs.el)
3610 ($(lisp)/calendar/diary-loaddefs.el)
3611 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3612 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3613 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3614 instead of on update-subdirs.
3615 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3616
3617 2012-07-28 Chong Yidong <cyd@gnu.org>
3618
3619 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3620 directory if vc-deduce-backend returns nil (Bug#7350).
3621
3622 * simple.el (delete-trailing-lines): New option.
3623 (delete-trailing-whitespace): Obey it (Bug#11879).
3624
3625 2012-07-28 David Engster <deng@randomsample.de>
3626
3627 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3628 Explanation of new 'symbol-qnames feature in doc-strings.
3629 (xml-maybe-do-ns): Return expanded names as plain symbols if
3630 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3631 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3632
3633 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3634
3635 Consistent completion in inferior python with emacs -nw.
3636 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3637 binding in inferior-python-mode-map with "\t".
3638 (python-shell-completion-complete-at-point)
3639 (python-completion-complete-at-point): Remove interactive spec.
3640
3641 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3642
3643 * calc/calccomp.el (math-compose-expr): Undo previous change.
3644
3645 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3646
3647 * progmodes/python.el (python-mode-map): Add keybinding for
3648 run-python.
3649 (python-shell-make-comint): Fix pop-to-buffer call.
3650 (run-python): Autoload. New arg SHOW.
3651 (python-shell-get-or-create-process): Do not pop python process
3652 buffer.
3653
3654 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * notifications.el (notifications-on-action-signal)
3657 (notifications-on-closed-signal): Use also the bus address for the map.
3658 (notifications-notify, notifications-close-notification)
3659 (notifications-get-capabilities): Add optional argument BUS.
3660
3661 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3662
3663 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3664 Add support for the lstlisting and minted environments, and for the
3665 ctable macro.
3666 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3667 labels written in keyvals syntax.
3668
3669 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3670
3671 * calc/calccomp.el (math-compose-expr): Use parentheses when
3672 there is a product in the denominator of a fraction.
3673
3674 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3675
3676 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3677 ($(lisp)/calendar/diary-loaddefs.el)
3678 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3679 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3680 Fixes failures in parallel bootstrap because subdirs.el is being
3681 rewritten while the autoload files are built at the same time,
3682 which needs to load subdirs.el.
3683
3684 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3685
3686 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3687 (mouse-drag-line): Don't exit tracking when a switch-frame or
3688 switch-window event occurs (Bug#12006).
3689
3690 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * mouse.el (popup-menu): Fix last change.
3693
3694 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 Autoload from Lisp with more care. Follow aliases when looking for
3697 function properties.
3698 * subr.el (autoloadp): New function.
3699 (symbol-file): Use it.
3700 (function-get): New function.
3701 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3702 autoload-do-load.
3703 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3704 (lisp-indent-function):
3705 * emacs-lisp/gv.el (gv-get):
3706 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3707 * emacs-lisp/byte-opt.el (byte-optimize-form):
3708 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3709 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3710 Use function-get.
3711 * emacs-lisp/cl.el: Don't propagate function properties any more.
3712
3713 * speedbar.el (speedbar-add-localized-speedbar-support):
3714 * emacs-lisp/disass.el (disassemble-internal):
3715 * desktop.el (desktop-load-file):
3716 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3717 (describe-function-1):
3718 * emacs-lisp/find-func.el (find-function-noselect):
3719 * emacs-lisp/elp.el (elp-instrument-function):
3720 * emacs-lisp/advice.el (ad-has-proper-definition):
3721 * apropos.el (apropos-safe-documentation, apropos-macrop):
3722 * emacs-lisp/debug.el (debug-on-entry):
3723 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3724 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3725 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3726
3727 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3728
3729 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3730 function, not an obsolete variable (Bug#12046).
3731
3732 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3733
3734 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3735
3736 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3737
3738 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3739 window only if it is still live (Bug#12034).
3740
3741 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3742
3743 * subr.el (redirect-frame-focus): Add advertised calling
3744 convention (Bug#12030).
3745
3746 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3747
3748 Prefer typical American spelling for "acknowledgment".
3749 * vc/add-log.el (change-log-acknowledgment): Rename from
3750 change-log-acknowledgement, with an alias for the old name.
3751
3752 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3753
3754 * calc-alg.el (math-simplify-divide): Don't cross multiply
3755 in an equation when the lhs is a variable.
3756
3757 2012-07-24 Julien Danjou <julien@danjou.info>
3758
3759 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3760 Remove, unused.
3761
3762 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3763
3764 * startup.el (command-line): Don't display an empty user name in
3765 the error message about non-existent home directory, when
3766 init-file-user was set to an empty string. See
3767 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3768 for the details and context.
3769
3770 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3771
3772 * ses.el (ses-cell-formula-aset): New macro.
3773 (ses-cell-references-aset): New macro.
3774 (ses-cell-p): New function.
3775 (ses-rename-cell): Do no longer rely on complex operations like
3776 ses-cell-set-formula or ses-set-cell to change the cell and handle
3777 the undo at the same time, but rather use lower level new macros
3778 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3779 the undo directly. Refresh the mode line.
3780
3781 2012-07-21 Leo Liu <sdl.web@gmail.com>
3782
3783 * progmodes/cc-cmds.el (c-defun-name):
3784 Use match-string-no-properties instead for consistency.
3785
3786 2012-07-20 Leo Liu <sdl.web@gmail.com>
3787
3788 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3789 (Bug#7879)
3790
3791 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3792
3793 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3796 * progmodes/bug-reference.el, misearch.el: Provide themselves
3797 (bug#11915).
3798
3799 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3800 of narrowed buffer (bug#11966).
3801
3802 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3803
3804 * ses.el (ses-rename-cell): Set new name also in reference list of
3805 cells of which the renamed cell depends.
3806
3807 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3808
3809 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3810 to check whether menu-bar is shown or not. If not shown,
3811 show the menu-bar as a popup menu instead of using tmm.
3812 * mouse.el (popup-menu): Accept `point' as `position' argument.
3813
3814 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3815
3816 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3817 up inside string symbol literal (bug#11923).
3818
3819 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3820
3821 * startup.el (fancy-startup-text): Read the whole tutorial, not
3822 just its first 256 bytes. Prevents gibberish in display of the
3823 tutorial title.
3824
3825 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3826
3827 Drop idle buffer compaction due to an absence of the
3828 proved efficiency.
3829 * compact.el: Remove.
3830
3831 2012-07-19 Sam Steingold <sds@gnu.org>
3832
3833 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3834 vc-bzr-pull & vc-bzr-merge-branch.
3835 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3836 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3837 for consistency with compilation-error-regexp-alist.
3838 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3839 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3840 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3841 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3842
3843 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * emacs-lisp/chart.el: Use lexical-binding.
3846 (chart-emacs-storage): Don't hardcode the list of entries.
3847
3848 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3849
3850 Next round of tweaks caused by Fgarbage_collect changes.
3851 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3852
3853 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3854
3855 Compact buffers when idle.
3856 * compact.el: New file.
3857
3858 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * subr.el (eventp): Presume that if it looks vaguely like an event,
3861 it's an event (bug#10190).
3862
3863 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3864
3865 Enhancements to ppss related code (thanks Stefan).
3866 * progmodes/python.el (python-indent-context)
3867 (python-indent-calculate-indentation, python-indent-dedent-line)
3868 (python-indent-electric-colon, python-nav-forward-block)
3869 (python-mode-abbrev-table)
3870 (python-info-assignment-continuation-line-p): Simplify checks
3871 for ppss context.
3872 (python-info-continuation-line-p): Cleanup.
3873 (python-info-ppss-context): Do not catch 'quote.
3874 (python-info-ppss-context-type)
3875 (python-info-ppss-comment-or-string-p): Simplify.
3876
3877 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3878
3879 * progmodes/python.el: Enhancements to eldoc support.
3880 (python-info-current-symbol): New function.
3881 (python-eldoc-at-point): Use python-info-current-symbol.
3882 (python-info-current-defun): Fix cornercase on first defun scan.
3883 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3884 and signal error when no inferior python process is available.
3885
3886 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3887
3888 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3889 assume it's always t.
3890 (vc-git-registered): Remove caching, the function is only called
3891 once.
3892 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3893
3894 2012-07-18 Chong Yidong <cyd@gnu.org>
3895
3896 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3897
3898 * simple.el (count-words): Report on narrowing (Bug#9959).
3899
3900 * bindings.el: Bind M-= to count-words.
3901
3902 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3903
3904 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3905
3906 * progmodes/sh-script.el (sh-imenu-generic-expression):
3907 Capture a function with `function' keyword and without parentheses
3908 like "function FOO" (bug#11856).
3909
3910 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3911
3912 * window.el (split-window-sensibly): Make WINDOW argument
3913 optional.
3914
3915 2012-07-18 Chong Yidong <cyd@gnu.org>
3916
3917 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3918
3919 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3920 and make C-x 8 RET exit isearch (Bug#11439).
3921
3922 * international/iso-transl.el: Move isearch-mode-map key
3923 definitions to isearch.el.
3924
3925 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3928 (eieio-defclass): Use gv-define-setter when possible.
3929
3930 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3931
3932 Reflect recent changes in Fgarbage_collect.
3933 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3934 reflect new format of data returned by Fgarbage_collect.
3935
3936 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3937
3938 New utility functions + python-info-ppss-context fix (Bug#11910).
3939 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3940 (python-info-ppss-comment-or-string-p): New functions.
3941 (python-info-ppss-context): Small fix for string check.
3942
3943 2012-07-17 Juri Linkov <juri@jurta.org>
3944
3945 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3946 (dired-do-async-shell-command): Don't add `*' at the end of the
3947 command (Bug#11815).
3948 (dired-do-shell-command): Doc fix.
3949 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3950 Join the individual commands using either "&" or ";" as the
3951 separator depending on the values of these trailing characters.
3952 At the end re-add the trailing "&". (Bug#10598)
3953
3954 * simple.el (async-shell-command): Sync the interactive spec with
3955 `shell-command'. Doc fix.
3956 (shell-command): Doc fix.
3957
3958 2012-07-17 Juri Linkov <juri@jurta.org>
3959
3960 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3961
3962 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3963
3964 Final renames and doc fixes for movement commands (bug#11899).
3965 * progmodes/python.el (python-nav-beginning-of-statement):
3966 Rename from python-nav-statement-start.
3967 (python-nav-end-of-statement): Rename from
3968 python-nav-statement-end.
3969 (python-nav-beginning-of-block): Rename from
3970 python-nav-block-start.
3971 (python-nav-end-of-block): Rename from python-nav-block-end.
3972
3973 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3974
3975 * progmodes/python.el (python-shell-send-string-no-output):
3976 Allow accept-process-output to quit, keeping shell process ready for
3977 future interactions (Bug#11868).
3978
3979 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3982
3983 * emacs-lisp/elint.el (elint-find-args-in-code):
3984 Use help-function-arglist, so as to handle lexical byte-code.
3985
3986 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3987 change (bug#11826).
3988
3989 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3990
3991 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3992 Avoid spuriously marking the buffer as modified because of c-is-sws.
3993
3994 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3995 as not-a-comment (bug#11946).
3996
3997 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3998 for uninterned vars.
3999
4000 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4001 Use read-event since we don't really want to read chars but bytes.
4002
4003 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4004 $$..$$ but also $..$ using regexps (bug#11953).
4005 Use tex-verbatim for \url and \path.
4006 (tex-font-lock-keywords): Define as defconst like the others.
4007 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4008
4009 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4010
4011 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4012 alias for insert-char.
4013
4014 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4015
4016 * progmodes/python.el: Simplified imenu implementation.
4017 (python-nav-jump-to-defun): Remove command.
4018 (python-mode-map): Use `imenu' instead.
4019 (python-nav-list-defun-positions-cache)
4020 (python-imenu-include-defun-type, python-imenu-make-tree)
4021 (python-imenu-subtree-root-label, python-imenu-index-alist):
4022 Remove vars.
4023 (python-nav-list-defun-positions, python-nav-read-defun)
4024 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4025 (python-imenu-make-tree, python-imenu-create-index):
4026 Remove functions.
4027 (python-mode): Update to interact with imenu by setting
4028 `imenu-extract-index-name-function' only.
4029
4030 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4031
4032 * progmodes/python.el: Enhancements to navigation commands.
4033 (python-nav-backward-sentence)
4034 (python-nav-forward-sentence): Remove.
4035 (python-nav-backward-statement, python-nav-forward-statement)
4036 (python-nav-statement-start, python-nav-statement-end)
4037 (python-nav-backward-block, python-nav-forward-block)
4038 (python-nav-block-start, python-nav-block-end)
4039 (python-nav-forward-sexp-function)
4040 (python-info-current-line-comment-p)
4041 (python-info-current-line-empty-p): New functions.
4042 (python-indent-context): Use `python-nav-statement-start'.
4043
4044 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * eshell/em-ls.el (eshell/ls): Use `apply'.
4047
4048 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4049 multi-hops, instead of Tramp internals.
4050
4051 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4052
4053 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4054 when F1 and F2 are located on different hosts.
4055
4056 2012-07-14 Chong Yidong <cyd@gnu.org>
4057
4058 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4059 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4060 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4061 (xterm-mouse--read-event-sequence-1000)
4062 (xterm-mouse--read-event-sequence-1006): New functions. For old
4063 mouse protocol, handle M-mouse-X events correctly.
4064 (xterm-mouse-event): New arg specifying mouse protocol.
4065 (turn-on-xterm-mouse-tracking-on-terminal)
4066 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4067 sequence to toggle extended coordinates on newer XTerms.
4068 This appears to be harmless on terminals which do not support this.
4069
4070 2012-07-14 Leo Liu <sdl.web@gmail.com>
4071
4072 Add fringe bitmap indicators for flymake. (Bug#11253)
4073 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4074 (flymake-make-overlay): New arg BITMAP.
4075 (flymake-error-bitmap, flymake-warning-bitmap)
4076 (flymake-fringe-indicator-position): New user variables.
4077
4078 * fringe.el: New bitmap exclamation-mark.
4079
4080 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4081
4082 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4083 also (Bug#7879).
4084
4085 2012-07-14 Chong Yidong <cyd@gnu.org>
4086
4087 * electric.el (electric-pair-post-self-insert-function): Fix pair
4088 insertion in empty-region case (Bug#11520).
4089
4090 2012-07-14 Chong Yidong <cyd@gnu.org>
4091
4092 * bindings.el: Consolidate ctl-x-r-map bindings.
4093 Bind copy-rectangle-as-kill to C-x r w.
4094
4095 * rect.el, register.el: Move bindings to bindings.el.
4096
4097 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4098
4099 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4100
4101 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4102
4103 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4104
4105 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * bindings.el (top): Use `mapc' instead of `mapcar'.
4108
4109 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4110
4111 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * progmodes/sql.el (sql-comint): Suppress the check for program on
4114 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4115 (Bug#11908)
4116
4117 2012-07-13 Chong Yidong <cyd@gnu.org>
4118
4119 * bindings.el: Assign a non-nil permanent-local property to
4120 per-buffer variables which lack a default value (Bug#11930).
4121
4122 * help-fns.el (describe-variable): In the "automatically becomes
4123 local" notice, take note of permanent-local variables.
4124
4125 2012-07-13 Chong Yidong <cyd@gnu.org>
4126
4127 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4128 to allow printing the message when called from Lisp.
4129
4130 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4131 Remove toggle-read-only.
4132
4133 * bs.el (bs-toggle-readonly):
4134 * buff-menu.el (Buffer-menu-toggle-read-only):
4135 Remove with-no-warnings around toggle-read-only.
4136
4137 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4138 Remove with-no-warnings around toggle-read-only.
4139 (ffap-read-only, ffap-read-only-other-window)
4140 (ffap-read-only-other-frame): Callers changed.
4141
4142 * help-mode.el: Don't require view package.
4143 (help-mode-finish): Set buffer-read-only instead of calling
4144 toggle-read-only.
4145
4146 * bindings.el (mode-line-toggle-read-only):
4147 * dired.el (dired-toggle-read-only):
4148 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4149 with non-nil second arg.
4150
4151 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4152 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4153 directly.
4154
4155 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4156
4157 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4158 not incf.
4159
4160 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 More CL cleanups and reduction of use of cl.el.
4163 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4164 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4165 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4166 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4167 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4168 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4169 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4170 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4171 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4172 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4173 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4174 * eshell/em-cmpl.el, eshell/em-banner.el:
4175 * calendar/parse-time.el: Use cl-lib.
4176 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4177 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4178 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4179 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4180 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4181 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4182 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4183 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4184 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4185 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4186 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4187 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4188 `lambda' rather than with `quote'.
4189 (eshell-do-opt): Adjust accordingly.
4190 (eshell-process-option): Simplify.
4191 * eshell/esh-var.el:
4192 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4193 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4194 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4195 to `pcase--dontcare'.
4196 * emacs-lisp/cl.el (labels): Mark obsolete.
4197 (cl--letf, letf): Move to cl-lib.
4198 (cl--letf*, letf*): Remove.
4199 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4200 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4201 (cl-progv): Rewrite.
4202 (cl--letf, cl-letf): Move from cl.el.
4203 (cl-letf*): New macro.
4204 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4205
4206 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4209
4210 2012-07-11 Chong Yidong <cyd@gnu.org>
4211
4212 * vc/log-edit.el (log-edit-vc-backend): New variable.
4213 (log-edit): Doc fix.
4214
4215 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4216 argument of log-edit to set up all local variables.
4217 (vc-start-logentry): New optional arg specifying VC backend.
4218
4219 * vc/vc.el (vc-checkin): Use it.
4220 (vc-deduce-fileset): Handle Log Edit buffers.
4221 (vc-diff): Make first argument optional too.
4222
4223 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4224
4225 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4228 command, just in case. The function is not needed anymore.
4229 (eshell-external-command): Do not call `eshell-remote-command'.
4230
4231 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4232
4233 Reduce use of (require 'cl).
4234 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4235 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4236 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4237 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4238 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4239 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4240 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4241 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4242 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4243 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4244 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4245 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4246 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4247 (byte-compile-unfold-bcf, byte-compile-check-variable):
4248 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4249 (byte-compile-nilconstp):
4250 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4251 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4252
4253 * emacs-lisp/gv.el (cond): Make it a valid place.
4254 (if): Simplify slightly.
4255
4256 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4257 (pcase--self-quoting-p): New function.
4258 (pcase--u1): Use it.
4259
4260 2012-07-10 Glenn Morris <rgm@gnu.org>
4261
4262 * emacs-lisp/authors.el (authors-fixed-entries):
4263 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4264
4265 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 Rename configure.in to configure.ac (Bug#11603).
4268 * emacs-lisp/authors.el (authors-canonical-file-name):
4269 * progmodes/autoconf.el (autoconf-mode):
4270 Prefer configure.ac to configure.in.
4271
4272 2012-07-08 Chong Yidong <cyd@gnu.org>
4273
4274 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4275 Implement the mouse-1-click-follows-link handling properly.
4276
4277 * info.el (Info-link-keymap): Use follow-link mechanism for
4278 header-line links (Bug#374).
4279
4280 * simple.el (deactivate-mark): Do not set the primary selection
4281 if another program has acquired it (Bug#11772).
4282
4283 2012-07-07 Kevin Ryde <user42@zip.com.au>
4284
4285 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4286 (woman-decode-region): Replace escaped-escapes without destroying
4287 bold or underline (Bug#11552).
4288 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4289
4290 2012-07-07 Chong Yidong <cyd@gnu.org>
4291
4292 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4293 (interprogram-cut-function, interprogram-paste-function):
4294 Mention that we typically mean the clipboard.
4295
4296 2012-07-06 Glenn Morris <rgm@gnu.org>
4297
4298 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4299
4300 * files.el (toggle-read-only): Restrict message to interactive use.
4301
4302 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4305
4306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4307
4308 2012-07-06 Glenn Morris <rgm@gnu.org>
4309
4310 * Makefile.in (compile-one-process): Rename from "recompile".
4311
4312 * Makefile.in (bzr-update): "compile" is the same as "recompile
4313 autoloads", but parallelizable, so use that instead.
4314
4315 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * window.el (quit-window): Always restore window height when
4318 it's saved in quit-restore parameter (Bug#11810).
4319
4320 2012-07-06 Glenn Morris <rgm@gnu.org>
4321
4322 * simple.el (kill-whole-line): Doc tweak.
4323
4324 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4325
4326 * files.el (file-relative-name): Compare file names
4327 case-insensitively if on MS-Windows or MS-DOS, or if
4328 read-file-name-completion-ignore-case is non-nil. Don't use
4329 case-fold-search for this purpose. (Bug#11827)
4330
4331 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * calendar/cal-dst.el (calendar-current-time-zone):
4334 Return calendar-current-time-zone-cache if non-nil.
4335
4336 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4337 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4338
4339 * calendar/cal-dst.el (calendar-current-time-zone):
4340 Return calendar-current-time-zone-cache if non-nil.
4341
4342 2012-07-06 Glenn Morris <rgm@gnu.org>
4343
4344 * Makefile.in (cvs-update): Remove old alias.
4345
4346 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4347
4348 Sync with Tramp 2.2.6-pre.
4349
4350 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4351 compatible declaration.
4352
4353 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4354 Protect `list-load-path-shadows' call.
4355
4356 * net/tramp-compat.el (top): Require packages, which aren't
4357 autoloaded anymore for XEmacs. Protect call of
4358 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4359 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4360 it hurts at least for SXEmacs.
4361 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4362 standard-value for `temporary-file-directory'.
4363
4364 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4365 Redirect stderr to /dev/null.
4366 (tramp-sh-handle-write-region): uid and gid can be floats.
4367 Reported by Russell Sim <russell.sim@gmail.com>.
4368 (tramp-sh-handle-vc-registered): Hide errors.
4369 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4370 and `start-file-process'.
4371 (tramp-maybe-open-connection): Check also whether `non-essential'
4372 is bound.
4373
4374 2012-07-04 Chong Yidong <cyd@gnu.org>
4375
4376 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4377 (xml-parse-tag): Likewise, and avoid changing entity tables.
4378 (xml-syntax-table): Define from scratch, making sure not to give
4379 x2000 and other Unicode spaces whitespace syntax, since those are
4380 not spaces in XML.
4381 (xml-parse-fragment): Delete unused function.
4382 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4383 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4384 (xml-entity-ref, xml-pe-reference-re)
4385 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4386 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4387 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4388 (xml-entity-value-re): Use syntax references in regexps where
4389 possible; no need to define inside a let-binding.
4390 (xml-parse-dtd): Use xml-pe-reference-re.
4391 (xml-entity-or-char-ref-re): New defconst.
4392 (xml-parse-string, xml-substitute-special): Use it.
4393
4394 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4397 (find-file--read-only): New function.
4398 (find-file-read-only, find-file-read-only-other-window)
4399 (find-file-read-only-other-frame): Use it.
4400 (insert-file-contents-literally): Don't `fset'.
4401 (get-free-disk-space): Use locate-dominating-file.
4402
4403 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4404 function is already compiled.
4405
4406 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4407
4408 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4409
4410 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4411 files on the same host.
4412
4413 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4414
4415 * help-fns.el (describe-function-1): Only call
4416 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4417
4418 2012-07-03 Chong Yidong <cyd@gnu.org>
4419
4420 * xml.el: Protect parser against XML bombs.
4421 (xml-entity-expansion-limit): New variable.
4422 (xml-parse-string, xml-substitute-special): Use it.
4423 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4424
4425 2012-07-03 Glenn Morris <rgm@gnu.org>
4426
4427 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4428 Allow linking to specific messages in debbugs reports (eg 123#5).
4429
4430 2012-07-02 Chong Yidong <cyd@gnu.org>
4431
4432 * xml.el: Fix entity and character reference expansion, allowing
4433 them to expand into markup as per XML spec.
4434 (xml-default-ns): New variable.
4435 (xml-entity-alist): Use XML spec definitions for lt and amp.
4436 (xml-parse-region): Make first two arguments optional.
4437 Discard text properties.
4438 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4439 All callers changed.
4440 (xml-parse-tag): Call xml-parse-tag-1. For backward
4441 compatibility, this function should not modify buffer contents.
4442 (xml-parse-tag-1): Fix opening-tag regexp.
4443 (xml-parse-string): Rewrite, handling entity and character
4444 references properly.
4445 (xml--entity-replacement-text): Signal an error if a parameter
4446 entity is undefined.
4447
4448 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * comint.el (comint-output-filter): Filter out repeated prompts.
4451
4452 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4453 and file-name-absolute-p.
4454 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4455 internal calls.
4456
4457 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4458
4459 Spelling fixes.
4460 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4461 Rename from byte-compile--refiy-function. All uses changed.
4462
4463 2012-07-01 Chong Yidong <cyd@gnu.org>
4464
4465 * xml.el (xml--parse-buffer): New function. Move most of
4466 xml-parse-region here.
4467 (xml-parse-region): Copy region into a temporary buffer, since
4468 parameter entity substitution requires changing buffer contents.
4469 Use xml--parse-buffer.
4470 (xml-parse-file): Use xml--parse-buffer.
4471 (xml-parse-dtd): Make parameter entity substitution work right.
4472 Use proper regexps for ELEMENT declarations (Bug#7172).
4473
4474 2012-06-30 Glenn Morris <rgm@gnu.org>
4475
4476 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4477
4478 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4479 Remove outdated and unnecessary dbus declarations.
4480
4481 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4482
4483 * emacs-lisp/timer.el (timer-until): Subtract results of
4484 float-time, instead of taking float-time of the result of
4485 time-subtract, since float-time signals an error for negative time
4486 arguments.
4487
4488 2012-06-30 Chong Yidong <cyd@gnu.org>
4489
4490 * xml.el (xml-*-re): Convert defvars into defconsts, and
4491 eval-and-compile them so eval-and-compile works on derivatives.
4492 (xml--entity-replacement-text): Use eval-and-comple.
4493
4494 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * vc/vc-git.el (vc-git-registered): Use cache property
4497 `git-registered'.
4498 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4499 `vc-git-working-revision' in order to benefit from the cache.
4500 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4501
4502 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4503
4504 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4505 removed (likely outside Emacs). (Bug#11757)
4506
4507 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * emacs-lisp/cl-lib.el: Require macroexp.
4510
4511 2012-06-30 Chong Yidong <cyd@gnu.org>
4512
4513 * xml.el: Implement XML parameter entities.
4514 (xml-parameter-entity-alist): New variable.
4515 (xml-parse-region, xml-parse-fragment): Preserve previous values
4516 of xml-entity-alist and xml-parameter-entity-alist, so that
4517 repeated calls on different documents do not change them.
4518 (xml-parse-tag): Fix doctype regexp.
4519 (xml--entity-replacement-text): New function.
4520 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4521 properly requires url retrieval which is unimplemented.
4522 (xml-escape-string): Doc fix.
4523
4524 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4527
4528 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4529
4530 * fringe.el (fringe-mode): Doc fix.
4531
4532 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4535 is non-nil.
4536 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4537 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4538
4539 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4540
4541 * calendar/cal-dst.el (calendar-current-time-zone):
4542 Return calendar-current-time-zone-cache if non-nil.
4543
4544 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4545
4546 * progmodes/which-func.el (which-func-format):
4547 Add mouse-face. (Bug#11698)
4548
4549 2012-06-29 Leo Liu <sdl.web@gmail.com>
4550
4551 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4552
4553 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * minibuffer.el (minibuffer-confirm-exit-commands):
4556 Add completion-at-point (bug#11725).
4557
4558 2012-06-29 Glenn Morris <rgm@gnu.org>
4559
4560 * progmodes/f90.el (f90-font-lock-keywords-2):
4561 Add some preprocessor elements. (Bug#10499)
4562
4563 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4566 Use syntax-propertize (bug#11739).
4567
4568 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4569
4570 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4571
4572 2012-06-28 Julien Danjou <julien@danjou.info>
4573
4574 * term.el (term-handle-colors-array): Use a set of new faces to
4575 color the terminal. Also uses :inverse-video property.
4576 (term-default-fg-color): Set to nil by default, deprecate in favor
4577 of `term-face'.
4578 (term-default-bg-color): Set to nil by default, deprecate in favor
4579 of `term-face'.
4580 (term-current-face): Use `term-face' by default.
4581 (term-bold-attribute): Variable deleted.
4582
4583 2012-06-28 Glenn Morris <rgm@gnu.org>
4584
4585 * simple.el (completion-list-mode-finish):
4586 Don't use toggle-read-only. (Since completion-list-mode has
4587 a special mode-class, it wasn't doing anything extra anyway.)
4588
4589 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 Make inlining of other-mode interpreted functions work (bug#11799).
4592 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4593 (byte-compile): Use it to fix compilation of lexical-binding closures.
4594 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4595 function, if needed.
4596
4597 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * help-mode.el (help-make-xrefs): Don't just withstand
4600 cyclic-variable-indirection but any error in documentation-property.
4601
4602 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4603 memory use.
4604 * bindings.el (bindings--define-key): New function.
4605 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4606 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4607 * bindings.el: Use it to purecopy define-key bindings.
4608
4609 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4610
4611 * emacs-lisp/cl.el (flet): Mark obsolete.
4612 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4613 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4614 * progmodes/js.el (js-c-fill-paragraph):
4615 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4616 (ebrowse-switch-member-buffer-to-derived-class):
4617 * play/5x5.el (5x5-solver): Use cl-flet.
4618
4619 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4620 (cl--symbol-function): New macro.
4621 (cl--letf, cl--letf*): Use it.
4622
4623 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4624 Strip "toggle-" if any.
4625
4626 2012-06-27 Glenn Morris <rgm@gnu.org>
4627
4628 * info.el (Info-default-directory-list): Move here from paths.el.
4629 * paths.el: Remove file, which is now empty.
4630 * loadup.el: No longer load "paths".
4631
4632 * custom.el (custom-initialize-delay): Doc fix.
4633
4634 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4635 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4636 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4637 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4638 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4639 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4640 * eshell/eshell.el (eshell-defgroup): Remove alias.
4641
4642 2012-06-27 Chong Yidong <cyd@gnu.org>
4643
4644 * help.el (help-enable-auto-load): New variable.
4645
4646 * help-fns.el (help-fns--autoloaded-p): New function.
4647 (describe-function-1): Refer to a function as "autoloaded" if it
4648 was autoloaded at any time in the past. Perform autoloading if
4649 help-enable-auto-load is non-nil.
4650
4651 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4652
4653 * makefile.w32-in (compile, compile-always): Depend on
4654 update-subdirs, not on subdirs.el. Otherwise, several different
4655 sub-targets of 'bootstrap' running in parallel could
4656 simultaneously write to subdirs.el, producing a garbled file.
4657
4658 2012-06-26 Sam Steingold <sds@gnu.org>
4659
4660 * files.el (file-name-base): New convenience function.
4661 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4662 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4663 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4664 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4665 * textmodes/ispell.el, textmodes/reftex-ref.el:
4666 * textmodes/tex-mode.el: Use it.
4667 Did not touch cedet and org because they are maintained elsewhere.
4668
4669 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4670
4671 * calendar/calendar.el (calendar-exit): Don't try to delete or
4672 iconify last frame. See:
4673 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4674
4675 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4676
4677 * server.el (server-process-filter): Remember dir in the
4678 process's `server-client-directory' properties.
4679
4680 2012-06-24 Chong Yidong <cyd@gnu.org>
4681
4682 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4683 non-tag text.
4684
4685 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4688
4689 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * help-fns.el (describe-variable): Don't croak when doc is not found.
4692 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4693 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4694 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4695 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4696 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4697 ((lambda ..) ..).
4698 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4699
4700 2012-06-23 Chong Yidong <cyd@gnu.org>
4701
4702 * info.el (Info-mouse-follow-link): Accept symbol values of
4703 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4704 (Info-fontify-node): Use Info-link-keymap for all navigation
4705 buttons, with link-args property to perform the desired action.
4706 (Info-link-keymap): Doc fix.
4707 (Info-next-link-keymap, Info-prev-link-keymap)
4708 (Info-up-link-keymap): Delete now-unused keymaps.
4709
4710 2012-06-23 Chong Yidong <cyd@gnu.org>
4711
4712 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4713
4714 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4715 system abbrevs.
4716
4717 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4718
4719 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4722 (bug#11719).
4723
4724 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4725 the requote function doesn't work properly (bug#11714).
4726
4727 2012-06-23 Glenn Morris <rgm@gnu.org>
4728
4729 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4730
4731 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 Further GV/CL cleanups.
4734 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4735 gv-expander.
4736 (gv--defun-declaration): New function.
4737 (defun-declarations-alist): Use it.
4738 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4739 (gv-place): Autoload.
4740 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4741 original definition of dotimes and dolist.
4742 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4743 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4744 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4745 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4746 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4747 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4748 to the function's definition.
4749 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4750 * window.el:
4751 * files.el:
4752 * faces.el:
4753 * env.el: Don't use CL.
4754
4755 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4756
4757 Support higher-resolution time stamps (Bug#9000).
4758
4759 * calendar/time-date.el (with-decoded-time-value): New arg
4760 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4761 (encode-time-value): New optional arg PICO. New type 3.
4762 (time-to-seconds) [!float-time]: Support the new picoseconds
4763 component if it's used.
4764 (seconds-to-time, time-subtract, time-add):
4765 Support ps-resolution time stamps as well.
4766
4767 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4768 (timerp): Timer vectors now have length 9, not 8.
4769 (timer--time): Support new-style (4-part) time stamps.
4770 (timer-next-integral-multiple-of-time): Time stamps now have
4771 picosecond resolution, so take a bit more care about rounding.
4772 (timer-relative-time, timer-inc-time): New optional arg psecs.
4773 (timer-set-time-with-usecs): Set psecs to 0.
4774 (timer--activate): Check psecs component, too.
4775
4776 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4777
4778 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4781 Move the non-essential binding to the post/pre-command-hook where it is
4782 more obviously correct.
4783
4784 * subr.el (read-passwd): Don't use a history at all.
4785 * savehist.el (savehist-save): Remove password saved accidentally
4786 because of the above bug.
4787
4788 2012-06-22 Bastien Guerry <bzg@gnu.org>
4789
4790 * files.el (toggle-read-only): Display a message telling whether
4791 the buffer is read-only or not (bug#11726).
4792
4793 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/gv.el: New file.
4796 * subr.el (push, pop): Extend to generalized variables.
4797 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4798 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4799 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4800 gv-define-simple-setter, and gv-define-expander.
4801 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4802 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4803 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4804 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4805 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4806 gv-letplace.
4807 (cl-defstruct): Don't define setf-method any more.
4808 * emacs-lisp/cl.el (flet): Don't autoload.
4809 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4810 (define-setf-expander, defsetf, define-modify-macro)
4811 (cl-struct-setf-expander): Move from cl-lib.el.
4812 * emacs-lisp/syntax.el:
4813 * emacs-lisp/ewoc.el:
4814 * emacs-lisp/smie.el:
4815 * emacs-lisp/cconv.el:
4816 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4817 (timer--time): Use gv-define-simple-setter.
4818 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4819 to avoid coding-system problems in subr.el. Adjust all users.
4820 (macroexp--maxsize, macroexp-small-p): New functions.
4821 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4822 * scroll-bar.el (scroll-bar-mode):
4823 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4824 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4825 * winner.el (winner-configuration, winner-make-point-alist)
4826 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4827 * files.el (locate-file-completion-table): Avoid list*.
4828
4829 2012-06-22 Chong Yidong <cyd@gnu.org>
4830
4831 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4832 (dired-create-files): Doc fix (Bug#11329).
4833 (dired-do-copy): Doc fix (Bug#11334).
4834 (dired-mark-read-string): Doc fix (Bug#11553).
4835
4836 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4837 Doc fix (Bug#11326).
4838 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4839 (dired-dwim-target): Doc fix.
4840
4841 * wdired.el (wdired-mode): Doc fix.
4842
4843 2012-06-22 Glenn Morris <rgm@gnu.org>
4844
4845 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4846 (pcmpl-rpm-cache-stamp-file): New constant.
4847 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4848 (pcmpl-rpm-packages): Optionally cache list of packages.
4849
4850 * pcmpl-rpm.el (pcmpl-rpm): New group.
4851 (pcmpl-rpm-query-options): New option.
4852 (pcmpl-rpm-packages): No need to inline it.
4853 Use pcmpl-rpm-query-options.
4854
4855 * calendar/calendar.el (calendar-in-read-only-buffer):
4856 Avoid some needless mode changes.
4857
4858 2012-06-21 Chong Yidong <cyd@gnu.org>
4859
4860 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4861 (desktop-path): Remove . from the default value (Bug#10977).
4862 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4863
4864 2012-06-20 Chong Yidong <cyd@gnu.org>
4865
4866 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4867
4868 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4869
4870 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4871 (bug#11201).
4872
4873 2012-06-20 Chong Yidong <cyd@gnu.org>
4874
4875 * term.el (term-window-width): Handle the case of a missing right
4876 fringe (Bug#8837).
4877 (term-check-size): Use window-text-height (Bug#5445).
4878 (term-mode): Use define-derived-mode. Minor cleanups.
4879 Set font-lock-defaults (Bug#7692).
4880 (term-move-columns, term-insert-char, term-emulate-terminal)
4881 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4882
4883 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * net/ange-ftp.el (ange-ftp-get-passwd):
4886 Bind `enable-recursive-minibuffers'.
4887 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4888
4889 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4890
4891 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4892
4893 2012-06-19 Glenn Morris <rgm@gnu.org>
4894
4895 * progmodes/python.el (python-mode): Derive from prog-mode.
4896
4897 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4898
4899 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4900 (edt-user-menu-bar-update-buffers): New functions.
4901 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4902
4903 2012-06-19 Chong Yidong <cyd@gnu.org>
4904
4905 * subr.el (with-selected-window): Preserve the selected window's
4906 terminal's top-frame (Bug#4702).
4907
4908 * window.el (save-selected-window): Likewise.
4909
4910 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * progmodes/python.el (python-rx-constituents): Move backquote.
4913 (python-skeleton-define, python-define-auxiliary-skeleton):
4914 Use `declare'.
4915
4916 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * minibuffer.el (read-file-name-default): Revert the patch from
4919 2012-06-17.
4920
4921 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4924 (pcase--u1, pcase--q1): Don't use apply-partially.
4925
4926 2012-06-18 Glenn Morris <rgm@gnu.org>
4927
4928 * progmodes/python.el (python-proc, python-buffer)
4929 (python-send-receive, python-send-string): Fix obsolete versions.
4930
4931 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (special-display-p): Completely remove stringp
4934 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4935
4936 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4937
4938 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4939
4940 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4941
4942 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4943 * net/tramp-sh.el (tramp-maybe-open-connection):
4944 Throw if `non-essential' is non-nil.
4945
4946 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4947
4948 * window.el (special-display-p): Signal an error if BUFFER-NAME
4949 is not a string (Bug#11713).
4950
4951 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4952
4953 * progmodes/python.el (python-info-beginning-of-backslash):
4954 Rename from python-info-beginning-of-backlash, as a spelling fix.
4955
4956 2012-06-17 Chong Yidong <cyd@gnu.org>
4957
4958 * term.el (term-emulate-terminal): If term-check-size is called,
4959 move point to the process mark without resetting point (Bug#4635).
4960
4961 2012-06-17 Glenn Morris <rgm@gnu.org>
4962
4963 * international/mule-cmds.el (mule-menu-keymap)
4964 (set-language-environment, set-locale-environment): Doc tweaks.
4965
4966 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4967
4968 * cus-face.el (custom-face-attributes): Add wave-style underline
4969 attribute.
4970 * faces.el (set-face-attribute): Update docstring to describe
4971 wave-style underline attribute.
4972
4973 2012-06-16 Chong Yidong <cyd@gnu.org>
4974
4975 * term/xterm.el (terminal-init-xterm): Discard input before
4976 querying background mode (Bug#10959).
4977
4978 2012-06-16 Stefan Merten <smerten@oekonux.de>
4979
4980 * textmodes/rst.el: Added and corrected some comments.
4981 (rst-re-alist-def): Improve symbol syntax.
4982 (rst-mode-syntax-table): Correct syntax entries.
4983 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4984 (rst-official-version, rst-official-cvs-rev): Update version
4985 information.
4986
4987 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4990 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4991
4992 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4993
4994 * progmodes/python.el: New python.el merge.
4995 (python-guess-indent): Obsolete var.
4996 (python-indent-guess-indent-offset): New defcustom.
4997 (python-indent): Obsolete var.
4998 (python-indent-offset): New defcustom.
4999 (python-python-command, python-jython-command): Delete var.
5000 (python-shell-interpreter): New defcustom.
5001 (python-pdbtrack-do-tracking-p): Delete var.
5002 (python-pdbtrack-activate): New defcustom.
5003 (python-use-skeletons): Obsolete var.
5004 (python-skeleton-autoinsert): New defcustom.
5005 (inferior-python-filter-regexp, python-continuation-offset)
5006 (python-honour-comment-indentation, python-indent-string-contents)
5007 (python-jython-packages, python-mode-hook)
5008 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5009 (python-shell-prompt-alist)
5010 (python-source-modes): Delete defcustoms.
5011 (python-check-buffer-name, python-eldoc-setup-code)
5012 (python-eldoc-string-code, python-ffap-setup-code)
5013 (python-ffap-string-code, python-fill-comment-function)
5014 (python-fill-decorator-function, python-fill-paren-function)
5015 (python-fill-string-function, python-imenu-include-defun-type)
5016 (python-imenu-make-tree, python-imenu-subtree-root-label)
5017 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5018 (python-shell-compilation-regexp-alist)
5019 (python-shell-completion-module-string-code)
5020 (python-shell-completion-pdb-string-code)
5021 (python-shell-completion-setup-code)
5022 (python-shell-completion-string-code)
5023 (python-shell-enable-font-lock, python-shell-exec-path)
5024 (python-shell-extra-pythonpaths)
5025 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5026 (python-shell-process-environment)
5027 (python-shell-prompt-block-regexp)
5028 (python-shell-prompt-output-regexp)
5029 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5030 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5031 (python-shell-virtualenv-path): New defcustoms.
5032 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5033 (inferior-python-mode-syntax-table, python--prompt-regexp)
5034 (python-buffer, python-command python-python-command)
5035 (python-default-template, python-imports, python-indent-index)
5036 (python-indent-list, python-indent-list-length)
5037 (python-mode-running, python-pdbtrack-is-tracking-p)
5038 (python-preoutput-continuation, python-preoutput-leftover)
5039 (python-preoutput-result, python-preoutput-skip-next-prompt)
5040 (python-prev-dir/file, python-recursing)
5041 (python-saved-check-command, python-version-checked)
5042 (python-which-func-length-limit)
5043 (view-return-to-alist): Delete vars.
5044 (python-check-custom-command, python-dotty-syntax-table)
5045 (python-imenu-index-alist, python-indent-current-level)
5046 (python-indent-dedenters, python-indent-levels)
5047 (python-nav-beginning-of-defun-regexp)
5048 (python-nav-list-defun-positions-cache)
5049 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5050 (python-shell-internal-buffer)
5051 (python-skeleton-available): New vars.
5052 (def-python-skeleton): Delete macro.
5053 (python-skeleton-define): New macro.
5054 (python-define-auxiliary-skeleton, python-rx): New macros.
5055 (python-insert-class): Delete command.
5056 (python-skeleton-class): New command.
5057 (python-insert-def): Delete command.
5058 (python-skeleton-def): New command.
5059 (python-insert-for): Delete command.
5060 (python-skeleton-for): New command.
5061 (python-insert-if): Delete command.
5062 (python-skeleton-if): New command.
5063 (python-insert-try/except, python-insert-try/finally): Delete commands.
5064 (python-skeleton-try): New command.
5065 (python-insert-while): Delete command.
5066 (python-skeleton-while): New command.
5067 (python-backspace): Delete command.
5068 (python-indent-dedent-line-backspace): New command.
5069 (python-electric-colon): Delete command.
5070 (python-indent-electric-colon): New command.
5071 (python-guess-indent): Delete command.
5072 (python-indent-guess-indent-offset): New command.
5073 (python-shift-left): Delete command.
5074 (python-indent-shift-left): New command.
5075 (python-shift-right): Delete command.
5076 (python-indent-shift-right): New command.
5077 (python-find-function): Delete command.
5078 (python-nav-jump-to-defun): New command.
5079 (python-next-statement): Delete command.
5080 (python-nav-forward-sentence): New command.
5081 (python-previous-statement): Delete command.
5082 (python-nav-backward-sentence): New command.
5083 (python-fill-paragraph): Delete command.
5084 (python-fill-paragraph-function): New command.
5085 (python-send-buffer): Delete command.
5086 (python-shell-send-buffer): New command.
5087 (python-send-defun): Delete command.
5088 (python-shell-send-defun): New command.
5089 (python-send-region, python-send-region-and-go): Delete commands.
5090 (python-shell-send-region)
5091 (python-shell-switch-to-shell): New commands.
5092 (python-send-string): Delete command.
5093 (python-shell-send-string): New command.
5094 (python-switch-to-python): Delete command.
5095 (python-shell-switch-to-shell): New command.
5096 (python-describe-symbol): Delete command.
5097 (python-eldoc-at-point): New command.
5098 (python--set-prompt-regexp, python-args-to-list)
5099 (python-after-info-look, python-check-version)
5100 (python-check-comint-prompt, python-find-imports)
5101 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5102 (python-unload-function, python-expand-template)
5103 (python-maybe-jython, python-preoutput-filter)
5104 (python-pdbtrack-get-source-buffer)
5105 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5106 (python-pdbtrack-toggle-stack-tracking)
5107 (python-pdbtrack-track-stack-file, python-initial-text)
5108 (python-first-word, python-comment-line-p, python-send-command)
5109 (python-setup-brm, python-sentinel, python-set-proc)
5110 (python-skip-out, python-input-filter, python-outdent-p)
5111 (python-outline-level, python-backslash-continuation-line-p)
5112 (python-end-of-block, python-end-of-statement, python-mark-block)
5113 (python-beginning-of-block, python-beginning-of-statement)
5114 (python-blank-line-p, python-beginning-of-string)
5115 (python-open-block-statement-p): Delete functions.
5116 (python-indent-line, python-indent-line-1): Delete functions.
5117 (python-indent-line): New function.
5118 (python-indentation-levels): Delete function.
5119 (python-indent-calculate-levels): New function.
5120 (python-proc): Delete function.
5121 (python-shell-get-process): New function.
5122 (python-send-receive): Delete function.
5123 (python-shell-send-string-no-output): New function.
5124 (python-module-path): Delete function.
5125 (python-ffap-module-path): New function.
5126 (python-completion-at-point)
5127 (python-symbol-completions): Delete functions.
5128 (python-completion-complete-at-point): New function.
5129 (python-load-file): Delete function.
5130 (python-shell-send-file): New function.
5131 (python-calculate-indentation): Delete function.
5132 (python-indent-calculate-indentation): New function.
5133 (python-skip-comments/blanks): Delete function.
5134 (python-util-forward-comment): New function.
5135 (python-continuation-line-p): Delete function.
5136 (python-info-continuation-line-p): New function.
5137 (python-which-func, python-current-defun): Delete function.
5138 (python-info-current-defun): New function.
5139 (python-beginning-of-defun): Delete function.
5140 (python-nav-beginning-of-defun): New function.
5141 (python-close-block-statement-p)
5142 (python-block-end-p): Delete function.
5143 (python-info-closing-block): New function.
5144 (python-comint-output-filter-function)
5145 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5146 (python-fill-comment, python-fill-decorator, python-fill-paren)
5147 (python-fill-string, python-imenu-make-element-tree)
5148 (python-imenu-make-tree, python-imenu-tree-assoc)
5149 (python-indent-context, python-indent-dedent-line)
5150 (python-indent-line-function)
5151 (python-indent-post-self-insert-function)
5152 (python-indent-toggle-levels)
5153 (python-info-assignment-continuation-line-p)
5154 (python-info-beginning-of-backlash)
5155 (python-info-block-continuation-line-p)
5156 (python-info-closing-block-message)
5157 (python-info-line-ends-backslash-p)
5158 (python-info-looking-at-beginning-of-defun)
5159 (python-info-ppss-context, python-info-ppss-context-type)
5160 (python-nav-list-defun-positions, python-nav-read-defun)
5161 (python-nav-sentence-end, python-nav-sentence-start)
5162 (python-pdbtrack-comint-output-filter-function)
5163 (python-pdbtrack-set-tracked-buffer)
5164 (python-shell-calculate-exec-path)
5165 (python-shell-calculate-process-environment)
5166 (python-shell-completion--do-completion-at-point)
5167 (python-shell-completion--get-completions)
5168 (python-shell-completion-complete-at-point)
5169 (python-shell-completion-complete-or-indent)
5170 (python-shell-get-or-create-process)
5171 (python-shell-get-process-name)
5172 (python-shell-internal-get-or-create-process)
5173 (python-shell-internal-get-process-name)
5174 (python-shell-internal-send-string, python-shell-make-comint)
5175 (python-shell-parse-command, python-shell-send-setup-code)
5176 (python-skeleton-add-menu-items)
5177 (python-util-clone-local-variables, python-util-position)
5178 (run-python-internal, python-indentation-levels)
5179 (python-nav-beginning-of-defun)
5180 (python-completion-complete-at-point): New functions.
5181 (run-python): Change arguments. New API requirements.
5182
5183 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5186 (bug#11649).
5187
5188 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5189 (macroexp--expand-all): Use it.
5190
5191 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5192 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5193 Use `cl-function' instead.
5194
5195 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5198 Suggested by Stefan Monnier while discussing bug#11657.
5199
5200 2012-06-14 Sam Steingold <sds@gnu.org>
5201
5202 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5203
5204 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5205
5206 * play/doctor.el (doctor-doc): Remove parameter and use
5207 doctor-sent instead of sent.
5208 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5209
5210 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * files.el: Require cl-lib.
5213 (file-name-non-special): Replace case -> cl-case.
5214
5215 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5216
5217 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5218 mapping from #' to function*.
5219
5220 2012-06-13 Chong Yidong <cyd@gnu.org>
5221
5222 * mouse.el (mouse-drag-track): Do not set the mark if the user
5223 releases the mouse without selecting anything (Bug#11588).
5224
5225 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5228 as well (bug#11646).
5229
5230 * loadup.el: Count byte-code functions as well.
5231
5232 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5233 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5234
5235 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5236 (bug#11649). Add cl-defun and cl-defmacro.
5237
5238 2012-06-13 Drew Adams <drew.adams@oracle.com>
5239
5240 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5241 Fix last change.
5242
5243 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5244
5245 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5246 Otherwise, it blocks in batch mode.
5247
5248 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5249
5250 * help-mode.el (bookmark-make-record-default): Declare.
5251
5252 2012-06-13 Chong Yidong <cyd@gnu.org>
5253
5254 * emacs-lisp/package.el (list-packages): Compute a list of
5255 packages that are newly-available since the last list-packages
5256 invocation.
5257 (package-menu--new-package-list): New var.
5258 (package-menu--generate, package-menu--print-info)
5259 (package-menu--status-predicate, package-menu-mark-install):
5260 Handle new status label "new".
5261
5262 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5265 conversion to backquotes.
5266
5267 2012-06-12 Chong Yidong <cyd@gnu.org>
5268
5269 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5270 Rename from gud-inhibit-global-bindings.
5271
5272 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5273
5274 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5275 hook from nxml-glyph-set-hook.
5276
5277 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5278 declaration.
5279
5280 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5281
5282 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5283 Convert to defcustom.
5284
5285 2012-06-12 Drew Adams <drew.adams@oracle.com>
5286
5287 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5288 New functions.
5289 (help-mode): Use them.
5290
5291 2012-06-11 Glenn Morris <rgm@gnu.org>
5292
5293 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5294 Use preprocessor face for directives.
5295 (fortran-directive-re): Doc fix.
5296
5297 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5300 conversion to backquotes (bug#11652).
5301
5302 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5303 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5304 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5305 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5306 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5307 (cl-ninth, cl-tenth): Mark them as inlinable.
5308 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5309 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5310 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5311 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5312 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5313 (cl-list*, cl-adjoin): Don't put an autoload manually.
5314 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5315 (cl--compiler-macro-list*): Add autoload cookie.
5316 (cl--compiler-macro-cXXr): New function.
5317
5318 * help-fns.el (help-fns--compiler-macro): New function extracted from
5319 describe-function-1; follow aliases and use `compiler-macro' property.
5320 (describe-function-1): Use it.
5321
5322 2012-06-11 Chong Yidong <cyd@gnu.org>
5323
5324 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5325 is uninstalled, if imagemagick is installed.
5326
5327 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/cl-lib.el: Use lexical-binding.
5330 (cl-map-extents, cl-maclisp-member): Remove.
5331 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5332 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5333 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5334 * emacs-lisp/cl-extra.el: Use lexical-binding.
5335 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5336 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5337 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5338 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5339 * emacs-lisp/cl-seq.el: Use lexical-binding.
5340 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5341 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5342 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5343 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5344 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5345 CL's internals.
5346
5347 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5348
5349 Sync with Tramp 2.2.6-pre.
5350
5351 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5352 `print-length' and `print-level' to nil, in order to avoid
5353 truncation. Reported by Christopher Schmidt
5354 <christopher@ristopher.com>.
5355
5356 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5357
5358 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5359 New defmacro.
5360 (tramp-compat-copy-directory): Add optional argument
5361 COPY-CONTENTS. It is not handled yet.
5362
5363 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5364 (tramp-ftp-file-name-p): Simplify.
5365
5366 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5367 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5368 connection vector.
5369
5370 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5371 (tramp-methods): Do not use `tramp-password-end-of-line'.
5372 (tramp-completion-function-alist-putty): Handle UNIX case.
5373 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5374 (tramp-do-file-attributes-with-stat)
5375 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5376 gid as real numbers. They could run out of integer range on cygwin.
5377 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5378 (tramp-sh-handle-expand-file-name): Handle hops.
5379 (tramp-open-connection-setup-interactive-shell):
5380 Use `tramp-cleanup'. Move check for busyboxes ...
5381 (tramp-find-shell): ... here. Simplify implementation.
5382 Set "remote-shell" property also for alternative shells.
5383 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5384 If failing, a regular file would be written otherwise.
5385 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5386 (tramp-find-inline-encoding): Cache the coding commands in the
5387 process cache. Apply test command on the remote side, if defined.
5388 (tramp-find-inline-compress): Cache the compress commands in the
5389 process cache.
5390 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5391 when requested. Handle hops.
5392 (tramp-current-connection): New defvar.
5393 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5394 Throw `suppress', if there was a failed connection shortly before.
5395 Handle user interrupt. (Bug#10187)
5396 (tramp-get-inline-compress, tramp-get-inline-coding):
5397 Read connection properties from the process cache.
5398
5399 * net/tramp-smb.el (tramp-smb-server-version)
5400 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5401 New defconsts.
5402 (tramp-smb-prompt): Extend for powershell prompt.
5403 (tramp-smb-file-name-handler-alist): Add handlers for
5404 `process-file', `shell-command' and `start-file-process'.
5405 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5406 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5407 (tramp-smb-file-name-p): Simplify.
5408 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5409 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5410 (tramp-smb-shell-quote-argument): New defuns.
5411 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5412 Implement using "tar". By this, time-stamps are preserved.
5413 (tramp-smb-handle-copy-file): Handle also the case of directories.
5414 (tramp-smb-do-file-attributes-with-stat)
5415 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5416 Use `tramp-get-connection-buffer').
5417 (tramp-smb-handle-rename-file): Use "rename", when source and
5418 target are on the same share.
5419 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5420 Use `tramp-smb-server-version'.
5421 (tramp-smb-wait-for-output): Remove prompt.
5422
5423 * net/tramp.el (top): Require 'cl.
5424 (tramp-methods, tramp-rsh-end-of-line):
5425 Remove `tramp-password-end-of-line' from docstring.
5426 (tramp-save-ad-hoc-proxies): New defcustom.
5427 (tramp-completion-function-alist): Adapt docstring.
5428 (tramp-default-password-end-of-line): Remove defcustom.
5429 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5430 (tramp-user-regexp, tramp-file-name-regexp-unified)
5431 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5432 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5433 (tramp-remote-file-name-spec-regexp): New defconst.
5434 (tramp-file-name-structure): Extend structure for hops.
5435 (tramp-get-method-parameter): Move up.
5436 (tramp-file-name-p, tramp-dissect-file-name)
5437 (with-parsed-tramp-file-name): Handle hops.
5438 (tramp-file-name-hop): New defun.
5439 (tramp-make-tramp-file-name): New optional arg HOP.
5440 (tramp-message-show-progress-reporter-message): New defvar.
5441 (tramp-with-progress-reporter): Use it. We cannot use
5442 `tramp-message-show-message' here, because this suppresses also
5443 error buffers.
5444 (tramp-error-with-buffer): Suppress buffer view, if
5445 `tramp-message-show-message' is nil.
5446 Use `tramp-get-connection-buffer'.
5447 (tramp-cleanup): New defun.
5448 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5449 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5450 an error unchanged.
5451 (tramp-completion-handle-file-name-all-completions): Handle hops.
5452 Fix an error when called from ido.
5453 (tramp-completion-dissect-file-name): Use better local variable
5454 name. Add hop to the vector.
5455 (tramp-handle-insert-file-contents): Use progress-reporter for the
5456 whole scenario.
5457 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5458 to `t'.
5459 (tramp-check-for-regexp): Simplify search.
5460 (tramp-enter-password): Remove it. Move implementation ...
5461 (tramp-action-password): ... here.
5462 (tramp-mode-string-to-int, tramp-local-host-p)
5463 (tramp-make-tramp-temp-file, tramp-read-passwd)
5464 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5465 Set tramp-autoload cookie.
5466
5467 * net/trampver.el: Update release number.
5468
5469 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5470 Michael Albinus <michael.albinus@gmx.de>
5471
5472 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5473 (tramp-parse-group, tramp-parse-file)
5474 (tramp-parse-shostkeys-sknownhosts): New defuns.
5475 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5476 (tramp-parse-shosts-group, tramp-parse-sconfig)
5477 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5478 (tramp-parse-sknownhosts, tramp-parse-hosts)
5479 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5480 Use them.
5481 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5482 (tramp-parse-putty-group): Don't narrow.
5483 (tramp-parse-putty): Make a loop.
5484 (tramp-file-name-handler): Catch the `suppress' signal.
5485
5486 2012-06-11 Chong Yidong <cyd@gnu.org>
5487
5488 * image.el (imagemagick-register-types): Put the ImageMagick entry
5489 at the end of image-type-file-name-regexps.
5490
5491 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5492
5493 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5494 (pcase, pcase-let*, pcase-dolist): Use them.
5495
5496 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/pcase.el (pcase--let*): New function.
5499 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5500 (pcase--expand): Use macroexp-let².
5501
5502 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5505 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5506 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5507 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5508 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5509 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5510
5511 2012-06-10 Glenn Morris <rgm@gnu.org>
5512
5513 * mail/rmail.el (rmail-yank-current-message): Leave point at
5514 correct position. (Bug#11660)
5515
5516 2012-06-10 Chong Yidong <cyd@gnu.org>
5517
5518 * allout-widgets.el: Fix code header.
5519
5520 2012-06-10 Chong Yidong <cyd@gnu.org>
5521
5522 * cus-edit.el (customize-changed-options-previous-release):
5523 Bump to 24.1.
5524
5525 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5528
5529 2012-06-09 Chong Yidong <cyd@gnu.org>
5530
5531 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5532
5533 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (special-display-popup-frame): Don't use
5536 window--display-buffer (Bug#11651).
5537
5538 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5539
5540 Fix parallel builds: make sure loaddefs.el is not being written
5541 while Lisp files are compiled.
5542 (compile): Don't depend on 'mh-autoloads'.
5543 (compile-CMD, compile-SH): Depend on 'autoloads'.
5544 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5545
5546 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5547
5548 2012-06-09 Chong Yidong <cyd@gnu.org>
5549
5550 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5551 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5552 Doc fixes (Bug#11225).
5553
5554 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5557 a function if there's a clear indication that it has a compiler-macro.
5558 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5559 (macro-declarations-alist): Add arglist to declaration functions.
5560 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5561 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5562 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5563 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5564 Also add autoload to find the compiler macro.
5565 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5566 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5567 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5568 (cl--compiler-macro-get): New functions, replacing calls to
5569 cl-define-compiler-macro.
5570 (cl-typep) [compiler-macro]: Use macroexp-let².
5571
5572 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5573
5574 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5575 string properly, fixes Bug#11473.
5576
5577 2012-06-08 Chong Yidong <cyd@gnu.org>
5578
5579 * faces.el (set-face-attribute): Doc fix.
5580 (modify-face): Don't use :bold and :italic.
5581 (error, warning, success): Tweak definitions.
5582
5583 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5584 (custom-modified, custom-set, custom-changed, custom-themed)
5585 (custom-saved, custom-button, custom-button-mouse)
5586 (custom-button-pressed, custom-state, custom-comment-tag)
5587 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5588 (custom-group-subtitle): Use new-style face specs.
5589 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5590 (custom-set-face, custom-changed-face, custom-saved-face)
5591 (custom-button-face, custom-button-pressed-face)
5592 (custom-documentation-face, custom-state-face)
5593 (custom-comment-face, custom-comment-tag-face)
5594 (custom-variable-tag-face, custom-variable-button-face)
5595 (custom-face-tag-face, custom-group-tag-face-1)
5596 (custom-group-tag-face): Remove obsolete face alias.
5597
5598 * epa.el (epa-validity-high, epa-validity-medium)
5599 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5600 (epa-field-name, epa-field-body):
5601 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5602 (font-lock-keyword-face, font-lock-builtin-face)
5603 (font-lock-function-name-face, font-lock-variable-name-face)
5604 (font-lock-type-face, font-lock-constant-face):
5605 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5606 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5607 * speedbar.el (speedbar-button-face, speedbar-file-face)
5608 (speedbar-directory-face, speedbar-tag-face)
5609 (speedbar-selected-face, speedbar-highlight-face)
5610 (speedbar-separator-face):
5611 * whitespace.el (whitespace-newline, whitespace-space)
5612 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5613 (whitespace-line, whitespace-space-before-tab)
5614 (whitespace-space-after-tab, whitespace-indentation)
5615 (whitespace-empty):
5616 * emulation/cua-base.el (cua-global-mark):
5617 * eshell/em-prompt.el (eshell-prompt):
5618 * net/newst-plainview.el (newsticker-new-item-face)
5619 (newsticker-old-item-face, newsticker-immortal-item-face)
5620 (newsticker-obsolete-item-face, newsticker-date-face)
5621 (newsticker-statistics-face, newsticker-default-face):
5622 * net/newst-reader.el (newsticker-feed-face)
5623 (newsticker-extra-face, newsticker-enclosure-face):
5624 * net/newst-treeview.el (newsticker-treeview-face)
5625 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5626 (newsticker-treeview-immortal-face)
5627 (newsticker-treeview-obsolete-face)
5628 (newsticker-treeview-selection-face):
5629 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5630 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5631 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5632 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5633 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5634 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5635 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5636 (mpuz-text):
5637 * progmodes/vera-mode.el (vera-font-lock-number)
5638 (vera-font-lock-function, vera-font-lock-interface):
5639 * textmodes/table.el (table-cell): Use new-style face specs, and
5640 don't use the old :bold and :italic attributes.
5641
5642 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5643 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5644 (ebrowse-member-class, ebrowse-progress): Likewise.
5645 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5646 (ebrowse-file-name-face, ebrowse-default-face)
5647 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5648 (ebrowse-progress-face): Remove obsolete faces.
5649
5650 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5651 Inherit from error and warning faces respectively.
5652
5653 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5654 Likewise.
5655 (flyspell-incorrect-face, flyspell-duplicate-face):
5656 Remove obsolete aliases.
5657
5658 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5661 Avoid infloop.
5662
5663 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * startup.el (argv, argi): Make lexically scoped.
5666 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5667 * emacs-lisp/cl-macs.el: Use lexical-binding.
5668 Rename cl-bind-* to cl--bind-*.
5669 * files.el: Don't require `cl' since it doesn't use it.
5670 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5671
5672 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5675 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5676 instead of calling external sort utility.
5677 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5678
5679 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5680
5681 * descr-text.el (describe-char): Mention how to insert the
5682 character, if the current input method doesn't support it.
5683 See the discussion in this thread for the details:
5684 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5685
5686 2012-06-08 Sam Steingold <sds@gnu.org>
5687
5688 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5689 XF86Back to previous-buffer.
5690 (minibuffer-local-map): Bind them to next-history-element and
5691 previous-history-element respectively.
5692 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5693 help-go-back respectively.
5694 * info.el (Info-mode-map): Bind them to Info-history-forward and
5695 Info-history-back respectively.
5696 These are the keys next to Up on the ThinkPad keyboard.
5697
5698 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5701 * emacs-lisp/cl-macs.el: Provide itself.
5702 (cl--labels-convert-cache): New var.
5703 (cl--labels-convert): New function.
5704 (cl-flet, cl-labels): New implementation with new semantics, relying on
5705 lexical-binding.
5706 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5707 (cl-closure-vars, cl--function-convert-cache)
5708 (cl--function-convert): Move from cl-macs.el.
5709 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5710 rename by removing the "cl-" prefix.
5711 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5712
5713 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5716 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5717 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5718 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5719 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5720 (cl-hash-table-count): Add old compatibility aliases.
5721
5722 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5723 Use macroexpand-all-environment instead.
5724 (cl--old-macroexpand): New var.
5725 (cl--sm-macroexpand): New function.
5726 (cl-symbol-macrolet): Use it during macro expansion.
5727 (cl--function-convert-cache): New var.
5728 (cl--function-convert): New function, extracted from
5729 cl-macroexpand-all.
5730 (cl-lexical-let): Use it.
5731
5732 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5733 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5734 (cl-member): Remove old alias.
5735
5736 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5737 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5738 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5739 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5740 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5741 (cl-macroexpand-cmacs): Remove var.
5742 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5743 Use macroexpand-all instead.
5744
5745 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5748 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5749 (macroexp-copyable-p): New functions and macros.
5750 * emacs-lisp/edebug.el (edebug-unwrap):
5751 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5752 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5753 (pcase--let*): Remove.
5754 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5755 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5756 macroexp-const-p instead.
5757 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5758
5759 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5760 instead of "cl-" for internal definitions. Use macroexp-const-p.
5761 (cl-old-bc-file-form): Remove var.
5762 (cl-const-exprs-p): Remove fun.
5763 (cl-labels, cl-macrolet): Use backquote.
5764 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5765 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5766 (cl-define-setf-expander): Rename from cl-define-setf-method.
5767 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5768
5769 * international/mule-cmds.el: Don't require CL.
5770 (view-hello-file): Don't use `letf'.
5771
5772 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * tmm.el (tmm-prompt): Use string-prefix-p.
5775 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5776 (tmm-add-prompt): Use minibuffer-completion-help.
5777 (tmm-delete-map): Remove.
5778
5779 * subr.el (kbd): Make it its own function.
5780
5781 2012-06-07 Stefan Merten <smerten@oekonux.de>
5782
5783 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5784 Silence compiler warnings. Fix versions.
5785 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5786 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5787 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5788 (rst-package-emacs-version-alist): Correct Emacs version to
5789 represent major merge with upstream.
5790 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5791
5792 2012-06-06 Glenn Morris <rgm@gnu.org>
5793
5794 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5795 Only print environment variables if set.
5796
5797 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5800 (macroexp--cons): Rename from maybe-cons.
5801 (macroexp--accumulate): Rename from macroexp-accumulate.
5802 (macroexp--all-forms): Rename from macroexpand-all-forms.
5803 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5804 (macroexp--expand-all): Rename from macroexpand-all-1.
5805
5806 2012-06-06 Sam Steingold <sds@gnu.org>
5807
5808 * calendar/calendar.el (calendar-in-read-only-buffer):
5809 Call `special-mode' to enable the standard read-only keybindings.
5810
5811 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5814 with "loading" messages (bug#11635).
5815
5816 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5817
5818 * files.el (enable-remote-dir-locals): New option.
5819 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5820
5821 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5822 Ensure, that the temp directory is local.
5823
5824 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5825 `temporary-file-directory'.
5826
5827 * progmodes/python.el (python-send-region): Ensure, that the
5828 temporary file is created also in the remote case.
5829
5830 2012-06-06 Glenn Morris <rgm@gnu.org>
5831
5832 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5833 (vc-rcs-update-changelog): Use it.
5834
5835 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5836
5837 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5838 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5839 (vc-sccs-diff): Replace use of the external vcdiff script.
5840
5841 2012-06-05 Glenn Morris <rgm@gnu.org>
5842
5843 * ledit.el: Move to obsolete/.
5844
5845 2012-06-05 Sam Steingold <sds@gnu.org>
5846
5847 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5848 patch (Bug#11140).
5849
5850 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * emacs-lisp/cust-print.el: Move to obsolete.
5853
5854 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5855 compiler-macro expansion.
5856
5857 Add native compiler-macro support.
5858 * emacs-lisp/macroexp.el (macroexpand-all-1):
5859 Support compiler-macros directly. Properly follow aliases and apply
5860 the compiler macros more thoroughly.
5861 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5862 macroexpand now properly follows aliases.
5863 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5864 (cl-compiler-macroexpand): Use new prop.
5865 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5866
5867 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5868
5869 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5870
5871 * window.el (get-lru-window, get-mru-window, get-largest-window):
5872 New argument NOT-SELECTED to avoid picking the selected window.
5873 (window--display-buffer-1, window--display-buffer-2): Replace by
5874 new function window--display-buffer
5875 (display-buffer-same-window, display-buffer-reuse-window)
5876 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5877 Use window--display-buffer.
5878 (display-buffer-use-some-window): Remove temporary dedication
5879 hack by calling get-lru-window and get-largest-window with
5880 NOT-SELECTED argument non-nil. Call window--display-buffer.
5881
5882 2012-06-05 Glenn Morris <rgm@gnu.org>
5883
5884 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5885 Replace external vcdiff script.
5886
5887 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5890
5891 2012-06-04 Chong Yidong <cyd@gnu.org>
5892
5893 * image.el (imagemagick-types-inhibit): Revert last change.
5894 Add INFO and M.
5895 (imagemagick-enabled-types): Remove CIN and EPS*.
5896
5897 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/cl-lib.el: Rename from cl.el.
5900 * emacs-lisp/cl.el: New compatibility file.
5901 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5902 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5903 to obey the "cl-" prefix.
5904 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5905
5906 2012-06-03 Glenn Morris <rgm@gnu.org>
5907
5908 * emacs-lisp/authors.el (authors-aliases): Addition.
5909
5910 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5911 Fix :version.
5912
5913 2012-06-03 Stefan Merten <smerten@oekonux.de>
5914
5915 * textmodes/rst.el: Add comments.
5916 (rst-transition, rst-adornment): New faces.
5917 (rst-adornment-faces-alist): Make default safe to reevaluate.
5918 Fixes
5919 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5920 Improve customization tags.
5921 (rst-define-level-faces): Clarify meaning.
5922
5923 2012-06-03 Chong Yidong <cyd@gnu.org>
5924
5925 * progmodes/compile.el (compilation-mode-line-fail)
5926 (compilation-mode-line-run, compilation-mode-line-exit):
5927 New faces.
5928 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5929
5930 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5931
5932 * progmodes/which-func.el (which-func-update-ediff-windows):
5933 New function. Use it in ediff-select-hook (Bug#11478).
5934
5935 2012-06-03 Chong Yidong <cyd@gnu.org>
5936
5937 * bindings.el: Remove explicit help text from format-mode-line.
5938 It is now supplied by mode-line-default-help-echo.
5939 (mode-line-front-space, mode-line-end-spaces)
5940 (mode-line-misc-info): New variables.
5941 (mode-line-modes, mode-line-position): Move the default value to
5942 the variable definition.
5943 (mode-line-default-help-echo): New defcustom.
5944 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5945 (mode-line-modified-help-echo): New functions.
5946 (mode-line-mule-info, mode-line-modified): Use them.
5947 (mode-line-eol-desc, propertized-buffer-identification):
5948 Consistency fixes for help text.
5949 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5950 set-buffer-file-coding-system (Bug#289).
5951 (mode-line-mule-info-help-echo): Update help text.
5952
5953 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * simple.el (execute-extended-command): Set real-this-command
5956 (bug#11506).
5957
5958 2012-06-02 Chong Yidong <cyd@gnu.org>
5959
5960 Remove incorrect uses of "modeline" in comments, docstrings, and
5961 function/variable names (Bug#10329).
5962
5963 * cus-edit.el (mode-line):
5964 * dframe.el (dframe-mouse-hscroll):
5965 * emacs-lisp/re-builder.el:
5966 * emacs-lisp/easy-mmode.el (define-minor-mode):
5967 * frame.el (set-frame-name):
5968 * help.el (lookup-minor-mode-from-indicator):
5969 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5970 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5971 (c-toggle-hungry-state):
5972 * progmodes/antlr-mode.el (antlr-language-alist):
5973 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5974 * progmodes/vhdl-mode.el (vhdl-mode):
5975 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5976 * term/ns-win.el (ns-face-at-pos):
5977 * term/sup-mouse.el (sup-mouse-report):
5978 * textmodes/flyspell.el (flyspell-mode-line-string):
5979 * textmodes/ispell.el (ispell-highlight-face):
5980 * textmodes/reftex-global.el:
5981 * vc/vc-arch.el (vc-arch-mode-line-string):
5982 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5983 * vc/vc-git.el (vc-git-mode-line-string):
5984 * vc/vc-hooks.el (vc-display-status)
5985 (vc-default-mode-line-string):
5986 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5987
5988 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5989
5990 * dired.el (dired-sort-set-mode-line): Rename from
5991 dired-sort-set-modeline. All callers changed.
5992
5993 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5994 eshell-status-in-modeline.
5995
5996 * foldout.el (foldout-mode-line-string): Rename from
5997 foldout-modeline-string. All callers changed.
5998 (foldout-update-mode-line): Rename from foldout-update-modeline.
5999
6000 * subr.el (redraw-modeline): Make into obsolete alias.
6001
6002 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6003 timeclock-modeline-display. Make old name an alias.
6004 (timeclock-update-mode-line): Likewise. All callers changed.
6005 (timeclock-mode-line-display): No need to check before using
6006 add-hook.
6007 (timeclock-relative, timeclock-day-over-hook)
6008 (timeclock-use-elapsed, timeclock-mode-string)
6009 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6010
6011 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6012 crisp-mode-modeline-string.
6013
6014 * play/solitaire.el (solitaire-build-mode-line): Rename from
6015 solitaire-build-modeline. All callers changed.
6016
6017 * play/zone.el (zone-hiding-mode-line): Rename from
6018 zone-hiding-modeline. All callers changed.
6019 (zone): Remove unusued `modeline-hidden-level' property.
6020
6021 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6022 xscheme-modeline-initialize. All callers changed.
6023
6024 * strokes.el (strokes-lighter): Rename from
6025 strokes-modeline-string.
6026
6027 * textmodes/sgml-mode.el (html-face-tag-alist)
6028 (html-tag-face-alist): Use mode-line face instead of obsolete
6029 alias modeline.
6030
6031 2012-06-02 Stefan Merten <smerten@oekonux.de>
6032
6033 * textmodes/rst.el: Always require `cl'.
6034 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6035
6036 2012-06-02 Chong Yidong <cyd@gnu.org>
6037
6038 * image.el (imagemagick-enabled-types): Rename from
6039 imagemagick-types-enable. Add many more types.
6040 (imagemagick-types-inhibit): Change default to nil.
6041 (imagemagick-filter-types): Caller changed.
6042
6043 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * emacs-lisp/cl-macs.el: Use backquotes.
6046 (cl-transform-function-property): Use eval-and-compile rather than
6047 abusing `require'.
6048 (defstruct): Use declare-function instead of with-no-warnings.
6049
6050 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6051 (byte-compile-output-docform): Re-add the print-circle bindings.
6052 (byte-compile-fix-header): Use #$ just because it's shorter.
6053 (byte-compile-output-file-form): Remove defun/defmacro.
6054
6055 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6056
6057 * simple.el (choose-completion): Remove now obsolete binding for
6058 owindow.
6059
6060 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6063 in order to avoid "Stack overflow in regexp matcher".
6064
6065 2012-05-31 Glenn Morris <rgm@gnu.org>
6066
6067 * image.el: For clarity, call imagemagick-register-types at
6068 top-level, rather than relying on a custom :initialize.
6069 (imagemagick-types-enable): New option. (Bug#11557)
6070 (imagemagick-filter-types): New function. (Bug#7406)
6071 (imagemagick-register-types): Use imagemagick-filter-types.
6072 If disabling support, remove elements altogether rather
6073 than using an impossible regexp.
6074 (imagemagick-types-inhibit): Give it the default init function.
6075
6076 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6079 Handle arbitrary file name lengths (Bug#11585).
6080
6081 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6082
6083 * desktop.el (desktop-read): Clear previous and next buffers for
6084 all windows and bury *Messages* buffer (bug#11556).
6085
6086 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 Add `declare' for `defun'. Align `defmacro's with it.
6089 * emacs-lisp/easy-mmode.el (define-minor-mode)
6090 (define-globalized-minor-mode): Don't autoload the var definitions.
6091 * emacs-lisp/byte-run.el: Use lexical-binding.
6092 (defun-declarations-alist, macro-declarations-alist): New vars.
6093 (defmacro, defun): Use them.
6094 (make-obsolete, define-obsolete-function-alias)
6095 (make-obsolete-variable, define-obsolete-variable-alias):
6096 Use `declare'.
6097 (macro-declaration-function): Mark obsolete.
6098 * emacs-lisp/autoload.el: Use lexical-binding.
6099 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6100
6101 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6102
6103 * textmodes/ispell.el (ispell-with-no-warnings):
6104 Define as a macro.
6105 (ispell-kill-ispell, ispell-change-dictionary):
6106 Use `called-interactively-p' for Emacs instead of obsolete
6107 `interactive-p'.
6108
6109 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6112 (macro-declaration-function): Move var from C code.
6113 (macro-declaration-function): Define function with defalias.
6114 * emacs-lisp/macroexp.el (macroexpand-all-1):
6115 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6116 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6117 defun/defmacro any more.
6118 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6119 Provide fallback for unknown arglist.
6120 (byte-compile-arglist-warn): Change calling convention.
6121 (byte-compile-output-file-form): Move print-vars binding.
6122 (byte-compile-output-docform): Simplify accordingly.
6123 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6124 (byte-compile-defmacro-declaration): Remove.
6125 (byte-compile-file-form-defmumble): Generalize to defalias.
6126 (byte-compile-output-as-comment): Return byte-positions.
6127 Simplify callers accordingly.
6128 (byte-compile-lambda): Use `assert'.
6129 (byte-compile-defun, byte-compile-defmacro): Remove.
6130 (byte-compile-file-form-defalias):
6131 Use byte-compile-file-form-defmumble.
6132 (byte-compile-defalias-warn): Remove.
6133
6134 2012-05-29 Stefan Merten <smerten@oekonux.de>
6135
6136 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6137 possible. Fix authors. Improve comments. Improve loading of `cl'.
6138
6139 (rst-mode-abbrev-table): Merge definition.
6140 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6141 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6142
6143 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6144
6145 * calendar/icalendar.el
6146 (icalendar-export-region): Export UID properly.
6147
6148 2012-05-29 Leo Liu <sdl.web@gmail.com>
6149 * calendar/icalendar.el (icalendar-import-format):
6150 Add `icalendar-import-format-uid' (Bug#11525).
6151 (icalendar-import-format-uid): New.
6152 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6153 Export UID.
6154
6155 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6158 different alternative patterns.
6159 (pcase-codegen): Be more careful to preserve identity.
6160 (pcase--u1): Don't forget to mark vars as used.
6161
6162 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6163 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6164 (byte-compile-from-buffer): ...rather than here.
6165
6166 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6167 functions from byte-compile-function-environment.
6168
6169 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6170
6171 * window.el (window-deletable-p): Avoid deleting the root window
6172 of a frame with an active minibuffer.
6173
6174 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6175
6176 * simple.el (choose-completion): Use quit-window (Bug#11567).
6177
6178 2012-05-29 Chong Yidong <cyd@gnu.org>
6179
6180 * whitespace.el (whitespace-cleanup): Fix usage of
6181 whitespace-empty-at-bob-regexp (Bug#11492).
6182
6183 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6184
6185 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6186 revert (Bug#11488).
6187
6188 2012-05-29 Juri Linkov <juri@jurta.org>
6189
6190 * isearch.el (isearch-mode-map): Bind `M-s _' to
6191 `isearch-toggle-symbol'. Bind `M-s c' to
6192 `isearch-toggle-case-fold'.
6193 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6194 (isearch-forward): Add `M-s _' to the docstring.
6195 (isearch-forward-symbol, isearch-toggle-case-fold)
6196 (isearch-symbol-regexp): New functions. (Bug#11381)
6197
6198 2012-05-29 Juri Linkov <juri@jurta.org>
6199
6200 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6201 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6202 a function, call it to get the regexp.
6203 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6204 property `isearch-message-prefix' instead of the string "word ".
6205 (isearch-search-fun-default): For the case of `isearch-word',
6206 return a lambda that calls re-search-forward/re-search-backward
6207 with a regexp returned by `word-search-regexp' or by the function
6208 in `isearch-word'.
6209
6210 2012-05-29 Juri Linkov <juri@jurta.org>
6211
6212 * isearch.el (isearch-search-fun-default): New function.
6213 (isearch-search-fun): Move default part to the new function
6214 `isearch-search-fun-default'.
6215 (isearch-search-fun-function): Set the default value to
6216 `isearch-search-fun-default'. (Bug#11381)
6217
6218 * comint.el (comint-history-isearch-end):
6219 Use `isearch-search-fun-default'.
6220 (comint-history-isearch-search): Use `isearch-search-fun-default'
6221 and remove spacial case for `isearch-word'.
6222 (comint-history-isearch-wrap): Remove spacial case for
6223 `isearch-word'.
6224
6225 * hexl.el (hexl-isearch-search-function):
6226 Use `isearch-search-fun-default'.
6227
6228 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6229 Use `word-search-regexp' for `isearch-word'.
6230
6231 * misearch.el (multi-isearch-search-fun):
6232 Use `isearch-search-fun-default'.
6233
6234 * simple.el (minibuffer-history-isearch-search):
6235 Use `isearch-search-fun-default' and remove spacial case for
6236 `isearch-word'.
6237 (minibuffer-history-isearch-wrap): Remove spacial case for
6238 `isearch-word'.
6239
6240 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6241 Remove spacial case for `isearch-word'.
6242 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6243
6244 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6245
6246 Decrease XEmacs incompatibilities.
6247 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6248 Use `string-match'.
6249 (flyspell-delete-region-overlays): Use alternative definition for
6250 XEmacs.
6251 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6252 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6253 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6254 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6255 `define-obsolete-face-alias' under XEmacs, but old method.
6256
6257 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6258 `with-no-warnings' definition or Emacs alias.
6259 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6260 (ispell-word): Do not use `region-p' if XEmacs.
6261
6262 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6263
6264 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6265 Check for `ispell-dictionary-base-alist' instead of full
6266 `ispell-dictionary-alist'.
6267 (ispell-init-process): Show spellchecker when starting new Ispell
6268 process.
6269
6270 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6273 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6274
6275 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * version.el (motif-version-string, gtk-version-string)
6278 (ns-version-string): Declare.
6279
6280 2012-05-27 Juri Linkov <juri@jurta.org>
6281
6282 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6283 after the `eval-defun-1' specialcaseing
6284 like in `edebug-eval-defun' (bug#10181).
6285
6286 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6287 like in `eval-defun-1'.
6288
6289 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6290
6291 * mail/sendmail.el (mail-yank-region):
6292 Recognize rmail-yank-current-message in addition to insert-buffer.
6293 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6294 a *mail* buffer created through rmail-start-mail with sendmail as
6295 mail-user-agent.
6296
6297 2012-05-27 Chong Yidong <cyd@gnu.org>
6298
6299 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6300 Default to 256 (Bug#11267).
6301
6302 * help.el (describe-mode): Doc fix.
6303
6304 2012-05-26 Glenn Morris <rgm@gnu.org>
6305
6306 * w32-fns.el (w32-init-info): Remove.
6307 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6308
6309 * info.el (info-initialize): For self-contained NS builds, put the
6310 included info/ directory at the front. (Bug#2791)
6311
6312 * paths.el (Info-default-directory-list): Make it a defcustom,
6313 mainly so that we can use custom-initialize-delay.
6314
6315 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * subr.el (buffer-has-markers-at): Mark obsolete.
6318
6319 * subr.el (lambda): Use declare.
6320
6321 * emacs-lisp/lisp-mode.el (lambda):
6322 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6323
6324 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6325
6326 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6327
6328 2012-05-26 Glenn Morris <rgm@gnu.org>
6329
6330 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6331
6332 2012-05-25 Glenn Morris <rgm@gnu.org>
6333
6334 * paths.el: Remove no-byte-compile.
6335 * loadup.el: No need to load paths.el uncompiled.
6336
6337 * image.el (imagemagick-types-inhibit): Doc fix.
6338
6339 * version.el: Remove no-byte-compile and associated formatting.
6340 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6341 is ancient code from when there was an "inc-vers.el".
6342
6343 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * progmodes/gdb-mi.el: Minor style changes.
6346 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6347 Turn into minor modes.
6348 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6349 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6350 (gdb-shell): Remove unneeded let-binding.
6351 (gdb-get-many-fields): Eliminate O(n²) behavior.
6352
6353 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6354
6355 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6356 platforms that don't link in fontset.c.
6357
6358 2012-05-25 Juri Linkov <juri@jurta.org>
6359
6360 Use the same diff color scheme as in modern VCSes (bug#10181).
6361
6362 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6363 to avoid confusion with `diff-added' that now uses green colors.
6364 (diff-removed): Use shades of red.
6365 (diff-added): Use shades of green.
6366 (diff-changed): Leave just the yellow color.
6367 (diff-use-changed-face): New variable.
6368 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6369 how to highlight context diff changes.
6370 (diff-refine-change): Use shades of yellow.
6371 (diff-refine-removed): New face that uses shades of red.
6372 (diff-refine-added): New face that uses shades of green.
6373 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6374 `diff-refine-removed' in the call to `smerge-refine-subst'
6375 depending on the value of `diff-use-changed-face'.
6376
6377 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6378 (smerge-other): Use shades of green.
6379 (smerge-base): Use shades of yellow.
6380 (smerge-refined-change): Empty face.
6381 (smerge-refined-removed): New face that uses shades of red.
6382 (smerge-refined-added): New face that uses shades of green.
6383 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6384 args `props-r' and `props-a', and use them. Doc fix.
6385 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6386 on its value use different faces `smerge-refined-change',
6387 `smerge-refined-removed', `smerge-refined-added' in the call to
6388 `smerge-refine-subst'.
6389
6390 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6391 Add face condition `min-colors 88' with shades of red.
6392 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6393 `min-colors 88' with shades of green.
6394 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6395 `min-colors 88' with shades of yellow.
6396
6397 2012-05-24 Glenn Morris <rgm@gnu.org>
6398
6399 * paths.el (prune-directory-list, remote-shell-program): Move to...
6400 * files.el (prune-directory-list, remote-shell-program): ...here.
6401 For the latter, delay initialization, prefer ssh, just search PATH.
6402
6403 * paths.el (term-file-prefix): Move to faces.el (the only user).
6404 * faces.el (term-file-prefix): Move here, make it a defcustom.
6405
6406 * paths.el (news-directory, news-path, news-inews-program):
6407 Move to gnus/nnspool.el.
6408
6409 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6410
6411 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6412 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6413 Make the latter a defcustom, with a delayed initialization.
6414
6415 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6416 These were deleted from Gnus itself late 2010.
6417
6418 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6419
6420 * progmodes/which-func.el (which-func-ff-hook):
6421 Check against user-error, not error.
6422
6423 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6424 cl-specs.el, which no longer exists.
6425
6426 2012-05-22 Glenn Morris <rgm@gnu.org>
6427
6428 * info.el (info-emacs-bug): New command.
6429 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6430 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6431
6432 2012-05-21 Glenn Morris <rgm@gnu.org>
6433
6434 * makefile.w32-in (update-subdirs-SH):
6435 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6436
6437 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6440
6441 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6442 Simplify Maven regexp, and make sure the file can't start with a space
6443 (bug#11517).
6444
6445 2012-05-21 Glenn Morris <rgm@gnu.org>
6446
6447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6448 Scrap superfluous subshells.
6449
6450 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6453 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6454
6455 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6456
6457 * calc/calc.el (calc-ensure-consistent-units): New variable.
6458
6459 * calc/calc-units.el (math-consistent-units-p)
6460 (math-check-unit-consistency): New functions.
6461 (calc-quick-units, calc-convert-units):
6462 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6463 is non-nil.
6464 (calc-extract-units): Fix typo.
6465
6466 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6469
6470 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6471 (flyspell-default-deplacement-commands): Don't spell check after
6472 repeated window/frame switches (e.g. triggered by mouse-movement).
6473 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6474 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6475 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6476 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6477 Remove unused vars.
6478 (flyspell-get-casechars, flyspell-get-not-casechars):
6479 Simplify; Don't bother removing a ] just to add it back.
6480 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6481
6482 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6483
6484 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6485 New functions.
6486 (math-function-table): Add support for more C functions.
6487
6488 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6489
6490 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6491 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6492 Protect delay handling for otherchars against empty otherchars.
6493
6494 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6497 their respective macro declarations.
6498 * skeleton.el (define-skeleton):
6499 * progmodes/compile.el (define-compilation-mode):
6500 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6501 (define-ibuffer-filter):
6502 * emacs-lisp/generic.el (define-generic-mode):
6503 * emacs-lisp/easy-mmode.el (define-minor-mode)
6504 (define-globalized-minor-mode):
6505 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6506 * emacs-lisp/byte-run.el (defsubst):
6507 * custom.el (deftheme): Add doc-string metadata.
6508
6509 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6512
6513 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6514
6515 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6516
6517 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6518 * emacs-lisp/cl-macs.el: Idem.
6519 * emacs-lisp/cl-specs.el: Remove.
6520
6521 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 Minor renaming of internal CL functions and variables.
6524 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6525 (cl--position): Rename from cl-position.
6526 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6527 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6528 (cl--random-state): Rename from *random-state*.
6529
6530 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6533 parens around the arg list (bug#11499).
6534
6535 2012-05-17 Juri Linkov <juri@jurta.org>
6536
6537 * isearch.el (word-search-regexp, word-search-backward)
6538 (word-search-forward, word-search-backward-lax)
6539 (word-search-forward-lax): Move functions from search.c
6540 (bug#10145, bug#11381).
6541
6542 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6543
6544 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6545 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6546 Delay for otherchars as for normal word components.
6547
6548 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * minibuffer.el (completion--sifn-requote): Fix last change.
6551 (minibuffer-local-must-match-filename-map):
6552 Move define-obsolete-variable-alias before its var.
6553
6554 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6557
6558 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6559 behavior.
6560 (completion--string-equal-p): New function.
6561 (completion--twq-all): Use it to get better assertion failure data.
6562
6563 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6564 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6565 (shell--requote-argument): New functions.
6566 (shell-completion-vars): Use them.
6567 (shell--parse-pcomplete-arguments): Rename from
6568 shell-parse-pcomplete-arguments.
6569 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6570 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6571 Obey comint-file-name-quote-list.
6572
6573 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6574 (smie-indent-keyword): Use it.
6575
6576 2012-05-14 Stefan Merten <smerten@oekonux.de>
6577
6578 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6579
6580 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * net/rlogin.el (rlogin-mode-map): Fix last change.
6583
6584 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6585
6586 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6587 the following \r\n using a single `process-send-string', since the
6588 Lotus SMTP server refuses to accept any commands if they are sent
6589 with two `process-send-string's (Bug#11444).
6590
6591 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * shell.el (shell-parse-pcomplete-arguments):
6594 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6595
6596 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6597
6598 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6599 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6600 (image-transform-width, image-transform-fit-width): New functions.
6601 (image-transform-properties): Use them.
6602 (image-transform-check-size): New function.
6603 (image-toggle-display-image): Use it (for testing).
6604 (image-transform-set-rotation): Reduce angle mod 360.
6605 Delete obsolete comment.
6606
6607 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6608
6609 * image-mode.el: Fix scaling (bug#11399).
6610 (image-transform-resize): Doc fix.
6611 (image-transform-properties): Default scale is 1 and height should
6612 be an integer.
6613
6614 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6615
6616 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6617 than hard-coding `car', to fix misbehavior when moving forward.
6618
6619 2012-05-13 Chong Yidong <cyd@gnu.org>
6620
6621 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6622 (tabulated-list-entries, tabulated-list-padding)
6623 (tabulated-list-sort-key): Make permanent-local.
6624
6625 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6626 (electric-buffer-list): Put electric buffer menu
6627 command descriptions in this docstring, instead of the docstring
6628 of electric-buffer-menu-mode. Code cleanups.
6629 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6630 Electric-buffer-menu-mode.
6631 (electric-buffer-update-highlight): Minor code cleanup.
6632
6633 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6634
6635 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6636 (Bug#11447)
6637
6638 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 Move define-obsolete-variable-alias before the var's definition.
6641 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6642 * tooltip.el (tooltip-hook):
6643 * textmodes/reftex-toc.el (reftex-toc-map):
6644 * textmodes/reftex-sel.el (reftex-select-label-map)
6645 (reftex-select-bib-map):
6646 * textmodes/reftex-index.el (reftex-index-map)
6647 (reftex-index-phrases-map):
6648 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6649 * progmodes/meta-mode.el (meta-mode-map):
6650 * novice.el (disabled-command-hook):
6651 * loadhist.el (unload-hook-features-list):
6652 * frame.el (blink-cursor):
6653 * files.el (find-file-not-found-hooks, write-file-hooks)
6654 (write-contents-hooks):
6655 * emulation/tpu-edt.el (GOLD-map):
6656 * emacs-lock.el (emacs-lock-from-exiting):
6657 * emacs-lisp/generic.el (generic-font-lock-defaults):
6658 * emacs-lisp/chart.el (chart-map):
6659 * dos-fns.el (register-name-alist):
6660 * dired-x.el (dired-omit-files-p):
6661 * desktop.el (desktop-enable):
6662 * cus-edit.el (custom-mode-hook):
6663 * buff-menu.el (buffer-menu-mode-hook):
6664 * bookmark.el (bookmark-read-annotation-text-func)
6665 (bookmark-exit-hooks):
6666 * allout.el (allout-mode-deactivate-hook)
6667 (allout-exposure-change-hook, allout-structure-added-hook)
6668 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6669 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6670 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6671 comes before the corresponding variable's definition.
6672
6673 2012-05-12 Chong Yidong <cyd@gnu.org>
6674
6675 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6676 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6677 (Buffer-menu-mode-map): Bind it.
6678 (Buffer-menu--pretty-name): Add a mouse-face property.
6679
6680 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6683 (prolog-upper-case-string, prolog-lower-case-string)
6684 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6685 (prolog-use-smie, prolog-smie-grammar): New vars.
6686 (prolog-smie-forward-token, prolog-smie-backward-token)
6687 (prolog-smie-rules): New funs.
6688 (prolog-comment-indent): Remove.
6689 (prolog-mode-variables): Use default comment indentation instead.
6690 Setup SMIE.
6691 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6692 (prolog-mode): Don't call them any more.
6693 (prolog-electric-colon, prolog-electric-dash)
6694 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6695
6696 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6697
6698 * minibuffer.el (completion--twq-all): Again, allow case differences.
6699
6700 * term.el: Move keymap initialization code to be more idiomatic.
6701 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6702 (term-terminal-menu): Move initialization into declaration.
6703 (term-escape-char): Let the user set it in her .emacs.
6704
6705 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6706 Provide SMIE-based indentation (not enabled by default yet).
6707 (sh-mode-map): Don't bind electric keys.
6708 Use electric-pair-mode instead of skeleton-pair.
6709 (sh-assignment-regexp): Fit within 80 columns.
6710 (sh-indent-supported): Specify actual shell name instead of boolean.
6711 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6712 (sh-maybe-here-document): Use it. Make obsolete.
6713 (sh-electric-here-document-mode) New minor mode.
6714 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6715 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6716 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6717 (sh-smie-rc-grammar, sh-use-smie): New vars.
6718 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6719 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6720 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6721 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6722 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6723 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6724 (sh-set-shell): Use smie-setup if requested.
6725
6726 * term.el (term-set-escape-char): Properly set term-escape-char.
6727 See http://stackoverflow.com/questions/10524656.
6728
6729 2012-05-10 Chong Yidong <cyd@gnu.org>
6730
6731 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6732 Use url-generic-parse-url, and handle host names and Windows
6733 filenames properly.
6734 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6735 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6736 URL schemes to work on.
6737 (ffap--toggle-read-only): New function.
6738 (ffap-read-only, ffap-read-only-other-window)
6739 (ffap-read-only-other-frame): Use it.
6740 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6741 necessary for ffap-url-unwrap-remote.
6742
6743 2012-05-10 Dave Abrahams <dave@boostpro.com>
6744
6745 * cus-start.el (create-lockfiles): Add it.
6746
6747 2012-05-09 Chong Yidong <cyd@gnu.org>
6748
6749 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6750 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6751
6752 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6755
6756 2012-05-09 Chong Yidong <cyd@gnu.org>
6757
6758 * ansi-color.el (ansi-color-process-output): Check for validity of
6759 comint-last-output-start before using it. This avoids a bad
6760 interaction with gdb-mi's input/output buffer.
6761
6762 2012-05-09 Glenn Morris <rgm@gnu.org>
6763
6764 * files.el (dir-locals-read-from-file):
6765 Mention dir-locals in any error message.
6766
6767 2012-05-09 Chong Yidong <cyd@gnu.org>
6768
6769 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6770 package (Bug#11410).
6771
6772 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6773 variables into description.
6774
6775 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6778 shell-delimiter-argument-list (bug#11348).
6779 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6780
6781 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6782
6783 * textmodes/rst.el: Silence byte-compiler warnings.
6784 (rst-re-alist, rst-reset-section-caches): Move around.
6785 (rst-re): Use `characterp', not `char-valid-p'.
6786 (font-lock-beg, font-lock-end): Declare.
6787
6788 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6789 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6790
6791 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6792
6793 2012-05-08 Glenn Morris <rgm@gnu.org>
6794
6795 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6796
6797 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * vc/log-edit.el: Add GNU coding standards highlighting.
6800 (log-edit-font-lock-gnu-style)
6801 (log-edit-font-lock-gnu-keywords): New vars.
6802 (log-edit-font-lock-keywords): New fun.
6803 (log-edit-mode): Don't fold case in font-lock.
6804 (log-edit-font-lock-keywords): Do not assume case-folding.
6805
6806 * imenu.el: Misc cleanup. Make docstrings out of comments.
6807 Use lexical-binding.
6808 (imenu--index-alist, imenu--last-menubar-index-alist)
6809 (imenu-menubar-modified-tick): Use defvar-local.
6810 (imenu--split-menu): Remove unused var.
6811 (imenu--cleanup-seen): Declare as global.
6812 (imenu--cleanup): Use dolist.
6813
6814 * subr.el (defvar-local): Add debug spec and doc-string position.
6815
6816 2012-05-08 Glenn Morris <rgm@gnu.org>
6817
6818 * language/burmese.el, language/cham.el, language/czech.el:
6819 * language/english.el, language/georgian.el, language/greek.el:
6820 * language/japanese.el, language/khmer.el, language/korean.el:
6821 * language/lao.el, language/misc-lang.el, language/romanian.el:
6822 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6823 * language/thai.el, language/utf-8-lang.el:
6824 Remove no-byte-compile setting.
6825
6826 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6827
6828 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6829
6830 * progmodes/make-mode.el (makefile-browse):
6831 Remove unnecessary interactive. (Bug#11324)
6832
6833 2012-05-07 Glenn Morris <rgm@gnu.org>
6834
6835 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6836
6837 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6838
6839 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * loadup.el: Preload newcomment.el.
6842 * newcomment.el: Move autoload-only code to toplevel.
6843
6844 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6845 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6846 Handle new :right-align column property.
6847 (tabulated-list-print-col): Idem, plus use `display' text-property to
6848 try and preserve alignment for variable pitch fonts.
6849
6850 2012-05-07 Chong Yidong <cyd@gnu.org>
6851
6852 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6853 (tabulated-list-use-header-line): New var.
6854 (tabulated-list-init-header): Use it.
6855 (tabulated-list-print-fake-header): New function.
6856 (tabulated-list-print): Use it.
6857 (tabulated-list-sort-button-map): Add non-header-line commands.
6858 (tabulated-list-init-header): Add column name property to basic
6859 labels as well.
6860 (tabulated-list-col-sort): Handle non-header-line button case.
6861 (tabulated-list--sort-by-column-name): Fix a corner case.
6862
6863 * buff-menu.el (list-buffers--refresh):
6864 Handle Buffer-menu-use-header-line.
6865
6866 2012-05-06 Chong Yidong <cyd@gnu.org>
6867
6868 * buff-menu.el: Convert to Tabulated List mode.
6869 (Buffer-menu-buffer+size-width): Make obsolete.
6870 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6871 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6872 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6873 documentation into docstring of buffer-menu.
6874 (Buffer-menu-toggle-files-only): Add an informative message.
6875 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6876 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6877 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6878 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6879 (Buffer-menu-execute, Buffer-menu-select)
6880 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6881 (Buffer-menu-bury): Use Tabulated List machinery.
6882 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6883 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6884 Delete.
6885 (list-buffers--refresh): New function.
6886 (list-buffers-noselect): Use it.
6887 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6888 (Buffer-menu--pretty-file-name): New helper functions.
6889
6890 * loadup.el: Preload tabulated-list.
6891
6892 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6893 tabulated-list-sort-column.
6894 (tabulated-list-init-header): Add the initial aligning space even
6895 if tabulated-list-padding is zero.
6896
6897 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6898
6899 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6900 whose cdr is not a cons cell correctly (bug#11038).
6901
6902 2012-05-06 Chong Yidong <cyd@gnu.org>
6903
6904 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6905 Accept additional plist in column descriptors.
6906 (tabulated-list-init-header): Obey it.
6907 (tabulated-list-get-entry): New function.
6908 (tabulated-list-put-tag): Use it. Use string-width instead of
6909 length.
6910 (tabulated-list--column-number): New function.
6911 (tabulated-list-print): Use it.
6912 (tabulated-list-print-col): New function.
6913 Set `tabulated-list-column-name' property on each column's text.
6914 (tabulated-list-print-entry): Use it.
6915 (tabulated-list-delete-entry, tabulated-list-set-col):
6916 New functions.
6917 (tabulated-list-sort-column): New command (Bug#11337).
6918
6919 * buff-menu.el (list-buffers): Move C-x C-b binding from
6920 buff-menu.el to bindings.el.
6921
6922 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6923 :advertised-binding feature.
6924
6925 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6926
6927 * progmodes/compile.el (compilation-internal-error-properties):
6928 Calculate start position correctly when end-col is set but
6929 end-line is not (Bug#11382).
6930
6931 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6932
6933 * man.el (Man-unindent): Use text-property-default-nonsticky to
6934 prevent untabify from inheriting face properties (Bug#11408).
6935
6936 2012-05-05 Stefan Merten <smerten@oekonux.de>
6937
6938 * textmodes/rst.el: Major merge with upstream development up to
6939 Docutils SVN r7399 / rst.el V1.2.1.
6940
6941 Clarify maintainership and authors.
6942
6943 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6944 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6945 (rst-official-version, rst-official-cvs-rev, rst-version)
6946 (rst-package-emacs-version-alist): New functions and variables
6947 for version information.
6948
6949 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6950 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6951 (rst-mode-syntax-table, rst-mode): New and corrected functions
6952 and variables representing reStructuredText features.
6953
6954 (rst-re): New function for reStructuredText regexes. Use in
6955 many places.
6956
6957 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6958 (rst-mode-map): Rebind keys.
6959
6960 (rst-mode-lazy, rst-font-lock-keywords)
6961 (rst-font-lock-extend-region)
6962 (rst-font-lock-extend-region-internal)
6963 (rst-font-lock-extend-region-extend)
6964 (rst-font-lock-find-unindented-line-limit)
6965 (rst-font-lock-find-unindented-line-match)
6966 (rst-adornment-level, rst-font-lock-adornment-level)
6967 (rst-font-lock-adornment-match)
6968 (rst-font-lock-handle-adornment-pre-match-form)
6969 (rst-font-lock-handle-adornment-matcher): Major revision of
6970 font-locking. Integrate with other code. Use `jit-lock-mode'.
6971
6972 (rst-preferred-adornments, rst-adjust-hook)
6973 (rst-new-adornment-down, rst-preferred-bullets)
6974 (rst-preferred-bullets, rst-indent, rst-indent-width)
6975 (rst-indent-field, rst-indent-literal-normal)
6976 (rst-indent-literal-minimized, rst-indent-comment): Change,
6977 extend and improve customization.
6978
6979 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6980 (rst-normalize-cursor-position, rst-get-decoration)
6981 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6982 (rst-rstrip, rst-toc-insert-find-delete-contents)
6983 (rst-shift-fill-region, rst-compute-bullet-tabs)
6984 (rst-debug-print-tabs, rst-debug-mark-found)
6985 (rst-shift-region-guts, rst-shift-region-right)
6986 (rst-shift-region-left, rst-use-char-classes)
6987 (rst-font-lock-keywords-function)
6988 (rst-font-lock-indentation-point)
6989 (rst-font-lock-find-unindented-line-begin)
6990 (rst-font-lock-find-unindented-line-end)
6991 (rst-font-lock-find-unindented-line)
6992 (rst-font-lock-adornment-point, rst-font-lock-level)
6993 (rst-adornment-level-alist): Remove functions and variables.
6994
6995 (rst-compare-adornments, rst-get-adornment-match)
6996 (rst-suggest-new-adornment, rst-get-adornments-around)
6997 (rst-adornment-complete-p, rst-get-next-adornment)
6998 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6999 (rst-straighten-adornments): Standardize function names to
7000 use "adornment" instead of "decoration". Correct callers.
7001 Similar standardizing in many places.
7002
7003 (rst-update-section, rst-adjust, rst-promote-region)
7004 (rst-enumerate-region, rst-bullet-list-region)
7005 (rst-repeat-last-character): Correct use of `interactive'.
7006
7007 (rst-classify-adornment, rst-find-all-adornments)
7008 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7009 (rst-find-leftmost-column, rst-repeat-last-character):
7010 Refactor functions.
7011
7012 (rst-find-title-line, rst-reset-section-caches)
7013 (rst-get-adornments-around, rst-adjust-adornment-work)
7014 (rst-arabic-to-roman, rst-roman-to-arabic)
7015 (rst-insert-list-pos, rst-insert-list-new-item)
7016 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7017 New functions.
7018
7019 (rst-all-sections, rst-section-hierarchy)
7020 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7021 New variables.
7022
7023 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7024 configuration instead of only buffer. Change where necessary.
7025
7026 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7027 (rst-shift-region, rst-adaptive-fill): New functions for
7028 indentation and filling.
7029
7030 (rst-comment-line-break, rst-comment-indent)
7031 (rst-comment-insert-comment, rst-comment-region)
7032 (rst-uncomment-region): New functions for handling comments.
7033
7034 (rst-compile): Quote shell arguments.
7035
7036 (rst-compile-pdf-preview, rst-compile-slides-preview):
7037 Delete temporary files after use.
7038
7039 2012-05-05 Glenn Morris <rgm@gnu.org>
7040
7041 * calendar/cal-html.el: Optionally include holidays in the output.
7042 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7043 (cal-html-holidays): New option.
7044 (cal-html-css-default): Add holiday entry.
7045 (holiday-in-range): Autoload it.
7046 (cal-html-htmlify-entry): Add optional class argument.
7047 (cal-html-htmlify-list): Add optional holidays argument.
7048 (cal-html-insert-agenda-days): Include holidays in the output.
7049 (cal-html-one-month): Maybe include holidays.
7050
7051 * calendar/holidays.el (holiday-in-range):
7052 Move here from cal-tex-list-holidays.
7053 * calendar/cal-tex.el (cal-tex-list-holidays):
7054 Make it an obsolete alias for holiday-in-range. Update all callers.
7055
7056 2012-05-05 Chong Yidong <cyd@gnu.org>
7057
7058 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7059 Nextstep.
7060
7061 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7062
7063 * files.el (file-auto-mode-skip): New var.
7064 (set-auto-mode-1): Use it.
7065
7066 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * repeat.el: Use lexical-binding.
7069 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7070 (repeat-undo-count): Remove.
7071 (repeat):
7072 * progmodes/octave-mod.el (octave-abbrev-start):
7073 * progmodes/f90.el (f90-abbrev-start):
7074 * face-remap.el (text-scale-adjust):
7075 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7076
7077 * emacs-lisp/pcase.el (pcase--let*): New function.
7078 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7079 a bit more.
7080 (pcase--split-pred): Be more clever about ruling out overlap between
7081 a predicate and some constant pattern.
7082 (pcase--q1): Use `null' instead of (eq foo nil).
7083
7084 * subr.el (setq-local, defvar-local): New macros.
7085 (kbd): Redefine as an alias.
7086 (with-selected-window): Leave unrelated frames alone.
7087 (set-temporary-overlay-map): New function.
7088
7089 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * subr.el (user-error): New function.
7092 * window.el (switch-to-buffer):
7093 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7094 (smerge-match-conflict):
7095 * simple.el (previous-matching-history-element)
7096 (next-matching-history-element, goto-history-element, undo-more)
7097 (undo-start):
7098 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7099 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7100 (next-file, tags-loop-scan, list-tags, complete-tag):
7101 * progmodes/compile.el (compilation-loop):
7102 * mouse.el (mouse-minibuffer-check):
7103 * man.el (Man-bgproc-sentinel, Man-goto-page):
7104 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7105 (Info-history-forward, Info-follow-reference, Info-menu)
7106 (Info-extract-menu-item, Info-extract-menu-counting)
7107 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7108 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7109 (Info-next-reference, Info-prev-reference, Info-index)
7110 (Info-index-next, Info-follow-nearest-node)
7111 (Info-copy-current-node-name):
7112 * imenu.el (imenu--make-index-alist)
7113 (imenu-default-create-index-function, imenu-add-to-menubar):
7114 * files.el (basic-save-buffer, recover-file):
7115 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7116 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7117 (checkdoc-message-text, checkdoc-defun):
7118 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7119 * cus-edit.el (customize-changed-options, customize-rogue)
7120 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7121 (custom-variable-mark-to-reset-standard)
7122 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7123 (custom-file):
7124 * completion.el (check-completion-length):
7125 * comint.el (comint-search-arg)
7126 (comint-previous-matching-input-string-position)
7127 (comint-previous-matching-input)
7128 (comint-replace-by-expanded-history-before-point, comint-send-input)
7129 (comint-copy-old-input, comint-backward-matching-input)
7130 (comint-goto-process-mark, comint-set-process-mark):
7131 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7132 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7133
7134 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * dabbrev.el (dabbrev--ignore-case-p): New function.
7137 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7138 Use it.
7139
7140 * files.el (automount-dir-prefix): Mark as obsolete.
7141
7142 2012-05-04 Glenn Morris <rgm@gnu.org>
7143
7144 * patcomp.el, play/bruce.el: Move to obsolete/.
7145
7146 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7147
7148 Fix minor Y10k bugs.
7149 * arc-mode.el (archive-unixdate):
7150 * autoinsert.el (auto-insert-alist):
7151 * calc/calc-forms.el (math-this-year):
7152 * emacs-lisp/copyright.el (copyright-current-year)
7153 (copyright-update-year, copyright):
7154 * tar-mode.el (tar-clip-time-string):
7155 * time.el (display-time-update):
7156 Don't assume years have 4 digits.
7157
7158 2012-05-04 Chong Yidong <cyd@gnu.org>
7159
7160 * dos-w32.el (file-name-buffer-file-type-alist)
7161 (direct-print-region-use-command-dot-com):
7162 * ffap.el (ffap-menu-regexp):
7163 * find-file.el (ff-special-constructs):
7164 * follow.el (follow-debug):
7165 * forms.el (forms--debug):
7166 * iswitchb.el (iswitchb-all-frames):
7167 * ido.el (ido-all-frames):
7168 * emacs-lisp/timer.el (timer-max-repeats):
7169 * mail/feedmail.el (feedmail-mail-send-hook)
7170 (feedmail-mail-send-hook-queued):
7171 * mail/footnote.el (footnote-signature-separator):
7172 * mail/mailabbrev.el (mail-alias-separator-string)
7173 (mail-abbrev-mode-regexp):
7174 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7175 * progmodes/idlwave.el (idlwave-libinfo-file)
7176 (idlwave-default-completion-case-is-down)
7177 (idlwave-library-routines): Convert defvars to defcustoms.
7178
7179 * mail/rmail.el (rmail-decode-mime-charset):
7180 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7181 (idlwave-shell-fix-inserted-breaks)
7182 (idlwave-shell-activate-alt-keybindings)
7183 (idlwave-shell-use-breakpoint-glyph):
7184 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7185
7186 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7187
7188 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7189
7190 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7191
7192 * progmodes/verilog-mode.el (font-lock-keywords):
7193 Fix mis-highligting auto. Reported by Craig Barner.
7194 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7195 defines from global name space. Reported by Dan Dever.
7196 (verilog-auto-reset, verilog-auto-reset-widths)
7197 (verilog-auto-tieoff): Support using unbased numbers for
7198 AUTORESET and AUTOTIEOFF.
7199 (verilog-submit-bug-report): Update variable list.
7200 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7201 parenthesis from not matching. Reported by Michael Rytting.
7202 (verilog-auto-template-lint): Fix hash error when linting modules
7203 with no used templates.
7204 (verilog-warn, verilog-warn-error)
7205 (verilog-warn-fatal): When non-interactive report multiple
7206 warnings before exiting. Suggested by Brad Dobbie.
7207 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7208 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7209 to report unused template errors. Reported by Brad Dobbie.
7210 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7211 nets, bug438. Reported by Vns Blore.
7212 (verilog-auto-inout-module, verilog-auto-reg)
7213 (verilog-read-decls, verilog-read-sub-decls-sig)
7214 (verilog-signals-edit-wire-reg, verilog-signals-with):
7215 Fix passing of Verilog data types in ANSI input/output ports
7216 such as "output logic" into the AUTOs. Special case "wire" and
7217 "reg" for backwards compatibility presuming Verilog 2001.
7218 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7219 (verilog-preprocess): Fix replication of preprocess output.
7220 Reported by Brad Dobbie.
7221 (verilog-auto-inst-interfaced-ports):
7222 Create verilog-auto-inst-interfaced-ports, bug429.
7223 Reported by Julian Gorfajn.
7224 (verilog-after-save-font-hook)
7225 (verilog-before-save-font-hook): New variable.
7226 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7227 (verilog-save-font-mods): Wrap disabling fontification, reported
7228 by David Rogoff.
7229 (verilog-do-indent, verilog-pretty-declarations-auto)
7230 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7231 Reported by Pierre-David Pfister.
7232 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7233 of class declarations, bug292. Reported by Kevin Heilman.
7234 (verilog-read-decls): Fix 'parameter type' not appearing in
7235 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7236 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7237 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7238 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7239 Reported by David Kravitz.
7240
7241 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7242
7243 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7244 assignment with tests in ifs and for loops.
7245 (verilog-extended-complete-re, verilog-complete-reg): Change so
7246 that DPI inport functions don't look like fuction declarations.
7247 (verilog-pretty-expr): Don't line up assignment
7248 operations to the test and increment in if and for loops
7249 (verilog-extended-complete-re, verilog-complete-reg): Change so
7250 that DPI inport functions don't look like fuction declarations.
7251
7252 2012-05-03 Kenichi Handa <handa@m17n.org>
7253
7254 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7255 decoding, and show a warning message without signaling an error
7256 (Bug#11282).
7257
7258 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * emacs-lisp/bytecomp.el
7261 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7262 since cconv.el might have introduced :fun-body, internal-make-closure,
7263 and friends for bytecomp to handle (bug#11391).
7264 * custom.el (defcustom): Avoid ((λ ..) ..).
7265
7266 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7269
7270 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * notifications.el (dbus-debug):
7273 * term/linux.el (gpm-mouse-enable):
7274 * term/screen.el (xterm-register-default-colors): Declare.
7275
7276 2012-05-02 Chong Yidong <cyd@gnu.org>
7277
7278 * cus-start.el (gc-cons-percentage, exec-suffixes)
7279 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7280 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7281 (make-cursor-line-fully-visible, void-text-area-pointer)
7282 (font-list-limit): Add customization data.
7283
7284 * allout.el (allout-exposure-change-functions)
7285 (allout-structure-added-functions)
7286 (allout-structure-deleted-functions)
7287 (allout-structure-shifted-functions): Rename abnormal hooks from
7288 *-hook, and convert to defcustoms.
7289 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7290 Convert to defcustoms.
7291 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7292
7293 * allout-widgets.el: Hook callers changed.
7294
7295 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7296
7297 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7298 the yanked message in preference to the default value of
7299 buffer-file-coding-system.
7300
7301 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7302
7303 * window.el (display-buffer--action-function-custom-type):
7304 Fix entry.
7305
7306 2012-05-02 Alan Mackenzie <acm@muc.de>
7307
7308 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7309
7310 2012-05-01 Glenn Morris <rgm@gnu.org>
7311
7312 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7313
7314 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7315
7316 * cus-edit.el (custom-variable-documentation): Simplify with format.
7317
7318 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7319 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * simple.el (suggest-key-bindings, execute-extended-command):
7322 Move from keyboard.c.
7323
7324 2012-05-01 Chong Yidong <cyd@gnu.org>
7325
7326 * follow.el: Eliminate advice.
7327 (set-process-filter, process-filter, sit-for): Advice deleted.
7328 (follow-mode-off-hook): Obsolete hook removed.
7329 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7330 Vars deleted.
7331 (follow-auto): Use a :set function.
7332 (follow-mode): Rewritten. Don't advise process filters.
7333 (follow-switch-to-current-buffer-all, follow-scroll-up)
7334 (follow-scroll-down): Assume follow-mode is bound.
7335 (follow-comint-scroll-to-bottom)
7336 (follow-align-compilation-windows): New functions.
7337 (follow--window-sorter): New function.
7338 (follow-all-followers): Use it to explicitly sort windows by their
7339 positions; don't make assumptions about next-window order.
7340 (follow-windows-start-end, follow-delete-other-windows-and-split)
7341 (follow-calc-win-start): Doc fix.
7342 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7343 vertical-motion unnecessarily.
7344 (follow-adjust-window): New function.
7345 (follow-post-command-hook): Use it.
7346 (follow-call-set-process-filter, follow-call-process-filter)
7347 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7348 (follow-stop-intercept-process-output, follow-generic-filter):
7349 Functions deleted.
7350 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7351 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7352 New functions, replacing advice on scroll-bar-* commands.
7353 (follow-mwheel-scroll): New function (Bug#4112).
7354
7355 * comint.el (comint-adjust-point): New function.
7356 (comint-postoutput-scroll-to-bottom): Use it.
7357 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7358
7359 2012-05-01 Glenn Morris <rgm@gnu.org>
7360
7361 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7362 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7363 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7364 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7365 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7366 Remove no-byte-compile setting.
7367
7368 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7371 all-completions code to not return a number in the last cdr.
7372
7373 2012-04-30 Leo Liu <sdl.web@gmail.com>
7374
7375 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7376 read-only error.
7377
7378 2012-04-29 Chong Yidong <cyd@gnu.org>
7379
7380 * follow.el (follow-calc-win-end): Rewrite to handle partial
7381 screen lines correctly (Bug#8390).
7382 (follow-avoid-tail-recenter): Minor cleanup.
7383
7384 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 Avoid the obsolete `assoc' package.
7387 * speedbar.el (speedbar-refresh): Avoid adelete.
7388 (speedbar-file-lists): Simplify and avoid aput.
7389 * man.el (Man--sections, Man--refpages): New vars, replacing
7390 Man-sections-alist and Man-refpages-alist.
7391 (Man-build-section-alist, Man-build-references-alist):
7392 Use them; avoid aput.
7393 (Man--last-section, Man--last-refpage): New vars.
7394 (Man-follow-manual-reference): Use them.
7395 Use the `default' arg of completing-read.
7396 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7397
7398 2012-04-27 Chong Yidong <cyd@gnu.org>
7399
7400 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7401
7402 * startup.el (x-apply-session-resources): New function.
7403
7404 * term/ns-win.el (ns-initialize-window-system):
7405 * term/w32-win.el (w32-initialize-window-system):
7406 * term/x-win.el (x-initialize-window-system): Use it to properly
7407 set menu-bar-mode and other vars from X resources, even if the
7408 initial frame is not a window-system frame (Bug#2299).
7409
7410 * subr.el (read-key): Avoid running filter function when setting
7411 up temporary tool bar entries (Bug#9922).
7412
7413 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7414
7415 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7416 (Bug#11344)
7417
7418 2012-04-27 Chong Yidong <cyd@gnu.org>
7419
7420 * select.el (xselect--encode-string): New function, split from
7421 xselect-convert-to-string.
7422 (xselect-convert-to-string): Use it.
7423 (xselect-convert-to-filename, xselect-convert-to-os)
7424 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7425 returned strings are properly encoded (Bug#11315).
7426
7427 2012-04-27 Chong Yidong <cyd@gnu.org>
7428
7429 * simple.el (delete-active-region): Move to killing custom group.
7430
7431 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7432
7433 * progmodes/which-func.el (which-func-current): Quote %
7434 characters for mode-line processing.
7435
7436 2012-04-27 Chong Yidong <cyd@gnu.org>
7437
7438 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7439 reaching eob (Bug#11286).
7440
7441 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7442
7443 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7444 (gdb): Make it buffer-local and init to zero.
7445 (gdb-control-commands-regexp): New variable.
7446 (gdb-send): Don't wrap in "-interpreter-exec console" if
7447 gdb-control-level is positive. Increment gdb-control-level
7448 whenever the command matches gdb-control-commands-regexp, and
7449 decrement it each time the command is "end". (Bug#11279)
7450
7451 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7452
7453 * window.el (adjust-window-trailing-edge, enlarge-window)
7454 (shrink-window, window-resize):
7455 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7456 windows (Bug#11276).
7457
7458 2012-04-27 Chong Yidong <cyd@gnu.org>
7459
7460 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7461 fix "missing prefix" warning. All callers changed.
7462
7463 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/assoc.el: Move to obsolete/.
7466
7467 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7470
7471 * term/ns-win.el (ns-define-service):
7472 * progmodes/pascal.el (pascal-goto-defun):
7473 * progmodes/js.el (js--read-tab):
7474 * progmodes/etags.el (tags-lazy-completion-table):
7475 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7476 * emacs-lisp/ewoc.el (ewoc--wrap):
7477 * emacs-lisp/assoc.el (aput, adelete, amake):
7478 * doc-view.el (doc-view-convert-current-doc):
7479 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7480
7481 2012-04-26 Chong Yidong <cyd@gnu.org>
7482
7483 * image.el (image-type-from-buffer): Only return supported image
7484 type (Bug#9045).
7485
7486 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7487 value, for symmetry with diff-end-of-hunk.
7488 (diff-split-hunk, diff-find-source-location)
7489 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7490 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7491 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7492 compute the relevant hunk or file properly (Bug#6005).
7493 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7494
7495 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * vc/vc-mtn.el:
7498 * vc/vc-hg.el:
7499 * vc/vc-git.el:
7500 * vc/vc-dir.el:
7501 * vc/vc-cvs.el:
7502 * vc/vc-bzr.el:
7503 * vc/vc-arch.el:
7504 * vc/vc.el: Replace lexical-let by lexical-binding.
7505 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7506 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7507 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7508
7509 2012-04-26 Chong Yidong <cyd@gnu.org>
7510
7511 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7512 (diff-mode-shared-map): Bind it to / and [remap undo].
7513
7514 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7515 (ediff-window-setup-function): Use it as the default, to set up
7516 windows based on whether the current frame is graphical (Bug#2138).
7517 (ediff-choose-window-setup-function-automatically): Make obsolete.
7518
7519 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7520
7521 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * ffap.el: Remove old code for obsolete package.
7524 (ffap-complete-as-file-p): Remove.
7525
7526 Use completion-table-with-quoting for comint and pcomplete.
7527 * comint.el (comint--unquote&requote-argument)
7528 (comint--unquote-argument, comint--requote-argument): New functions.
7529 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7530 (comint-quote-filename): Use regexp-opt-charset.
7531 (comint--common-suffix, comint--common-quoted-suffix)
7532 (comint--table-subvert): Remove.
7533 (comint-unquote-function, comint-requote-function): New vars.
7534 (comint--complete-file-name-data): Use them with
7535 completion-table-with-quoting.
7536 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7537 * pcomplete.el (pcomplete-arg-quote-list)
7538 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7539 (pcomplete-unquote-argument-function): Default to non-nil.
7540 (pcomplete-unquote-argument): Simplify.
7541 (pcomplete--common-quoted-suffix): Remove.
7542 (pcomplete-requote-argument-function): New var.
7543 (pcomplete--common-suffix): New function.
7544 (pcomplete-completions-at-point): Use completion-table-with-quoting
7545 and completion-table-subvert.
7546
7547 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7548 (minibuffer--double-dollars): Preserve properties.
7549 (completion--sifn-requote): New function.
7550 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7551
7552 * minibuffer.el: Add support for completion of quoted/escaped data.
7553 (completion-table-with-quoting, completion-table-subvert): New funs.
7554 (completion--twq-try, completion--twq-all): New functions.
7555 (completion--nth-completion): New function.
7556 (completion-try-completion, completion-all-completions): Use it.
7557
7558 2012-04-25 Leo Liu <sdl.web@gmail.com>
7559
7560 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7561 Use compilation-message if available to find real filename.
7562
7563 2012-04-25 Chong Yidong <cyd@gnu.org>
7564
7565 * vc/diff-mode.el (diff-setup-whitespace): New function.
7566 (diff-mode): Use it.
7567
7568 * vc/diff.el (diff-sentinel):
7569 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7570 Whitespace mode variables based on diff style (Bug#8612).
7571
7572 2012-04-25 Leo Liu <sdl.web@gmail.com>
7573
7574 * progmodes/python.el (python-send-region): Add suffix .py to the
7575 temp file.
7576
7577 * files.el (auto-mode-alist): Use javascript-mode instead.
7578
7579 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7580
7581 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7582
7583 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7584 (soap-resolve-references-for-array-type): Hack to prevent self
7585 references, see Bug#9.
7586 (soap-parse-envelope): Report the contents of the 'detail' node
7587 when receiving a fault reply.
7588 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7589
7590 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7591 (soap-inspect-simple-type): New function.
7592
7593 * net/soap-client.el (soap-simple-type): New struct.
7594 (soap-default-xsd-types, soap-default-soapenc-types)
7595 (soap-decode-basic-type, soap-encode-basic-type):
7596 support unsignedInt and double basic types.
7597 (soap-resolve-references-for-simple-type)
7598 (soap-parse-simple-type, soap-encode-simple-type): New function.
7599 (soap-parse-schema): Parse xsd:simpleType declarations.
7600
7601 * net/soap-client.el (soap-default-xsd-types)
7602 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7603 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7604 the local name of "soapenc:Array".
7605 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7606 decoding integer, byte and anyURI xsd types.
7607
7608 2012-04-25 Chong Yidong <cyd@gnu.org>
7609
7610 * cus-edit.el (custom-buffer-create-internal): Update header text.
7611
7612 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7613
7614 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7615 settings on 'system-type', not on 'window-system'. On MS-Windows,
7616 set interactive-mode on in GDB.
7617
7618 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7621 (ruby-syntax-propertize-regexp): Remove.
7622 (ruby-syntax-propertize-function): Split regexp into chunks.
7623 Match following code directly.
7624
7625 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7626
7627 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7628 (ruby-syntax-propertize-regexp): New function.
7629 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7630 by a special keyword.
7631
7632 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7633 (ruby-syntax-general-delimiters-goto-beg)
7634 (ruby-syntax-propertize-general-delimiters): New functions.
7635 (ruby-syntax-propertize-function): Use them to handle GDL.
7636 (ruby-font-lock-keywords): Move old handling of GDL...
7637 (ruby-font-lock-syntactic-keywords): .. to here.
7638 (ruby-calculate-indent): Adjust indentation for GDL.
7639
7640 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7641
7642 * notifications.el (top): Remove unneeded declarations.
7643 (notifications-specification-version): Change to "1.2".
7644 (notifications-interface, notifications-notify-method)
7645 (notifications-close-notification-method): Fix docstring.
7646 (notifications-get-capabilities-method): New defconst.
7647 (notifications-notify): Add :action-items, :resident and
7648 :transient hints. Change "image_data" to "image-data" and
7649 "image_path" to "image-path".
7650 (notifications-get-capabilities): New defun.
7651
7652 2012-04-24 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/python.el: Move hideshow setup to the end.
7655
7656 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (handle-select-window): Clear echo area since this is
7659 no more done by read_char (Bug#11304).
7660
7661 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7664 and `/ M' to filter-derived-mode.
7665 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7666 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7667 (ibuffer-mark-by-mode): Use default rather than initial-input.
7668 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7669
7670 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7671
7672 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7673 (ibuffer-filter-by-derived-mode): New filter.
7674 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7675
7676 2012-04-23 Andreas Politz <politza@fh-trier.de>
7677
7678 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7679
7680 2012-04-23 Chong Yidong <cyd@gnu.org>
7681
7682 * cus-edit.el (customize-apropos, customize-apropos-options):
7683 Disable matching of non-option variables (Bug#11176).
7684 (customize-option, customize-option-other-window)
7685 (customize-changed-options): Doc fix.
7686 (customize-apropos-options, customize-apropos-faces)
7687 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7688
7689 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7690 Fix word list splitting (Bug#11132).
7691 (apropos-symbol, apropos-keybinding, apropos-label)
7692 (apropos-property, apropos-function-button)
7693 (apropos-variable-button, apropos-misc-button): New faces.
7694 (apropos-symbol-face, apropos-keybinding-face)
7695 (apropos-label-face, apropos-property-face, apropos-match-face):
7696 Variables removed (Bug#8396).
7697 (apropos-library-button, apropos-format-plist, apropos-print)
7698 (apropos-print-doc, apropos-describe-plist): Callers changed.
7699
7700 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * net/xesam.el (xesam-mode-map): Use let-bound map in
7703 initialization. (Bug#11292)
7704
7705 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7706
7707 Preserve ispell session localwords when switching back to
7708 original buffer.
7709
7710 * textmodes/ispell.el (ispell-buffer-session-localwords):
7711 New buffer-local variable to hold buffer session localwords.
7712 (ispell-kill-ispell): Add option 'clear to delete session
7713 localwords.
7714 (ispell-command-loop, ispell-change-dictionary)
7715 (ispell-buffer-local-words): Preserve session localwords when
7716 needed.
7717
7718 * textmodes/flyspell.el (flyspell-process-localwords)
7719 (flyspell-do-correct): Preserve session localwords when needed.
7720
7721 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7722
7723 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7724 using obsolete `translation-table-for-input'.
7725 (ispell-word, ispell-process-line, ispell-complete-word):
7726 Use plain `insert' instead of removed `ispell-insert-word'.
7727
7728 2012-04-22 Chong Yidong <cyd@gnu.org>
7729
7730 * cus-edit.el (custom-variable-menu)
7731 (custom-variable-reset-saved, custom-face-menu)
7732 (custom-face-reset-saved): If there is no saved value, make the
7733 "reset-saved" operation bring back the default (Bug#9509).
7734 (custom-face-state): Properly detect themed faces.
7735
7736 * faces.el (face-spec-set): Stop supporting deprecated form of
7737 third arg.
7738
7739 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7740
7741 Move functions from C to Lisp. Make non-blocking method calls
7742 the default. Implement further D-Bus standard interfaces.
7743
7744 * net/dbus.el (dbus-message-internal): Declare function.
7745 Remove unneeded function declarations.
7746 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7747 (dbus-message-type-method-return, dbus-message-type-error)
7748 (dbus-message-type-signal): Declare variables. Remove local
7749 definitions.
7750 (dbus-interface-dbus, dbus-interface-peer)
7751 (dbus-interface-introspectable, dbus-interface-properties)
7752 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7753 Adapt docstring.
7754 (dbus-interface-objectmanager): New defconst.
7755 (dbus-call-method, dbus-call-method-asynchronously)
7756 (dbus-send-signal, dbus-method-return-internal)
7757 (dbus-method-error-internal, dbus-register-service)
7758 (dbus-register-signal, dbus-register-method): New defuns, moved
7759 from dbusbind.c
7760 (dbus-call-method-handler, dbus-setenv)
7761 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7762 New defuns.
7763 (dbus-call-method-non-blocking): Make it an obsolete function.
7764 (dbus-unregister-object, dbus-unregister-service)
7765 (dbus-handle-event, dbus-register-property)
7766 (dbus-property-handler): Obey the new structure of
7767 `bus-registered-objects'.
7768 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7769 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7770 Use `dbus-call-method'.
7771
7772 2012-04-22 Chong Yidong <cyd@gnu.org>
7773
7774 * cus-edit.el (custom-commands, custom-reset-menu)
7775 (Custom-reset-standard): Tweak labels.
7776 (custom-reset-button-menu): Change default to t.
7777 (custom-buffer-create-internal): For the custom-reset-button-menu
7778 case, put the revert button first.
7779 (custom-group-subtitle): New face.
7780 (custom-group-value-create): Align docstring to a specific column.
7781
7782 * wid-edit.el (widget-documentation-link-add): Don't handle
7783 indentation in this function.
7784 (widget-documentation-string-indent-to): New function.
7785 (widget-documentation-string-value-create): Use it.
7786
7787 * autorevert.el (auto-revert):
7788 * epg-config.el (epg):
7789 * ibuffer.el (ibuffer):
7790 * mpc.el (mpc):
7791 * ses.el (ses):
7792 * eshell/eshell.el (eshell):
7793 * net/ange-ftp.el (ange-ftp):
7794 * progmodes/ebnf2ps.el (postscript):
7795 * progmodes/flymake.el (flymake):
7796 * progmodes/prolog.el (prolog):
7797 * progmodes/verilog-mode.el (verilog-mode):
7798 * progmodes/which-func.el (which-func):
7799 * term/xterm.el (xterm):
7800 * textmodes/picture.el (picture):
7801 * textmodes/tildify.el (tildify):
7802 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7803 customization buffers.
7804
7805 2012-04-22 Alan Mackenzie <acm@muc.de>
7806
7807 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7808 Adding a ) can hide the resulting (..) from searches. Fix it.
7809 Bound the backward search to the position of the existing (.
7810
7811 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * progmodes/verilog-mode.el (verilog-mode): Check whether
7814 which-func-modes is t before adding verilog-mode.
7815 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7816
7817 2012-04-21 Leo Liu <sdl.web@gmail.com>
7818
7819 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7820
7821 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7822
7823 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7824 filling of the last column of a table (Bug#5635).
7825 (woman-find-next-control-line): New arg, specifying an additional
7826 regexp component for the control line.
7827 (woman2-roff-buffer): Use it.
7828 (woman-break-table): New function.
7829 (woman2-TS): Use it.
7830
7831 2012-04-21 Chong Yidong <cyd@gnu.org>
7832
7833 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7834 (woman-horizontal-escapes, woman-negative-vertical-space)
7835 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7836 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7837
7838 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * minibuffer.el (completion-file-name-table): Complete user names.
7841
7842 2012-04-20 Leo Liu <sdl.web@gmail.com>
7843
7844 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7845 and pcase-let*.
7846
7847 2012-04-20 Chong Yidong <cyd@gnu.org>
7848
7849 * server.el (server-execute): Respect initial-buffer-choice if it
7850 is a string and there are no files to open (Bug#2825).
7851 (server-create-window-system-frame, server-create-tty-frame):
7852 Don't switch buffers here.
7853 (server-process-filter): Only try to open a window system frame if
7854 compiled with graphical support (Bug#8314).
7855
7856 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7857
7858 * battery.el (battery-echo-area-format): Display remaining time
7859 for sysfs backend too (Bug#11269).
7860 (battery-linux-sysfs): Fix conditional for the charge.
7861
7862 2012-04-20 Chong Yidong <cyd@gnu.org>
7863
7864 * progmodes/gdb-mi.el (gdb): Revert previous change.
7865 (gdb-inferior-io--init-proc): New function.
7866 (gdb-init-1): Use it.
7867 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7868 responsible for allocating a new pty and hooking it to gdb when
7869 the old pty gets an EIO due to process exit.
7870 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7871 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7872 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7873
7874 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7875
7876 * window.el (window-min-size, window-sizable, window-min-delta)
7877 (window-max-delta, window--resizable, window-resizable)
7878 (window-total-size, window-full-height-p, window-full-width-p)
7879 (window-in-direction, window--resize-mini-window, window-resize)
7880 (window--resize-child-windows-normal)
7881 (window--resize-child-windows, window--resize-siblings)
7882 (window--resize-this-window, adjust-window-trailing-edge)
7883 (enlarge-window, shrink-window): Doc fixes.
7884
7885 2012-04-20 Chong Yidong <cyd@gnu.org>
7886
7887 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7888 New function to call delete-process on the gdb-inferior buffer's pty.
7889 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7890 pty process (Bug#11273).
7891 (gdb-update): New arg to suppress talking to the gdb process.
7892 (gdb-done-or-error): Use it.
7893 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7894 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7895 sentinel not being called.
7896
7897 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7898
7899 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7900
7901 2012-04-20 Glenn Morris <rgm@gnu.org>
7902
7903 * net/network-stream.el (open-network-stream): Doc fix.
7904
7905 2012-04-20 Chong Yidong <cyd@gnu.org>
7906
7907 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7908
7909 2012-04-20 Alan Mackenzie <acm@muc.de>
7910
7911 Ensure searching for keywords is case sensitive.
7912
7913 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7914 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7915 (c-defun-name, c-mark-function, c-cpp-define-name)
7916 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7917 (c-context-line-break): Bind case-fold-search to nil.
7918
7919 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7920 Bind case-fold-search to nil.
7921
7922 2012-04-20 Chong Yidong <cyd@gnu.org>
7923
7924 * mail/sendmail.el (mail-bury): Call return action with the right
7925 Rmail buffer (Bug#11242).
7926
7927 * server.el (server-process-filter): Handle corner case where both
7928 tty and nowait options are present (Bug#11102).
7929
7930 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7931
7932 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7933 (top level): Put into the executable the ident-style '$Id:' tag on
7934 windows-nt as well.
7935
7936 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * electric.el (electric-indent-post-self-insert-function): Check that
7939 electric-indent-mode is enabled in current buffer.
7940
7941 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * imenu.el (imenu-progress-message): Restore; it is "used" in
7944 erc/erc-imenu.el and net/snmp-mode.el.
7945
7946 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7949 (mouse-avoidance-nudge-mouse): Remove unused binding.
7950
7951 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7952
7953 * descr-text.el (describe-char):
7954 * progmodes/python.el (python-describe-symbol):
7955 Don't call `toggle-read-only', set `buffer-read-only'.
7956
7957 * imenu.el (imenu-default-goto-function): Mark unused args.
7958 (imenu-progress-message): Remove obsolete macro; all callers changed.
7959
7960 * subr.el (keymap-canonicalize): Remove unused binding.
7961 (read-passwd): Mark unused arg.
7962
7963 * tutorial.el (tutorial--display-changes): Remove unused binding.
7964 (tutorial--save-tutorial-to): Remove unused variable.
7965
7966 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7967 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7968 (package-generate-autoloads, package-menu--generate)
7969 (package-menu--find-upgrades): Remove unused bindings.
7970
7971 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7972 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7973 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7974 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7975 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7976 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7977 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7978 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7979 (cua-delete-char-rectangle): Mark unused args.
7980 (cua-align-rectangle): Remove unused binding.
7981
7982 * mail/rmail.el (compilation--message->loc)
7983 (epa--find-coding-system-for-mime-charset): Declare.
7984
7985 * net/dbus.el (dbus-register-service): Declare.
7986 (dbus-name-owner-changed-handler): Remove unused binding.
7987
7988 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7989 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7990 (nxml-scan-backward-within): Mark unused arg.
7991 (nxml-dynamic-markup-word): Remove unused binding.
7992
7993 * mouse.el (mouse-menu-major-mode-map):
7994 * emacs-lisp/authors.el (authors-scan-change-log)
7995 (authors-add-to-author-list):
7996 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7997 * emacs-lisp/smie.el (smie-auto-fill):
7998 * mail/sendmail.el (mail-bury):
7999 * mail/unrmail.el (unrmail):
8000 * net/tls.el (open-tls-stream):
8001 * textmodes/picture.el (picture-mouse-set-point):
8002 Remove unused bindings.
8003
8004 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp.el (tramp-action-password): Let-bind
8007 `enable-recursive-minibuffers' to t.
8008
8009 2012-04-18 Sam Steingold <sds@gnu.org>
8010
8011 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8012 instead of 'string to accommodate values like [f11].
8013 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8014 * progmodes/gdb-mi.el: Likewise.
8015
8016 2012-04-18 Leo Liu <sdl.web@gmail.com>
8017
8018 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8019 current buffer.
8020 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8021 LOCAL is nil.
8022
8023 2012-04-18 Chong Yidong <cyd@gnu.org>
8024
8025 * simple.el (line-move): Use forward-line if in batch mode
8026 (Bug#11053).
8027
8028 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8029
8030 * files.el (after-find-file): Do not try to add a final newline if
8031 the buffer is read-only (Bug#11156).
8032
8033 2012-04-17 Richard Stallman <rms@gnu.org>
8034
8035 * mail/rmail.el (rmail-start-mail):
8036 Pass (rmail-mail-return...) for the return-action.
8037 Pass (rmail-yank-current-message...) for the yank-action.
8038 (rmail-yank-current-message): New function.
8039 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8040 (rmail-reply): Likewise.
8041 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8042
8043 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8044 buffer, not the last. Reject temp buffers. Use the rmail-mode
8045 buffer, not newbuf.
8046
8047 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8048
8049 * server.el (server-ensure-safe-dir): Simplify.
8050
8051 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/smie.el: Provide smarter auto-filling.
8054 (smie-auto-fill): New function.
8055 (smie-setup): Use it.
8056
8057 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8058
8059 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8060
8061 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8062 (comment-indent): Use it.
8063
8064 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8065
8066 * ses.el: The overall change is to add cell renaming, that is
8067 setting fancy names for cell symbols other than name matching
8068 "\\`[A-Z]+[0-9]+\\'" regexp .
8069 (ses-localvars): Add ses--renamed-cell-symb-list.
8070 (ses-create-cell-variable): New defun.
8071 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8072 (ses-relocate-formula): Relocate formulas only for cells the
8073 symbols of which are not renamed, i.e. symbols whose names do not
8074 match regexp "\\`[A-Z]+[0-9]+\\'".
8075 (ses-relocate-all): Relocate values only for cells the symbols of
8076 which are not renamed.
8077 (ses-load): Create cells variables as the (ses-cell ...) are read,
8078 in order to check row col consistency with cell symbol name only
8079 for cells that are not renamed.
8080 (ses-replace-name-in-formula): New defun.
8081 (ses-rename-cell): New defun.
8082
8083 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8084
8085 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8086 New option (bug#11118).
8087 (perl-calculate-indent): Respect it.
8088
8089 2012-04-17 Glenn Morris <rgm@gnu.org>
8090
8091 * dired-aux.el (dired-mark-read-string): Doc fix.
8092
8093 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8094
8095 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8096 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8097
8098 2012-04-17 Glenn Morris <rgm@gnu.org>
8099
8100 * mouse.el (mouse-drag-track):
8101 * speedbar.el (speedbar-frame-mode):
8102 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8103
8104 2012-04-16 Leo Liu <sdl.web@gmail.com>
8105
8106 * progmodes/python.el: Trivial cleanup.
8107
8108 2012-04-16 Glenn Morris <rgm@gnu.org>
8109
8110 * vc/vc.el (vc-string-prefix-p):
8111 * vc/pcvs-util.el (cvs-string-prefix-p):
8112 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8113 * mpc.el (mpc-string-prefix-p):
8114 Make all of these into obsolete aliases for string-prefix-p.
8115 Update callers.
8116 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8117
8118 * textmodes/two-column.el: Move custom options to the start.
8119 (frame-width): Remove compat definition.
8120 (2C-associate-buffer, 2C-dissociate):
8121 Use with-current-buffer rather than save-excursion.
8122 (2C-dissociate): Force a mode-line update.
8123 (2C-autoscroll): Use ignore-errors.
8124
8125 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8126 Autoload trivia.
8127
8128 * emacs-lisp/cl-extra.el (*random-state*):
8129 Remove unnecessary declaration.
8130
8131 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8132
8133 * play/cookie1.el (cookie-snarf):
8134 Give an explicit error if input file cannot be read.
8135
8136 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8137
8138 * progmodes/perl-mode.el (c-macro-expand):
8139 Remove unnecessary autoload (it is in loaddefs.el).
8140
8141 * textmodes/picture.el (picture-desired-column)
8142 (picture-update-desired-column): Convert comments to doc-strings.
8143 (picture-substitute): Remove function.
8144 (picture-mode-map): Initialize in the defvar.
8145
8146 * woman.el: Remove eval-after-load for tar-mode.
8147 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8148 (woman-tar-extract-file): Autoload it.
8149
8150 * frame.el (automatic-hscrolling): Make this alias obsolete.
8151
8152 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8153
8154 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8155 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8156 (ispell-dictionary-base-alist): Revert to original XEmacs
8157 friendly version for default. [:alpha:] will be added in
8158 `ispell-set-spellchecker-params' if needed.
8159
8160 2012-04-16 Chong Yidong <cyd@gnu.org>
8161
8162 * image.el (imagemagick--file-regexp): New variable.
8163 (imagemagick-register-types): Use it.
8164 (imagemagick-types-inhibit): Add :set function. Allow new value
8165 of t to inhibit all types.
8166
8167 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8168 so we can preload it.
8169
8170 * loadup.el (fboundp): Preload regexp-opt, needed by
8171 imagemagick-register-types.
8172
8173 2012-04-15 Chong Yidong <cyd@gnu.org>
8174
8175 * frame.el (scrolling): Remove nearly unused customization group.
8176
8177 * scroll-all.el (scroll-all-mode): Move to windows group.
8178
8179 2012-04-15 Chong Yidong <cyd@gnu.org>
8180
8181 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8182
8183 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8186 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8187
8188 2012-04-15 Glenn Morris <rgm@gnu.org>
8189
8190 * simple.el (process-file-side-effects): Doc fix.
8191
8192 2012-04-15 Glenn Morris <rgm@gnu.org>
8193
8194 * international/mule-cmds.el (set-language-environment): Doc fix.
8195
8196 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * server.el (server-auth-key, server-generate-key): Doc fixes.
8199 (server-get-auth-key): Doc fix. Use `string-match-p'.
8200 (server-start): Reflow docstring.
8201
8202 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8203
8204 * server.el (server-generate-key): `called-interactively-p'
8205 requires a parameter.
8206
8207 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8208
8209 * server.el (server-auth-key): New variable.
8210 (server-generate-key, server-get-auth-key): New function.
8211 (server-start): Use the new variable and functions to allow
8212 setting a permanent server key (bug#9423).
8213
8214 2012-04-14 Leo Liu <sdl.web@gmail.com>
8215
8216 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8217
8218 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8219
8220 Spelling fixes.
8221 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8222 Emacs uses American spelling.
8223
8224 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8225
8226 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8227 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8228 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8229 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8230
8231 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * progmodes/which-func.el (which-func-modes): Change default.
8234
8235 2012-04-14 Kim F. Storm <storm@cua.dk>
8236
8237 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8238 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8239
8240 2012-04-14 Chong Yidong <cyd@gnu.org>
8241
8242 * custom.el (custom-theme-set-variables): Doc fix.
8243
8244 2012-04-14 Glenn Morris <rgm@gnu.org>
8245
8246 * international/mule.el (set-auto-coding-for-load): Doc fix.
8247
8248 2012-04-14 Alan Mackenzie <acm@muc.de>
8249
8250 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8251 imenu work again for Objective C Mode. Correct the *-index values,
8252 these having been disturbed by a previous change in 2011-08.
8253
8254 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8255 Correct two search limits.
8256
8257 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8260
8261 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8262
8263 * international/characters.el: Fix sorting.
8264
8265 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8266
8267 * international/characters.el: Add more missing Latin case pairs.
8268
8269 2012-04-14 Glenn Morris <rgm@gnu.org>
8270
8271 * files.el (dir-locals-set-class-variables): Doc fix.
8272
8273 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8274
8275 * international/characters.el: Add set-case-syntax-pair call for
8276 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8277 counterpart. (Bug#11209)
8278
8279 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8280
8281 2012-04-14 Glenn Morris <rgm@gnu.org>
8282
8283 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8284
8285 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8286
8287 * textmodes/ispell.el (ispell-dictionary-base-alist):
8288 Add data for Hebrew.
8289
8290 2012-04-14 Chong Yidong <cyd@gnu.org>
8291
8292 * net/rcirc.el (rcirc-cmd-quit):
8293 Revert 2012-03-18 change (Bug#11192).
8294
8295 2012-04-14 Glenn Morris <rgm@gnu.org>
8296
8297 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8298
8299 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8300
8301 * minibuffer.el (completion-in-region-mode-map):
8302 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8303
8304 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8305
8306 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8307
8308 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8309
8310 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8311 to allow `C-M-f' and `C-M-b' to move to the nearest path
8312 separator (bug#9511).
8313
8314 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8315
8316 * avoid.el: Require cl when compiling. And also move the
8317 `provide' to the end.
8318
8319 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8320
8321 * avoid.el (mouse-avoidance-banish-position): New variable.
8322 (mouse-avoidance-banish-destination): Use it (bug#10165).
8323
8324 2012-04-13 Leo Liu <sdl.web@gmail.com>
8325
8326 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8327
8328 2012-04-13 Ken Brown <kbrown@cornell.edu>
8329
8330 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8331 this is no longer needed now that cygstart understands file:// URLs.
8332 (browse-url-filename-alist): For the same reason, don't modify
8333 file:// URLs on Cygwin.
8334
8335 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8338 the region on shift if the binding is already shifted (bug#11221).
8339
8340 2012-04-12 Glenn Morris <rgm@gnu.org>
8341
8342 * mail/mailpost.el: Move to obsolete/.
8343
8344 2012-04-12 Drew Adams <drew.adams@oracle.com>
8345
8346 * imenu.el (imenu--generic-function): Ignore invisible definitions
8347 (bug#10123).
8348
8349 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8350
8351 * hexl.el (hexl-bits): New variable.
8352 (hexl-options): Mention the variable in the doc string.
8353 (hexl-rulerise, hexl-line-displen): New functions.
8354 (hexl-mode): Mention the new variable.
8355 (hexl-mode, hexl-current-address, hexl-current-address):
8356 Use the displen.
8357 (hexl-ascii-start-column): New function.
8358 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8359 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8360
8361 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8362
8363 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8364 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8365 the encoding, as expected by hunspell.
8366
8367 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * battery.el (battery--linux-sysfs-regexp): New const.
8370 (battery-status-function): Use it. Remove yeeloong special case.
8371 (battery-yeeloong-sysfs): Remove.
8372 (battery-echo-area-format): Remove yeeloong special case.
8373
8374 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8377 Reported by Noah Friedman.
8378
8379 * subr.el (read-passwd): Use read-string.
8380
8381 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * vcursor.el (vcursor-move): Increase the priority of the overlay
8384 (bug#9663).
8385
8386 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8387
8388 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8389 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8390
8391 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8392
8393 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8394 define-minor-mode (bug#10760).
8395
8396 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8397
8398 * progmodes/grep.el (rgrep): Tweak the find command line so
8399 that directories matching `grep-find-ignored-files' won't be
8400 pruned (bug#10351).
8401
8402 2012-04-11 Chong Yidong <cyd@gnu.org>
8403
8404 * startup.el (command-line): Remove support for long-obsolete
8405 variable font-lock-face-attributes.
8406
8407 2012-04-11 Glenn Morris <rgm@gnu.org>
8408
8409 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8410
8411 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * window.el (window--state-get-1): Obey window-point-insertion-type.
8414
8415 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8416
8417 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8418 to previous function when point is on the first character of a
8419 function. Take care of that in `narrow-to-defun' (bug#6157).
8420
8421 2012-04-11 Glenn Morris <rgm@gnu.org>
8422
8423 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8424 not just file-errors.
8425
8426 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8427 (vc-bzr-sha1): Use internal sha1.
8428
8429 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8432
8433 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8434
8435 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8436 that start in the middle of the line (bug#10496).
8437
8438 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8439
8440 * battery.el (battery-linux-proc-acpi): Only one battery is
8441 discharged at a time, but that seems to confuse battery.el when
8442 computing `rate-type' for the battery not being discharged
8443 (bug#10332).
8444
8445 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8448
8449 * international/quail.el: Use dolist and simplify.
8450 (quail-define-package, quail-update-keyboard-layout)
8451 (quail-define-rules): Use dolist.
8452 (quail-insert-kbd-layout, quail-get-translation): CSE.
8453
8454 * tmm.el: Use dolist, remove left over hook.
8455 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8456 Use dolist.
8457 (calendar-load-hook): Don't mess with it.
8458
8459 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8460 Use derived-mode-p. Run the diff asynchronously.
8461
8462 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463
8464 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8465
8466 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8469 (list-dynamic-libraries--loaded): New function.
8470 (list-dynamic-libraries--refresh): Use it.
8471
8472 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8473
8474 * progmodes/python.el (python-fill-paragraph):
8475 Make python-fill-region in a multiline string work when font-lock is
8476 disabled (bug#7018).
8477
8478 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8479
8480 * language/european.el (cp775): Add oem/legacy (en)coding on
8481 DOS/MS Windows for the Baltic languages. There are still plenty
8482 of texts written in this encoding/codepage (bug#6519).
8483
8484 2012-04-10 Glenn Morris <rgm@gnu.org>
8485
8486 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8487 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8488
8489 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8490
8491 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8492 next-line "n" and previous-line "p" in order to make recentf more
8493 consistent with ibuffer, dired or org-mode (bug#9387).
8494
8495 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * image.el (put-image): Return the overlay created instead of the
8498 optional input string (bug#7834). Note that this may break code
8499 that is (for some reason or other) depending on `put-image'
8500 returning the string.
8501
8502 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8503
8504 * simple.el (zap-to-char): Allow zapping using input methods
8505 (bug#1580).
8506
8507 * textmodes/fill.el (fill-region): Leave point and mark where they
8508 were before filling (bug#5399).
8509
8510 2012-04-09 Glenn Morris <rgm@gnu.org>
8511
8512 * version.el (emacs-bzr-get-version):
8513 Handle lightweight checkouts of local branches.
8514
8515 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8516
8517 * international/characters.el: Recover lost case pairs. (Bug#11209)
8518
8519 2012-04-09 Chong Yidong <cyd@gnu.org>
8520
8521 * custom.el (custom-variable-p): Return nil for non-symbol
8522 arguments instead of signaling an error.
8523 (user-variable-p): Obsolete alias for custom-variable-p.
8524
8525 * apropos.el (apropos-variable):
8526 * files-x.el (read-file-local-variable):
8527 * simple.el (set-variable):
8528 * woman.el (woman-mini-help):
8529 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8530
8531 2012-04-09 Glenn Morris <rgm@gnu.org>
8532
8533 * startup.el (normal-top-level): Don't look for leim-list.el
8534 in places where it will not be found. (Bug#910)
8535
8536 * international/mule-cmds.el (set-default-coding-systems):
8537 * files.el (normal-mode):
8538 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8539 This function was removed with ucs-tables.el in 2008.
8540
8541 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8542
8543 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8544 ispell-encoding8-command to "-i", without a trailing space.
8545 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8546 separate command-line arguments, to specify the encoding, since
8547 that's how hunspell expects it.
8548
8549 2012-04-08 Glenn Morris <rgm@gnu.org>
8550
8551 * loadup.el: Load bindings before cus-start.
8552 This reduces somewhat the number of "rogue" settings in emacs -Q.
8553
8554 2012-04-07 Glenn Morris <rgm@gnu.org>
8555
8556 * version.el (emacs-bzr-get-version): New function.
8557 (emacs-bzr-version): New variable.
8558 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8559 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8560
8561 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8562
8563 * international/uni-bidi.el, international/uni-category.el:
8564 * international/uni-combining.el, international/uni-decimal.el:
8565 * international/uni-decomposition.el, international/uni-digit.el:
8566 * international/uni-lowercase.el, international/uni-mirrored.el:
8567 * international/uni-name.el, international/uni-numeric.el:
8568 * international/uni-titlecase.el, international/uni-uppercase.el:
8569 Update for Unicode 6.1.
8570
8571 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8572
8573 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8574
8575 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8576
8577 * window.el (shrink-window): Mention the `window-min-height'
8578 variable in the doc string.
8579
8580 2012-04-05 Bastien Guerry <bzg@altern.org>
8581
8582 * color.el (color-lighten-name): Fix typo.
8583
8584 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * server.el (server--on-display-p): New function.
8587 (server--on-display-p): Use it.
8588
8589 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8590
8591 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8592 (bug#11145).
8593
8594 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * comint.el (comint--common-quoted-suffix): Check string boundary
8597 before comparing (bug#11158).
8598 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8599
8600 2012-04-04 Chong Yidong <cyd@gnu.org>
8601
8602 * minibuffer.el (completion-extra-properties): Doc fix.
8603
8604 * subr.el (delayed-warnings-hook): Doc fix.
8605
8606 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8607
8608 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8609 selection (Bug#11159).
8610 (epa-insert-keys): Inform that the default public key will be
8611 exported if no key is selected.
8612
8613 2012-04-04 Richard Stallman <rms@gnu.org>
8614
8615 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8616
8617 2012-04-03 Chong Yidong <cyd@gnu.org>
8618
8619 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8620 mail-insert-file, not its obsolete alias mail-attach-file.
8621
8622 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * notifications.el (notifications-notify): Fix docstring.
8625
8626 2012-04-02 Glenn Morris <rgm@gnu.org>
8627
8628 * emacs-lisp/authors.el (authors-aliases): Another addition.
8629
8630 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8633 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8634 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8635
8636 2012-04-01 Chong Yidong <cyd@gnu.org>
8637
8638 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8639 Handle root directory properly.
8640 (copy-directory): Caller changed.
8641
8642 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8643 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8644
8645 2012-03-31 Glenn Morris <rgm@gnu.org>
8646
8647 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8648
8649 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8650
8651 * calendar/calendar.el (calendar-window-list)
8652 (calendar-hide-window): Restore. (Bug#11140)
8653 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8654
8655 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8656
8657 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8658
8659 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8660 Check if file is a symlink (Bug#10489).
8661
8662 * files.el (copy-directory): Likewise.
8663
8664 2012-03-30 Chong Yidong <cyd@gnu.org>
8665
8666 * image.el (imagemagick-types-inhibit)
8667 (imagemagick-register-types): Doc fix.
8668
8669 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8670
8671 * textmodes/ispell.el (ispell-get-extended-character-mode):
8672 Disable extended-char-mode for hunspell. hunspell does not support it
8673 and treats ~word as ordinary words in pipe mode.
8674
8675 2012-03-30 Glenn Morris <rgm@gnu.org>
8676
8677 * tutorial.el (help-with-tutorial): Ensure local variables don't
8678 happen to make the buffer read-only. (Bug#11127)
8679
8680 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8683 (perl-calculate-indent): Return `noindent' in strings.
8684
8685 2012-03-28 Sam Steingold <sds@gnu.org>
8686
8687 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8688 instead of the broken adhockery which does not prevent calendar
8689 buffers from being displayed at random after exit.
8690 (calendar-window-list, calendar-hide-window): Remove the broken
8691 adhockery.
8692
8693 2012-03-28 Glenn Morris <rgm@gnu.org>
8694
8695 * replace.el (query-replace-map): Doc fix.
8696
8697 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8700 contents. (Bug#11109)
8701
8702 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8705 (bug#11077).
8706 (avl-tree--check, avl-tree--check-node): New funs.
8707
8708 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8709
8710 * window.el (switch-to-visible-buffer): New option.
8711 (switch-to-prev-buffer, switch-to-next-buffer):
8712 Observe switch-to-visible-buffer. Make sure that checking for a window
8713 showing a buffer already is done on the same frame.
8714
8715 2012-03-27 Glenn Morris <rgm@gnu.org>
8716
8717 * startup.el (mail-host-address): Doc fix.
8718
8719 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8722 than 197 variables.
8723
8724 2012-03-26 Ami Fischman <ami@fischman.org>
8725
8726 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8727
8728 2012-03-26 Glenn Morris <rgm@gnu.org>
8729
8730 * files.el (save-buffers-kill-emacs): Doc fix.
8731
8732 * startup.el (normal-top-level, command-line, command-line-1):
8733 Give them doc strings.
8734
8735 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8736
8737 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8738 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8739
8740 2012-03-25 Chong Yidong <cyd@gnu.org>
8741
8742 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8743 theme if it was previously enabled before (Bug#11031).
8744
8745 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8746 spec with custom-face-get-current-spec if its :shown-value is not
8747 determined yet (Bug#9337).
8748 (customize-create-theme, custom-theme-revert): Doc fixes.
8749
8750 * button.el (button-at): Minor addition to docstring.
8751
8752 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8753
8754 * vc/vc.el (vc-merge): Fix a prompt.
8755
8756 2012-03-24 Chong Yidong <cyd@gnu.org>
8757
8758 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8759 point (Bug#9623).
8760
8761 * button.el (button-at): Minor addition to docstring.
8762
8763 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * newcomment.el (comment-choose-indent): No space after BOL.
8766
8767 2012-03-22 Sam Steingold <sds@gnu.org>
8768
8769 * window.el (switch-to-prev-buffer): Revert last patch because the
8770 bug turned out to be an advertised feature (Elisp manual 28.14).
8771
8772 2012-03-22 Glenn Morris <rgm@gnu.org>
8773
8774 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8775 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8776
8777 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8778
8779 * net/network-stream.el (network-stream-open-starttls): Make error
8780 message under Windows be less misleading.
8781
8782 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8783
8784 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8785 understands (bug#9942).
8786
8787 2012-03-22 Chong Yidong <cyd@gnu.org>
8788
8789 * simple.el (end-of-visible-line): Handle return value of
8790 next-single-property-change properly (Bug#9371).
8791
8792 2012-03-22 Kenichi Handa <handa@m17n.org>
8793
8794 * international/quail.el (quail-insert-kbd-layout): Fix previous
8795 change. To avoid unwanted bidi reordering, use
8796 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8797
8798 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8801 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8802 (ruby-beginning-of-indent): Be more careful with the difference
8803 between word-boundary and symbol boundary.
8804 (ruby-mode-syntax-table): Make : a symbol constituent.
8805
8806 2012-03-21 Andreas Politz <politza@fh-trier.de>
8807
8808 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8809
8810 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * progmodes/etags.el (tags-completion-at-point-function):
8813 Improve last fix.
8814
8815 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8816
8817 2012-03-21 Sam Steingold <sds@gnu.org>
8818
8819 * progmodes/etags.el (tags-completion-at-point-function):
8820 Avoid the error when point is inside the pattern.
8821
8822 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8823
8824 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8825 line (Bug#10855).
8826
8827 2012-03-21 Drew Adams <drew.adams@oracle.com>
8828
8829 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8830
8831 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8832
8833 * ido.el (ido-set-current-directory, ido-read-internal)
8834 (ido-choose-completion-string, ido-completion-help): Handle nil
8835 value of ido-completion-buffer (Bug#11008).
8836
8837 2012-03-21 Sam Steingold <sds@gnu.org>
8838
8839 * window.el (switch-to-prev-buffer): Do not switch to a visible
8840 window previous buffer, just like with the frame previous buffers.
8841
8842 2012-03-21 Chong Yidong <cyd@gnu.org>
8843
8844 * faces.el (make-face, make-empty-face, copy-face):
8845 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8846 Doc fixes.
8847
8848 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8851 (widget-complete): Remove broken use of it.
8852
8853 2012-03-20 Chong Yidong <cyd@gnu.org>
8854
8855 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8856 Use string-width and truncate-string-width to handle arbitrary
8857 characters.
8858
8859 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8860
8861 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8862 to draw rectangles, not squares. (Regression introduced by revno
8863 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8864
8865 2012-03-18 Chong Yidong <cyd@gnu.org>
8866
8867 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8868 it is not yet defined (for temacs).
8869
8870 2012-03-18 Leo Liu <sdl.web@gmail.com>
8871
8872 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8873 prefix.
8874
8875 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8876
8877 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8878 (ispell-choices-win-default-height, ispell-silently-savep)
8879 (ispell-dictionary-alist, ispell-encoding8-command)
8880 (ispell-check-version, ispell-aspell-find-dictionary)
8881 (ispell-valid-dictionary-list, ispell-words-keyword)
8882 (ispell-get-word, ispell-internal-change-dictionary)
8883 (ispell-region, ispell-skip-region-list)
8884 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8885 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8886 (ispell-message-text-end, ispell-message)
8887 (ispell-buffer-local-parsing): Doc fix.
8888
8889 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8890
8891 * htmlfontify.el: Add support for code block fontification for ODT
8892 export (Bug #9914).
8893 (hfy-optimisations): Define new option
8894 `body-text-only'
8895 (hfy-fontify-buffer): Honor above setting.
8896 (hfy-begin-span, hfy-end-span): New routines factored out form
8897 `hfy-fontify-buffer'.
8898 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8899 that permit insertion of custom tags.
8900 (hfy-fontify-buffer): Use above handlers.
8901 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8902 (hfy-face-to-css): Re-defined to be a variable.
8903 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8904 over multiple runs. This is made possible by having the caller let
8905 bind a special variable `hfy-user-sheet-assoc'.
8906 (htmlfontify-string): New defun.
8907 (hfy-compile-face-map): Make sure that the last char in the
8908 buffer is correctly fontified.
8909 (hfy-face-resolve-face): Whitespace only change.
8910
8911 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8912
8913 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8914 message more clear.
8915
8916 2012-03-16 Leo Liu <sdl.web@gmail.com>
8917
8918 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8919
8920 2012-03-16 Alan Mackenzie <acm@muc.de>
8921
8922 Further optimise the handling of large macros.
8923
8924 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8925 limit to a call of `c-literal-limits'.
8926 (c-determine-+ve-limit): New function.
8927 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8928 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8929 In CASE 5B, restrict a search limit to 500.
8930 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8931
8932 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8933 Restrict macro bounds to +-500 from after-change's BEG END.
8934
8935 2012-03-16 Leo Liu <sdl.web@gmail.com>
8936
8937 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8938
8939 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8940
8941 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8942 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8943
8944 2012-03-16 Glenn Morris <rgm@gnu.org>
8945
8946 * view.el (view-buffer, view-buffer-other-window)
8947 (view-buffer-other-frame): Doc fixes re special mode-class.
8948
8949 * subr.el (eval-after-load): If named feature is provided not from
8950 a file, run after-load forms. (Bug#10946)
8951
8952 * calendar/calendar.el (calendar-insert-at-column):
8953 Handle non-unit-width characters a bit better. (Bug#10978)
8954
8955 2012-03-15 Chong Yidong <cyd@gnu.org>
8956
8957 * emacs-lisp/ring.el (ring-extend): New function.
8958 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8959
8960 * comint.el (comint-read-input-ring)
8961 (comint-add-to-input-history): Grow comint-input-ring lazily.
8962
8963 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8966 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8967
8968 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8969 (imenu-add-to-menubar): Don't add a redundant index.
8970 (imenu-update-menubar): Handle a dynamically composed keymap.
8971
8972 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8973
8974 * mail/sendmail.el (mail-encode-header):
8975 Bind rfc2047-encode-encoded-words to nil.
8976
8977 2012-03-13 Glenn Morris <rgm@gnu.org>
8978
8979 * calendar/calendar.el (calendar-string-spread):
8980 Handle non-unit-width characters a bit better. (Bug#10978)
8981
8982 2012-03-13 Leo Liu <sdl.web@gmail.com>
8983
8984 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8985 directory and file as argument (Bug#10822).
8986
8987 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8988
8989 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8990 For dynamically generated code, follow $PC.
8991 (gdb-disassembly-handler-custom): Handle no function name case.
8992
8993 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8994
8995 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8996 * emulation/ws-mode.el (ws-query-replace):
8997 * sort.el (sort-regexp-fields):
8998 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8999
9000 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * dabbrev.el: Fix cycle completion order (bug#10963).
9003 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9004 (dabbrev-completion): Don't use an obarray; provide
9005 a cycle-sort-function.
9006
9007 2012-03-12 Leo Liu <sdl.web@gmail.com>
9008
9009 * simple.el (kill-new): Use equal-including-properties for comparison.
9010 (kill-do-not-save-duplicates): Doc fix.
9011
9012 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * dabbrev.el: Fix cycle completion (bug#10963).
9015 Use lexical binding and wrap to 80 columns.
9016 (dabbrev-completion): Delay computing the list of completions.
9017
9018 2012-03-12 Kenichi Handa <handa@m17n.org>
9019
9020 * international/quail.el (quail-insert-kbd-layout): Surround each
9021 row by LRO and PDF instead of inserting many LRMs. Pad the left
9022 and right of each non-spacing marks. Insert invisible space
9023 between lower and upper characters to prevent composition.
9024
9025 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * minibuffer.el (minibuffer-complete): Don't get confused when the
9028 function is run twice via different commands (bug#10958).
9029 (complete-with-action): Fix docstring.
9030
9031 2012-03-12 Chong Yidong <cyd@gnu.org>
9032
9033 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9034 (nxml-completion-at-point-function): New function.
9035 (nxml-mode): Use it.
9036 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9037
9038 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9039 Load generated autoloads file before byte compiling (Bug#10970).
9040 (package--make-autoloads-and-compile): New helper fun.
9041
9042 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9043
9044 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9045
9046 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9047
9048 * autorevert.el (auto-revert-handler): Ensure, that
9049 file-readable-p is applied only for local files or in
9050 auto-revert-tail-mode.
9051
9052 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9053
9054 * server.el (server-eval-at): Handle non-tcp connections.
9055 Decode result string.
9056
9057 * server.el (server-msg-size): New constant.
9058 (server-reply-print): New function.
9059 (server-eval-and-print): Use it.
9060 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9061 Handle -print-nonl.
9062
9063 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9064
9065 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9066 (Bug#10987).
9067
9068 2012-03-11 Chong Yidong <cyd@gnu.org>
9069
9070 * simple.el (goto-line): Doc fix (Bug#9938).
9071
9072 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9073
9074 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9075 when finished (Bug#10963).
9076
9077 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9078
9079 * window.el (split-window-below): Fix bug in case where
9080 split-window-keep-point is nil (Bug#10971).
9081
9082 2012-03-11 Juri Linkov <juri@jurta.org>
9083
9084 * replace.el (replace-highlight): Set isearch-word to nil
9085 unconditionally. (Bug#10887)
9086
9087 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9088
9089 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9090 mairix-replace-illegal-chars; all callers changed. Don't remove
9091 ^, ~, and = characters: they are meaningful in mairix search specs.
9092 (mairix-widget-create-query): Add usage information about mairix
9093 search forms: negating words, searching for substrings, etc.
9094
9095 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9096
9097 * international/fontset.el (font-encoding-alist): Add an entry for
9098 ksx1001 (Bug#5667).
9099
9100 2012-03-10 Richard Stallman <rms@gnu.org>
9101
9102 * mail/sendmail.el (mail-encode-header):
9103 Set rfc2047-encode-encoded-words.
9104
9105 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9106
9107 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9108 view buffer means not swapped.
9109 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9110 (rmail-write-region-annotate): Error if real text has disappeared.
9111
9112 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9113
9114 2012-03-10 Chong Yidong <cyd@gnu.org>
9115
9116 * emulation/cua-rect.el (cua--init-rectangles):
9117 * emulation/cua-base.el (cua--init-keymaps):
9118 Add delete-forward-char to remappings (Bug#9666).
9119
9120 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9121
9122 * speedbar.el (speedbar-unhighlight-one-tag-line):
9123 Avoid unhighlighting due to frame switching (Bug#10275).
9124
9125 2012-03-10 Chong Yidong <cyd@gnu.org>
9126
9127 * minibuffer.el (completion-in-region, completion-help-at-point):
9128 Give the completion field overlay a high priority (Bug#6830).
9129
9130 * dired.el (dired-goto-file): Recognize absolute file name
9131 listings (Bug#7126).
9132 (dired-goto-file-1): New helper function.
9133 (dired-toggle-read-only): Inhibit warnings.
9134
9135 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9136
9137 * net/dbus.el (dbus-property-handler): Return empty array if
9138 there are no properties.
9139
9140 2012-03-09 Leo Liu <sdl.web@gmail.com>
9141
9142 * savehist.el (savehist-printable): Stricter check for string
9143 value (Bug#10937).
9144
9145 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9146
9147 * mail/smtpmail.el (smtpmail-send-it):
9148 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9149 valid mbox format.
9150
9151 2012-03-09 Glenn Morris <rgm@gnu.org>
9152
9153 * files.el (dir-locals-find-file):
9154 Don't check result is regular, readable.
9155 (dir-locals-read-from-file): Demote errors.
9156
9157 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9158
9159 * international/quail.el (quail-insert-kbd-layout):
9160 Insert invisible LRM characters before each character in a keyboard
9161 layout cell, to prevent their reordering by bidi display engine.
9162 For details, see the discussion in
9163 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9164
9165 2012-03-08 Alan Mackenzie <acm@muc.de>
9166
9167 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9168 the starting position; make it extend the marked region when
9169 invoked repeatedly - all under appropriate circumstances.
9170 Fixes bugs #5525, #10906.
9171
9172 2012-03-08 Glenn Morris <rgm@gnu.org>
9173
9174 * files.el (locate-dominating-file, dir-locals-find-file):
9175 Undo 2012-03-06 change.
9176
9177 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9178
9179 * international/quail.el (quail-help):
9180 Force bidi-paragraph-direction be left-to-right. See discussion in
9181 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9182 for the reason.
9183
9184 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9185
9186 Avoid superfluous registering of signals. (Bug#10807)
9187
9188 * notifications.el (notifications-on-action-object)
9189 (notifications-on-close-object): New defvars.
9190 (notifications-on-action-signal, notifications-on-closed-signal):
9191 Unregister the signal if not needed any longer.
9192 (notifications-notify): Register `notifications-action-signal' or
9193 `notifications-closed-signal', if :on-action or :on-close has been
9194 passed as argument.
9195
9196 2012-03-07 Chong Yidong <cyd@gnu.org>
9197
9198 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9199 non-X platforms.
9200
9201 2012-03-06 Glenn Morris <rgm@gnu.org>
9202
9203 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9204 (x-disown-selection-internal, x-get-selection-internal):
9205 Doc fix (add arglist signatures). (Bug#10783)
9206
9207 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9208
9209 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9210 Handle breakpoints with no "type".
9211
9212 2012-03-06 Glenn Morris <rgm@gnu.org>
9213
9214 * files.el (locate-dominating-file): Add optional predicate argument.
9215 (dir-locals-find-file): Make use of above change.
9216
9217 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9218
9219 * info.el (Info-insert-dir): Also try "dir.gz".
9220
9221 2012-03-06 Glenn Morris <rgm@gnu.org>
9222
9223 * files.el (dir-locals-find-file):
9224 Ignore non-readable or non-regular files. (Bug#10928)
9225
9226 * files.el (locate-dominating-file): Doc fix.
9227
9228 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9229
9230 * calendar/calendar.el (calendar-set-mode-line):
9231 `getenv' returns a string. (Bug#10951)
9232
9233 2012-03-05 Leo Liu <sdl.web@gmail.com>
9234
9235 * simple.el (backward-delete-char-untabify): Constrain point to
9236 field (Bug#10939).
9237
9238 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9239
9240 2012-03-05 Chong Yidong <cyd@gnu.org>
9241
9242 * simple.el (count-words): If called from Lisp, return the word
9243 count, for symmetry with `count-lines'. Arglist changed.
9244 (count-words--message): Args changed. Consolidate counting code
9245 from count-words and count-words-region.
9246 (count-words-region): Caller changed.
9247 (count-lines-region): Make it an obsolete alias.
9248
9249 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9250
9251 * saveplace.el (save-place-to-alist)
9252 (save-place-ignore-files-regexp): Allow value nil to disable this
9253 feature.
9254
9255 2012-03-04 Chong Yidong <cyd@gnu.org>
9256
9257 * faces.el (face-spec-reset-face): For the default face, reset the
9258 attributes to default values (Bug#10748).
9259
9260 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9261
9262 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9263 previous patch: Check `message-send-mail-function', and not the
9264 default function (bug#10897).
9265
9266 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9267
9268 * notifications.el (notifications-on-action-signal)
9269 (notifications-on-closed-signal): Check for unique service name of
9270 incoming event. Fix error in removing entry.
9271 (top): Register for signals with wildcard service name.
9272 (notifications-notify): Use daemon unique service name for map entries.
9273
9274 2012-03-04 Chong Yidong <cyd@gnu.org>
9275
9276 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9277
9278 2012-03-04 Glenn Morris <rgm@gnu.org>
9279
9280 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9281 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9282 (expand-abbrev, define-abbrev-table): Doc fixes.
9283
9284 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9287 `message-default-send-mail-function' and not `send-mail-function'
9288 when doing the prompting for `sendmail-query-once' before sending
9289 in Message buffers (bug#10897).
9290
9291 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9292 This is inconsistent with all the other stream functions, which leave
9293 the setting up to the higher levels (if so wanted) (bug#10931).
9294
9295 2012-03-02 Alan Mackenzie <acm@muc.de>
9296
9297 Depessimize the handling of very large macros.
9298
9299 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9300 (c-macro-cache-syntactic): New variables to implement a one
9301 element macro cache.
9302 (c-invalidate-macro-cache): New function.
9303 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9304 Adapt to use the new cache.
9305 (c-state-safe-place): Use better the cache of safe positions.
9306 (c-state-semi-nonlit-pos-cache)
9307 (c-state-semi-nonlit-pos-cache-limit):
9308 New variables for...
9309 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9310 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9311 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9312 Use c-state-semi-safe-place.
9313
9314 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9315 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9316
9317 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9318
9319 * jka-compr.el (jka-compr-call-process):
9320 Apply `file-accessible-directory-p' only when the default directory is
9321 not remote.
9322
9323 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9324
9325 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9326 access of FILE2, if FILE1 does not exist.
9327
9328 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9329 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9330
9331 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9332 Add "PAGER=" to `process-environment'.
9333
9334 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9335
9336 * progmodes/sql.el: Bug fix
9337 (sql-get-login-ext): Save login values in globals.
9338 (sql-get-login): Use new version of `sql-get-login-ext'.
9339 (sql-interactive-mode): Set global `sql-connection' to nil.
9340 (sql-connect): Set global values for connection.
9341 (sql-product-interactive): Save global values as buffer local.
9342
9343 2012-02-29 Leo Liu <sdl.web@gmail.com>
9344
9345 * abbrev.el (define-abbrevs): Reset sys to nil.
9346
9347 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9348
9349 * files.el (file-equal-p): Rename from `files-equal-p'.
9350 Return nil when one or both files don't exist.
9351 (file-subdir-of-p): Now only top directory must exists,
9352 return nil if it doesn't.
9353 (copy-directory): No need to test with `file-subdir-of-p' after
9354 creating dir.
9355 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9356 to `file-equal-p'.
9357
9358 2012-02-28 Glenn Morris <rgm@gnu.org>
9359
9360 * shell.el (shell-mode):
9361 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9362 * play/landmark.el (landmark-font-lock-face-O):
9363 * play/handwrite.el (handwrite):
9364 * play/gomoku.el (gomoku-O):
9365 * net/browse-url.el (browse-url-browser-display):
9366 * international/mule.el (define-charset):
9367 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9368 * filesets.el (filesets-find-file-delay):
9369 * eshell/em-xtra.el (eshell-xtra):
9370 * eshell/em-unix.el (eshell-grep):
9371 * emulation/viper.el (viper-mode):
9372 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9373 * emacs-lisp/easymenu.el (easy-menu-define):
9374 * calendar/timeclock.el (timeclock-use-display-time):
9375 * bs.el (bs-mode):
9376 * bookmark.el (bookmark-save-flag):
9377 Doc fix (standardize possessive apostrophe usage).
9378
9379 2012-02-27 Chong Yidong <cyd@gnu.org>
9380
9381 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9382 Fix key-binding lookup for ESC key (Bug#9146).
9383
9384 * font-lock.el (font-lock-specified-p): Rename from
9385 font-lock-spec-present. Callers changed.
9386
9387 2012-02-27 Daniel Hackney <dan@haxney.org>
9388
9389 * emacs-lisp/package.el (package-compute-transaction):
9390 Handle holding a package version to t in package-load-list.
9391
9392 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9395 (tramp-get-inode, tramp-get-device): Use cached values.
9396
9397 2012-02-26 Alan Mackenzie <acm@muc.de>
9398
9399 Check there is a font-lock specification before doing initial
9400 fontification.
9401
9402 * font-core.el (font-lock-mode): Move the conditional from
9403 :after-hook to font-lock-initial-fontify.
9404 (font-lock-default-function): Move the check for a specification
9405 to font-lock-spec-present.
9406
9407 * font-lock.el (font-lock-initial-fontify): Call ...
9408 (font-lock-spec-present): New function.
9409
9410 2012-02-26 Jim Blandy <jimb@red-bean.com>
9411
9412 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9413 (gdb-send): Apply it to the operand of the '-interpreter-exec
9414 console' command, so that we can pass arguments with (say) quotes
9415 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9416
9417 2012-02-26 Chong Yidong <cyd@gnu.org>
9418
9419 * help-fns.el (describe-function-1): Clarify description of
9420 remapping (Bug#10844).
9421
9422 * files.el (files-equal-p): Doc fix.
9423 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9424 and quit the loop once a mismatch is found.
9425
9426 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9427
9428 * bs.el (bs--show-with-configuration): Don't throw an error
9429 if the window cannot be split; otherwise, subsequent calls to
9430 bs-show fail, restoring a stale window config. (Bug#10882)
9431
9432 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9433
9434 * term/ns-win.el (global-map): Bind ns-drag-file to
9435 ns-find-file (Bug#5855, Bug#10050).
9436
9437 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * calendar/parse-time.el (parse-time-string): Allow extractor to
9440 return nil.
9441
9442 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9443
9444 * net/tramp.el (tramp-file-name-for-operation):
9445 Add `files-equal-p' and `file-subdir-of-p'.
9446
9447 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9448 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9449 Add COPY-CONTENTS argument.
9450
9451 2012-02-25 Chong Yidong <cyd@gnu.org>
9452
9453 Add custom groups for VC backends, for consistency with vc-bzr.
9454
9455 * vc/vc-arch.el (vc-arch):
9456 * vc/vc-cvs.el (vc-cvs):
9457 * vc/vc-git.el (vc-git):
9458 * vc/vc-hg.el (vc-hg):
9459 * vc/vc-mtn.el (vc-mtn):
9460 * vc/vc-rcs.el (vc-rcs):
9461 * vc/vc-sccs.el (vc-sccs):
9462 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9463 All relevant defcustoms reassigned.
9464
9465 2012-02-25 Chong Yidong <cyd@gnu.org>
9466
9467 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9468
9469 * term/x-win.el (x-initialize-window-system): Reduce default for
9470 x-selection-timeout to 5 seconds (Bug#8869).
9471
9472 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9473
9474 * files.el (files-equal-p, file-subdir-of-p): New functions.
9475 (copy-directory): Error when trying to copy a directory on itself.
9476 Add missing copy-contents arg to tramp handler.
9477 * dired-aux.el (dired-copy-file-recursive): Same.
9478 (dired-create-files): Modify destination when source is equal to
9479 dest when copying files.
9480 Return also when dest is a subdir of source. (Bug#10489)
9481
9482 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9483
9484 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9485 (Bug#10874)
9486
9487 2012-02-23 Alan Mackenzie <acm@muc.de>
9488
9489 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9490 parameter "after-hook:" to allow the expansion to run code after
9491 the execution of the mode hooks.
9492
9493 * font-lock.el (font-lock-initial-fontify): New function extracted
9494 from font-lock-mode-internal.
9495
9496 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9497 :after-hook.
9498
9499 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9502 (completion--cache-all-sorted-completions): New function.
9503 (completion-all-sorted-completions): Use it.
9504 (completion--do-completion, minibuffer-force-complete):
9505 Use it to re-instate the flush hook.
9506
9507 * icomplete.el (icomplete-completions): Replace last fix with a better
9508 one (bug#10850).
9509
9510 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9511
9512 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9513 when it might call us back infinitely (bug#10797).
9514
9515 2012-02-23 Glenn Morris <rgm@gnu.org>
9516
9517 * minibuffer.el (completion-category-overrides): Doc fix.
9518
9519 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9522 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9523
9524 2012-02-23 Glenn Morris <rgm@gnu.org>
9525
9526 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9527 (authors-obsolete-files-regexps, authors-ignored-files)
9528 (authors-ambiguous-files, authors-renamed-files-alist):
9529 Add more entries.
9530
9531 2012-02-23 Juri Linkov <juri@jurta.org>
9532
9533 * isearch.el (isearch-occur): Sync interactive spec with occur's
9534 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9535
9536 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9537
9538 2012-02-22 Juri Linkov <juri@jurta.org>
9539
9540 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9541 (ucs-insert): Doc fix. Check for hex digits in the string.
9542 Don't display `nil' in the error message. (Bug#10857)
9543
9544 2012-02-22 Alan Mackenzie <acm@muc.de>
9545
9546 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9547
9548 2012-02-22 Glenn Morris <rgm@gnu.org>
9549
9550 * ffap.el (ffap-c-path):
9551 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9552
9553 2012-02-22 Chong Yidong <cyd@gnu.org>
9554
9555 * custom.el (load-theme): Doc fix.
9556
9557 2012-02-22 Glenn Morris <rgm@gnu.org>
9558
9559 * dired-x.el (dired-guess-shell-alist-default):
9560 Remove escape sequences from nroff output. (Bug#172)
9561
9562 2012-02-21 Glenn Morris <rgm@gnu.org>
9563
9564 * vc/emerge.el (emerge-defvar-local):
9565 Set `permanent-local' property rather than unused `preserved'.
9566
9567 * textmodes/picture.el (picture-delete-char): New alias.
9568 (picture-mode-map): Use it. (Bug#10860)
9569 (picture-mode): Doc fix.
9570
9571 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9572
9573 * newcomment.el (uncomment-region-default): Remove unused binding.
9574
9575 2012-02-21 Glenn Morris <rgm@gnu.org>
9576
9577 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9578 (picture-self-insert, picture-tab-chars): Doc fix.
9579 (picture-mode-map): Fix C-a, C-e.
9580
9581 2012-02-20 Glenn Morris <rgm@gnu.org>
9582
9583 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9584
9585 2012-02-20 Leo Liu <sdl.web@gmail.com>
9586
9587 * icomplete.el (icomplete-completions): Check FROM arg before
9588 passing to substring (Bug#10850).
9589
9590 2012-02-19 Chong Yidong <cyd@gnu.org>
9591
9592 * comint.el: Require ansi-color.
9593 (comint-output-filter-functions): Add ansi-color-process-output.
9594
9595 * ansi-color.el: Don't set comint-output-filter-functions; it is
9596 now in the initial value defined in comint.el.
9597 (ansi-color-apply-face-function): New variable.
9598 (ansi-color-apply-on-region): Use it.
9599 (ansi-color-apply-overlay-face): New function.
9600
9601 * shell.el (shell): No need to require ansi-color.
9602 (shell-mode): Use ansi-color-apply-face-function to highlight
9603 color escapes using font-lock-face property (Bug#10835).
9604
9605 2012-02-19 Chong Yidong <cyd@gnu.org>
9606
9607 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9608 mode-line formats (Bug#10839).
9609
9610 2012-02-18 Glenn Morris <rgm@gnu.org>
9611
9612 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9613
9614 * mail/undigest.el (unforward-rmail-message): Doc fix.
9615
9616 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9617
9618 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9619
9620 * international/characters.el (script-list): Sync with the latest
9621 Unicode Character Database.
9622
9623 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9624
9625 * international/titdic-cnv.el: Remove duplicate coding tag.
9626 * language/cham.el: Likewise.
9627 * language/tai-viet.el: Likewise.
9628
9629 2012-02-18 Glenn Morris <rgm@gnu.org>
9630
9631 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9632 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9633 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9634 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9635 * calendar/holidays.el (holiday-bahai-holidays)
9636 (calendar-holidays, list-holidays):
9637 Use utf-8 Bahá'í in doc-strings, menus, etc.
9638
9639 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9640
9641 * saveplace.el (save-place-ignore-files-regexp): New variable
9642 allowing for excluding files from saving their location of point.
9643 The default value matches the temporary commit message editing
9644 files from Git, SVN, Bazaar, and Mercurial.
9645 (save-place-to-alist): Use it.
9646
9647 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9648 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * newcomment.el (uncomment-region-default): Don't leave extra space
9651 when an arg is provided (bug#8150).
9652
9653 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9654
9655 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9656
9657 2012-02-17 Glenn Morris <rgm@gnu.org>
9658
9659 * net/socks.el: Require network-stream. (Bug#10599)
9660
9661 2012-02-17 Kenichi Handa <handa@m17n.org>
9662
9663 * international/charprop.el:
9664 * international/uni-name.el:
9665 * international/uni-old-name.el:
9666 * international/uni-comment.el: Regenerate.
9667
9668 2012-02-16 Glenn Morris <rgm@gnu.org>
9669
9670 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9671 Interactively in calendar buffer, give an error if not on a date.
9672
9673 2012-02-15 Glenn Morris <rgm@gnu.org>
9674
9675 * shell.el (shell-delimiter-argument-list):
9676 Revert 2011-02-17 change. (Bug#8027)
9677
9678 2012-02-15 Chong Yidong <cyd@gnu.org>
9679
9680 * minibuffer.el (completion-at-point-functions): Doc fix.
9681
9682 * custom.el (defcustom): Doc fix; note use of defvar.
9683
9684 2012-02-15 Glenn Morris <rgm@gnu.org>
9685
9686 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9687 Doc fixes.
9688
9689 2012-02-14 Glenn Morris <rgm@gnu.org>
9690
9691 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9692
9693 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9696 way the ports list is computed.
9697 (smtpmail-query-smtp-server): Prompt the user for a port number if
9698 we can't connect to any of the standard ports (bug#10810).
9699
9700 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9701
9702 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9703
9704 2012-02-13 Glenn Morris <rgm@gnu.org>
9705
9706 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9707
9708 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9709
9710 * net/gnutls.el (gnutls-trustfiles): New variable.
9711 (gnutls-negotiate): Use it.
9712
9713 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9714
9715 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9716 does its stuff if Gnus is running.
9717
9718 2012-02-13 Alan Mackenzie <acm@muc.de>
9719
9720 Fix a loop in c-set-fl-decl-start.
9721
9722 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9723 c-backward-syntactic-ws actually moves backwards.
9724
9725 2012-02-13 Leo Liu <sdl.web@gmail.com>
9726
9727 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9728 beginning so that all \C-o chars are removed.
9729
9730 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9731
9732 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9733
9734 2012-02-12 Alan Mackenzie <acm@muc.de>
9735
9736 Fix infinite loop with long macros.
9737 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9738
9739 2012-02-12 Chong Yidong <cyd@gnu.org>
9740
9741 * window.el (display-buffer): Doc fix (Bug#10785).
9742
9743 2012-02-12 Glenn Morris <rgm@gnu.org>
9744
9745 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9746 (x-disown-selection-internal, x-get-selection-internal):
9747 Sync docs with the xselect.c versions.
9748
9749 * allout-widgets.el: Add missing license notice.
9750
9751 2012-02-11 Glenn Morris <rgm@gnu.org>
9752
9753 * select.el (x-get-selection-internal, x-own-selection-internal)
9754 (x-disown-selection-internal):
9755 * x-dnd.el (x-get-selection-internal): Update declarations.
9756
9757 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9758
9759 * window.el (window-sides-slots):
9760 * tool-bar.el (tool-bar-position):
9761 * term/xterm.el (xterm-extra-capabilities):
9762 * ses.el (ses-self-reference-early-detection):
9763 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9764 (verilog-auto-wire-type)
9765 (verilog-auto-delete-trailing-whitespace)
9766 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9767 (verilog-auto-tieoff-declaration):
9768 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9769 (sql-oracle-statement-starters, sql-oracle-scan-on):
9770 * progmodes/prolog.el (prolog-align-comments-flag)
9771 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9772 (prolog-left-indent-regexp, prolog-paren-indent-p)
9773 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9774 (prolog-types, prolog-mode-specificators)
9775 (prolog-determinism-specificators, prolog-directives)
9776 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9777 (prolog-electric-dot-flag)
9778 (prolog-electric-dot-full-predicate-template)
9779 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9780 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9781 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9782 (prolog-program-switches, prolog-prompt-regexp)
9783 (prolog-debug-on-string, prolog-debug-off-string)
9784 (prolog-trace-on-string, prolog-trace-off-string)
9785 (prolog-zip-on-string, prolog-zip-off-string)
9786 (prolog-use-standard-consult-compile-method-flag)
9787 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9788 (prolog-imenu-max-lines, prolog-info-predicate-index)
9789 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9790 (prolog-char-quote-workaround):
9791 * progmodes/cc-vars.el (c-defun-tactic):
9792 * net/tramp.el (tramp-encoding-command-interactive)
9793 (tramp-local-end-of-line):
9794 * net/soap-client.el (soap-client):
9795 * net/netrc.el (netrc-file):
9796 * net/gnutls.el (gnutls):
9797 * minibuffer.el (completion-category-overrides)
9798 (completion-cycle-threshold)
9799 (completion-pcm-complete-word-inserts-delimiters):
9800 * man.el (Man-name-local-regexp):
9801 * mail/feedmail.el (feedmail-display-full-frame):
9802 * international/characters.el (glyphless-char-display-control):
9803 * eshell/em-ls.el (eshell-ls-date-format):
9804 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9805 (lisp-lambda-list-keyword-parameter-indentation)
9806 (lisp-lambda-list-keyword-parameter-alignment):
9807 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9808 * dired-x.el (dired-omit-verbose):
9809 * cus-theme.el (custom-theme-allow-multiple-selections):
9810 * calc/calc.el (calc-highlight-selections-with-faces)
9811 (calc-lu-field-reference, calc-lu-power-reference)
9812 (calc-note-threshold):
9813 * battery.el (battery-mode-line-limit):
9814 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9815 (archive-7z-update):
9816 * allout.el (allout-prefixed-keybindings)
9817 (allout-unprefixed-keybindings)
9818 (allout-inhibit-auto-fill-on-headline)
9819 (allout-flattened-numbering-abbreviation):
9820 * allout-widgets.el (allout-widgets-auto-activation)
9821 (allout-widgets-icons-dark-subdir)
9822 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9823 (allout-widgets-theme-dark-background)
9824 (allout-widgets-theme-light-background)
9825 (allout-widgets-item-image-properties-emacs)
9826 (allout-widgets-item-image-properties-xemacs)
9827 (allout-widgets-run-unit-tests-on-load)
9828 (allout-widgets-time-decoration-activity)
9829 (allout-widgets-hook-error-post-time)
9830 (allout-widgets-track-decoration):
9831 Add missing :version tags to new defcustoms and defgroups.
9832
9833 * progmodes/sql.el (sql-ansi-statement-starters)
9834 (sql-oracle-statement-starters): Add custom type.
9835
9836 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9837 (prolog-system-version): Give it a type.
9838
9839 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9840
9841 * term/pc-win.el (x-select-text, x-selection-owner-p)
9842 (x-own-selection-internal, x-disown-selection-internal)
9843 (x-get-selection-internal): Sync doc strings and argument lists
9844 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9845
9846 2012-02-11 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/python.el (python-end-of-statement): Fix infinite
9849 loop. (Bug#10788)
9850
9851 2012-02-10 Glenn Morris <rgm@gnu.org>
9852
9853 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9854 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9855
9856 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9857
9858 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9859 about SMTP before checking the From header.
9860
9861 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9862 into own function for reuse by emacsbug.el.
9863
9864 2012-02-10 Leo Liu <sdl.web@gmail.com>
9865
9866 * subr.el (condition-case-unless-debug): Rename from
9867 condition-case-no-debug. All callers changed.
9868 (with-demoted-errors): Fix caller.
9869
9870 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9871 * nxml/rng-valid.el (rng-do-some-validation):
9872 * emacs-lisp/package.el (package-refresh-contents)
9873 (package-menu-execute):
9874 * desktop.el (desktop-create-buffer):
9875 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9876
9877 2012-02-10 Glenn Morris <rgm@gnu.org>
9878
9879 * textmodes/bibtex.el:
9880 Add missing :version tags for new/changed defcustoms.
9881
9882 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9883
9884 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9885
9886 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9887 (smtpmail-via-smtp): Use it, or fall back on the From address.
9888 (smtpmail-send-it): Ditto.
9889
9890 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9893 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9894 (byte-compile-tmp-var): New const.
9895 (byte-compile-defvar): Use it to minimize .elc size.
9896 Just use `defvar' rather than simulate it (bug#10761).
9897
9898 2012-02-09 Glenn Morris <rgm@gnu.org>
9899
9900 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9901
9902 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9903 Add :version tags.
9904
9905 * progmodes/compile.el (compilation-error-screen-columns)
9906 (compilation-first-column, compilation-filter-start): Doc fixes.
9907
9908 * vc/log-view.el (log-view-toggle-entry-display):
9909 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9910
9911 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9912 (report-emacs-bug-can-use-xdg-email):
9913 (report-emacs-bug-insert-to-mailer): Doc fixes.
9914 (report-emacs-bug): Message fix.
9915
9916 * net/browse-url.el (browse-url-can-use-xdg-open)
9917 (browse-url-xdg-open): Doc fixes.
9918
9919 * electric.el (electric-indent-mode, electric-pair-mode)
9920 (electric-layout-rules, electric-layout-mode): Doc fixes.
9921 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9922
9923 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9924
9925 * server.el (server-unselect-display): Don't inadvertently kill
9926 the current buffer. (Bug#10729)
9927
9928 2012-02-08 Glenn Morris <rgm@gnu.org>
9929
9930 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9931 (sql-list-table): Doc fixes.
9932
9933 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9934 Comment out (does nothing).
9935
9936 * completion.el (dynamic-completion-mode):
9937 * dirtrack.el (dirtrack-debug-mode):
9938 * electric.el (electric-layout-mode):
9939 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9940 * face-remap.el (text-scale-mode, buffer-face-mode):
9941 * iimage.el (iimage-mode):
9942 * image-mode.el (image-transform-mode):
9943 * minibuffer.el (completion-in-region-mode):
9944 * scroll-lock.el (scroll-lock-mode):
9945 * simple.el (next-error-follow-minor-mode):
9946 * tar-mode.el (tar-subfile-mode):
9947 * tooltip.el (tooltip-mode):
9948 * vcursor.el (vcursor-use-vcursor-map):
9949 * wid-browse.el (widget-minor-mode):
9950 * emulation/tpu-edt.el (tpu-edt-mode):
9951 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9952 * international/iso-ascii.el (iso-ascii-mode):
9953 * language/thai-util.el (thai-word-mode):
9954 * mail/supercite.el (sc-minor-mode):
9955 * net/goto-addr.el (goto-address-mode):
9956 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9957 * progmodes/cwarn.el (cwarn-mode):
9958 * progmodes/flymake.el (flymake-mode):
9959 * progmodes/glasses.el (glasses-mode):
9960 * progmodes/hideshow.el (hs-minor-mode):
9961 * progmodes/pascal.el (pascal-outline-mode):
9962 * textmodes/enriched.el (enriched-mode):
9963 * vc/smerge-mode.el (smerge-mode):
9964 Doc fixes (minor mode argument).
9965
9966 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9967
9968 * ls-lisp.el (ls-lisp-sanitize): New function.
9969 (ls-lisp-insert-directory): Use it to fix or remove any elements
9970 in file-alist with missing attributes. (Bug#4673)
9971
9972 2012-02-07 Alan Mackenzie <acm@muc.de>
9973
9974 Fix spurious recognition of c-in-knr-argdecl.
9975
9976 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9977 putative K&R region.
9978
9979 2012-02-07 Alan Mackenzie <acm@muc.de>
9980
9981 * progmodes/cc-engine.el (c-forward-objc-directive):
9982 Prevent looping in "#pragma mark @implementation".
9983
9984 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9985
9986 * notifications.el (notifications-on-closed-signal): Make `reason'
9987 optional. (Bug#10744)
9988
9989 2012-02-07 Glenn Morris <rgm@gnu.org>
9990
9991 * emacs-lisp/easy-mmode.el (define-minor-mode):
9992 Doc fixes for the macro and the mode it defines.
9993
9994 * image.el (imagemagick-types-inhibit): Doc fix.
9995
9996 * cus-start.el (imagemagick-render-type): Add it.
9997
9998 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9999
10000 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10001 Set the default at load time, too, so that `font-lock-fontify-buffer'
10002 can be called without setting up the entire mode first. This fixes
10003 a bug in `mm-inline-text' with C MIME parts.
10004
10005 2012-02-06 Chong Yidong <cyd@gnu.org>
10006
10007 * simple.el (list-processes--refresh): Delete exited processes
10008 (Bug#8094).
10009
10010 * comint.el (comint-next-prompt): next-single-char-property-change
10011 and prev-single-char-property-change never return nil (Bug#8657).
10012
10013 * custom.el (defcustom): Doc fix (Bug#9711).
10014
10015 2012-02-05 Chong Yidong <cyd@gnu.org>
10016
10017 * cus-edit.el (custom-variable-reset-backup): Quote the value
10018 before storing it in the customized-value property (Bug#6712).
10019 (custom-display): Add a customization type tag.
10020 (custom-buffer-create-internal): Improve tooltip message.
10021
10022 * wid-edit.el (widget-field-value-get): New optional arg to
10023 suppress trailing whitespace truncation.
10024 (character): Use it (Bug#2689).
10025
10026 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10027
10028 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10029 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10030
10031 2012-02-05 Chong Yidong <cyd@gnu.org>
10032
10033 * cus-edit.el (custom-variable-value-create): For mismatched
10034 types, show the current value (Bug#7600).
10035
10036 * custom.el (defcustom): Doc fix.
10037
10038 2012-02-05 Glenn Morris <rgm@gnu.org>
10039
10040 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10041
10042 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10045 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10046 (pp-last-sexp): Use `looking-at-p'.
10047
10048 2012-02-04 Glenn Morris <rgm@gnu.org>
10049
10050 * files.el (revert-buffer):
10051 Doc fix (mention revert-buffer-in-progress-p).
10052
10053 * emacs-lisp/ert-x.el (ert-simulate-command):
10054 Check deferred-action-list (which is obsolete) is bound.
10055
10056 * subr.el (with-wrapper-hook): Doc fixes.
10057
10058 * simple.el (filter-buffer-substring-functions)
10059 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10060
10061 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10062
10063 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10064 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10065
10066 2012-02-04 Leo Liu <sdl.web@gmail.com>
10067
10068 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10069
10070 2012-02-04 Glenn Morris <rgm@gnu.org>
10071
10072 * image.el (image-extension-data): Add obsolete alias.
10073
10074 * isearch.el (isearch-update): Doc fix.
10075
10076 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10077
10078 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10079
10080 2012-02-03 Glenn Morris <rgm@gnu.org>
10081
10082 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10083 (image-animate-timeout): Doc fix.
10084
10085 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10086
10087 2012-02-02 Glenn Morris <rgm@gnu.org>
10088
10089 * server.el (server-auth-dir): Doc fix.
10090 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10091
10092 * subr.el (run-mode-hooks): Doc fix.
10093
10094 2012-02-02 Juri Linkov <juri@jurta.org>
10095
10096 * image-mode.el (image-toggle-display-image): Remove tautological
10097 `major-mode' from the `derived-mode-p' test.
10098
10099 2012-02-02 Kenichi Handa <handa@m17n.org>
10100
10101 * composite.el (compose-region): Cancel previous change.
10102
10103 2012-02-02 Kenichi Handa <handa@m17n.org>
10104
10105 * composite.el (compose-region, compose-string): Signal error for
10106 a null string component (Bug#6988).
10107
10108 2012-02-01 Chong Yidong <cyd@gnu.org>
10109
10110 * view.el (view-buffer-other-window, view-buffer-other-frame):
10111 Handle special modes like view-buffer (Bug#10650).
10112 (view-buffer): Simplify.
10113
10114 * frame.el (set-frame-font): Tweak meaning of third argument.
10115
10116 * dynamic-setting.el (font-setting-change-default-font):
10117 Use set-frame-font (Bug#9982).
10118
10119 2012-02-01 Glenn Morris <rgm@gnu.org>
10120
10121 * progmodes/compile.el (compilation-internal-error-properties):
10122 Respect compilation-first-column in the "*compilation*" buffer.
10123
10124 * emacs-lisp/easy-mmode.el (define-minor-mode):
10125 Relax :variable's test for a named function.
10126
10127 2012-01-31 Alan Mackenzie <acm@muc.de>
10128
10129 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10130 off by one error.
10131
10132 2012-01-31 Chong Yidong <cyd@gnu.org>
10133
10134 * frame.el (set-frame-font): New arg ALL-FRAMES.
10135
10136 * menu-bar.el (menu-set-font): Use set-frame-font.
10137
10138 * faces.el (face-spec-reset-face): Don't apply unspecified
10139 attribute values to the default face.
10140
10141 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * progmodes/cwarn.el (cwarn): Remove dead link.
10144 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10145 Remove * from defcustom docstrings.
10146 (turn-on-cwarn-mode): Make obsolete.
10147 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10148 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10149
10150 2012-01-31 Glenn Morris <rgm@gnu.org>
10151
10152 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10153 Fix :variable handling of mode a symbol not equal to modefun.
10154 Allow named functions to be used as the cdr of :variable.
10155
10156 2012-01-30 Glenn Morris <rgm@gnu.org>
10157
10158 * emacs-lisp/authors.el (authors-fixed-entries):
10159 Remove reference to deleted file rnewspost.el.
10160
10161 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10162
10163 * window.el (window-with-parameter): Remove unused variable `windows'.
10164 (window--side-check): Remove unused variable `code'.
10165 (window--resize-siblings): Remove unused variable `first'.
10166 (adjust-window-trailing-edge): Remove unused variable `failed'.
10167 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10168 Use `let', not `let*'.
10169 (balance-windows-2): Remove unused variable `found'.
10170 (window--state-put-2): Remove unused variable `splits'.
10171 (window-state-put): Remove unused variable `selected'.
10172 (same-window-p): Use `string-match-p'.
10173 (display-buffer-assq-regexp): Remove unused variable `value'.
10174 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10175 Mark argument ALIST as ignored.
10176 (pop-to-buffer): Remove unused variable `old-window'.
10177
10178 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10179
10180 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10181 and .lzma compressed files.
10182
10183 2012-01-29 Chong Yidong <cyd@gnu.org>
10184
10185 * frame.el (window-system-default-frame-alist): Doc fix.
10186
10187 * dynamic-setting.el (font-setting-change-default-font): Don't
10188 change the default face if SET-FONT argument is non-nil (Bug#9982).
10189
10190 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10191
10192 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10193
10194 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10195
10196 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10197 breakpoints in files outside current directory (Bug#6098).
10198
10199 2012-01-29 Chong Yidong <cyd@gnu.org>
10200
10201 * progmodes/python.el: Require ansi-color at top-level.
10202
10203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10204 Define and use in Emacs Lisp mode (Bug#9360).
10205 (lisp-mode-abbrev-table): Add doc.
10206 (lisp-mode-variables): Don't set local-abbrev-table.
10207 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10208
10209 2012-01-28 Roland Winkler <winkler@gnu.org>
10210
10211 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10212
10213 2012-01-28 Roland Winkler <winkler@gnu.org>
10214
10215 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10216 (bibtex-set-dialect): Use it. Either set global values of
10217 dialect-dependent variables or bind these variables buffer-locally
10218 (Bug#10254).
10219 (bibtex-mode): Call bibtex-set-dialect via
10220 hack-local-variables-hook.
10221 (bibtex-dialect): Update docstring.
10222 Add safe-local-variable predicate.
10223 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10224 bibtex-set-dialect.
10225 (bibtex-mode-map): Define menu for each dialect.
10226 (bibtex-entry): Fix docstring.
10227
10228 2012-01-28 Chong Yidong <cyd@gnu.org>
10229
10230 * eshell/esh-arg.el (eshell-quote-argument): New function.
10231
10232 * eshell/esh-ext.el (eshell-invoke-batch-file):
10233 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10234 first arg to eshell-parse-command (Bug#10523).
10235
10236 2012-01-28 Drew Adams <drew.adams@oracle.com>
10237
10238 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10239 `default-directory' is non-nil.
10240
10241 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10242
10243 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10244 line that displays system-configuration-options. (Bug#9924)
10245
10246 2012-01-28 Drew Adams <drew.adams@oracle.com>
10247
10248 * descr-text.el (describe-char): Show information about POS, in
10249 addition to information about the character at POS. Improve and
10250 update the doc string. Change "code point" to "code point in
10251 charset", to avoid confusion with the character's Unicode code
10252 point shown above that. (Bug#10129)
10253
10254 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10255
10256 * descr-text.el (describe-char): Show the raw character, not only
10257 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10258 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10259 for the reasons.
10260
10261 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10262
10263 * emacs-lisp/package.el (package-install):
10264 Run package-refresh-contents if there is no archive yet (Bug#9798).
10265
10266 2012-01-28 Chong Yidong <cyd@gnu.org>
10267
10268 * emacs-lisp/package.el (package-maybe-load-descriptor):
10269 New function, split from package-maybe-load-descriptor.
10270 (package-maybe-load-descriptor): Use it.
10271 (package-download-transaction): Fully load required packages
10272 inside the loop, so that `require' calls work (Bug#10593).
10273 (package-install): No need to call package-initialize now.
10274
10275 2012-01-28 Chong Yidong <cyd@gnu.org>
10276
10277 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10278
10279 * tooltip.el (tooltip-mode): Doc fix.
10280 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10281
10282 * frame.el (set-cursor-color): Doc fix (Bug#352).
10283
10284 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10285 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10286
10287 * cus-edit.el (custom-buffer-create-internal): Fix search button
10288 action (Bug#10542).
10289 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10290
10291 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10292
10293 * dired.el (dired-mark-files-regexp):
10294 Include any subdirectory components. (Bug#10445)
10295
10296 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10297
10298 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10299 Handle [host]:port syntax. (Bug#10533)
10300
10301 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10302
10303 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10304
10305 2012-01-26 Glenn Morris <rgm@gnu.org>
10306
10307 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10308 * term.el (term-raw-escape-map): Use Control-X-prefix.
10309 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10310
10311 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10312
10313 * window.el (window-state-get, window--state-get-1): Don't deal
10314 with fixed-sizeness of windows. Simplify code.
10315
10316 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10317
10318 * window.el (window--state-get-1, window--state-put-2):
10319 Don't save and restore the mark.
10320
10321 2012-01-25 Chong Yidong <cyd@gnu.org>
10322
10323 * custom.el (custom-variable-p): Doc fix.
10324
10325 2012-01-25 Glenn Morris <rgm@gnu.org>
10326
10327 * dired.el (dired-goto-file): Handle some of the more common
10328 characters that `ls -b' escapes. (Bug#10596)
10329
10330 * progmodes/compile.el (compilation-next-error-function):
10331 Respect compilation-first-column in the "*compilation*" buffer.
10332 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10333
10334 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10335
10336 2012-01-24 Glenn Morris <rgm@gnu.org>
10337
10338 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10339
10340 2012-01-24 Julien Danjou <julien@danjou.info>
10341
10342 * color.el (color-rgb-to-hsl): Fix value computing.
10343 (color-hue-to-rgb): New function.
10344 (color-hsl-to-rgb): New function.
10345 (color-clamp, color-saturate-hsl, color-saturate-name)
10346 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10347 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10348
10349 2012-01-24 Glenn Morris <rgm@gnu.org>
10350
10351 * vc/vc-rcs.el (vc-rcs-create-tag):
10352 * vc/vc-sccs.el (vc-sccs-create-tag):
10353 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10354
10355 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10356
10357 * eshell/esh-util.el (eshell-read-hosts-file):
10358 Skip comment lines. (Bug#10549)
10359
10360 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10361
10362 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10363
10364 * subr.el (display-delayed-warnings): Doc fix.
10365 (collapse-delayed-warnings): New function to collapse identical
10366 adjacent warnings.
10367 (delayed-warnings-hook): Add it.
10368
10369 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10370
10371 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10372
10373 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10374 (tramp-default-user-alist): Don't add "pscp".
10375 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10376 property "login-as", if set. (Bug#10530)
10377
10378 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10379
10380 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10381 "plink1" and "psftp". (Bug#10530)
10382
10383 2012-01-21 Kenichi Handa <handa@m17n.org>
10384
10385 * international/mule-cmds.el (prefer-coding-system): Show a
10386 warning message if the default value of file-name-coding-system
10387 was not changed.
10388
10389 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10390
10391 * windmove.el (windmove-reference-loc):
10392 Fix windmove-reference-loc miscalculation.
10393
10394 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10395
10396 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10397 default unit.
10398
10399 2012-01-21 Glenn Morris <rgm@gnu.org>
10400
10401 * international/mule.el (auto-coding-alist): Add .tbz.
10402
10403 * files.el (local-enable-local-variables): Doc fix.
10404 (inhibit-local-variables-regexps): Rename from
10405 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10406 Doc fix. Add some extensions from auto-coding-alist.
10407 (inhibit-local-variables-suffixes):
10408 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10409 (inhibit-local-variables-p):
10410 New function, extracted from set-auto-mode-1.
10411 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10412 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10413 (hack-local-variables): Doc fix. Make the mode-only case
10414 respect enable-local-variables and friends.
10415 Respect inhibit-local-variables-regexps for file-locals, but
10416 not for directory-locals.
10417 (set-visited-file-name):
10418 Take account of inhibit-local-variables-regexps.
10419 Whether it applies may change as the file name is changed.
10420 * jka-cmpr-hook.el (jka-compr-install):
10421 * jka-compr.el (jka-compr-uninstall):
10422 Update for inhibit-first-line-modes-suffixes name change.
10423
10424 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10425
10426 * help-macro.el (make-help-screen): Temporarily restore original
10427 binding for minor-mode-map-alist (Bug#10454).
10428
10429 2012-01-19 Julien Danjou <julien@danjou.info>
10430
10431 * color.el (color-name-to-rgb): Use the white color to find the max
10432 color component value and return correctly computed values.
10433 (color-name-to-rgb): Add missing float conversion for max value.
10434
10435 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10436
10437 * window.el (window--state-get-1, window-state-get): Do not use
10438 special state value for window-persistent-parameters.
10439 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10440 (window--state-put-2): Reset all window parameters to nil before
10441 assigning values of persistent parameters.
10442
10443 2012-01-18 Alan Mackenzie <acm@muc.de>
10444
10445 Eliminate sluggishness and hangs in fontification of "semicolon
10446 deserts".
10447
10448 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10449 Change value 10000 -> 3000.
10450 (c-state-safe-place): Reformulate so it doesn't stack up an
10451 infinite number of wrong entries in c-state-nonlit-pos-cache.
10452 (c-determine-limit-get-base, c-determine-limit): New functions to
10453 determine backward search limits disregarding literals.
10454 (c-find-decl-spots): Amend commenting.
10455 (c-cheap-inside-bracelist-p): New function which detects "={".
10456
10457 * progmodes/cc-fonts.el
10458 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10459 backward search.
10460 (c-font-lock-declarations): Fix an occurrence of point being
10461 undefined. Check additionally for point being in a bracelist or
10462 near a macro invocation without a semicolon so as to avoid a
10463 fruitless time consuming search for a declarator. Give a more
10464 precise search limit for declarators using the new
10465 c-determine-limit.
10466
10467 2012-01-18 Glenn Morris <rgm@gnu.org>
10468
10469 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10470 (set-auto-mode): Doc fixes.
10471
10472 2012-01-17 Glenn Morris <rgm@gnu.org>
10473
10474 * isearch.el (search-nonincremental-instead): Fix doc typo.
10475
10476 * dired.el (dired-insert-directory): Handle newlines in directory name.
10477 (dired-build-subdir-alist): Unescape newlines in directory name.
10478
10479 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10482 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10483 (tramp-action-terminal): Use it. (Bug#10530)
10484
10485 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10488
10489 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10490
10491 * window.el (window-state-ignored-parameters): Remove variable.
10492 (window--state-get-1): Rename argument MARKERS to IGNORE.
10493 Handle persistent window parameters. Make copy of clone-of
10494 parameter only if requested. (Bug#10348)
10495 (window--state-put-2): Install a window parameter only if it has
10496 a non-nil value or an existing parameter shall be overwritten.
10497
10498 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10501
10502 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10503
10504 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10505 don't pass the (nil) value of `upnode' to string-match.
10506
10507 2012-01-14 Chong Yidong <cyd@gnu.org>
10508
10509 * startup.el (command-line): Fix X resource class for cursorColor.
10510 Fix values recognized by the cursorBlink resource.
10511
10512 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10513
10514 * epg.el (epg--make-temp-file): Avoid permission race condition
10515 when running on old Emacs versions (bug#10403).
10516
10517 2012-01-14 Glenn Morris <rgm@gnu.org>
10518
10519 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10520
10521 2012-01-13 Alan Mackenzie <acm@muc.de>
10522
10523 Fix filling for when filladapt mode is enabled.
10524
10525 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10526 c-mask-paragraph, pass in `fill-paragraph' rather than
10527 `fill-region-as-paragraph'. (This is a reversion of a previous
10528 change.)
10529 * progmodes/cc-mode.el (c-basic-common-init):
10530 Make fill-paragraph-handle-comment buffer local and set it to nil.
10531
10532 2012-01-13 Glenn Morris <rgm@gnu.org>
10533
10534 * dired.el (dired-switches-escape-p): New function.
10535 (dired-insert-directory): Use dired-switches-escape-p.
10536 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10537
10538 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10539
10540 2012-01-12 Glenn Morris <rgm@gnu.org>
10541
10542 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10543 changes in adaptive-fill-regexp. (Bug#10276)
10544
10545 2012-01-11 Alan Mackenzie <acm@muc.de>
10546
10547 Fix Emacs bug #10463 - put `widen's around the critical spots.
10548
10549 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10550 widen around each invocation of c-state-pp-to-literal. Remove an
10551 unused let variable.
10552
10553 2012-01-11 Glenn Morris <rgm@gnu.org>
10554
10555 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10556 Doc fix.
10557
10558 2012-01-10 Chong Yidong <cyd@gnu.org>
10559
10560 * net/network-stream.el (network-stream-open-starttls):
10561 Avoid emitting a confusing error message when the server gives a bad
10562 response to the capability command.
10563
10564 2012-01-10 Glenn Morris <rgm@gnu.org>
10565
10566 * mail/unrmail.el (unrmail): Tweak previous change.
10567
10568 2012-01-09 Chong Yidong <cyd@gnu.org>
10569
10570 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10571
10572 2012-01-08 Alan Mackenzie <acm@muc.de>
10573
10574 Optimise font locking in long enum definitions.
10575
10576 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10577 arm to a cond form to handle enums.
10578 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10579 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10580
10581 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10582
10583 * files.el (move-file-to-trash): Preserve default file modes on error.
10584 (Bug#10401)
10585
10586 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
10588 * faces.el (set-face-attribute): Clarify the meaning of the nil
10589 frame (bug#10294).
10590
10591 * subr.el (with-selected-frame): Mention that the selected frame
10592 is restored (bug#9980).
10593
10594 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10595 (bug#9759).
10596
10597 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10598 (password-read): Don't autoload unused function.
10599
10600 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * progmodes/which-func.el (which-func-mode): Turn into a
10603 non-interactive function and mark as obsolete (bug#10428).
10604
10605 2012-01-06 Chong Yidong <cyd@gnu.org>
10606
10607 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10608 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10609 functions, along with 1 and -1.
10610
10611 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10612
10613 * time.el (display-time-load-average)
10614 (display-time-default-load-average): Doc fixes. See the thread
10615 starting at
10616 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10617 for the details.
10618
10619 2012-01-06 Glenn Morris <rgm@gnu.org>
10620
10621 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10622 has no messages. (Bug#10377)
10623
10624 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10625 than Info-edit. (Bug#10385)
10626
10627 * time.el (display-time-load-average, display-time-next-load-average):
10628 Doc fixes.
10629
10630 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10631 local setting of buffer-read-only to the input buffer. (Bug#10419)
10632
10633 * calendar/calendar.el (calendar-mode):
10634 Locally set scroll-margin to 0. (Bug#10379)
10635
10636 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10637
10638 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10639
10640 2012-01-05 Glenn Morris <rgm@gnu.org>
10641
10642 * eshell/em-unix.el (diff-no-select): Autoload it.
10643 (eshell/diff): Use diff-no-select. (Bug#10420)
10644
10645 2012-01-05 Chong Yidong <cyd@gnu.org>
10646
10647 * shell.el (shell-dynamic-complete-functions): Revert last change.
10648 (shell-command-completion-function): New function.
10649 (shell-completion-vars): Use it to implement
10650 shell-completion-execonly (Bug#10417).
10651
10652 * custom.el (enable-theme): Don't set custom-safe-themes.
10653
10654 * cus-theme.el (custom-theme-merge-theme):
10655 Ignore custom-enabled-themes and custom-safe-themes.
10656
10657 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10658
10659 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10660 first prompt in `sql-interacive-mode'.
10661 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10662 keywords.
10663 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10664 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10665 context of original buffer. Invoke `sql-login-hook'.
10666
10667 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10668
10669 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10670 letters in cite-prefix.
10671
10672 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673
10674 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10675
10676 2012-01-03 Chong Yidong <cyd@gnu.org>
10677
10678 * shell.el (shell-dynamic-complete-functions):
10679 Put pcomplete-completions-at-point, so as to try
10680 comint-filename-completion first (Bug#10417).
10681
10682 2012-01-02 Richard Stallman <rms@gnu.org>
10683
10684 * battery.el (battery-status-function):
10685 Detect when to use battery-yeeloong-sysfs.
10686 (battery-echo-area-format): Add string for Yeeloong.
10687 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10688 (battery-yeeloong-sysfs): New function.
10689
10690 2012-01-02 Chong Yidong <cyd@gnu.org>
10691
10692 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10693 (dirtrack): Merge code for handling relative filenames in prompt
10694 from shell-dir-cookie-watcher.
10695 (dirtrack-debug-message): New arg to avoid excess format calls.
10696
10697 * shell.el (shell-dir-cookie-re): Variable deleted.
10698 (shell-dir-cookie-watcher): Function deleted.
10699 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10700 with dirtrack-mode.
10701
10702 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10703
10704 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10705 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10706 libgnutls-26.dll.
10707
10708 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10709
10710 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10711
10712 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10713
10714 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10715 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10716
10717 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10720 also for alternative shells.
10721 (tramp-open-connection-setup-interactive-shell): Check, whether
10722 the shell is a busybox.
10723 (tramp-send-command): Don't suppress multiple prompts for
10724 busyboxes, it hurts.
10725
10726 2011-12-28 Chong Yidong <cyd@gnu.org>
10727
10728 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10729 (gdb-get-source-file): Move mode line update to
10730 gdb-get-source-file (Bug#10087).
10731
10732 2011-12-25 Chong Yidong <cyd@gnu.org>
10733
10734 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10735 gud-gdb-marker-filter without taking it as an argument.
10736 (gud-gdb-run-command-fetch-lines): Caller changed.
10737 (gud-gdb-completion-function): New variable.
10738 (gud-gdb-completion-at-point): Use it.
10739 (gud-gdb-completions-1): Split from gud-gdb-completions.
10740
10741 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10742 function as separate arguments.
10743 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10744 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10745 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10746 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10747 (gdb-stopped, def-gdb-auto-update-trigger)
10748 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10749 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10750 Callers changed.
10751 (gud-gdbmi-completions): New function.
10752 (gdb): Use it for generating the completion table.
10753
10754 2011-12-24 Alan Mackenzie <acm@muc.de>
10755
10756 Introduce a mechanism to widen the region used in context font
10757 locking. Use this to protect declarations from losing their contexts.
10758
10759 * progmodes/cc-langs.el (c-before-font-lock-functions):
10760 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10761 (c-before-context-fontification-functions): New defvar, a list of
10762 functions to be run just before context (etc.) font locking.
10763
10764 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10765 New, functionality extracted from
10766 c-neutralize-syntax-in-and-mark-CPP.
10767 (c-in-after-change-fontification): New variable.
10768 (c-after-change): Set c-in-after-change-fontification.
10769 (c-set-fl-decl-start): Rejig its interface, so it can be called
10770 from both after-change and context fontifying.
10771 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10772 New functions.
10773 (c-standard-font-lock-fontify-region-function): New variable.
10774 (c-font-lock-fontify-region): New function.
10775
10776 2011-12-24 Juri Linkov <juri@jurta.org>
10777
10778 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10779 (Bug#10348)
10780
10781 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10782
10783 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10784 existence of source file. (Bug#10325)
10785
10786 2011-12-23 Alan Mackenzie <acm@muc.de>
10787
10788 Fix unstable fontification inside templates.
10789
10790 * progmodes/cc-langs.el (c-before-font-lock-functions):
10791 Newly created from the singular version. The (c c++ objc) entry now
10792 additionally has c-set-fl-decl-start. The other languages (apart
10793 from AWK) have that as a single entry.
10794
10795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10796 The functionality for "local" declarations has been extracted to
10797 c-set-fl-decl-start.
10798
10799 * progmodes/cc-mode.el (c-common-init, c-after-change):
10800 Changes due to pluralisation of c-before-font-lock-functions.
10801 (c-set-fl-decl-start): New function, extracted from
10802 c-font-lock-enclosing-decls and enhanced.
10803
10804 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10807
10808 2011-12-22 Juri Linkov <juri@jurta.org>
10809
10810 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10811
10812 2011-12-22 Chong Yidong <cyd@gnu.org>
10813
10814 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10815
10816 2011-12-21 Drew Adams <drew.adams@oracle.com>
10817
10818 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10819
10820 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10821
10822 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10823
10824 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10825
10826 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10827 highlighting and support. Fix up comments for capitalization.
10828 (cfengine-mode-debug): New var.
10829 (cfengine3-mode): Change the modeline indicator to "CFE3".
10830 (cfengine3-font-lock-keywords): Improve defun highlighting.
10831 (cfengine2-actions): Rename from `cfengine-actions'.
10832 (cfengine2-font-lock-keywords): Rename from
10833 `cfengine-font-lock-keywords'.
10834 (cfengine2-imenu-expression): Rename from
10835 `cfengine-imenu-expression'.
10836 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10837 (cfengine2-beginning-of-defun): Rename from
10838 `cfengine-beginning-of-defun'.
10839 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10840 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10841 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10842 modeline indicator to "CFE2".
10843 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10844 (cfengine-mode-abbrevs): Mark obsolete.
10845
10846 2011-12-21 Chong Yidong <cyd@gnu.org>
10847
10848 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10849 filename argument.
10850
10851 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (window-normalize-buffer-to-display): Remove.
10854 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10855
10856 2011-12-19 Chong Yidong <cyd@gnu.org>
10857
10858 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10859 Don't signal an error in a predicate function; return non-nil.
10860 (vc-dir-mark-file): Move the error here.
10861 (vc-dir-mark-unmark): If acting on the region, keep going if one
10862 of the entries cannot be marked/unmarked.
10863 (vc-dir-mark-all-files): If current entry is a directory, mark
10864 only child files, as documented.
10865
10866 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10867
10868 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10869 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10870 addition.
10871
10872 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10873
10874 * term/ns-win.el (ns-get-selection-internal)
10875 (ns-store-selection-internal): Declare.
10876 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10877 Declare as obsolete.
10878 (ns-get-pasteboard, ns-paste-secondary):
10879 Use ns-get-selection-internal.
10880 (ns-set-pasteboard, ns-copy-including-secondary):
10881 Use ns-store-selection-internal.
10882
10883 2011-12-17 Chong Yidong <cyd@gnu.org>
10884
10885 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10886 (vc-deduce-fileset): Doc fix.
10887
10888 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10889
10890 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10891
10892 2011-12-13 Sam Steingold <sds@gnu.org>
10893
10894 * man.el (Man-getpage-in-background): When running under a
10895 window-system, ignore $MANWIDTH and $COLUMNS.
10896
10897 2011-12-15 Kenichi Handa <handa@m17n.org>
10898
10899 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10900 (setup-ethiopic-environment-internal): Comment out key-binding for
10901 ethio-toggle-punctuation.
10902
10903 2011-12-13 Alan Mackenzie <acm@muc.de>
10904
10905 Add the switch statement to AWK Mode.
10906
10907 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10908 "default" to the keywords regexp.
10909
10910 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10911 expression as the rest.
10912 (c-nonlabel-token-key): Allow string literals for AWK.
10913 Refactor for the other modes.
10914
10915 Large brace-block initialisation makes CC Mode slow: Fix.
10916 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10917 routines. Limit backward searching in c-font-lock-enclosing.decl.
10918
10919 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10920 pp-state and literal type in addition to the limits.
10921 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10922 (c-state-literal-at): Use the above new defun.
10923 (c-slow-in-literal, c-fast-in-literal): Remove.
10924 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10925
10926 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10927 being in a literal. Add a limit for backward searching.
10928
10929 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10930 c-slow-in-literal.
10931
10932 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10935
10936 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10937
10938 * window.el (delete-other-windows): Use correct frame in call to
10939 window-with-parameter.
10940
10941 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10942
10943 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10944 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10945 (makefile-gmake-statements, makefile-makepp-statements):
10946 Use it and add new makepp keywords.
10947 (makefile-makepp-font-lock-keywords): Add new patterns.
10948 (makefile-match-function-end): Match new [...] and [[...]].
10949
10950 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * ses.el (ses-call-printer-return, ses-cell-property-get)
10953 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10954 (ses-create-cell-variable, ses-reset-header-string)
10955 (ses-cell-set-formula, ses-repair-cell-reference-all)
10956 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10957 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10958 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10959 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10960 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10961 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10962 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10963 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10964 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10965 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10966 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10967 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10968
10969 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10970
10971 * ses.el: The overall change is to add cell renaming, that is
10972 setting fancy names for cell symbols other than name matching
10973 "\\`[A-Z]+[0-9]+\\'" regexp .
10974 (ses-create-cell-variable): New defun.
10975 (ses-relocate-formula): Relocate formulas only for cells the
10976 symbols of which are not renamed, i.e. symbols whose names do not
10977 match regexp "\\`[A-Z]+[0-9]+\\'".
10978 (ses-relocate-all): Relocate values only for cells the symbols of
10979 which are not renamed.
10980 (ses-load): Create cells variables as the (ses-cell ...) are read,
10981 in order to check row col consistency with cell symbol name only
10982 for cells that are not renamed.
10983 (ses-replace-name-in-formula): New defun.
10984 (ses-rename-cell): New defun.
10985
10986 2011-12-11 Chong Yidong <cyd@gnu.org>
10987
10988 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10989 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10990
10991 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10992
10993 * window.el (other-window): Fix docstring.
10994
10995 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10996
10997 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10998 `from' or `to' address before taking its substring.
10999 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11000 encoded name is chopped in the middle of the encoded string, and
11001 thus displayed encoded.
11002
11003 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11006
11007 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11008
11009 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11010 to use texinfo-update-node and commands that call it if the
11011 Texinfo file uses @node lines without next/prev/up pointers.
11012 Correct outdated description about texinfo-master-menu.
11013 (texinfo-all-menus-update, texinfo-master-menu)
11014 (texinfo-update-node, texinfo-every-node-update)
11015 (texinfo-multiple-files-update): Doc fix. Warn against updating
11016 all the @node lines.
11017 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11018 argument is numeric. Explain better in the doc string what the
11019 function really does.
11020 (texinfo-insert-master-menu-list): Improve the error message
11021 displayed if there's no menu in the Top node.
11022 (Bug#2975) See also this thread:
11023 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11024
11025 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11026
11027 * speedbar.el (speedbar-supported-extension-expressions):
11028 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11029
11030 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11031
11032 * printing.el (pr-mode-alist):
11033 * simple.el (filter-buffer-substring-functions)
11034 (completion-list-insert-choice-function):
11035 * window.el (window-with-parameter, window-atom-root)
11036 (window-sides-slots, window-size-fixed, window-min-delta)
11037 (window-max-delta, window--resize-mini-window)
11038 (window--resize-child-windows-normal, window-tree)
11039 (delete-other-windows, quit-window, split-window)
11040 (display-buffer-record-window, special-display-buffer-names)
11041 (special-display-regexps, special-display-popup-frame)
11042 (same-window-p, split-window-sensibly)
11043 (display-buffer-overriding-action, display-buffer-alist)
11044 (display-buffer-base-action, display-buffer, switch-to-buffer)
11045 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11046 (fit-window-to-buffer, recenter-positions)
11047 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11048 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11049 and remove unneeded backslashes in docstrings.
11050
11051 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11052
11053 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11054
11055 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11056 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11057 end in ".mk".
11058 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11059 when reading the makefile (bug#10116).
11060
11061 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11064 (bug#10116).
11065
11066 2011-12-06 Glenn Morris <rgm@gnu.org>
11067
11068 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11069
11070 2011-12-06 Chong Yidong <cyd@gnu.org>
11071
11072 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11073
11074 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * textmodes/table.el (table-shorten-cell): Fix typo.
11077
11078 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11079
11080 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11081
11082 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11083
11084 * descr-text.el (describe-char): Fix display of strong
11085 right-to-left characters and directional embeddings and overrides.
11086
11087 * simple.el (what-cursor-position): Fix display of codepoints of
11088 strong right-to-left characters.
11089
11090 2011-12-05 Chong Yidong <cyd@gnu.org>
11091
11092 * faces.el (read-color): Doc fix.
11093
11094 2011-12-05 Glenn Morris <rgm@gnu.org>
11095
11096 * align.el (align--set-marker): Add doc-string.
11097 Don't try to move something that is not a marker. (Bug#10216)
11098
11099 2011-12-04 Glenn Morris <rgm@gnu.org>
11100
11101 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11102 overly zealous deletion of trailing whitespace.
11103
11104 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * server.el (server-delete-client): On Windows, do not try to delete
11107 the only terminal.
11108 (server-process-filter): On Windows, treat requests for a tty frame as
11109 if they were for a GUI frame if the running server is in GUI mode.
11110
11111 2011-12-03 Glenn Morris <rgm@gnu.org>
11112
11113 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11114
11115 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * electric.el: Streamline electric-indent's hook.
11118 (electric-indent-chars): Revert to simple list.
11119 (electric-indent-functions): New var.
11120 (electric-indent-post-self-insert-function): Use it.
11121
11122 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11123 there's no inferior buffer (bug#10196).
11124 (prolog-consult-compile): Don't use toggle-read-only.
11125
11126 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11127
11128 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11129 interrupt. (Bug#10187)
11130
11131 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11134 (bug#9160).
11135
11136 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11137 (bug#10191).
11138
11139 2011-12-02 Juri Linkov <juri@jurta.org>
11140
11141 * info.el (Info-search): Display "end of manual" when Isearch
11142 reaches the end of single-file Info manual. (Bug#9918)
11143
11144 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11145
11146 * isearch.el (isearch-message-prefix): Run the input method part
11147 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11148
11149 2011-12-02 Juri Linkov <juri@jurta.org>
11150
11151 * isearch.el (isearch-occur): Use `word-search-regexp' for
11152 `isearch-word'.
11153 (isearch-search-and-update): Add condition for `isearch-word' and
11154 call `word-search-regexp'. (Bug#10145)
11155
11156 2011-12-01 Glenn Morris <rgm@gnu.org>
11157
11158 * eshell/em-hist.el (eshell-hist-initialize):
11159 Handle eshell-history-size nil and HISTSIZE set or unset.
11160 (eshell-history-file-name, eshell-history-size): Fix custom type.
11161
11162 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11165
11166 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11167
11168 * progmodes/verilog-mode.el (verilog-pretty-expr):
11169 Rework verilog-pretty-expr to handle new assignment operators in system
11170 verilog, such as += *= and the like.
11171 (verilog-assignment-operator-re): Regular expression to find the
11172 assigment operator in a verilog assignment.
11173 (verilog-assignment-operation-re): Regular expression to find an
11174 assignment statement for pretty-expr.
11175 (verilog-in-attribute-p): Query returns true if point is in an
11176 attribute context; used to skip these for expression line up from
11177 pretty-expr.
11178 (verilog-in-parameter-p): Query returns true if point is in an
11179 parameter definition context; used to skip these for expression
11180 line up from pretty-expr.
11181 (verilog-in-parenthesis-p): Query returns true if point is in a
11182 parenthetical expression, specifically ( ) but not [ ] or { };
11183 used by pretty-expr.
11184 (verilog-just-one-space): If there is no space, don't add one.
11185 (verilog-get-lineup-indent-2): Specifically skip just attribute
11186 contexts for expression lineup, rather than skipping all
11187 parenthetical expressions.
11188 (verilog-calculate-indent): Fix comment, and fix indent.
11189 (verilog-do-indent): Indent declarations in lists (suggested by
11190 Joachim Lechner).
11191 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11192 skeleton items.
11193 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11194 by Alain Mellan).
11195
11196 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11197
11198 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11199 parameters with embedded comments. Reported by Ray Stevens.
11200 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11201 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11202 Reported by Tim Holt.
11203 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11204 instantiated by upper module causing wrong expansion until AUTOed a
11205 second time. Reported by K C Buckenmaier.
11206 (verilog-diff-auto): Fix showing .* as a difference when
11207 `verilog-auto-star-save' off. Reported by Dan Dever.
11208 (verilog-auto-reset, verilog-read-always-signals)
11209 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11210 temporary signals in reset list if
11211 verilog-auto-reset-blocking-in-non is nil, and match assignment
11212 style to each signal's assignment type, bug381.
11213 Reported by Thomas Esposito.
11214 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11215 (verilog-uvm-statement-re): Support UVM indentation and
11216 highlighting, with old OVM keywords only.
11217 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11218 Support AUTOTIEOFF creating non-wire data types.
11219 Suggested by Jonathan Greenlaw.
11220 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11221 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11222 (verilog-inject-sense, verilog-read-inst-pins)
11223 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11224 Fix mismatching parenthesis inside commented out code when deleting
11225 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11226 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11227 non-numeric vector width. Reported by Alex Reed.
11228 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11229 detecting signals with parameter widths. Reported by Alex Reed.
11230 (verilog-auto-delete-trailing-whitespace):
11231 With `verilog-auto-delete-trailing-whitespace' remove trailing
11232 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11233 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11234 Fix verilog-scan-cache corruption when running user AUTO expansion
11235 hooks that call indentation routines.
11236 (verilog-simplify-range-expression): Fix typo ignoring lower case
11237 identifiers.
11238 (verilog-delete-auto): Fix delete-autos to also remove user created
11239 automatics, as long as they start with AUTO.
11240 (verilog-batch-diff-auto, verilog-diff-auto)
11241 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11242 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11243 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11244 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11245 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11246 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11247 is disabled and its cache will get corrupt, causing AUTOS not to
11248 expand. Instead use only -quick functions.
11249 (verilog-scan-region): Fix scanning over escaped quotes.
11250 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11251 (verilog-re-search-backward-quick)
11252 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11253 related functions now ignore strings, to fix misparsing of strings
11254 with magic comments embedded in them.
11255 (verilog-read-auto-template):
11256 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11257 Reported by Brad Dobbie.
11258 (verilog-read-auto-template):
11259 Fix 'verilog-auto-inst-template-numbers' with comments.
11260 Reported by Brad Dobbie.
11261 (verilog-auto-inst, verilog-auto-inst-param)
11262 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11263 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11264 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11265 debugging templates without merge conflicts, bug357.
11266 Reported by Brad Dobbie.
11267 (verilog-read-auto-template):
11268 Fix verilog-auto-inst-template-numbers with multiple templates.
11269 Reported by Brad Dobbie.
11270 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11271 abbrevs so user won't be asked to save.
11272 (verilog-read-auto-lisp-present): Fix to start at beginning of
11273 buffer in case called outside of verilog-auto.
11274 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11275 to "X-2". Reported by Matthew Myers.
11276 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11277 all inputs from module templates. Reported by Leith Johnson.
11278 (verilog-module-inside-filename-p): Fix locating programs as with
11279 modules.
11280 (verilog-auto-inst-port): Fix vl-width expressions when using
11281 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11282 (verilog-decls-get-regs, verilog-decls-get-signals,
11283 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11284 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11285 verilog-read-decls): Combine reg and wire structures into one var
11286 structure to represent SystemVerilog concepts.
11287 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11288 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11289 (verilog-auto-wire-type, verilog-insert-definition):
11290 Add verilog-auto-wire-type and AUTOLOGIC to support using
11291 SystemVerilog "logic" keyword instead of "wire"/"reg".
11292 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11293 to declares outputs that also have assignments (presumably in an
11294 ifdef or generate if so there's not a driver conflict).
11295 Reported by Matthew Myers.
11296 (verilog-auto-declare-nettype, verilog-insert-definition):
11297 Add verilog-auto-declare-nettype to fix declarations using
11298 `default_nettype none. Reported by Julian Gorfajn.
11299 (verilog-read-always-signals-recurse, verilog-read-decls)
11300 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11301 malformed end statement, bug325. Reported by Joshua Wise and
11302 Andrew Drake.
11303 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11304 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11305 when expanding .* in interfaces, bug320.
11306 Reported by Pierre-David Pfister.
11307 (verilog-read-module-name): Fix import statements between module
11308 name and open parenthesis, bug317.
11309 Reported by Pierre-David Pfister.
11310 (verilog-simplify-range-expression): Fix simplification of
11311 multiplications inside AUTOWIRE connections, bug303.
11312 (verilog-auto-inst-port): Support parameter expansion in
11313 multidimensional arrays.
11314 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11315 after "assert property". Reported by Julian Gorfajn.
11316 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11317 with multiplication, bug303.
11318 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11319 Reported by Jan Frode Lonnum.
11320
11321 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11322
11323 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11324 (hfy-shell-file-name, hfy-shell):
11325 * international/fontset.el (x-decompose-font-name): Fix typos.
11326
11327 2011-11-29 Ken Brown <kbrown@cornell.edu>
11328
11329 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11330 (gdb-version): Remove defvar.
11331 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11332 (gdb-gud-context-command, gdb-non-stop-handler)
11333 (gdb-current-context-command, gdb-stopped): Use it.
11334 (gdb-init-1): Enable pretty printing here.
11335 (gdb-non-stop-handler): Don't enable pretty-printing here.
11336 Check to see if the target supports non-stop mode; if not, turn off
11337 non-stop mode. Use the following.
11338 (gdb-check-target-async): New defun.
11339 (gud-watch, gdb-stopped): Fix whitespace.
11340 (gdb-get-source-file): Don't try to display the source file if
11341 `gdb-main-file' is nil.
11342
11343 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * align.el: Try to generate fewer markers (bug#10047).
11346 (align--set-marker): New macro.
11347 (align-region): Use it.
11348
11349 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11352
11353 2011-11-29 Chong Yidong <cyd@gnu.org>
11354
11355 * indent.el (indent-for-tab-command, indent-according-to-mode):
11356 Doc fix.
11357 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11358
11359 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11360
11361 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11362 aware of remote file names. (Bug#10124)
11363
11364 2011-11-29 Chong Yidong <cyd@gnu.org>
11365
11366 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11367
11368 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * files.el (find-file): Don't use force-same-window (bug#10144).
11371 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11372 use pop-to-buffer if the selected window can't be used.
11373 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11374
11375 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11376
11377 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11378 special-mode-map.
11379
11380 2011-11-28 Chong Yidong <cyd@gnu.org>
11381
11382 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11383
11384 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11385
11386 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11387 gdb-get-source-file-list on gdb-create-source-file-list.
11388
11389 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11390
11391 * whitespace.el (whitespace-newline): Use a different foreground
11392 color for 16-color light-background displays.
11393
11394 2011-11-24 Chong Yidong <cyd@gnu.org>
11395
11396 * window.el (display-buffer--special-action): Doc fix.
11397
11398 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11401 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11402 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11403 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11404 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11405 (avl-tree-stack-first):
11406 * emacs-lisp/cconv.el (cconv--analyse-use):
11407 * net/gnutls.el (gnutls-negotiate): Fix typos.
11408
11409 2011-11-24 Glenn Morris <rgm@gnu.org>
11410
11411 * lpr.el (lpr-windows-system, lpr-lp-system):
11412 * mail/binhex.el (binhex-begin-line):
11413 * progmodes/grep.el (grep-history, grep-find-history):
11414 * textmodes/flyspell.el:
11415 * vc/pcvs-defs.el (cvs-global-menu):
11416 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11417 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11418 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11419
11420 * net/tls.el: Fix case of "GnuTLS".
11421
11422 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11423
11424 * version.el (emacs-build-system): Give it a doc-string.
11425
11426 2011-11-24 Juri Linkov <juri@jurta.org>
11427
11428 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11429
11430 2011-11-24 Glenn Morris <rgm@gnu.org>
11431
11432 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11433 if called on a non-mime message just toggle the headers. (Bug#8006)
11434
11435 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11436
11437 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11438 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11439 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11440 (allout-rebullet-heading, allout-open-sibtopic)
11441 (allout-toggle-current-subtree-encryption)
11442 (allout-toggle-subtree-encryption, allout-encrypt-string)
11443 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11444 (allout-distinctive-bullets-string, allout-auto-activation):
11445 * window.el (window-normalize-buffer-to-display):
11446 * progmodes/verilog-mode.el (verilog-batch-indent):
11447 * textmodes/bibtex.el (bibtex-field-braces-opt)
11448 (bibtex-field-strings-opt):
11449 * vc/cvs-status.el (cvs-tree-merge):
11450 Fix typos.
11451
11452 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11455 `non-essential' to t, in order to avoid remote connections.
11456
11457 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11458
11459 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11460 On MS-DOS and MS-Windows, compare with loaddefs.el
11461 case-insensitively.
11462
11463 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11464
11465 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11466
11467 2011-11-23 Glenn Morris <rgm@gnu.org>
11468
11469 * paths.el (rmail-file-name): Reformat the doc-string so that it
11470 is picked up.
11471
11472 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11473 (rmail-auto-file): Ignore case in the "special" field names,
11474 as mail-fetch-field does for all others.
11475
11476 * mail/rmail.el (rmail-forward):
11477 * mail/rmailkwd.el (rmail-set-label):
11478 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11479 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11480
11481 * mail/rmail.el (rmail-current-message): Doc fix.
11482
11483 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11484
11485 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11488
11489 2011-11-22 Glenn Morris <rgm@gnu.org>
11490
11491 * mail/rmailmm.el (test-rmail-mime-handler)
11492 (test-rmail-mime-bulk-handler)
11493 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11494
11495 2011-11-21 Juri Linkov <juri@jurta.org>
11496
11497 * calc/calc.el (calc-read-key-sequence):
11498 Let-bind `input-method-function' to nil. (Bug#10018)
11499
11500 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11501
11502 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11503 Tell the caller that the next line needs recomputation, even
11504 though it doesn't start a sexp (bug#10094).
11505
11506 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11509
11510 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11513 Use force-same-window.
11514
11515 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * descr-text.el (describe-char-unicode-data):
11518 * json.el (json-string-escape):
11519 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11520 (Footnote-unicode, Footnote-style-p):
11521 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11522
11523 2011-11-20 Chong Yidong <cyd@gnu.org>
11524
11525 * window.el (replace-buffer-in-windows): Restore interactive spec.
11526
11527 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11530
11531 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11532 (byte-compile-global-not-obsolete-vars): New var.
11533 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11534 Use it.
11535 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11536
11537 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11540 * progmodes/pascal.el (electric-pascal-equal):
11541 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11542 * xml.el (xml-substitute-special): Fix typos.
11543
11544 2011-11-20 Glenn Morris <rgm@gnu.org>
11545
11546 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11547 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11548 Doc fixes.
11549 (rmail-decode-mime-charset): Mark as obsolete.
11550
11551 * mail/rmailsum.el (rmail-message-regexp-p-1):
11552 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11553 Before using mime functions, check they are set. (Bug#10077)
11554
11555 2011-11-19 Juri Linkov <juri@jurta.org>
11556
11557 * info.el (Info-finder-find-node): Use `package--builtins' instead
11558 of `package-alist'. Use node names formed by the pattern "Keyword "
11559 and the keyword name.
11560
11561 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11562
11563 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11564
11565 2011-11-19 Juri Linkov <juri@jurta.org>
11566
11567 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11568 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11569 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11570 `old-history', `old-history-forward'. Add let-binding
11571 `window-selected'. Remove calls to `kill-buffer',
11572 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11573 before calling `Info-find-node', so `Info-find-node-2' will reread
11574 the Info file. Restore window positions only when `window-selected'
11575 is non-nil.
11576
11577 2011-11-19 Juri Linkov <juri@jurta.org>
11578
11579 * isearch.el (isearch-lazy-highlight-new-loop):
11580 Remove condition `(not isearch-error)'. (Bug#9918)
11581
11582 * misearch.el (multi-isearch-search-fun): Add condition
11583 `(not bound)' to ignore lazy-highlighting search.
11584 Add the search-failed message "end of multi" when the end of
11585 multi-sequence is reached. Uncapitalize the search-failed
11586 message "Repeat for next buffer".
11587
11588 * info.el (Info-search): Add the search-failed message
11589 "end of the manual" when the end of the manual is reached
11590 in Isearch mode.
11591
11592 2011-11-19 Juri Linkov <juri@jurta.org>
11593
11594 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11595 Use non-destructive `remove' instead of `delete' because
11596 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11597 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11598
11599 2011-11-19 Juri Linkov <juri@jurta.org>
11600
11601 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11602 to nil instead of binding `search-ring' and `regexp-search-ring'.
11603 (Bug#9185)
11604
11605 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11606
11607 * simple.el (line-move): Force movement by logical lines for any
11608 hscrolled window, not only when auto-hscroll-mode is on.
11609 (line-move-visual): Update doc string to that effect. (Bug#10076)
11610
11611 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * language/european.el (macintosh): Define as alias for mac-roman.
11614
11615 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11616
11617 * mail/rmailmm.el (rmail-mime-display-header)
11618 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11619 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11620 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11621 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11622 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11623 of a raw aref.
11624 (rmail-mime-entity-segment): To get past the tagline, move forward
11625 2 more lines, to account for the 2 empty lines that precede and
11626 follow the line with the buttons.
11627 (rmail-mime-update-tagline): Move one more line, to get past the
11628 empty line that follows the buttons in the tagline. (Bug#9520)
11629
11630 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11631
11632 * window.el (window-max-delta-1, window-min-delta-1)
11633 (window-min-size-1, window-state-get-1, window-state-put-1)
11634 (window-state-put-2): Use "window--" prefix.
11635
11636 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11639 (smie-warning-count): New var.
11640 (smie-set-prec2tab): Use it.
11641 (smie-bnf->prec2): Improve warnings. Add docstring.
11642 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11643 (smie-bnf--set-class): New function.
11644 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11645 corner case.
11646
11647 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11648 (compilation-error-properties, compilation-move-to-column):
11649 Handle compilation-first-column while in the target buffer.
11650
11651 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11652 Don't hardcode point-min==1.
11653
11654 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11655 (eshell-rewrite-for-command): Remove workaround.
11656 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11657 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11658 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11659
11660 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11661
11662 2011-11-17 Glenn Morris <rgm@gnu.org>
11663
11664 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11665 Ignore buffer-local generated-autoload-file if it is the same
11666 as the global value. (Bug#10049)
11667
11668 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11671 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11672 (reftex-toc-previous-heading, reftex-toc-max-level)
11673 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11674 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11675 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11676 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11677 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11678 (reftex-toc-rename-label, reftex-toc-visit-location)
11679 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11680 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11681 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11682 leaving "*toc*" only for references to the buffer.
11683
11684 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11685
11686 * window.el (window-resize, delete-window, split-window):
11687 Replace window-splits by window-combination-resize.
11688 * cus-start.el (window-splits): Replace by window-combination-resize.
11689
11690 2011-11-17 Glenn Morris <rgm@gnu.org>
11691
11692 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11693 Make bash entry derive from sh entry, not shell entry.
11694
11695 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11698 local file name.
11699
11700 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * menu-bar.el (menu-bar-file-menu):
11703 * printing.el (pr-ps-utility):
11704 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11705 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11706 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11707 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11708 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11709 (icalendar--convert-cyclic-to-ical)
11710 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11711 (icalendar--convert-ical-to-diary)
11712 (icalendar--convert-recurring-to-diary)
11713 (icalendar--convert-non-recurring-all-day-to-diary)
11714 (icalendar-import-format-sample):
11715 * progmodes/idlw-shell.el (idlwave-shell-mode):
11716 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11717 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11718 (vhdl-ps-print-init): Fix typos.
11719
11720 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11721
11722 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11723 FSF and collapse date sequence, obscure author/maintainer email address
11724 better, remove extra version line, track relocation of author's webpage.
11725
11726 * progmodes/python.el (python-pdbtrack-input-prompt)
11727 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11728 regular python pdb prompts. Adjustments shamelessly taken exactly as
11729 suggested in EmacsWiki page (tiny change):
11730 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11731
11732 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * expand.el (expand-pos, expand-index, expand-point):
11735 Remove redundant info from docstring.
11736 (expand-add-abbrevs): Doc fix.
11737 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11738 (expand-sample-perl-mode-expand-list): Fix typos.
11739
11740 * net/dbus.el (dbus-event-member-name):
11741 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11742 * term/pc-win.el (msdos-create-frame-with-faces):
11743 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11744
11745 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11746
11747 * window.el (split-window, window-state-get-1)
11748 (window-state-put-1, window-state-put-2): Rename occurrences of
11749 window-nest to window-combination-limit.
11750 * cus-start.el (window-nest): Rename to window-combination-limit.
11751
11752 2011-11-16 Chong Yidong <cyd@gnu.org>
11753
11754 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11755 regexp (Bug#10033).
11756
11757 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11760 `completing-read' will remove *Completions* and will preserve
11761 current-buffer for us.
11762 (tmm-add-prompt): Users of *Completions* will always (re)set its
11763 major mode.
11764 (tmm-old-comp-map): Remove.
11765
11766 2011-11-16 Glenn Morris <rgm@gnu.org>
11767
11768 * mail/rmailedit.el: Require rmailmm when compiling.
11769 (rmail-old-mime-state): New declaration.
11770 (rmail-edit-current-message): If editing a mime message,
11771 edit the "raw" message from the mbox buffer.
11772 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11773
11774 2011-11-15 Glenn Morris <rgm@gnu.org>
11775
11776 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11777 which wasn't being used. Add optional arg to force given state.
11778 (rmail-mime): Add optional arg to force given state.
11779
11780 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11781
11782 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11783 * frame.el (display-mm-dimensions-alist):
11784 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11785 (outline-move-subtree-down):
11786 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11787 (newsticker--treeview-do-get-node):
11788 * net/quickurl.el (quickurl-list-buffer-name):
11789 * progmodes/dcl-mode.el (dcl-mode):
11790 * progmodes/gdb-mi.el (gdb-mapcar*):
11791 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11792
11793 2011-11-15 Glenn Morris <rgm@gnu.org>
11794
11795 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11796 in a boolean sense, so just make it a boolean, and fix the doc.
11797 (rmail-show-mime-function, rmail-mime-feature)
11798 (rmail-require-mime-maybe): Doc fixes.
11799 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11800
11801 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11802
11803 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11804
11805 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11806 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11807 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11808 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11809
11810 2011-11-15 Glenn Morris <rgm@gnu.org>
11811
11812 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11813 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11814 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11815 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11816 (rmail-mime, rmail-show-mime): Doc fixes.
11817
11818 * term/ns-win.el (mode-line-frame-identification):
11819 Leave it alone. (Bug#10051)
11820
11821 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11822
11823 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11824 Handle empty buffers. (Bug#9978)
11825
11826 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * international/mule.el (define-charset):
11829 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11830 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11831 * progmodes/verilog-mode.el (verilog-backward-token):
11832 * textmodes/ispell.el (lookup-words):
11833 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11834
11835 2011-11-14 Glenn Morris <rgm@gnu.org>
11836
11837 * progmodes/executable.el
11838 (executable-make-buffer-file-executable-if-script-p):
11839 Handle file-modes returning nil.
11840
11841 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11842 message - not necessary, and causes problems. (Bug#9831)
11843
11844 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11845
11846 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11847
11848 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11849 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11850 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11851
11852 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11853
11854 * window.el (window-resize, delete-window): Use window-splits
11855 variable instead of function.
11856 (window-state-get-1, window-state-put-2, window-state-put):
11857 Don't deal with windows' splits status.
11858
11859 2011-11-12 Glenn Morris <rgm@gnu.org>
11860
11861 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11862 (apropos-documentation): Doc fixes.
11863
11864 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11867 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11868
11869 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * electric.el (electric-indent-post-self-insert-function): Make it
11872 possible for a char to only indent in some circumstances.
11873 (electric-indent-mode): Simplify.
11874
11875 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11876
11877 * window.el (windows-with-parameter): Remove unused function.
11878 (windows-at-side): Rename to window-at-side-list.
11879 (window-check, window-atom-check, window-atom-check-1)
11880 (window-side-check, window-size-ignore, window-size-fixed-1)
11881 (window-in-direction-2): Prefix with "window--".
11882 (window-tree-1): Rename to window--subtree, fix doc-string.
11883
11884 2011-11-11 Glenn Morris <rgm@gnu.org>
11885
11886 * subr.el (eval-after-load): If FILE is already loaded,
11887 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11888
11889 2011-11-10 Glenn Morris <rgm@gnu.org>
11890
11891 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11892 Call svn via vc-svn-command rather than vc-do-command.
11893 (vc-svn-command): Add --non-interactive. (Bug#9993)
11894 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11895
11896 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11897 Add toggle-read-only. (Bug#7292)
11898 * files.el (toggle-read-only): Mention that it should only
11899 be used interactively. (Bug#10006)
11900
11901 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11904 Adjust regexp for OCaml warnings.
11905
11906 * electric.el (electric-pair-post-self-insert-function): Let user
11907 turn it off buffer-locally (bug#9932).
11908
11909 * progmodes/python.el (python-beginning-of-statement):
11910 Rewrite (bug#2703).
11911
11912 * progmodes/compile.el: Better handle TABs (bug#9749).
11913 (compilation-internal-error-properties)
11914 (compilation-next-error-function): Obey the target buffer's
11915 compilation-error-screen-columns.
11916
11917 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * progmodes/meta-mode.el: Remove obsolete comments.
11920 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11921 Fix typos in docstrings.
11922
11923 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11924
11925 * window.el (window-size-fixed-p): Rewrite doc-string.
11926 (window-resizable-p): Rename to window--resizable-p. Update callers.
11927 (window--resizable): New function. Make all callers of
11928 window-resizable call window--resizable instead.
11929 (window-resizable): Rewrite in terms of window--resizable.
11930
11931 2011-11-08 Glenn Morris <rgm@gnu.org>
11932
11933 * progmodes/delphi.el (delphi-mode-syntax-table):
11934 Let define-derived-mode define a proper syntax table. (Bug#9994)
11935
11936 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * window.el: Stay away from defsubst.
11939 (window-list-no-nils): Remove.
11940 (window-state-get-1, window-state-get): Use backquote instead.
11941
11942 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11943
11944 * emacs-lisp/find-func.el (find-function-read):
11945 Fix incorrect use of default argument in `completing-read'.
11946
11947 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11948
11949 * window.el (display-buffer-function, special-display-function):
11950 Mention display-buffer-record-window but do not mention
11951 help-setup parameter in doc-strings.
11952 (window-min-delta): Fix doc-string typo.
11953
11954 2011-11-08 Chong Yidong <cyd@gnu.org>
11955
11956 * window.el (window-total-height, window-total-width): Doc fix.
11957 (window-body-size): Move from C.
11958 (window-body-height, window-body-width): Move to C.
11959
11960 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * window.el: Make special-display like display-buffer-alist (bug#9532).
11963 (display-buffer--special-action): New function, morphed
11964 from display-buffer--special.
11965 (display-buffer): Use it to handle special-display-buffers at higher
11966 priority (just after display-buffer-alist).
11967 (display-buffer-fallback-action, display-buffer--other-frame-action)
11968 (pop-to-buffer-same-window): Remove display-buffer--special.
11969
11970 2011-11-07 Glenn Morris <rgm@gnu.org>
11971
11972 * calendar/cal-menu.el (cal-menu-set-date-title):
11973 Do nothing if not in a calendar. (Bug#9976)
11974
11975 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * files.el (find-file): Always use selected-window.
11978
11979 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11980
11981 * window.el (window-combinations): Make WINDOW argument
11982 mandatory. Rewrite doc-string.
11983 (walk-window-subtree, window-atom-check, window-min-delta)
11984 (window-max-delta, window--resize-this-window)
11985 (window--resize-root-window-vertically, window-tree)
11986 (balance-windows, window-state-put): Rewrite doc-strings as to
11987 not mention the term "subwindow".
11988 (window--resize-subwindows-skip-p): Rename to
11989 window--resize-child-windows-skip-p.
11990 (window--resize-subwindows-normal): Rename to
11991 window--resize-child-windows-normal.
11992 (window--resize-subwindows): Rename to
11993 window--resize-child-windows.
11994 (window-or-subwindow-p): Rename to window--in-subtree-p.
11995
11996 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11997
11998 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11999 Ensure that mbox format messages end in two newlines (Bug#9974).
12000
12001 2011-11-06 Chong Yidong <cyd@gnu.org>
12002
12003 * window.el (window-combination-p): Function deleted; its
12004 side-effect is not used in any existing code.
12005 (window-combinations, window-combined-p): Call window-*-child
12006 directly.
12007
12008 2011-11-05 Chong Yidong <cyd@gnu.org>
12009
12010 * window.el (window-valid-p): Rename from window-any-p.
12011 (window-size-ignore, window-state-get): Callers changed.
12012 (window-normalize-window): Rename from window-normalize-any-window.
12013 New arg LIVE-ONLY, replacing window-normalize-live-window.
12014 (window-normalize-live-window): Delete.
12015 (window-combination-p, window-combined-p, window-combinations)
12016 (walk-window-subtree, window-atom-root, window-min-size)
12017 (window-sizable, window-sizable-p, window-size-fixed-p)
12018 (window-min-delta, window-max-delta, window-resizable)
12019 (window-resizable-p, window-full-height-p, window-full-width-p)
12020 (window-current-scroll-bars, window-point-1, set-window-point-1)
12021 (window-at-side-p, window-in-direction, window-resize)
12022 (adjust-window-trailing-edge, maximize-window, minimize-window)
12023 (window-deletable-p, delete-window, delete-other-windows)
12024 (record-window-buffer, unrecord-window-buffer)
12025 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12026 (quit-window, split-window, window-state-put)
12027 (set-window-text-height, fit-window-to-buffer)
12028 (shrink-window-if-larger-than-buffer): Callers changed.
12029
12030 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12031
12032 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12033 rfc2047-decode-string.
12034 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12035 warnings.
12036
12037 * window.el (window-body-height, window-body-width): Mention in
12038 the doc string that the return values are in frame's canonical
12039 units. (Bug#9949)
12040
12041 2011-11-03 Alan Mackenzie <acm@muc.de>
12042
12043 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12044 change in cc-engine.el.
12045
12046 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12049
12050 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12051
12052 * window.el (quit-window): Call unrecord-window-buffer after
12053 showing another buffer in the window. (Bug#9937)
12054 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12055
12056 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12059 Accept status with more than 9 shelves. (Bug#9935)
12060 Reported by Colin D Bennett <colin@gibibit.com>.
12061
12062 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12063
12064 * help.el (with-help-window): Don't reference
12065 temp-buffer-show-specifiers in doc-string.
12066
12067 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12070 menu-item.
12071
12072 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12073
12074 * whitespace.el: New version 13.2.2.
12075 (whitespace-newline-mode): Disable properly. Reported by Sarah
12076 <EmacsWiki>.
12077
12078 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12079
12080 * net/newst-treeview.el: Remove "Time-stamp".
12081 (newsticker--group-manage-orphan-feeds): Do not call
12082 newsticker--treeview-tree-update.
12083 (newsticker-treeview-update, newsticker-treeview):
12084 Call newsticker--treeview-tree-update if necessary.
12085
12086 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12087
12088 * window.el (window-iso-combination-p, window-iso-combined-p)
12089 (window-iso-combinations): Remove "iso-" infix.
12090 Suggested by Chong Yidong.
12091 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12092 (window-max-delta-1, window-resize, window--resize-siblings)
12093 (window--resize-this-window, adjust-window-trailing-edge)
12094 (split-window, balance-windows-1)
12095 (shrink-window-if-larger-than-buffer):
12096 * calendar/calendar.el (calendar-generate-window):
12097 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12098
12099 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12102 in place (bug#9907).
12103 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12104 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12105 (eshell-structure-basic-command, eshell-rewrite-while-command)
12106 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12107 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12108 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12109 (eshell-do-pipelines-synchronously, eshell-eval-command):
12110 Use backquotes and prefer setq to set.
12111 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12112 (eshell-macrop): Use functionp.
12113 (eshell-do-eval): Handle multiple expressions in `while' body.
12114
12115 2011-10-30 Chong Yidong <cyd@gnu.org>
12116
12117 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12118 instead of set-mark (Bug#9810).
12119
12120 2011-10-30 Chong Yidong <cyd@gnu.org>
12121
12122 * window.el (split-window-below, split-window-right): Rename from
12123 split-window-above-each-other and split-window-side-by-side
12124 respectively. All callers changed.
12125 (split-window-sensibly, split-window-sensibly): Use them.
12126 (split-window-keep-point): Doc fix.
12127
12128 * isearch.el: Add isearch-scroll property to split-window-below
12129 and split-window-right.
12130
12131 * follow.el (follow-mode):
12132 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12133 * progmodes/ada-xref.el (ada-gdb-application):
12134 * emulation/vip.el (vip-buffer-in-two-windows):
12135 * image-dired.el (image-dired-dired-with-window-configuration):
12136 * dired-x.el (dired-do-find-marked-files):
12137 * dired.el (dired-pop-to-buffer):
12138 * bs.el (bs--show-with-configuration):
12139 * vc/emerge.el (emerge-setup-windows):
12140 * textmodes/two-column.el (2C-two-columns):
12141 * textmodes/reftex-toc.el (reftex-toc):
12142 * progmodes/gdb-mi.el (gdb-setup-windows):
12143 * progmodes/fortran.el (fortran-window-create):
12144 * net/newst-treeview.el (newsticker--treeview-window-init):
12145 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12146 * emulation/tpu-edt.el (tpu-gold-map):
12147 * emulation/crisp.el (crisp-mode-map):
12148 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12149
12150 2011-10-29 Chong Yidong <cyd@gnu.org>
12151
12152 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12153
12154 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12155
12156 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12157 forged Ispell output (Bug#7904).
12158
12159 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12160
12161 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * doc-view.el: Avoid ugly errors about not finding nil.
12164 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12165 (doc-view-dvipdf-program, doc-view-unoconv-program)
12166 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12167 Avoid nil or absolute file name as default value.
12168 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12169
12170 2011-10-28 Alan Mackenzie <acm@muc.de>
12171
12172 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12173
12174 2011-10-28 Alan Mackenzie <acm@muc.de>
12175
12176 Amend the handling of c-beginning/end-of-defun in nested declaration
12177 scopes.
12178
12179 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12180 cc-langs.el. Change it to a defcustom.
12181
12182 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12183 cc-vars.el.
12184
12185 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12186 Prevent "class foo : bar" being spuriously recognized as a label.
12187
12188 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12189 Add parameter `inclusive' (to include enclosing braces in the region).
12190 (c-widen-to-enclosing-decl-scope): New function.
12191 (c-while-widening-to-decl-block): New macro.
12192 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12193 outward for defun boundaries, and correspondingly change symbol
12194 `respect-enclosure' to `go-outward'.
12195 (c-declaration-limits): Change algorithm to report only the "innermost"
12196 defun's boundaries.
12197
12198 2011-10-28 Deniz Dogan <deniz@dogan.se>
12199
12200 * net/rcirc.el (rcirc-mode): Use hard newlines.
12201
12202 2011-10-28 Alan Mackenzie <acm@muc.de>
12203
12204 Amend to indent and fontify macros "which include their own semicolon"
12205 correctly, using the "virtual semicolon" mechanism.
12206
12207 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12208
12209 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12210 Recode to scan one line at a time rather than having \n and \r
12211 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12212 (c-forward-label): Amend for virtual semicolons.
12213 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12214
12215 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12216 of the new C macros.
12217
12218 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12219 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12220 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12221 (c-opt-cpp-macro-define): Make into a full language variable.
12222 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12223 AWK Mode (including \n, \r) removed, no longer needed.
12224
12225 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12226 Invoke c-make-macro-with-semi-re.
12227
12228 * progmodes/cc-vars.el (c-macro-with-semi-re):
12229 (c-macro-names-with-semicolon): New variables.
12230 (c-make-macro-with-semi-re): New function.
12231
12232 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * vc/log-edit.el: Fill empty field rather than adding new one.
12235 (log-edit-add-field): New function.
12236 (log-edit-insert-changelog): Use it.
12237
12238 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12239
12240 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12241
12242 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12245 (gdb--check-interpreter): New function.
12246 (gdb): Use it.
12247
12248 2011-10-27 Glenn Morris <rgm@gnu.org>
12249
12250 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12251 (least-positive-float, least-negative-float)
12252 (least-positive-normalized-float, least-negative-normalized-float)
12253 (float-epsilon, float-negative-epsilon):
12254 Remove unnecessary declarations.
12255
12256 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12257 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12258 (least-positive-float, least-negative-float)
12259 (least-positive-normalized-float, least-negative-normalized-float)
12260 (float-epsilon, float-negative-epsilon): Add doc-strings,
12261 based on those in cl.texi.
12262
12263 * files.el (set-visited-file-name): If the major-mode changed,
12264 reload the local variables. (Bug#9796)
12265
12266 2011-10-27 Chong Yidong <cyd@gnu.org>
12267
12268 * subr.el (change-major-mode-after-body-hook): New hook.
12269 (run-mode-hooks): Run it.
12270
12271 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12272 Use change-major-mode-before-body-hook.
12273
12274 * simple.el (fundamental-mode):
12275 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12276 change introducing fundamental-mode-hook.
12277
12278 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12279
12280 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12281
12282 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12283
12284 * ido.el (ido-file-name-all-completions-1): Do not require
12285 tramp.el explicitly. (Bug#7583)
12286
12287 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * progmodes/octave-mod.el:
12290 * progmodes/octave-inf.el: Update maintainer.
12291
12292 2011-10-26 Chong Yidong <cyd@gnu.org>
12293
12294 * subr.el (with-wrapper-hook): Rewrite doc.
12295
12296 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12299 filenames "/method:foo:". (Bug#9793)
12300
12301 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12304 (bug#9865).
12305
12306 2011-10-24 Glenn Morris <rgm@gnu.org>
12307
12308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12309
12310 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12311
12312 * notifications.el: Add the requirement of a running D-Bus session
12313 bus to the Commentary.
12314
12315 2011-10-24 Juri Linkov <juri@jurta.org>
12316
12317 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12318 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12319 (Bug#9364)
12320
12321 2011-10-24 Juri Linkov <juri@jurta.org>
12322
12323 * info.el (Info-following-node-name-re): Add newline to the list
12324 of allowed characters for leading space. (Bug#9824)
12325
12326 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * progmodes/octave-inf.el (inferior-octave-mode-map):
12329 Fix C-c C-h binding.
12330 * progmodes/octave-mod.el (octave-help): Remove.
12331
12332 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12333
12334 Sync with Tramp 2.2.3.
12335
12336 * net/tramp-cache.el (top): Pacify byte-compiler using
12337 `init-file-user' and `site-run-file'.
12338
12339 * net/trampver.el: Update release number.
12340
12341 2011-10-23 Chong Yidong <cyd@gnu.org>
12342
12343 * files.el (toggle-read-only): Remove obsolete comment about
12344 version control.
12345
12346 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12347 for toggle-read-only. Note that this hasn't called vc-next-action
12348 since 2008-05-02, though it wasn't documented at the time.
12349
12350 * vc/ediff-init.el (ediff-toggle-read-only-function):
12351 Use toggle-read-only.
12352
12353 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12354
12355 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12356 of c-parse-state.
12357
12358 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12359 correct faulty logical expression.
12360 (c-parse-state-state, c-record-parse-state-state):
12361 (c-replay-parse-state-state): New defvar/defuns.
12362 (c-debug-parse-state): Use new functions.
12363
12364 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12365
12366 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12367 last fix. Use window-in-direction correctly.
12368
12369 2011-10-21 Chong Yidong <cyd@gnu.org>
12370
12371 * progmodes/idlwave.el (idlwave-mode):
12372 * progmodes/vera-mode.el (vera-mode): No need to set
12373 require-final-newline; that's done in prog-mode.
12374 Suggested by Stefan Monnier.
12375
12376 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12377
12378 * mouse.el (mouse-drag-window-above)
12379 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12380 (mouse-drag-mode-line-1, mouse-drag-header-line)
12381 (mouse-drag-vertical-line-rightward-window): Remove.
12382 (mouse-drag-line): New function.
12383 (mouse-drag-mode-line, mouse-drag-header-line)
12384 (mouse-drag-vertical-line): Call mouse-drag-line.
12385 * window.el (window-at-side-p, windows-at-side): New functions.
12386
12387 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12388
12389 * tar-mode.el (tar-grind-file-mode):
12390 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12391
12392 2011-10-21 Chong Yidong <cyd@gnu.org>
12393
12394 * progmodes/idlwave.el (idlwave-mode):
12395 * progmodes/vera-mode.el (vera-mode):
12396 Use mode-require-final-newline.
12397
12398 2011-10-20 Glenn Morris <rgm@gnu.org>
12399
12400 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12401
12402 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12403
12404 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12405
12406 2011-10-20 Chong Yidong <cyd@gnu.org>
12407
12408 * emulation/cua-base.el (cua-mode):
12409 * mail/footnote.el (footnote-mode):
12410 * mail/mailabbrev.el (mail-abbrevs-mode):
12411 * net/xesam.el (xesam-minor-mode):
12412 * progmodes/bug-reference.el (bug-reference-mode):
12413 * progmodes/cap-words.el (capitalized-words-mode):
12414 * progmodes/compile.el (compilation-minor-mode)
12415 (compilation-shell-minor-mode):
12416 * progmodes/gud.el (gud-tooltip-mode):
12417 * progmodes/hideif.el (hide-ifdef-mode):
12418 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12419 * progmodes/subword.el (subword-mode):
12420 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12421 * progmodes/which-func.el (which-function-mode):
12422 * term/tvi970.el (tvi970-set-keypad-mode):
12423 * term/vt100.el (vt100-wide-mode):
12424 * textmodes/flyspell.el (flyspell-mode):
12425 * textmodes/ispell.el (ispell-minor-mode):
12426 * textmodes/nroff-mode.el (nroff-electric-mode):
12427 * textmodes/paragraphs.el (use-hard-newlines):
12428 * textmodes/refill.el (refill-mode):
12429 * textmodes/reftex.el (reftex-mode):
12430 * textmodes/rst.el (rst-minor-mode):
12431 * textmodes/sgml-mode.el (html-autoview-mode)
12432 (sgml-electric-tag-pair-mode):
12433 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12434 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12435 * emulation/crisp.el (crisp-mode):
12436 * emacs-lisp/eldoc.el (eldoc-mode):
12437 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12438 minor mode behavior.
12439
12440 2011-10-19 Juri Linkov <juri@jurta.org>
12441
12442 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12443 the list of hard-coded chars with escape-glyph face.
12444
12445 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12446
12447 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12448
12449 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12450
12451 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12452 running process.
12453
12454 2011-10-19 Glenn Morris <rgm@gnu.org>
12455
12456 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12457 Ignore ignored files. (Bug#9726)
12458
12459 2011-10-19 Chong Yidong <cyd@gnu.org>
12460
12461 Doc fix for minor modes, stating that an omitted argument enables
12462 the mode unconditionally when called from Lisp.
12463
12464 * abbrev.el (abbrev-mode):
12465 * allout.el (allout-mode):
12466 * autoinsert.el (auto-insert-mode):
12467 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12468 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12469 (global-auto-revert-mode):
12470 * battery.el (display-battery-mode):
12471 * composite.el (global-auto-composition-mode)
12472 (auto-composition-mode):
12473 * delsel.el (delete-selection-mode):
12474 * desktop.el (desktop-save-mode):
12475 * dired-x.el (dired-omit-mode):
12476 * dirtrack.el (dirtrack-mode):
12477 * doc-view.el (doc-view-minor-mode):
12478 * double.el (double-mode):
12479 * electric.el (electric-indent-mode, electric-pair-mode):
12480 * emacs-lock.el (emacs-lock-mode):
12481 * epa-hook.el (auto-encryption-mode):
12482 * follow.el (follow-mode):
12483 * font-core.el (font-lock-mode):
12484 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12485 * help.el (temp-buffer-resize-mode):
12486 * hilit-chg.el (highlight-changes-mode)
12487 (highlight-changes-visible-mode):
12488 * hi-lock.el (hi-lock-mode):
12489 * hl-line.el (hl-line-mode, global-hl-line-mode):
12490 * icomplete.el (icomplete-mode):
12491 * ido.el (ido-everywhere):
12492 * image-file.el (auto-image-file-mode):
12493 * image-mode.el (image-minor-mode):
12494 * iswitchb.el (iswitchb-mode):
12495 * jka-cmpr-hook.el (auto-compression-mode):
12496 * linum.el (linum-mode):
12497 * longlines.el (longlines-mode):
12498 * master.el (master-mode):
12499 * mb-depth.el (minibuffer-depth-indicate-mode):
12500 * menu-bar.el (menu-bar-mode):
12501 * minibuf-eldef.el (minibuffer-electric-default-mode):
12502 * mouse-sel.el (mouse-sel-mode):
12503 * msb.el (msb-mode):
12504 * mwheel.el (mouse-wheel-mode):
12505 * outline.el (outline-minor-mode):
12506 * paren.el (show-paren-mode):
12507 * recentf.el (recentf-mode):
12508 * reveal.el (reveal-mode, global-reveal-mode):
12509 * rfn-eshadow.el (file-name-shadow-mode):
12510 * ruler-mode.el (ruler-mode):
12511 * savehist.el (savehist-mode):
12512 * scroll-all.el (scroll-all-mode):
12513 * scroll-bar.el (scroll-bar-mode):
12514 * server.el (server-mode):
12515 * shell.el (shell-dirtrack-mode):
12516 * simple.el (auto-fill-mode, transient-mark-mode)
12517 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12518 (line-number-mode, column-number-mode, size-indication-mode)
12519 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12520 * strokes.el (strokes-mode):
12521 * time.el (display-time-mode):
12522 * t-mouse.el (gpm-mouse-mode):
12523 * tool-bar.el (tool-bar-mode):
12524 * tooltip.el (tooltip-mode):
12525 * type-break.el (type-break-mode-line-message-mode)
12526 (type-break-query-mode):
12527 * view.el (view-mode):
12528 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12529 (global-whitespace-mode, global-whitespace-newline-mode):
12530 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12531
12532 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12533 Fix autogenerated docstring.
12534
12535 2011-10-19 Juri Linkov <juri@jurta.org>
12536
12537 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12538 by checking environment variables "DESKTOP_SESSION" and
12539 "XDG_CURRENT_DESKTOP". (Bug#9779)
12540
12541 2011-10-19 Juri Linkov <juri@jurta.org>
12542
12543 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12544 (browse-url-chromium-program, browse-url-chromium-arguments):
12545 New defcustoms.
12546 (browse-url-default-browser): Check for `browse-url-chromium' and
12547 call `browse-url-chromium-program'.
12548 (browse-url-chromium): New command. (Bug#9779)
12549
12550 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12551
12552 * facemenu.el (list-colors-duplicates): On Windows, detect more
12553 duplicates by assuming that only colors matching "^System" are
12554 special "system colors". (Bug#9722)
12555
12556 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12559 to distinguish the author from the committer.
12560
12561 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12562
12563 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12564
12565 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12566
12567 * international/mule.el (sgml-html-meta-auto-coding-function):
12568 Add support for detecting encoding in HTML5 specified only as
12569 <meta charset="UTF-8">. Implementation just makes http-equiv and
12570 content-type parts from HTML4 encoding string optional. (Bug#9716)
12571
12572 2011-10-18 Glenn Morris <rgm@gnu.org>
12573
12574 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12575
12576 2011-10-18 Chong Yidong <cyd@gnu.org>
12577
12578 * faces.el (cursor): Doc fix.
12579
12580 2011-10-17 Chong Yidong <cyd@gnu.org>
12581
12582 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12583
12584 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12585
12586 * dirtrack.el (dirtrack): Support shell buffers with path
12587 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12588
12589 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12590
12591 * json.el: Bump version to 1.3 and note change in History.
12592 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12593
12594 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * comint.el (comint-insert-input, comint-send-input)
12597 (comint-get-old-input-default, comint-backward-matching-input)
12598 (comint-next-prompt): Use nil instead of `input' for field property of
12599 past user input (bug#114).
12600
12601 * minibuffer.el (completion--replace): Inherit surrounding properties
12602 (bug#114).
12603 (minibuffer-complete-and-exit): Use it.
12604
12605 * comint.el (comint--table-subvert): Quote the all-completions output
12606 (bug#9160).
12607
12608 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12609
12610 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12611
12612 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12613 window on right of selected. (Bug#9350) Reword other window
12614 entries and separate them from frame entries.
12615
12616 2011-10-15 Glenn Morris <rgm@gnu.org>
12617
12618 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12619 Doc fixes.
12620
12621 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12622
12623 * net/network-stream.el (network-stream-open-starttls):
12624 Improve detection of failure due to lack of TLS support.
12625
12626 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12627 putting the input text in front and in bold.
12628
12629 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12632
12633 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12634 empty buffer.
12635
12636 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12637 unread-command-events rather than pushing yet-another event.
12638
12639 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12640
12641 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12642 the explanation of the possible choices. Make the options passed
12643 to completing-read shorter.
12644
12645 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12646
12647 * textmodes/flyspell.el (flyspell-large-region): Make sure
12648 extended character mode is used if defined (Bug#1339).
12649
12650 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12651
12652 * simple.el (what-cursor-position): Fix the display of the
12653 character info for LRE, LRO, RLE, and RLO characters by appending
12654 an invisible PDF.
12655
12656 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12659 even in case of error; add debug spec; simplify data flow.
12660 (with-timeout-handler): Remove.
12661
12662 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12663
12664 Fix Bug#6019, Bug#9315.
12665
12666 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12667 complete `buffer-file-name', the local file name part could look
12668 remotely (for example on VMS).
12669
12670 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12671 `tramp-run-real-handler'.
12672 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12673 already quoted by '"'.
12674
12675 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12676 Let `file-name-handler-alist' be nil, the local file name part
12677 could look remotely (for example on VMS).
12678
12679 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12682 from here...
12683 (flyspell-post-command-hook): ...to here.
12684
12685 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12688 if not needed.
12689 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12690 using completion. Protect against "slow" callers.
12691 Remove the "message hack".
12692
12693 2011-10-11 Juri Linkov <juri@jurta.org>
12694
12695 * isearch.el (isearch-lazy-highlight-word): New variable.
12696 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12697 Use it. (Bug#9727)
12698
12699 2011-10-11 Glenn Morris <rgm@gnu.org>
12700
12701 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12702 like f90-previous-statement does.
12703
12704 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12705
12706 * eshell/eshell.el (eshell-command): History should be saved
12707 only in interactive use, to avoid error.
12708
12709 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12710
12711 * minibuffer.el (completion-file-name-table): Fix last change,
12712 i.e. ignore normal errors but not the other ones.
12713
12714 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12715
12716 * window.el (special-display-buffer-names)
12717 (special-display-regexps): Remove some remnants of earlier
12718 changes from doc-strings.
12719 (quit-windows-on): New function.
12720
12721 * vc/vc.el (vc-revert, vc-rollback):
12722 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12723 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12724 (Bug#6183) (Bug#7074) (Bug#7447)
12725
12726 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (frame-auto-hide-function): Add version tag.
12729 (Bug#9699)
12730
12731 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12732
12733 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12734 condition.
12735
12736 2011-10-09 Leo Liu <sdl.web@gmail.com>
12737
12738 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12739 (Bug#9701)
12740
12741 2011-10-08 Glenn Morris <rgm@gnu.org>
12742
12743 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12744 before the first code statement zero indent. (Bug#9690)
12745
12746 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * simple.el (count-words-region): Always count in the region.
12749 Report the number of lines and characters too.
12750 (count-words): New command, which counts in the buffer if the
12751 region is inactive, as count-words-region used to.
12752 (count-words--message): New function. Handle plurals.
12753 (count-lines-region): Make it an alias for count-words-region.
12754
12755 * bindings.el (esc-map): Replace count-lines-region with
12756 count-words-region.
12757
12758 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12759
12760 * window.el (window--delete): Delete dedicated frame
12761 unconditionally when argument KILL is non-nil. (Bug#9699)
12762 (switch-to-buffer): Fix doc-string typo.
12763
12764 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
12766 * eshell/eshell.el (eshell-command): Avoid using hooks.
12767
12768 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12769
12770 * bindings.el ([M-left],[M-right]): Bind to left-word and
12771 right-word respectively.
12772
12773 2011-10-07 Glenn Morris <rgm@gnu.org>
12774
12775 * cus-start.el (debug-on-quit): Fix custom type.
12776
12777 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12778
12779 * subr.el (define-key-after): Clarify that the function is not
12780 useful for non-menu keymaps.
12781
12782 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12783
12784 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12785
12786 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12787 in current minibuffer (Fix bug with recursive minibuffers).
12788
12789 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * progmodes/gdb-mi.el (gdb): Doc fix.
12792
12793 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12794
12795 * window.el (frame-auto-hide-function): New option replacing
12796 frame-auto-delete. Suggested by Stefan Monnier.
12797 (window--delete): Call frame-auto-hide-function instead of
12798 investigating frame-auto-delete.
12799 (window-point-1, set-window-point-1): New functions.
12800 (window-in-direction, record-window-buffer, window-state-get-1)
12801 (display-buffer-record-window): Use window-point-1 instead of
12802 window-point.
12803 (set-window-buffer-start-and-point): Use set-window-point-1.
12804
12805 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12808
12809 2011-10-05 Glenn Morris <rgm@gnu.org>
12810
12811 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12812 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12813
12814 2011-10-05 Leo Liu <sdl.web@gmail.com>
12815
12816 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12817 works with buffer object.
12818
12819 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * mpc.el (mpc-tool-bar-map): Add labels.
12822
12823 2011-10-04 Glenn Morris <rgm@gnu.org>
12824
12825 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12826
12827 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12828
12829 * window.el (window--delete): New function.
12830 (frame-auto-delete): Resuscitate option.
12831 (bury-buffer, replace-buffer-in-windows)
12832 (quit-window): Rewrite using window--delete.
12833 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12834 Pass display-buffer-mark-dedicated to window--display-buffer-2
12835 (Bug#9639).
12836
12837 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12840 returns a list (bug#9554). Add remote file name completion.
12841 * comint.el (comint--table-subvert): Curry and get quote&unquote
12842 functions as arguments.
12843 (comint--complete-file-name-data): Adjust call accordingly.
12844 * pcomplete.el (pcomplete--table-subvert): Remove.
12845 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12846
12847 * minibuffer.el (completion-table-case-fold): Use currying.
12848 (completion--styles-type, completion--cycling-threshold-type):
12849 New constants.
12850 (completion-styles, completion-category-overrides)
12851 (completion-cycle-threshold): Use them.
12852 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12853 completion-table-case-fold.
12854
12855 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12856
12857 * minibuffer.el (completion-category-overrides): Fix type of styles
12858 and add more user friendly tags (bug#9660).
12859
12860 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12863 (mule-input-method-string): New widget.
12864 (default-input-method, language-info-custom-alist): Use it.
12865
12866 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * pcomplete.el: Require comint.
12869 (pcomplete--common-suffix): Remove.
12870 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12871 (pcomplete--table-subvert): Sync with comint--table-subvert.
12872 (pcomplete--entries): Use comint-completion-file-name-table.
12873 * comint.el (comint-unquote-filename): Simplify.
12874 (comint-completion-file-name-table): New function (bug#9616).
12875 (comint--complete-file-name-data): Use it.
12876
12877 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12878 (pcmpl-gnu-tar-buffer): Remove.
12879 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12880 around. Make sure pcomplete-suffix-list is only changed temporarily.
12881 Don't look inside the tar's file if it's too large.
12882
12883 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * cus-edit.el (custom-mode-map):
12886 * epa.el (epa-key-list-mode-map):
12887 * man.el (Man-mode-map):
12888 * startup.el (splash-screen-keymap):
12889 * simple.el (special-mode-map): Use scroll-up-command and
12890 scroll-down-command.
12891
12892 * progmodes/idlw-help.el (idlwave-help-mode-map):
12893 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12894 * net/newst-plainview.el (newsticker-mode-map):
12895 * emulation/ws-mode.el (wordstar-mode-map):
12896 * emulation/vi.el (vi-com-map):
12897 * calc/calc-graph.el (calc-graph-show-dumb):
12898 * term/sun.el (terminal-init-sun):
12899 * term/ns-win.el (global-map):
12900 * progmodes/grep.el (grep-mode-map):
12901 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12902 * mail/rmail.el (rmail-mode-map):
12903 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12904
12905 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12906 custom-safe-themes as special.
12907
12908 2011-10-01 Julien Danjou <julien@danjou.info>
12909
12910 * notifications.el (notifications-notify): Fix docstring.
12911
12912 2011-10-01 Per Starbäck <per@starback.se>
12913
12914 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12915
12916 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12917
12918 * startup.el (command-line-1): Fix last fix by inserting
12919 initial-scratch-message into *scratch* before displaying it.
12920 (Bug#9605) and (Bug#9636)
12921
12922 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12923
12924 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12925 window is hscrolled, move by logical lines. (Bug#9607)
12926 (line-move-visual): Update the doc string to the above effect.
12927
12928 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12929
12930 * window.el (display-buffer-record-window): When WINDOW is the
12931 selected window use `point' instead of `window-point'. (Bug#9626)
12932
12933 * startup.el (command-line-1): Use insert-before-markers when
12934 inserting initial-scratch-message. (Bug#9605)
12935
12936 * help.el (help-window): Remove variable.
12937
12938 2011-09-29 Glenn Morris <rgm@gnu.org>
12939
12940 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12941
12942 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * descr-text.el (describe-char-categories): Accept category
12945 descriptions more than one line long.
12946
12947 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * simple.el (delete-trailing-whitespace): Fix last change.
12950
12951 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12952 Don't confuse "y => 3" as the beginning of a `y' operation.
12953
12954 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12955 object has more than 4 slots (bug#9613).
12956
12957 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * subr.el (with-output-to-temp-buffer):
12960 * net/quickurl.el (quickurl, quickurl-browse-url):
12961 Fix typos in docstrings.
12962
12963 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12964
12965 * minibuffer.el (completion-styles)
12966 (completion-category-overrides): Cross reference each other in doc
12967 strings.
12968
12969 2011-09-27 Glenn Morris <rgm@gnu.org>
12970
12971 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12972 to split-string. (Bug#9606)
12973
12974 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12975
12976 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12977 (bug#9615).
12978
12979 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12980
12981 * emacs-lisp/package.el (list-packages): Fix echo area message.
12982
12983 2011-09-27 Leo Liu <sdl.web@gmail.com>
12984
12985 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12986
12987 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12988
12989 * net/dbus.el (dbus-unregister-object): Don't release services for
12990 registered signals. (Bug#9581)
12991
12992 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12993
12994 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12995 function that picks between cfengine 2 and 3 support
12996 automatically. Update docs accordingly.
12997
12998 2011-09-22 Kenichi Handa <handa@m17n.org>
12999
13000 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13001 ZERO.
13002 (indian-itrans-v5-table-for-tamil): New variable.
13003 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13004
13005 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13006
13007 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13008 that's true if the current command involved collapsing of text.
13009 It's reset to false at the beginning of the next command.
13010 (allout-post-command-business): Move the cursor to the beginning
13011 of entry if the cursor is hidden and collapsing activity just
13012 happened.
13013
13014 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13015
13016 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13017 tracking (Bug#9541).
13018
13019 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13020
13021 * net/newst-reader.el (newsticker-html-renderer)
13022 (newsticker-show-news): Automatically load html rendering package
13023 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13024 because w3m-fill-column is let-bound" and the error "Symbol's value
13025 as variable is void: w3m-fill-column".
13026
13027 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13030 Release services only if they are defined. (Bug#9581)
13031
13032 2011-09-23 Richard Stallman <rms@gnu.org>
13033
13034 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13035 distinguish start of paragraph from start of its text.
13036
13037 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13038
13039 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13040 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13041 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13042
13043 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13044
13045 * international/mule-diag.el (mule-diag): Insert a newline after
13046 each fontset description.
13047
13048 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * simple.el (delete-trailing-whitespace):
13051 Document last change; simplify.
13052
13053 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13054
13055 * simple.el (delete-trailing-whitespace): Also delete
13056 extra newlines at the end of the buffer.
13057
13058 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13059 (picture-newline): Use forward-line so as to ignore fields.
13060
13061 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * subr.el (with-wrapper-hook): Fix edebug spec.
13064
13065 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13066
13067 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13068 (bug#4538).
13069
13070 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13071
13072 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13073 Fix nasty bug using wrong cached values.
13074
13075 2011-09-23 Alan Mackenzie <acm@muc.de>
13076
13077 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13078
13079 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * window.el (pop-to-buffer): Ensure right window is selected if we
13082 chose another frame.
13083
13084 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13085
13086 * simple.el (what-cursor-position): Use get-char-property-change
13087 and next-single-char-property-change, to be able to show display
13088 properties that come from overlays as well as text properties.
13089
13090 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13093
13094 * cmuscheme.el (run-scheme, switch-to-scheme):
13095 * cus-edit.el (customize-group, custom-buffer-create)
13096 (customize-browse):
13097 * info.el (info):
13098 * shell.el (shell):
13099 * mail/sendmail.el (mail):
13100 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13101
13102 2011-09-22 Richard Stallman <rms@gnu.org>
13103
13104 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13105 move back only to line beg, don't move back over blank lines.
13106
13107 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13108
13109 * files.el (copy-directory): Set directory attributes only in case
13110 they could be retrieved from the source directory. (Bug#9565)
13111
13112 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13113
13114 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13115 (hs-find-block-beginning, hs-hide-level-recursive):
13116 Ignore strings as well as comments. (Bug#9502)
13117
13118 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13119
13120 * progmodes/sql.el (sql-comint-postgres):
13121 Convert port number to a string. (Bug#9566)
13122
13123 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (quit-window): Undedicate window when switching to
13126 previous buffer. Reported by Thierry Volpiatto
13127 <thierry.volpiatto@gmail.com>.
13128 (special-display-popup-frame): When popping up a new frame reset
13129 its previous buffers to nil. Simplify code.
13130
13131 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13132
13133 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13134 and process filter, as done also in `shell-command'.
13135
13136 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13137
13138 * window.el (set-window-buffer-start-and-point):
13139 Call set-window-start with NOFORCE argument t.
13140 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13141 (quit-window): Reword doc-string. Handle new format of
13142 quit-restore parameter. Don't delete window if it has a
13143 previous buffer we can show instead of the present one.
13144 (display-buffer-record-window): Rewrite using a new format for
13145 the quit-restore window parameter
13146 (special-display-popup-frame, display-buffer-same-window)
13147 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13148 (display-buffer-pop-up-window, display-buffer-use-some-window):
13149 Adapt symbol passed to display-buffer-record-window.
13150 * help.el (help-window-setup): Handle new format of quit-restore
13151 parameter.
13152
13153 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13154
13155 * faces.el (face-list): Fix docstring (bug#9564).
13156
13157 * window.el (display-buffer--action-function-custom-type):
13158 Don't include internal functions in the Custom interface.
13159
13160 2011-09-20 Juri Linkov <juri@jurta.org>
13161
13162 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13163 (Info-forward-node, Info-backward-node, Info-next-preorder)
13164 (Info-last-preorder): Use it. (Bug#9528)
13165
13166 2011-09-20 Juri Linkov <juri@jurta.org>
13167
13168 * info.el (Info-last-preorder): Visit last menu item only when
13169 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13170
13171 2011-09-20 Julien Danjou <julien@danjou.info>
13172
13173 * password-cache.el (password-cache-remove): Remove entries even if the
13174 value is nil, so that password with a nil value (negative caching) is
13175 possible to invalidate.
13176
13177 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13178
13179 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13180 all whitespace around breakpoint. (Bug#9553)
13181 (f90-find-breakpoint): Only break at whitespace inside a comment.
13182
13183 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * minibuffer.el (completion-file-name-table): Keep track of errors.
13186 (completion-table-with-predicate): Handle the case where pred1 is nil.
13187 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13188
13189 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13192 (debugger-return-value): Signal an error if the debugging context does
13193 not await any return value.
13194
13195 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13196 * image-mode.el (image-toggle-display-text)
13197 (image-toggle-display-image): Stay away from evil `intangible'.
13198
13199 2011-09-19 Leo Liu <sdl.web@gmail.com>
13200
13201 * replace.el (occur-revert-arguments): Make it permanent-local.
13202 (occur-mode): Don't call font-lock-defontify.
13203
13204 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13205
13206 * net/ldap.el (ldap-search-internal): Don't push empty search
13207 result (Bug#9508).
13208
13209 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13212
13213 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13214
13215 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13216 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13217
13218 2011-09-18 Juri Linkov <juri@jurta.org>
13219
13220 * buff-menu.el (Buffer-menu-mode-map):
13221 * dired.el (dired-mode-map):
13222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13223 (lisp-interaction-mode-map):
13224 * emacs-lisp/package.el (package-menu-mode-map):
13225 * epa.el (epa-key-list-mode-map):
13226 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13227 (menu-bar-options-menu):
13228 * outline.el (outline-mode-menu-bar-map):
13229 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13230 * vc/vc-dir.el (vc-dir-menu-map):
13231 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13232 Capitalize non-function content words in menu item strings.
13233
13234 * dired.el (dired-mode-map): Add menu item for
13235 `image-dired-dired-toggle-marked-thumbs'.
13236
13237 2011-09-18 Juri Linkov <juri@jurta.org>
13238
13239 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13240 to `isearch-case-fold-search' and restore its original value
13241 after the `isearch-mode' call.
13242
13243 2011-09-18 Juri Linkov <juri@jurta.org>
13244
13245 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13246 because `zgrep' returns 1 for successful matches (bug#9226).
13247
13248 2011-09-18 Juri Linkov <juri@jurta.org>
13249
13250 * info.el (Info-extract-menu-node-name): Check the second match
13251 for empty string (second test-case of bug#9528).
13252 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13253 intermediate nodes to the history (first test-case of bug#9528).
13254
13255 2011-09-18 Juri Linkov <juri@jurta.org>
13256
13257 * info.el (Info-mode-syntax-table): New variable.
13258 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13259
13260 2011-09-18 Juri Linkov <juri@jurta.org>
13261
13262 * info.el (Info-file-supports-index-cookies):
13263 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13264 outputs one more line for long file names (bug#4142).
13265
13266 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13267
13268 * newcomment.el (comment-normalize-vars): If prompting for
13269 comment-start, set comment-start-skip too (Bug#8424).
13270
13271 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13272
13273 * icomplete.el: Fix previous fix of Bug#5849.
13274 (icomplete-mode): Don't set completion-show-inline-help.
13275 (icomplete-minibuffer-setup): Set completion-show-inline-help
13276 locally during icompletion.
13277
13278 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13279
13280 * woman.el (woman2-process-escapes): Don't delete unrecognized
13281 escapes (Bug#7843).
13282
13283 * files.el (inhibit-first-line-modes-regexps): Add image files.
13284 (hack-local-variables-prop-line): Return nil for malformed
13285 prop-lines (Bug#9044).
13286
13287 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp.el (top): Don't require 'shell.
13290 (tramp-methods): Fix docstring.
13291 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13292 Return complete remote file name. Handle "smb" case.
13293 Use `tramp-tmpdir', if defined for the respective method.
13294 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13295
13296 * net/tramp-compat.el (top): Require 'shell.
13297
13298 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13299 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13300 `tramp-current-host'.
13301 (tramp-get-remote-tmpdir): Remove.
13302
13303 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13304 `tramp-tmpdir' entries.
13305 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13306 (tramp-smb-handle-file-attributes): Ignore errors.
13307 (tramp-smb-wait-for-output): Check also for process end.
13308
13309 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13310
13311 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13312 when sending QUIT (bug#9312).
13313
13314 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13317 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13318 occur-mode-display-occurrence.
13319 (occur-edit-mode): Add usage message.
13320 (occur-cease-edit): New command.
13321 (occur-after-change-function): Use text properties to find the
13322 position of the prefix text.
13323 (occur-engine): Set stickiness of prefix text properties.
13324
13325 2011-09-17 Glenn Morris <rgm@gnu.org>
13326
13327 * progmodes/etags.el (complete-tag):
13328 Fix call to completion-in-region. (Bug#9526)
13329
13330 2011-09-17 Juri Linkov <juri@jurta.org>
13331
13332 * textmodes/ispell.el (ispell-word): Add to the error message
13333 the word, ispell program name and current dictionary (bug#9121).
13334 (ispell-tex-arg-end): Capitalize "error" in the error message.
13335
13336 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13337
13338 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13339 check. (Bug#4251)
13340
13341 2011-09-17 Juri Linkov <juri@jurta.org>
13342
13343 * window.el (window-safe-min-height, window-safe-min-width):
13344 Fix typos (followup to bug#9522).
13345
13346 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13347
13348 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13349
13350 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13351
13352 * simple.el (line-move): If goal-column is set, move by logical
13353 lines, not by display lines. (Bug#971)
13354 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13355 to reflect the above change.
13356
13357 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * image.el (imagemagick-register-types): Use regexp-opt.
13360
13361 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13362
13363 * window.el (display-buffer-base-action): Rename from
13364 display-buffer-default-action. Make default value empty.
13365 (display-buffer-overriding-action): Convert to defvar.
13366 (display-buffer-fallback-action): New var.
13367
13368 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13369
13370 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13371 declaration.
13372 (package--add-to-archive-contents): If there is a duplicate entry
13373 with an older version, remove it.
13374 (package-menu-mark-delete, package-menu-mark-install)
13375 (package-menu-mark-unmark): Make unused args optional.
13376 (package-menu-mark-obsolete-for-deletion):
13377 Use package-menu-get-status instead of a regexp search.
13378 (package-menu-get-status): Use tabulated-list-entry.
13379 (package-menu-mark-upgrades): New command.
13380 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13381 (package-menu-execute): Do installation before deletion.
13382 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13383 instead of checking major-mode.
13384 (package-menu--find-upgrades): New function.
13385
13386 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13387
13388 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13389 passwords in the log buffer.
13390 (smtpmail-process-filter): Update the process marker so that the
13391 "broken by peer" status message is inserted in the right place.
13392
13393 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13396 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13397 bibtex-completion-at-point-function.
13398 (bibtex-completion-at-point-function): Use them.
13399
13400 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13401
13402 * mpc.el (mpc-constraints-tag-lookup): New function.
13403 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13404 also to browser "album|playlist".
13405
13406 2011-09-14 Juri Linkov <juri@jurta.org>
13407
13408 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13409 (isearch-edit-string): Use length of `isearch-string' when
13410 `isearch-fail-pos' returns nil.
13411 (isearch-message): Remove duplicate code and call
13412 `isearch-fail-pos' with arg `t'.
13413
13414 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * replace.el (occur-mode-goto-occurrence): Don't force using other
13417 window (Bug#9499).
13418
13419 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13420
13421 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13422
13423 * window.el (display-buffer-window): Remove.
13424 (display-buffer-record-window): Use help-setup window parameter
13425 instead of variable display-buffer-window.
13426 (display-buffer-function, special-display-buffer-names)
13427 (special-display-function): Mention help-setup parameter instead
13428 of display-buffer-window in doc-string.
13429 * help.el (help-window-setup): New argument help-window.
13430 Use help-window-setup parameter instead of display-buffer-window.
13431 Reword some messages.
13432 (with-help-window): Pass window used for displaying the buffer
13433 to help-window-setup. Don't set display-buffer-window.
13434
13435 2011-09-13 Glenn Morris <rgm@gnu.org>
13436
13437 * emacs-lisp/debug.el (debugger-make-xrefs):
13438 Preserve point. (Bug#9462)
13439
13440 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13441
13442 * window.el (window-deletable-p): Use next-frame.
13443
13444 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13445
13446 * window.el (window-auto-delete): Remove.
13447 (window-deletable-p): Remove argument FORCE. Don't deal with
13448 dedication and previous buffers.
13449 (switch-to-prev-buffer): Don't delete window.
13450 (delete-windows-on): Delete a window's frame if and only if the
13451 window is dedicated.
13452 (replace-buffer-in-windows): Delete buffer's window or frame if
13453 and only if window is dedicated.
13454 (quit-window): Handle quit-restore as before last change.
13455 (bury-buffer): Delete window only if window-deletable-p returns t.
13456
13457 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13458
13459 * window.el (window-deletable-p): Never delete the last frame on a
13460 given terminal.
13461
13462 2011-09-13 Glenn Morris <rgm@gnu.org>
13463
13464 * help.el (describe-key-briefly): Copy previous standard-output change.
13465
13466 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13467
13468 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13469
13470 2011-09-13 Glenn Morris <rgm@gnu.org>
13471
13472 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13473 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13474
13475 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13476
13477 * dired-aux.el (dired-mark-read-string): Don't return default
13478 value on empty input (Bug#9361).
13479 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13480 Omit initial minibuffer contents.
13481 (dired-do-chmod): Signal an error on empty input.
13482 (dired-mark-read-string): Don't return default on empty input.
13483
13484 * files.el (file-modes-symbolic-to-number): Doc fix.
13485
13486 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * international/mule-cmds.el (ucs-completions): Remove.
13489 (read-char-by-name): Use complete-with-action instead; add metadata.
13490
13491 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * window.el (display-buffer--action-function-custom-type)
13494 (display-buffer--action-custom-type): New vars.
13495 (display-buffer-alist, display-buffer-default-action)
13496 (display-buffer-overriding-action): Add defcustom types.
13497
13498 * frame.el (delete-other-frames): Doc fix (Bug#276).
13499
13500 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13501
13502 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13503
13504 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13505
13506 Change modes that used same-window-* vars to use switch-to-buffer.
13507
13508 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13509 Use switch-to-buffer.
13510
13511 * cus-edit.el (customize-group, custom-buffer-create)
13512 (customize-browse, custom-buffer-create-other-window):
13513 Use switch-to-buffer or switch-to-buffer-other-window.
13514
13515 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13516 (Info-prev, Info-up, Info-speedbar-goto-node)
13517 (info-display-manual): Use switch-to-buffer.
13518 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13519
13520 * mail/sendmail.el (mail): Use switch-to-buffer.
13521 (mail-recover): Use switch-to-buffer-other-window.
13522
13523 * cmuscheme.el (run-scheme, switch-to-scheme):
13524 * ielm.el (ielm):
13525 * shell.el (shell):
13526 * net/rlogin.el (rlogin):
13527 * net/telnet.el (telnet, rsh):
13528 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13529
13530 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13531
13532 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13533
13534 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13535
13536 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13537 so don't mention it (bug#9301).
13538 (dired-sort-toggle-or-edit): Clarify string further.
13539
13540 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13541 match `x', `w32' and `ns', like the manual says (bug#9029).
13542
13543 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13544 (process-kill-buffer-query-function): Mention the buffer name in
13545 the query.
13546
13547 * image-mode.el (image-next-line): The line parameter is mandatory
13548 (bug#9258).
13549
13550 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13551 which can be useful (bug#9301).
13552
13553 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13554
13555 * subr.el (match-string): Mention that the current buffer should
13556 be the same as the search was done in (bug#9282).
13557
13558 * facemenu.el: Disable the remove-* commands if the mark isn't
13559 active (bug#9162).
13560
13561 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13564 of display-buffer.
13565 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13566
13567 * replace.el (occur-mode-goto-occurrence)
13568 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13569 and display-buffer.
13570
13571 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13572 display-buffer.
13573
13574 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13575 special-display and same-window variables.
13576 (mail-other-window): Use switch-to-buffer-other-window.
13577 (mail-other-frame): USe switch-to-buffer-other-frame.
13578
13579 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13580 Use display-buffer-other-frame.
13581 (gdb-display-gdb-buffer): Use pop-to-buffer.
13582
13583 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13584
13585 * progmodes/python.el: Don't set same-window-buffer-names.
13586
13587 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13588
13589 * window.el (display-buffer-alist): Add *Python*.
13590
13591 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13592
13593 * window.el (display-buffer-alist): Add entry for buffers
13594 previously handled same-window-*.
13595 (display-buffer-alist, display-buffer-default-action)
13596 (display-buffer-overriding-action): Mark as risky.
13597 (display-buffer-alist): Document action function changes.
13598 (display-buffer--same-window-action)
13599 (display-buffer--other-frame-action): New variables.
13600 (switch-to-buffer, display-buffer-other-frame): Use them.
13601 (display-buffer): Rename reuse-frame entry to reusable-frames.
13602 (display-buffer-reuse-selected-window): Function deleted.
13603 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13604 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13605 (display-buffer-special): New function.
13606 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13607 display-buffer-reuse-or-pop-window. Split off special-display
13608 part into display-buffer-special.
13609 (display-buffer-use-some-window): Don't perform any special
13610 pop-up-frames handling.
13611 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13612 (display-buffer--maybe-same-window): Rename from
13613 display-buffer-maybe-same-window.
13614
13615 * info.el: Don't set same-window-regexps.
13616 (info-setup): New function.
13617 (info-other-window, info): Call it.
13618
13619 * cus-edit.el: Don't set same-window-regexps.
13620 (customize-group): New argument.
13621 (customize-group-other-window): Use it.
13622 (customize-face, customize-face-other-window): Likewise.
13623 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13624
13625 * net/rlogin.el:
13626 * net/telnet.el:
13627 * progmodes/gud.el: Don't set same-window-regexps.
13628
13629 * cmuscheme.el:
13630 * ielm.el:
13631 * shell.el:
13632 * mail/sendmail.el:
13633 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13634
13635 2011-09-10 Juri Linkov <juri@jurta.org>
13636
13637 * isearch.el (isearch-edit-string): Remove obsolete mention of
13638 `C-w' (`isearch-yank-word-or-char') from docstring.
13639 (isearch-query-replace): Fix typo in docstring (bug#9466).
13640
13641 2011-09-10 Juri Linkov <juri@jurta.org>
13642
13643 * paren.el (show-paren-function): Don't show escaped parens.
13644 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13645
13646 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13647
13648 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13649 (mm-default-file-encoding): Remove autoload forms, they are
13650 replaced with autoload cookies in mml.el and mm-encode.el.
13651 (mail-add-attachment): New command.
13652 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13653 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13654 the doc string.
13655 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13656
13657 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13658
13659 * simple.el (count-words-region): Use buffer if there's no region
13660 (bug#9429).
13661
13662 2011-09-09 Juri Linkov <juri@jurta.org>
13663
13664 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13665 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13666 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13667
13668 2011-09-09 Alan Mackenzie <acm@muc.de>
13669
13670 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13671 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13672
13673 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13674
13675 Fix for Savannah bug#9392.
13676 * simple.el (mail-encode-mml): New defvar.
13677
13678 * mail/rmail.el (mail-encode-mml): Add a defvar.
13679 (rmail-enable-mime-composing): Default to t.
13680 (rmail-forward): Use MIME method of forwarding only if both
13681 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13682 Set mail-encode-mml non-nil if the MIME method was used.
13683
13684 * mail/sendmail.el (mml-to-mime): Add autoload form.
13685 (mail-encode-mml): Add a defvar.
13686 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13687 to nil.
13688 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13689 message through mml-to-mime, and reset mail-encode-mml to nil.
13690
13691 2011-09-09 Glenn Morris <rgm@gnu.org>
13692
13693 * woman.el (woman-if-body): When processing an .el block,
13694 do not delete the next .el block as well. (Bug#9447)
13695 (woman-special-characters): Add oq, cq, and hy characters.
13696
13697 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13698
13699 * window.el (window-deletable-p): Make sure window is live before
13700 invoking window-prev-buffers.
13701
13702 2011-09-08 Leo Liu <sdl.web@gmail.com>
13703
13704 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13705
13706 2011-09-08 Juri Linkov <juri@jurta.org>
13707
13708 * progmodes/compile.el (compilation-environment): Make it
13709 a defcustom (bug#8340).
13710
13711 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13712
13713 * window.el (frame-auto-delete): Rename to window-auto-delete.
13714 Make it control auto-deletion of windows and/or frames.
13715 (window-deletable-p): New argument FORCE. Rewrite conditions
13716 for deleting window/frame. (Bug#9419)
13717 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13718 Rewrite handling of case when window/frame can be deleted.
13719 (delete-windows-on): Call window-deletable-p with new FORCE
13720 argument t. (Bug#9456)
13721
13722 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13723
13724 * help-mode.el (help-mode): Restore autoload.
13725
13726 2011-09-07 Juri Linkov <juri@jurta.org>
13727
13728 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13729 `compilation-environment'. Set buffer-local
13730 `compilation-environment' to `thisenv' later after (funcall mode).
13731 (Bug#8340)
13732
13733 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13734 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13735 instead of replacing its value. (Bug#8340)
13736
13737 2011-09-07 Juri Linkov <juri@jurta.org>
13738
13739 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13740 based on text properties put by `grep-filter' instead of matching
13741 escape sequences.
13742 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13743 to the value of `grep-error-screen-columns' (bug#9438).
13744
13745 2011-09-07 Juri Linkov <juri@jurta.org>
13746
13747 * simple.el (next-error-highlight, next-error-highlight-no-select):
13748 Doc fix (bug#9432).
13749
13750 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13751
13752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13753 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13754
13755 2011-09-07 Leo Liu <sdl.web@gmail.com>
13756
13757 * net/rcirc.el (rcirc-mode): Conditionally initialize
13758 rcirc-input-ring.
13759
13760 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13761
13762 * emacs-lisp/find-func.el (find-function-C-source): Only set
13763 find-function-C-source-directory after checking that we found a source
13764 file there (bug#9440).
13765
13766 2011-09-06 Alan Mackenzie <acm@muc.de>
13767
13768 * isearch.el (isearch-other-meta-char): Wherever a key list is
13769 unread, "unread" the prefix arg, too. This fixes bug #8901.
13770
13771 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13772
13773 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13774
13775 2011-09-05 Juri Linkov <juri@jurta.org>
13776
13777 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13778
13779 2011-09-05 Juri Linkov <juri@jurta.org>
13780
13781 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13782 keeping point where processing of grep matches begins, and
13783 continue to delete remaining escape sequences from the same point.
13784 (grep-filter): Make leading zero optional in "0?1;31m" because
13785 git-grep emits "\033[1;31m" escape sequences unlike expected
13786 "\033[01;31m" as GNU Grep does (bug#9408).
13787 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13788
13789 2011-09-05 Juri Linkov <juri@jurta.org>
13790
13791 * subr.el (y-or-n-p): Capitalize "yes".
13792
13793 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13794
13795 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13796 `tramp-cache-unload-hook' where appropriate.
13797 (tramp-methods): Rename `tramp-remote-sh' to
13798 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13799 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13800
13801 * net/tramp-sh.el (top): Don't require 'shell.
13802 (tramp-methods): Add `tramp-remote-shell' and
13803 `tramp-remote-shell-args' entries.
13804 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13805 (tramp-sh-handle-shell-command): Remove.
13806 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13807 Use `tramp-remote-shell'.
13808
13809 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13810
13811 * mail/sendmail.el (sendmail-query-once-function): Delete.
13812 (sendmail-query-once): Save directly to send-mail-function.
13813 Update message-send-mail-function too.
13814
13815 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13816
13817 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13818
13819 * progmodes/python.el (python-mode-map): Use correct function to
13820 start python interpreter from menu-bar (as reported by Geert
13821 Kloosterman).
13822 (inferior-python-mode-map): Fix typo.
13823 (python-shell-map): Remove.
13824
13825 2011-09-03 Deniz Dogan <deniz@dogan.se>
13826
13827 * net/rcirc.el (rcirc-print): Simplify code for
13828 rcirc-scroll-show-maximum-output. There is no need to walk
13829 through all windows to find the right one.
13830
13831 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13832
13833 * help.el (help-return-method): Doc fix.
13834
13835 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13836
13837 * window.el (window-deletable-p): Don't return a non-nil value
13838 when there's a buffer that was shown in the window before.
13839 (Bug#9419)
13840 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13841 Set window's previous buffers to nil.
13842
13843 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13844
13845 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13846 newline before and after the tag line, so it doesn't interfere
13847 with determining the paragraph direction of bidirectional text.
13848
13849 2011-09-03 Leo Liu <sdl.web@gmail.com>
13850
13851 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13852
13853 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13854
13855 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13856 (pop-to-buffer): Change interactive spec. Pass second argument
13857 directly to display-buffer.
13858 (display-buffer): Fix interactive spec. Use functionp to
13859 distinguish between a function and a list of functions.
13860
13861 * abbrev.el (edit-abbrevs):
13862 * arc-mode.el (archive-extract):
13863 * autoinsert.el (auto-insert):
13864 * bookmark.el (bookmark-bmenu-list):
13865 * files.el (find-file):
13866 * view.el (view-buffer):
13867 * progmodes/compile.el (compilation-goto-locus):
13868 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13869
13870 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13871
13872 * window.el (display-buffer-alist): Doc fix.
13873 (display-buffer): Add docstring. Don't treat
13874 display-buffer-default specially.
13875 (display-buffer-reuse-selected-window)
13876 (display-buffer-same-window, display-buffer-maybe-same-window)
13877 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13878 (display-buffer-pop-up-window)
13879 (display-buffer-reuse-or-pop-window)
13880 (display-buffer-use-some-window): New functions.
13881 (display-buffer-default-action): Use them.
13882 (display-buffer-default): Delete.
13883 (pop-to-buffer-1): Fix choice of actions.
13884
13885 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * minibuffer.el (completion--insert-strings): Don't get confused by
13888 completion entries that end with an LF char.
13889
13890 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13891
13892 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13893
13894 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13895
13896 * window.el (display-buffer): Restore interactive spec.
13897 (display-buffer-same-window, display-buffer-other-window):
13898 New functions.
13899 (pop-to-buffer-1): New function. Use the above.
13900 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13901 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13902
13903 * view.el (view-buffer-other-window, view-buffer-other-frame):
13904 Just use pop-to-buffer.
13905
13906 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13907
13908 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13909
13910 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13911
13912 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13913
13914 2011-08-31 Richard Stallman <rms@gnu.org>
13915
13916 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13917 of the separation of rmail-view-buffer from rmail-buffer.
13918 If you say no to "replace original", the decrypt is in the
13919 view buffer. If you say yes, the decrypt goes into the
13920 rmail buffer also.
13921
13922 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13923
13924 * window.el (display-buffer-window): Rewrite doc-string.
13925 (display-buffer-record-window): New function.
13926 (display-buffer-macro-specifiers)
13927 (display-buffer-even-window-sizes, display-buffer-set-height)
13928 (display-buffer-set-width, display-buffer-in-window)
13929 (display-buffer-reuse-window, display-buffer-split-specifiers)
13930 (display-buffer-side-specifiers, display-buffer-split-window-1)
13931 (display-buffer-split-window, display-buffer-split-atom-window)
13932 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13933 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13934 (display-buffer-other-window-means-other-frame)
13935 (display-buffer-normalize-special)
13936 (display-buffer-normalize-default)
13937 (display-buffer-normalize-argument)
13938 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13939 (display-buffer-normalize-specifiers, display-buffer-frame)
13940 (display-buffer-same-window, display-buffer-same-frame)
13941 (display-buffer-other-window)
13942 (display-buffer-same-frame-other-window)
13943 (display-buffer-other-frame, pop-to-buffer-same-window)
13944 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13945 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13946 (switch-to-buffer-same-frame)
13947 (switch-to-buffer-other-window-same-frame)
13948 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13949 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13950 (display-buffer-alist-set): Remove.
13951 (display-buffer-function, special-display-buffer-names)
13952 (special-display-regexps, special-display-function):
13953 In doc-string refer to display-buffer-window and quit-restore
13954 parameter.
13955 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13956 (special-display-frame-alist, special-display-popup-frame)
13957 (same-window-buffer-names, same-window-regexps, same-window-p)
13958 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13959 (split-window-preferred-function, split-height-threshold)
13960 (split-width-threshold, window-splittable-p)
13961 (split-window-sensibly, window--try-to-split-window)
13962 (window--frame-usable-p, even-window-heights)
13963 (window--even-window-heights, window--display-buffer-1)
13964 (window--display-buffer-2, display-buffer-other-frame):
13965 Restore old Emacs 23 code, order and doc-strings where applicable.
13966 (display-buffer-default, display-buffer-assq-regexp): New functions.
13967 (display-buffer-alist): Rewrite doc-string.
13968 (display-buffer-default-action)
13969 (display-buffer-overriding-action): New variables.
13970 (display-buffer, switch-to-buffer): Rewrite.
13971 (pop-to-buffer): Restore Emacs 23 behavior but use
13972 window-normalize-buffer-to-display.
13973 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13974 Restore Emacs 23 behavior but use
13975 window-normalize-buffer-to-switch-to.
13976 (pop-to-buffer-same-window): Rewrite.
13977 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13978 Rewrite using Emacs 23 options.
13979
13980 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13981
13982 * net/tramp.el (tramp-root-regexp): Remove.
13983 (tramp-completion-file-name-regexp-unified)
13984 (tramp-completion-file-name-regexp-separate)
13985 (tramp-completion-file-name-regexp-url): Don't use leading volume
13986 letter on w32 systems. (Bug#5303, Bug#9311)
13987 (tramp-drop-volume-letter): Simplify definition.
13988 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13989
13990 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13993 (bug#9356).
13994
13995 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13996
13997 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13998
13999 2011-08-29 Juri Linkov <juri@jurta.org>
14000
14001 * isearch.el (isearch-done): Don't display message "Mark saved"
14002 when arg `edit' is non-nil to prevent its flicker in the echo area.
14003
14004 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14005
14006 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14007 obsolete packages for deletion.
14008
14009 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14010
14011 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14012 (help-mode): Derive help-mode from special-mode. Don't invoke
14013 view-mode from help-mode.
14014 (help-xref-override-view-map): Remove.
14015 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14016 view-mode is not used anymore.
14017
14018 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14019
14020 * server.el (server-port): Doc fix.
14021
14022 * cus-theme.el (custom-theme-choose-mode): Inherit from
14023 special-mode (Bug#9124).
14024 (custom-theme-choose-mode-map): Add special-mode to parent.
14025
14026 2011-08-28 Alan Mackenzie <acm@muc.de>
14027
14028 * progmodes/cc-fonts.el
14029 (c-make-font-lock-BO-decl-search-function): New function.
14030 (c-basic-matchers-after - "Fontify the clauses after various
14031 keywords"): Extract the three keyword lists for the 3 erroneous
14032 constructs from the list of four, and use the new function above
14033 in place of an old one.
14034
14035 2011-08-28 Deniz Dogan <deniz@dogan.se>
14036
14037 * net/rcirc.el (rcirc-insert-prev-input)
14038 (rcirc-insert-next-input): Remove unused argument.
14039
14040 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14043
14044 2011-08-27 Alan Mackenzie <acm@muc.de>
14045
14046 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14047 handle function pointer parameters properly.
14048
14049 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14050
14051 * window.el (display-buffer-reuse-window): Fix case where
14052 selected window was reused with non-nil OTHER-WINDOW argument.
14053 (Bug#9381)
14054
14055 2011-08-27 Deniz Dogan <deniz@dogan.se>
14056
14057 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14058 oftc's NickServ messages.
14059
14060 2011-08-27 Glenn Morris <rgm@gnu.org>
14061
14062 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14063
14064 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14065
14066 * emacs-lisp/package.el (package-install): Call package-initialize
14067 if called interactively.
14068
14069 2011-08-26 Leo Liu <sdl.web@gmail.com>
14070
14071 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14072
14073 2011-08-25 Juri Linkov <juri@jurta.org>
14074
14075 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14076 `search-whitespace-regexp' (bug#9364).
14077
14078 2011-08-25 Juri Linkov <juri@jurta.org>
14079
14080 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14081 `regexp-search-ring' to their global values to protect from
14082 updating by `read-from-minibuffer' (bug#9185).
14083
14084 2011-08-25 Juri Linkov <juri@jurta.org>
14085
14086 * textmodes/ispell.el (ispell-command-loop): Add newline
14087 at the end of the "Use option `i'..." line.
14088
14089 2011-08-25 Juri Linkov <juri@jurta.org>
14090
14091 * battery.el (display-battery-mode): If `battery-status-function'
14092 or `battery-mode-line-format' is nil, display the message and set
14093 `display-battery-mode' to nil (bug#9363).
14094
14095 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14096
14097 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14098 bidi-string-mark-left-to-right; they are unnecessary now.
14099
14100 2011-08-25 Deniz Dogan <deniz@dogan.se>
14101
14102 * net/quickurl.el: Documentation typo fixes.
14103
14104 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14105
14106 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14107
14108 2011-08-25 Glenn Morris <rgm@gnu.org>
14109
14110 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14111
14112 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14113 (smtpmail-via-smtp): Handle nil response from smtp.
14114
14115 2011-08-24 Juri Linkov <juri@jurta.org>
14116
14117 * proced.el (proced-marked): Inherit from `error' instead of
14118 `font-lock-warning-face'.
14119
14120 * ibuffer.el (ibuffer-marked-face): Change default face from
14121 `font-lock-warning-face' to `warning'.
14122 (ibuffer-deletion-face): Change default face from
14123 `font-lock-type-face' to `error'.
14124
14125 * battery.el (battery-update): Use the face `error' instead of
14126 `font-lock-warning-face' (bug#6117).
14127
14128 2011-08-24 Juri Linkov <juri@jurta.org>
14129
14130 * faces.el (success): Change face color from "Green3" to
14131 "ForestGreen" on light background (bug#9353).
14132
14133 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14134
14135 * window.el (quit-window): Rename from quit-restore-window.
14136 Use same arglist as old quit-window.
14137 (frame-auto-delete): Doc fix.
14138
14139 * view.el (view-mode-exit): Use quit-window.
14140
14141 2011-08-24 Juri Linkov <juri@jurta.org>
14142
14143 * isearch.el (isearch-ring-adjust1): Start visiting previous
14144 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14145 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14146 for empty search string (when the last search string is reused
14147 automatically) to adjust the isearch ring to the last element and
14148 prepare the correct index for further M-p commands (bug#9185).
14149
14150 2011-08-24 Kenichi Handa <handa@m17n.org>
14151
14152 * international/ucs-normalize.el: If decomposition property of
14153 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14154 nil.
14155 (nfd, nfkd): Likewise.
14156
14157 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14160 from process filters aren't reliably transmitted to the surrounding
14161 accept-process-output.
14162 (mpc-proc-check): New function.
14163 (mpc-proc-sync): Use it (bug#8293)
14164
14165 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14168 Add compatibility functions (bug#9313).
14169
14170 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14171
14172 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14173
14174 * international/uni-bidi.el: Regenerate.
14175
14176 2011-08-23 Kenichi Handa <handa@m17n.org>
14177
14178 * international/charprop.el:
14179 * international/uni-bidi.el:
14180 * international/uni-category.el:
14181 * international/uni-combining.el:
14182 * international/uni-comment.el:
14183 * international/uni-decimal.el:
14184 * international/uni-decomposition.el:
14185 * international/uni-digit.el:
14186 * international/uni-lowercase.el:
14187 * international/uni-mirrored.el:
14188 * international/uni-name.el:
14189 * international/uni-numeric.el:
14190 * international/uni-old-name.el:
14191 * international/uni-titlecase.el:
14192 * international/uni-uppercase.el: Regenerate.
14193
14194 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14195
14196 * help.el (help-window-setup): Fix message displayed when other
14197 window is reused. (Bug#9341)
14198
14199 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14202 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14203
14204 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14205 Mark obsolete.
14206 * shell.el (shell-parse-pcomplete-arguments): New function.
14207 (shell-completion-vars): Use it instead (bug#9160).
14208
14209 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14212 strings and comments (bug#9333).
14213
14214 * emacs-lisp/debug.el (debug-arglist): New function.
14215 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14216 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14217
14218 2011-08-22 Juri Linkov <juri@jurta.org>
14219
14220 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14221 Revert regexp that highlights output switches to its old
14222 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14223
14224 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14225 to check for empty output (bug#9226).
14226
14227 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14228
14229 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14230 symbol-constituent as the default, as that stops font-lock from
14231 working properly (Bug#8843).
14232
14233 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14234
14235 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14236 `coding-system-for-*' around the process open call to avoid
14237 auth-source side effects.
14238 (smtpmail-try-auth-methods): Expand the secret password.
14239 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14240 probe hangs.
14241
14242 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14243
14244 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14245
14246 * emacs-lisp/find-func.el (find-function-noselect): New arg
14247 lisp-only.
14248
14249 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14250 signal an error for built-in functions (Bug#6664).
14251
14252 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14253
14254 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14255 (smtpmail-try-auth-methods): Use it.
14256
14257 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14258
14259 * font-lock.el (font-lock-fontify-region)
14260 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14261 (font-lock-default-unfontify-buffer)
14262 (font-lock-default-fontify-region)
14263 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14264
14265 * progmodes/compile.el (compilation-error-properties):
14266 Fix confusion between file struct and message struct (Bug#9319).
14267 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14268 `ant' regexp.
14269
14270 * net/browse-url.el (browse-url-firefox): Don't call
14271 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14272
14273 2011-08-20 Glenn Morris <rgm@gnu.org>
14274
14275 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14276
14277 * tutorial.el (tutorial--default-keys): Update some default bindings.
14278
14279 * files.el (hack-local-variables): Fully ignore case for "mode:".
14280
14281 2011-08-20 Alan Mackenzie <acm@muc.de>
14282
14283 Resolve invalid use of a regexp in regexp-opt.
14284
14285 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14286 detection for a java annotation.
14287
14288 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14289 detection for a java annotation.
14290
14291 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14292 handling for java.
14293 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14294
14295 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14296
14297 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14298 (Bug#9274).
14299
14300 2011-08-20 Alan Mackenzie <acm@muc.de>
14301
14302 Fontify CPP expressions correctly when starting in the middle of
14303 such a construct. Mainly for when jit-lock etc. starts a chunk
14304 here.
14305
14306 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14307 variable.
14308 (c-make-font-lock-search-form): New function, extracted from
14309 c-make-font-lock-search-function.
14310 (c-make-font-lock-search-function): Use the above function.
14311 (c-make-font-lock-context-search-function): New function.
14312 (c-cpp-matchers): Enhance the preprocessor expression case with
14313 the above function
14314 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14315 which takes an expression.
14316
14317 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14318
14319 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14320
14321 * window.el (display-buffer-reuse-window)
14322 (display-buffer-pop-up-window): Don't reuse or split a side
14323 window.
14324
14325 2011-08-19 Glenn Morris <rgm@gnu.org>
14326
14327 * files.el (hack-local-variables-prop-line, hack-local-variables):
14328 Downcase "Mode:". (Bug#9331)
14329
14330 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14331
14332 * international/characters.el: Add L and R categories.
14333
14334 * subr.el (bidi-string-mark-left-to-right): Rename from
14335 string-mark-left-to-right. Use category search.
14336
14337 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14338
14339 2011-08-18 Juri Linkov <juri@jurta.org>
14340
14341 * faces.el (error, warning, success): New faces with definitions
14342 copied from old default values of `font-lock-warning-face',
14343 `compilation-warning', `compilation-info' (bug#6117).
14344
14345 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14346
14347 * progmodes/compile.el (compilation-error): Inherit from `error'.
14348 (compilation-warning): Inherit from `warning'.
14349 (compilation-info): Inherit from `success'.
14350
14351 * dired.el (dired-marked): Inherit from `warning'.
14352 (dired-flagged): Inherit from `error'.
14353
14354 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14355
14356 * mail/smtpmail.el (auth-source): Require to avoid problems with
14357 binding variables (bug#9298). Also clean up some unused
14358 autoloads.
14359
14360 * net/network-stream.el (network-stream-open-starttls):
14361 Support using starttls.el without using gnutls-cli.
14362
14363 2011-08-17 Juri Linkov <juri@jurta.org>
14364
14365 * progmodes/grep.el (rgrep): Handle the case when
14366 `grep-find-command' is a cons cell (bug#9278).
14367
14368 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14369
14370 * window.el (display-buffer-pop-up-frame): Run frame creation
14371 function with BUFFER current (as special-display-popup-frame
14372 does). Reported by Drew Adams.
14373
14374 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14375
14376 * epa-mail.el: Simplify GnuPG group expansion using
14377 epg-expand-group.
14378 (epa-mail-group-alist, epa-mail-group-modtime)
14379 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14380 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14381 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14382 Remove.
14383
14384 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14385
14386 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14387
14388 2011-08-16 Alan Mackenzie <acm@muc.de>
14389
14390 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14391 Correct, to avoid the inside of macros.
14392
14393 2011-08-16 Richard Stallman <rms@gnu.org>
14394
14395 * epa-mail.el: Handle GnuPG group definitions.
14396 (epa-mail-group-alist, epa-mail-group-modtime)
14397 (epa-mail-gnupg-conf-file): New variables.
14398 (epa-mail-parse-groups, epa-mail-sync-groups)
14399 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14400 (epa-mail-expand-recipients): New functions.
14401 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14402
14403 * mail/rmail.el (rmail-epa-decrypt): New command.
14404
14405 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14406 Don't bind buffer-read-only, just inhibit-read-only.
14407 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14408 (epa-decrypt-armor-in-region): Make error message clearer.
14409
14410 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14413 and "a2b" to "ab" for `prefix'.
14414
14415 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14416
14417 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14418 filter groups.
14419 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14420 Fourquet (Bug#8804).
14421
14422 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14423
14424 * startup.el (argi): Declare as global variable (bug#9275).
14425
14426 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14427
14428 * subr.el (string-mark-left-to-right): Search the entire string
14429 for RTL script, not just the terminating character. Doc fix.
14430
14431 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14434 New function.
14435 (js--regexp-literal, js-syntax-propertize-function): Remove.
14436 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14437 (js-mode-map): Don't rebind electric keys.
14438 (js-insert-and-indent): Remove.
14439 (js-mode): Setup electric-layout and electric-indent instead.
14440
14441 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14442
14443 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14444
14445 * epa.el (epa-progress-callback-function): Fix the logic of
14446 displaying progress.
14447 * epa-file.el (epa-file-insert-file-contents): Make progress
14448 display more user-friendly.
14449 (epa-file-write-region): Ditto.
14450
14451 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * subr.el (string-mark-left-to-right): New function.
14454
14455 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14456 Use string-mark-left-to-right.
14457 (list-buffers-noselect): Caller changed.
14458
14459 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14460 Use string-mark-left-to-right.
14461 (tabulated-list-print): Recenter after moving point.
14462
14463 2011-08-10 Juri Linkov <juri@jurta.org>
14464
14465 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14466 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14467 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14468
14469 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14470
14471 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14472 (Bug#7554).
14473
14474 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14475
14476 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14477 character. (Bug#6594)
14478
14479 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14480
14481 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14482 (image-dired--with-db-file): New macro.
14483 (image-dired-write-tags, image-dired-remove-tag)
14484 (image-dired-create-gallery-lists, image-dired-write-comments)
14485 (image-dired-get-comment, image-dired-mark-tagged-files)
14486 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14487 (image-dired-gallery-generate): Use insert-file-contents.
14488
14489 * time.el (display-time-world-list, display-time-world-display):
14490 * time-stamp.el (time-stamp-string):
14491 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14492 set-time-zone-rule (Bug#7337).
14493
14494 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14495
14496 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14497 (epg-error-to-string, epg-errors-to-string): New function.
14498 (epg-wait-for-completion): Reverse errors list.
14499 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14500 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14501 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14502 (epg-sign-keys, epg-generate-key-from-file)
14503 (epg-generate-key-from-string): Format errors by using
14504 epg-errors-to-string (bug#9255).
14505 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14506
14507 2011-08-07 Juri Linkov <juri@jurta.org>
14508
14509 * faces.el (list-faces-display): Remove extra angle bracket
14510 from `help-mode-map'.
14511
14512 * info.el (Info-history-toc-nodes): Doc fix.
14513
14514 * longlines.el (longlines-mode): Doc fix.
14515
14516 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14519 of statements and in a few more cases (bug#9183).
14520
14521 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14522 New functions.
14523 (cl-transform-lambda): Use them (bug#9239).
14524
14525 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14526
14527 * window.el (display-buffer-same-window)
14528 (display-buffer-same-frame, display-buffer-other-window)
14529 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14530 (pop-to-buffer-other-window)
14531 (pop-to-buffer-same-frame-other-window)
14532 (pop-to-buffer-other-frame): Make them defuns.
14533 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14534
14535 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * subr.el (make-composed-keymap): Move from C. Change calling
14538 convention, and improve docstring to bring attention to a subtle point.
14539 * minibuffer.el (completing-read-default): Adjust accordingly.
14540
14541 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14542
14543 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14544 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14545
14546 * net/trampver.el: Update release number.
14547
14548 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14551 "in" (bug#9190).
14552
14553 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14554
14555 * mail/sendmail.el (sendmail-query-once): Restore the current
14556 buffer after querying (bug#9074).
14557
14558 * dired.el (dired-flagged): Use different faces for marked and
14559 flagged files (bug#6117).
14560
14561 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14562 (bug#4433).
14563
14564 * ido.el (ido-mode): Switch off the message if called
14565 non-interactively.
14566
14567 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14568 before 587, since it appears that that's more likely to work for
14569 more people.
14570
14571 * cus-edit.el (custom-file): When running under emacs -q, always
14572 refuse to save the customizations, even if the .emacs file doesn't
14573 exist.
14574
14575 * info.el: Remove the `Info-beginning-of-buffer' function
14576 (bug#8325).
14577
14578 * net/network-stream.el (network-stream-open-starttls):
14579 Use `starttls-available-p' to see whether starttls.el can be used.
14580
14581 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14582
14583 * window.el (display-buffer-in-window): Don't set dedicated status
14584 of window here (Bug#9215).
14585 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14586 (display-buffer-pop-up-side-window)
14587 (display-buffer-in-side-window): Set dedicated status of window here.
14588
14589 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14592 before binding generated-autoload-file.
14593
14594 2011-08-01 Deniz Dogan <deniz@dogan.se>
14595
14596 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14597
14598 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14599
14600 Sync with Tramp 2.2.2.
14601
14602 * net/trampver.el: Update release number.
14603
14604 2011-07-30 Juri Linkov <juri@jurta.org>
14605
14606 * dired-aux.el (dired-touch-initial): Remove function.
14607 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14608 current time, and `default' to the last modification time of the
14609 current marked file (bug#6887).
14610
14611 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14612
14613 * simple.el (goto-line): Use string-to-number to provide a
14614 numeric argument to read-number (bug#9163).
14615
14616 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14617
14618 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14619 connection process, it could be nil.
14620
14621 2011-07-27 Leo Liu <sdl.web@gmail.com>
14622
14623 Simplify url handling in rcirc-mode.
14624
14625 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14626 (rcirc-browse-url-at-mouse): Remove.
14627 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14628
14629 2011-07-26 Alan Mackenzie <acm@muc.de>
14630
14631 Fontify bitfield declarations properly.
14632
14633 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14634 (c-symbol-chars): Now exported as a lang variable.
14635 (c-not-primitive-type-keywords): New lang variable.
14636
14637 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14638 QT keyword "more" to prevent "more slots: ...." being spuriously
14639 parsed as a bitfield declaration.
14640
14641 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14642 Refactor and enhance to handle bitfield declarations.
14643 (c-punctuation-in): New function.
14644 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14645 declarations properly.
14646
14647 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14648
14649 * calendar/icalendar.el (icalendar--all-events): Take care of
14650 multiple vcalendars in a single file.
14651 (icalendar--convert-float-to-ical): Checkdoc fixes.
14652
14653 2011-07-25 Deniz Dogan <deniz@dogan.se>
14654
14655 * image.el (insert-image): Clarifying docstring.
14656
14657 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14658
14659 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14660 `tramp-send-command-and-check' if there is no error.
14661 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14662
14663 2011-07-22 Alan Mackenzie <acm@muc.de>
14664
14665 Prevent cc-langs.elc being loaded at run time.
14666
14667 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14668 cc-langs.
14669
14670 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14671 "(require 'cc-langs)". Quote a form so it will evaluate at
14672 (cc-mode's) compilation time.
14673
14674 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14677 loading. (Bug#9114)
14678
14679 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14680
14681 * window.el (display-buffer-pop-up-window)
14682 (display-buffer-pop-up-side-window)
14683 (display-buffer-in-side-window): Call display-buffer-set-height
14684 and display-buffer-set-width after setting the new window's
14685 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14686
14687 2011-07-20 Sam Steingold <sds@gnu.org>
14688
14689 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14690 (etags-tags-included-tables): Call `convert-standard-filename' on
14691 the file names contained in TAGS so that windows Emacs can handle
14692 TAGS files created by cygwin ctags.
14693
14694 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14695
14696 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14697 which apparently didn't work.
14698
14699 2011-07-19 Roland Winkler <winkler@gnu.org>
14700
14701 * proced.el (proced-send-signal): For *Marked Processes* buffer
14702 put point at beginning of buffer.
14703
14704 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14705
14706 * proced.el (proced-format): Make header lines align with the text
14707 (bug#1779).
14708
14709 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14710
14711 * view.el (view-buffer): Allow running in `special' modes if we're
14712 visiting a file (bug#8615).
14713
14714 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14715
14716 * window.el (display-buffer-alist-of-strings-p)
14717 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14718 New functions.
14719 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14720 more accurately.
14721
14722 2011-07-18 Alan Mackenzie <acm@muc.de>
14723
14724 Fontify declarators properly when, e.g., a jit-lock chunk begins
14725 inside a declaration.
14726
14727 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14728
14729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14730 New function.
14731 (c-complex-decl-matchers): Insert reference to
14732 c-font-lock-enclosing-decls.
14733
14734 * progmodes/cc-engine.el (c-backward-single-comment):
14735 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14736 to nil around calls to (forward-comment -1).
14737
14738 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14739
14740 * image.el (put-image): Doc typo fix.
14741
14742 * progmodes/etags.el (tags-search): Doc typo fix.
14743
14744 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14745 password if we get errors 550 to 554.
14746
14747 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14748
14749 * net/gnutls.el (gnutls-log-level): Remove.
14750
14751 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14752 indentation character (bug#6380).
14753
14754 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14755
14756 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14757 to clarify what the problem is (bug#4291).
14758
14759 * simple.el (current-kill): Clarify what
14760 `interprogram-paste-function' does (bug#7500).
14761 (auto-fill-mode): Document `auto-fill-function' in relation to
14762 `auto-fill-mode' (bug#2470).
14763
14764 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14765
14766 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14767 method if slot is read-only (bug#9035).
14768
14769 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14770
14771 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14772 * window.el (pop-to-buffer): Select window used even if it was
14773 selected before, see discussion of (Bug#8615), (Bug#6954).
14774 Pass argument NORECORD on to select-frame-set-input-focus.
14775
14776 2011-07-15 Glenn Morris <rgm@gnu.org>
14777
14778 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14779 Respect help-form.
14780
14781 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14782
14783 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14784 (gnutls-negotiate): Use it.
14785
14786 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14787
14788 * net/gnutls.el (gnutls-negotiate):
14789 Upcase `gnutls-algorithm-priority'.
14790
14791 2011-07-15 Glenn Morris <rgm@gnu.org>
14792
14793 * jka-compr.el (jka-compr-verbose): Move from here...
14794 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14795 Add missing :version tag.
14796 * info.el: No need to require jka-compr when compiling.
14797
14798 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14799
14800 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14801 (gnutls-negotiate): Use it.
14802
14803 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14804
14805 * info.el (Info-beginning-of-buffer): New command.
14806 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14807 announcing `b' as the key (bug#8325).
14808 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14809
14810 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14811
14812 * international/mule-cmds.el
14813 (describe-specified-language-support): Make the error message
14814 clearer (bug#8905).
14815
14816 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14817
14818 * isearch.el (isearch-barrier): Add a doc string, since it's
14819 mentioned in a function doc string (bug#8678).
14820
14821 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14822
14823 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14824 buffer argument (Bug#9083) and self-identifying label argument.
14825
14826 2011-07-15 Glenn Morris <rgm@gnu.org>
14827
14828 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14829
14830 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
14832 * man.el (Man-fontify-manpage): Fix message when formatting the
14833 man page (bug#7929).
14834
14835 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14836
14837 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14838 argument LRM; if non-nil, append an invisible LRM character to the
14839 buffer name.
14840 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14841 last argument non-nil, when formatting buffer names.
14842 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14843 paragraph direction.
14844
14845 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
14847 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14848 the man page name (bug#7929).
14849
14850 * image.el (put-image): Mention the `put-image' overlay property
14851 (bug#7834).
14852
14853 * scroll-bar.el (set-scroll-bar-mode): Mention that
14854 `scroll-bar-mode' lists the values (bug#7772).
14855
14856 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14857 command (bug#7729).
14858
14859 * rect.el (apply-on-rectangle): Return the point after the last
14860 operation.
14861 (string-rectangle): Go to the point after the last operation
14862 (bug#7522).
14863
14864 * printing.el (pr-toggle-region): Clarify the documentation
14865 slightly (bug#7493).
14866
14867 * time.el (display-time-update):
14868 Allow `display-time-mail-function' to return nil (bug#7158).
14869 Fix suggested by Detlev Zundel.
14870
14871 * vc/diff.el (diff): Clarify the order the file names are read
14872 (bug#7111).
14873
14874 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14875 the doc string (bug#7015).
14876
14877 * font-lock.el (font-lock-maximum-decoration): Mention what
14878 numeric levels mean (bug#6935).
14879
14880 * startup.el (initial-buffer-choice): Don't mention the `none'
14881 selection, which is against policy.
14882
14883 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14884
14885 * window.el (display-buffer-normalize-special):
14886 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14887
14888 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14889
14890 * subr.el (version<, version<=, version=): Mention "-CVS" and
14891 "-12345" alpha version numbers.
14892
14893 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14894
14895 * bindings.el: Add advertised binding for set-mark-command
14896 (Bug#5772).
14897
14898 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14899
14900 * bindings.el (mode-line-other-buffer):
14901 * bookmark.el (bookmark-bmenu-2-window):
14902 * bs.el (bs-cycle-next, bs-cycle-previous):
14903 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14904 switch-to-buffer.
14905
14906 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14907 Delete.
14908
14909 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14910
14911 * follow.el (follow-debug-message, follow-redisplay):
14912 * jka-cmpr-hook.el (with-auto-compression-mode):
14913 Fix typos in docstrings.
14914
14915 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14916
14917 * subr.el (with-silent-modifications): Clarify somewhat what the
14918 macro inhibits (bug#6525).
14919
14920 * simple.el (eval-expression): Note what it does if called
14921 interactively (bug#6495).
14922
14923 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14924
14925 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14926 Use pop-to-buffer buffer-or-name if it is nil.
14927
14928 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14929 Remove switch-to-buffer.
14930
14931 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14932
14933 * files.el (make-directory): Clarify that an error will be raised
14934 if there's an error (bug#6397).
14935
14936 * startup.el (initial-buffer-choice): Add `none' as a choice
14937 (bug#6234).
14938
14939 * subr.el (add-hook): Clarify section about buffer-local hooks
14940 (bug#6218).
14941
14942 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14943
14944 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14945
14946 * tabify.el (untabify): Preserve the current column so that point
14947 doesn't move (bug#6032).
14948
14949 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14950
14951 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14952 Rewrite to avoid awkward possessive "s" (bug#5986).
14953
14954 2011-07-13 Glenn Morris <rgm@gnu.org>
14955
14956 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14957 (dired-insert-directory): Give a message the first time
14958 if ls is found not to support --dired.
14959
14960 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14961
14962 * simple.el (toggle-truncate-lines): Clarify what is toggled
14963 (bug#5580). Text by Drew Adams.
14964
14965 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * simple.el (blink-matching-open): Make the error message from the
14968 last change less verbose.
14969
14970 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14971
14972 * font-lock.el (font-lock-comment-face): Use the high contrast
14973 "yellow" color for font-lock-comment-face on low color terminals
14974 using a dark background color (bug#4221).
14975
14976 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14977
14978 * dired.el (dired-insert-set-properties): Make the doc string
14979 reflect what it does now (bug#5325).
14980
14981 * simple.el (blink-matching-open): Say that we were unable to find
14982 the match within the limit, if we're limited (bug#5122).
14983
14984 * international/mule-cmds.el (prefer-coding-system): Add an
14985 example (bug#4869).
14986
14987 * progmodes/etags.el (tags-search): Document `file-list-form'
14988 (bug#4731).
14989
14990 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14991
14992 * net/browse-url.el (browse-url-default-browser)
14993 (browse-url-browser-function): Make the default browser choice a
14994 bit more logical (bug#4300). Also clean up the doc string.
14995
14996 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14997
14998 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14999 binary endings (bug#4440).
15000
15001 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15002
15003 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15004 which can be pretty annoying (bug#8971).
15005
15006 * jka-compr.el (jka-compr-verbose): New variable, and use
15007 throughout (bug#8971).
15008
15009 * info.el (Info-find-file): Fall back on the installation
15010 directory if we can't find the info node anywhere else.
15011
15012 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15013
15014 * vc/vc.el (vc-revert-file):
15015 Don't set file time-stamp in the past. (Bug#5181)
15016
15017 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018
15019 * files.el (after-find-file): Give a better error message when
15020 trying to find a symlink that points to a file that doesn't exist
15021 (bug#4398).
15022
15023 * progmodes/cc-vars.el: Remove (probably) misleading comment
15024 (bug#4396).
15025
15026 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15027
15028 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15029
15030 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * mouse-sel.el: Hack restoring functionality, while keeping
15033 compatibility with 2010-07-03 changes to mouse selection.
15034 (mouse-sel-primary-overlay): New var.
15035 (mouse-sel-selection-alist): Use it.
15036 (mouse-sel-mode): Doc fix; remove points that are default features
15037 of mouse.el.
15038
15039 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15040
15041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15042 Fix previous fix (bug#2490).
15043
15044 2011-07-12 Roland Winkler <winkler@gnu.org>
15045
15046 * textmodes/bibtex.el (bibtex-initialize):
15047 Use pop-to-buffer-same-window.
15048 (bibtex-search-entries): Fix interactive call.
15049
15050 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15051
15052 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15053 Fontise bytecomp Error lines more correctly (bug#2490).
15054 Fix suggested by Johan Bockgård.
15055
15056 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15057
15058 * dired-x.el (dired-guess-default): Use `delete-dups'.
15059
15060 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15061
15062 * dired.el (dired-mark-prompt):
15063 * dired-aux.el (dired-read-shell-command): Doc fix.
15064
15065 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15066
15067 * mail/sendmail.el (sendmail-query-once):
15068 Use `customize-save-variable' unconditionally, now that it works under
15069 emacs -Q.
15070
15071 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15072
15073 * cus-edit.el (custom-file): Take an optional no-error variable.
15074 (customize-save-variable): Set the variable, and give a warning if
15075 running under "emacs -q".
15076
15077 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15078
15079 * loadhist.el (unload-feature-special-hooks):
15080 Add `auto-coding-functions', `fill-nobreak-predicate' and
15081 `find-directory-functions' (bug#5327).
15082
15083 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15084
15085 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15086
15087 * cus-edit.el (custom-guess-name-alist): -alist variables should
15088 use the `alist' type (bug#3120). Suggested by Drew Adams.
15089
15090 * printing.el: Add documentation to all the `pr-toggle-' commands.
15091
15092 2011-07-11 Leo Liu <sdl.web@gmail.com>
15093
15094 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15095 backends where it makes sense (bug#2623).
15096
15097 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15098
15099 * dired-x.el (dired-guess-default): Remove duplicate shell command
15100 entries (bug#2028).
15101 (dired-guess-default): Fix grammar in doc string (bug#2028).
15102 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15103
15104 * subr.el (remove-duplicates): New conveniency function.
15105
15106 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15107
15108 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15109 (bug#1526).
15110
15111 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15112
15113 * window.el (display-buffer-normalize-default): Don't invert
15114 meaning of even-window-heights. Reported by Eli Zaretskii
15115 <eliz@gnu.org>.
15116
15117 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15118
15119 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15120
15121 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15122
15123 * window.el (display-buffer): Fix arguments to
15124 display-buffer-reuse-window in last change.
15125
15126 * faces.el (link): Use a less saturated blue on light backgrounds.
15127
15128 * startup.el (fancy-startup-text, fancy-about-text)
15129 (fancy-startup-tail): Use font-lock faces, for background safety.
15130
15131 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15132
15133 * emulation/viper-cmd.el (viper-change-state-to-vi):
15134 Limit triggering of abbrev expansion (Bug#9038).
15135
15136 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15137
15138 * window.el (display-buffer-default-specifiers): Remove.
15139 (display-buffer-macro-specifiers): Remove default specifiers.
15140 (display-buffer-alist): Default to nil.
15141 (display-buffer-reuse-window): New optional argument other-window.
15142 (display-buffer-pop-up-window): Allow splitting internal
15143 windows. Check whether a live window was created.
15144 (display-buffer-other-window-means-other-frame)
15145 (display-buffer-normalize-arguments): Rename to
15146 display-buffer-normalize-argument and rewrite. Set the
15147 other-window specifier.
15148 (display-buffer-normalize-special): New function.
15149 (display-buffer-normalize-options): Rename to
15150 display-buffer-normalize-default and rewrite.
15151 (display-buffer-normalize-options-inhibit): Remove.
15152 (display-buffer-normalize-specifiers): Rewrite.
15153 (display-buffer): Process other-window specifier and call
15154 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15155 more faithfully.
15156 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15157 (display-buffer-alist-set): Don't handle 'unset default values.
15158 (display-buffer-in-window, display-buffer-alist-set):
15159 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15160 <tassilo@member.fsf.org>.
15161
15162 2011-07-09 Leo Liu <sdl.web@gmail.com>
15163
15164 * register.el (insert-register): Restore accidental change on
15165 2011-06-26. (Bug#9028)
15166
15167 2011-07-09 Glenn Morris <rgm@gnu.org>
15168
15169 * subr.el (remq): Handle the empty list. (Bug#9024)
15170
15171 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15172
15173 * mail/sendmail.el (send-mail-function): No longer delay custom
15174 initialization.
15175 * custom.el (custom-initialize-delay): Doc fix.
15176
15177 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15180
15181 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15182
15183 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15184 human-friendly prompt.
15185
15186 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15189 provided by a particular plugin.
15190
15191 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15192
15193 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15194 save customizations (with "emacs -Q"), just set the variable
15195 instead of erroring out.
15196
15197 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15198
15199 2011-07-08 Juri Linkov <juri@jurta.org>
15200
15201 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15202 (archive-zip-update-case): Use 7z if found by `executable-find'.
15203 The order of searching the available programs is the same as in
15204 `archive-zip-extract' (bug#8968).
15205
15206 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15207
15208 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15209 (menu-bar-options-menu): Tweak descriptions.
15210
15211 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15212
15213 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15214 menu items into verb phrases (bug#1421). Also refill to fit under
15215 80 columns.
15216
15217 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15218
15219 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15220 (Info-read-node-name): Doc fix (Bug#1084).
15221
15222 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15223 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15224 (end-of-sexp, beginning-of-sexp)
15225 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15226 (forward-symbol, forward-same-syntax, word-at-point)
15227 (sentence-at-point): Doc fix (Bug#1144).
15228
15229 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15230
15231 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15232 should cover it (bug#1281).
15233
15234 * cus-edit.el (custom-show): Mark as obsolete.
15235
15236 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15237 negotiation fails, then possibly try again with a non-encrypted
15238 connection (bug#9017).
15239
15240 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15241 be used.
15242
15243 2011-07-07 Richard Stallman <rms@gnu.org>
15244
15245 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15246 property, and handle its changed format.
15247 Look for the correct line number.
15248 Use file's line contents (but not past first =) to find
15249 correct line in message.
15250
15251 2011-07-07 Kenichi Handa <handa@m17n.org>
15252
15253 * international/characters.el (build-unicode-category-table):
15254 Delete it.
15255 (unicode-category-table): Set it by unicode-property-table-internal.
15256
15257 * international/mule-cmds.el (char-code-property-alist): Move to
15258 to src/chartab.c.
15259 (get-char-code-property): Call unicode-property-table-internal to
15260 load a file. Call get-unicode-property-internal where necessary.
15261 (put-char-code-property): Call unicode-property-table-internal to
15262 load a file. Call put-unicode-property-internal where necessary.
15263 put-unicode-property-internal where necessary.
15264 (char-code-property-description):
15265 Call unicode-property-table-internal to load a file.
15266
15267 * international/charprop.el:
15268 * international/uni-bidi.el:
15269 * international/uni-category.el:
15270 * international/uni-combining.el:
15271 * international/uni-comment.el:
15272 * international/uni-decimal.el:
15273 * international/uni-decomposition.el:
15274 * international/uni-digit.el:
15275 * international/uni-lowercase.el:
15276 * international/uni-mirrored.el:
15277 * international/uni-name.el:
15278 * international/uni-numeric.el:
15279 * international/uni-old-name.el:
15280 * international/uni-titlecase.el:
15281 * international/uni-uppercase.el: Regenerate.
15282
15283 * loadup.el: Load international/charprop.el before
15284 international/characters.
15285
15286 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15287
15288 * window.el (next-buffer, previous-buffer): Signal an error if
15289 called from a minibuffer window.
15290
15291 * bindings.el: Revert 2011-07-04 change.
15292
15293 2011-07-06 Richard Stallman <rms@gnu.org>
15294
15295 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15296 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15297 Treat markers like ints.
15298 (rmail-mime-entity): Doc fix.
15299
15300 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15301
15302 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15303 defcustom again for backwards compatibility.
15304
15305 * simple.el (shell-command-on-region): Fill.
15306
15307 * dired-aux.el (dired-kill-line): Add a doc string.
15308
15309 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15310 to "\\sw\\|\\s_" (bug#358).
15311
15312 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15313 (dired-unmark-backward): Ditto.
15314 (dired-flag-backup-files): Ditto.
15315
15316 * dired-x.el (dired-mark-sexp): Ditto.
15317
15318 2011-07-06 Richard Stallman <rms@gnu.org>
15319
15320 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15321 (rmail-mime-entity): New arg TRUNCATED.
15322 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15323 New functions.
15324 (rmail-mime-save): Warn if entity is truncated.
15325 (rmail-mime-toggle-hidden): Likewise, for showing.
15326 (rmail-mime-process-multipart): Record when an entity is truncated.
15327
15328 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15329 if ENTITY is a string.
15330
15331 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15332
15333 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15334 of faces when `M-C-x'-ing their definitions (bug#8378).
15335 Also clean up the code slightly.
15336
15337 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15338 because that makes the colors go away.
15339
15340 * mail/sendmail.el (send-mail-function): Change the default to
15341 `sendmail-query-once'.
15342 (sendmail-query-once): Add an autoload cookie.
15343
15344 * net/network-stream.el (network-stream-open-starttls): Try using
15345 a plain connection even if the server offered STARTTLS, and we
15346 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15347 capability. This should make smtpmail.el work in slightly more
15348 configurations.
15349
15350 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15351
15352 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15353 New defun.
15354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15355
15356 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15357
15358 * progmodes/sql.el: Version 3.0
15359 (sql-product-alist): Add product :completion-object,
15360 :completion-column, and :statement attributes.
15361 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15362 (sql-mode-syntax-table): Mark all punctuation.
15363 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15364 ansi keywords.
15365 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15366 (sql-mode-oracle-font-lock-keywords): Improve.
15367 (sql-oracle-show-reserved-words): New function for development.
15368 (sql-product-font-lock): Simplify for source code buffers.
15369 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15370 New functions.
15371 (sql-highlight-product): Set product specific syntax table.
15372 (sql-mode-map): Add statement movement functions.
15373 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15374 New variable.
15375 (sql-statement-regexp, sql-beginning-of-statement)
15376 (sql-end-of-statement, sql-signum): New functions.
15377 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15378 (sql-show-sqli-buffer): Bug fix.
15379 (sql-interactive-mode): Store connection data as buffer local.
15380 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15381 with sql-interactive-mode.
15382 (sql-save-connection): Save buffer local settings.
15383 (sql-connection-menu-filter): Change menu entry name.
15384 (sql-product-interactive): Bug fix.
15385 (sql-preoutput-hold): New variable.
15386 (sql-interactive-remove-continuation-prompt): Bug fixes.
15387 (sql-debug-redirect): New variable.
15388 (sql-str-literal): New function.
15389 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15390 Redesign.
15391 (sql-oracle-save-settings, sql-oracle-restore-settings)
15392 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15393 (sql-completion-object, sql-completion-column)
15394 (sql-completion-sqlbuf): New variables.
15395 (sql-build-completions-1, sql-build-completions)
15396 (sql-try-completion): New functions.
15397 (sql-read-table-name): Use them.
15398 (sql-contains-names): New buffer local variable.
15399 (sql-list-all, sql-list-table): Use it.
15400 (sql-oracle-completion-types): New variable.
15401 (sql-oracle-completion-object, sql-sqlite-completion-object)
15402 (sql-postgres-completion-object): New functions.
15403
15404 2011-07-06 Glenn Morris <rgm@gnu.org>
15405
15406 * window.el (pop-to-buffer): Doc fix.
15407
15408 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15409
15410 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15411
15412 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15413
15414 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15415
15416 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15417
15418 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15419
15420 * button.el (button): Inherit from link face. Suggested by Dan
15421 Nicolaescu.
15422
15423 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 * progmodes/gdb-mi.el: Fit in 80 columns.
15426 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15427 switch-to-buffer.
15428
15429 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15430 if imenu is simply not configured (bug#8941).
15431
15432 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15433
15434 * allout.el (allout-post-undo-hook): New allout outline-change
15435 event hook to signal undo activity.
15436 (allout-post-command-business): Run allout-post-undo-hook if an
15437 undo just occurred.
15438 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15439 * allout-widgets.el (allout-widgets-after-undo-function):
15440 Ensure the integrity of the current item's decoration after it has been
15441 in the vicinity of an undo.
15442 (allout-widgets-mode): Include allout-widgets-after-undo-function
15443 on the new allout-post-undo-hook.
15444
15445 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15448 Let define-derived-mode define it.
15449 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15450 cycles of abbrev-table inheritance (bug#8998).
15451
15452 2011-07-05 Roland Winkler <winkler@gnu.org>
15453
15454 * textmodes/bibtex.el: Add support for biblatex.
15455 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15456 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15457 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15458 (bibtex-entry-alist, bibtex-field-alist): New variables.
15459 (bibtex-entry-field-alist): Obsolete alias for
15460 bibtex-BibTeX-entry-alist.
15461 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15462 (bibtex-set-dialect): New command.
15463 (bibtex-entry-type, bibtex-entry-head)
15464 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15465 Bind via bibtex-set-dialect.
15466 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15467 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15468 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15469 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15470 Define via bibtex-set-dialect.
15471 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15472 Obey bibtex-no-opt-remove-re.
15473 (bibtex-vec-push, bibtex-vec-incr): New functions.
15474 (bibtex-format-entry, bibtex-field-list)
15475 (bibtex-print-help-message, bibtex-validate)
15476 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15477
15478 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * progmodes/compile.el (compilation-goto-locus):
15481 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15482 * bs.el (bs-cycle-next, bs-cycle-previous):
15483 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15484 * bindings.el (mode-line-other-buffer):
15485 * autoinsert.el (auto-insert):
15486 * arc-mode.el (archive-extract):
15487 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15488
15489 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15490
15491 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15492 Fix check of `emacs-lock-unlockable-modes'.
15493 Coerce true values of `emacs-lock--try-unlocking' to t.
15494
15495 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15496
15497 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15498 * emacs-lock.el: New file.
15499
15500 2011-07-05 Julien Danjou <julien@danjou.info>
15501
15502 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15503 than `boundp' to check if face is set.
15504
15505 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15506
15507 * register.el (registerv-make):
15508 * window.el (window-min-height): Fix typos in docstrings.
15509
15510 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15511
15512 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15513 Update doc string.
15514
15515 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * server.el (server-execute): Catch quit and call
15518 `server-return-error' to pass the error back to emacsclient and
15519 close the connection (bug#8942).
15520
15521 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15522
15523 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15524 insecure exception for current topic. Also note that auto-saves
15525 are handled differently.
15526
15527 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15528 State variables for tracking auto-save inhibition situation.
15529
15530 (allout-write-contents-hook-handler): Rename from
15531 'allout-write-file-hook-handler', and describe how it depends on
15532 write-contents-functions sensitivity to non-nil value to prevent
15533 file write.
15534
15535 (allout-auto-save-hook-handler): Remove. auto-save does not check
15536 this in individual buffers, only in the starting buffer, so this
15537 is not the right way for us to inhibit auto-save in a buffer
15538 according to its condition.
15539
15540 (allout-mode): Use new allout-write-contents-hook-handler, and
15541 only with write-contents-functions. Remove auto-save provisions -
15542 they're implemented elsewhere.
15543
15544 (allout-before-change-handler): If undo is in progress, note that
15545 for attention of allout-post-command-business.
15546
15547 (allout-post-command-business): If the command we're following was
15548 an undo, check for change in the status of encrypted items and
15549 adjust auto-save inhibitions accordingly.
15550
15551 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15552 according to whether there are or aren't any plain-text topics
15553 pending encryption.
15554
15555 (allout-inhibit-auto-save-info-for-decryption):
15556 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15557 if there are plain-text topics pending encryption.
15558
15559 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15560 buffer-saved-size and some allout state to not inhibit auto-saves
15561 if there are no longer any plain-text topics pending encryption.
15562
15563 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15564 No longer provide for exemption of the current topic.
15565
15566 2011-07-04 Juri Linkov <juri@jurta.org>
15567
15568 Add 7z operations to delete and save changed members (bug#8968).
15569 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15570 New defcustoms.
15571 (archive-7z-write-file-member): New function.
15572 (archive-7z-summarize): Fix the number of dashes in the
15573 listing output.
15574
15575 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15576
15577 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15578 (bug#8958).
15579
15580 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15581
15582 * bindings.el: Ignore next-buffer and previous-buffer in
15583 minibuffer-local-map.
15584
15585 * font-lock.el (font-lock-builtin-face): Change light background
15586 color to dark slate blue (Bug#6693).
15587
15588 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15589
15590 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15591
15592 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15595 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15596 Add switch-to-buffer.
15597
15598 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15599
15600 * isearch.el (isearch-search-fun-function): Clarify further the
15601 meaning of the function returned.
15602
15603 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15604
15605 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15606
15607 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15608 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15609 Use it.
15610 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15611 `tramp-default-remote-path' does not exist.
15612 (tramp-send-command-and-read): New optional argument NOERROR.
15613 (tramp-open-connection-setup-interactive-shell)
15614 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15615 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15616 (tramp-process-sentinel): Flush also process' connection property.
15617 (tramp-sh-handle-start-file-process): Do not set process
15618 sentinel. It is done now ...
15619 (tramp-maybe-open-connection): ... here. (Bug#8929)
15620
15621 2011-07-04 MON KEY <monkey@sandpframing.com>
15622
15623 * play/animate.el (animate-string): Doc fixes and allow changing
15624 the buffer name (bug#5417).
15625
15626 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15627
15628 * play/animate.el (animation-buffer-name): Rename from *animate*.
15629
15630 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15631
15632 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15633 This is simpler and helps future-proof the code.
15634 (timer-until): Use time-subtract and float-time.
15635 (timer--time-less-p): Use time-less-p.
15636
15637 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15638
15639 * type-break.el (timep): Use the value of `float-time' to avoid a
15640 byte-compiler warning.
15641
15642 * server.el (server-eval-and-print): Return any result, even nil.
15643
15644 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15645
15646 * type-break.el: Accept time formats that the builtins accept.
15647 (timep, type-break-time-difference): Accept any format that
15648 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15649 This is simpler and helps future-proof the code.
15650 (type-break-time-difference): Round rather than ignoring
15651 subseconds components.
15652
15653 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15654
15655 * info.el (Info-apropos-matches): Make non-interactive, since it
15656 doesn't seem to do anything useful as a command (bug#8829).
15657
15658 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15659
15660 * frame.el (frame-background-mode, frame-set-background-mode):
15661 Move from faces.el.
15662 (frame-default-terminal-background): New function.
15663
15664 * custom.el (custom-push-theme): Don't record faces in `changed'
15665 theme; this doesn't work correctly for per-frame face settings.
15666 (disable-theme): Use face-set-after-frame-default to reset faces.
15667 (custom--frame-color-default): New function.
15668
15669 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15670
15671 * dired.el (dired-flagging-regexp): Remove unused variable
15672 (bug#8769).
15673
15674 2011-03-29 Kevin Ryde <user42@zip.com.au>
15675
15676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15677 `perl-Test2' extend to match possible "fail #N" rep count
15678 (bug#8377).
15679
15680 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15681
15682 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15683 `smtpmail-via-smtp' now returns the error instead of nil.
15684
15685 * isearch.el (isearch-search-fun-function): Clarify the doc string
15686 (bug#8101).
15687
15688 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15689
15690 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15691 unnecessary spaces (bug#8987).
15692
15693 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15694
15695 * net/network-stream.el (open-network-stream): Use the
15696 :end-of-capability command thoughout.
15697
15698 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15699
15700 * net/network-stream.el (open-network-stream): Add the
15701 :end-of-capability command parameter, used by pop3.el.
15702
15703 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15704
15705 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15706
15707 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15708 for list)" (bug#6475).
15709
15710 * files.el (file-expand-wildcards): Ignore non-readable
15711 sub-directories while trying to find matches instead of signaling
15712 an error (bug#6297).
15713
15714 * man.el (Man-reference-regexp): Allow matching possible
15715 word-wrapped references (bug#6289).
15716
15717 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15718 for consistency with the other vc buffers (bug#6197).
15719 (vc-checkin): Ditto.
15720
15721 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15722
15723 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15724
15725 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15726
15727 * custom.el (defcustom): Clarify that :set is only used in the
15728 Customize user interface (bug#6089).
15729
15730 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15731 associated with a file, refuse to run instead of erroring out
15732 (bug#6084).
15733
15734 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15735 the doc string, since it appears that using `fill-column' always
15736 controls the width (bug#7845).
15737
15738 * simple.el (shell-command-on-region): Say where the error output
15739 went if `shell-command-default-error-buffer' is set (bug#6857).
15740
15741 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15742
15743 * allout.el (allout-yank-processing): Adjust cursor position for
15744 backwards-deleted space.
15745
15746 (allout-rebullet-heading): Register changes with
15747 allout-exposure-changed-hook, so the modified topic is properly
15748 decorated.
15749
15750 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15751
15752 * minibuffer.el (completion-in-region): Document PREDICATE
15753 (bug#7136).
15754
15755 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15756 of keyword/argument pairs (bug#6904).
15757
15758 * replace.el (multi-occur):
15759 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15760
15761 2011-07-02 Drew Adams <drew.adams@oracle.com>
15762
15763 * dired.el (dired-mark-if): Make the message about whether it's
15764 marking or unmarking clearer (bug#8523).
15765
15766 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15767
15768 * disp-table.el (display-table-print-array): New function.
15769 (describe-display-table): Use it to print the vectors more pretty
15770 (Bug#8859).
15771
15772 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15773
15774 * window.el (window-state-get-1): Don't assign clone numbers.
15775 Add clone-of item to list of window parameters.
15776 (window-state-put-2): Don't process clone numbers.
15777 (display-buffer-alist): Fix doc-string.
15778
15779 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * subr.el (remq): Don't allocate if it's not needed.
15782 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15783 (keymap--merge-bindings): New functions.
15784 (keymap-canonicalize): Use them to refine the canonicalization.
15785 * minibuffer.el (minibuffer-local-completion-map)
15786 (minibuffer-local-must-match-map): Move initialization from C.
15787 (minibuffer-local-filename-completion-map): Move initialization from C;
15788 don't inherit from anything here.
15789 (minibuffer-local-filename-must-match-map): Make obsolete.
15790 (completing-read-default): Use make-composed-keymap to combine
15791 minibuffer-local-filename-completion-map with either
15792 minibuffer-local-must-match-map or
15793 minibuffer-local-filename-completion-map.
15794
15795 2011-07-01 Glenn Morris <rgm@gnu.org>
15796
15797 * type-break.el (type-break-time-sum): Use dolist.
15798
15799 * textmodes/flyspell.el (flyspell-word-search-backward):
15800 Replace CL function.
15801
15802 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15803
15804 * mouse.el (mouse--strip-first-event): New function.
15805 (function-key-map): Use it to map fringe clicks to normal clicks
15806 by default.
15807
15808 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15809 (vc-bzr-revision-completion-table): Add support for annotate and date.
15810
15811 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15812 inherit from parent.
15813
15814 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15815
15816 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15817 (dired-show-file-type): Doc fixup (bug#8818).
15818
15819 * dired.el (dired-mode): Fix up the doc string as suggested by
15820 Drew Adams (bug#8817).
15821
15822 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15823 cookie, since the manual says that it should be possible to add
15824 this function to `find-file-hook' (bug#8709).
15825
15826 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15827
15828 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15829 here. Noted Ted Zlatanov as the maintainer.
15830 (cfengine-common-settings, cfengine-common-syntax): New functions
15831 to set up common things between `cfengine-mode' and
15832 `cfengine3-mode'.
15833 (cfengine3-mode): New mode.
15834 (cfengine3-defuns cfengine3-defuns-regex
15835 (cfengine3-class-selector-regex cfengine3-category-regex)
15836 (cfengine3-vartypes cfengine3-font-lock-keywords)
15837 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15838 (cfengine3-indent-line): Add from cfengine3.el.
15839
15840 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15841
15842 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15843
15844 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15845
15846 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15847
15848 * window.el (same-window-buffer-names, same-window-regexps)
15849 (same-window-p, special-display-frame-alist)
15850 (special-display-popup-frame, special-display-function)
15851 (special-display-buffer-names, special-display-regexps)
15852 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15853 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15854 (split-window-preferred-function, split-height-threshold)
15855 (split-width-threshold, even-window-heights)
15856 (display-buffer-mark-dedicated, window-splittable-p)
15857 (split-window-sensibly, window-safely-shrinkable-p):
15858 Un-obsolete.
15859 (display-buffer): Don't spread args with function specifier
15860 because special-display-popup-frame won't like it.
15861
15862 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15863
15864 Time-stamp simplifications and fixes.
15865 These improve accuracy slightly, and future-proof the code
15866 against some potential changes to current-time format.
15867
15868 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15869 by using time-since and float-time.
15870
15871 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15872 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15873 + NNN microseconds".
15874
15875 * type-break.el (type-break-time-sum): Rewrite using time-add.
15876
15877 * play/hanoi.el (hanoi-current-time-float): Remove.
15878 All uses replaced by float-time.
15879
15880 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15881 This yields a more-accurate answer.
15882 (rng-time-to-float): Remove; no longer needed.
15883
15884 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15885
15886 * calendar/timeclock.el (timeclock-seconds-to-time):
15887 Defalias to seconds-to-time, since they're the same thing.
15888
15889 * emacs-lisp/elp.el (elp-elapsed-time):
15890 * emacs-lisp/benchmark.el (benchmark-elapse):
15891 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15892
15893 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15894
15895 * window.el (bury-buffer): Don't iconify the only frame.
15896 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15897 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15898
15899 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15900
15901 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15902 Add mouse-yank-primary.
15903
15904 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15905
15906 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15907
15908 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15911 (find-library-name): Use it to find relative load names when provided
15912 absolute file name (bug#8803).
15913
15914 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15915
15916 * textmodes/flyspell.el (flyspell-word): Consider words that
15917 differ only in case as potential doublons (bug#5687).
15918
15919 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15920 Remove two rather uninteresting debugging-like messages to make
15921 debbugs.el more silent.
15922
15923 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15924 a password-like phrase.
15925
15926 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15927
15928 * progmodes/cc-guess.el: New file.
15929
15930 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15931
15932 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15933 derived from `c-basic-common-init'.
15934
15935 * progmodes/cc-mode.el (top-level): Require cc-guess.
15936 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15937
15938 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15939
15940 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15941
15942 2011-06-30 Alan Mackenzie <acm@muc.de>
15943
15944 * progmodes/cc-engine.el (c-guess-continued-construct):
15945 Correct the handling of template-args-cont, particularly for when font
15946 lock is disabled. Name this case as "CASE G".
15947
15948 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15949
15950 * allout.el (allout-yank-processing): Fix injection of extra space
15951 between bullet and non-whitespace character in first topic when
15952 pasting, ensuring that the actual spacing in the pasted topic
15953 following the bullet char is preserved. This extra space was
15954 causing pasted encrypted topics to get a decrypted status even
15955 when the content was actually still encrypted. Now the decryption
15956 status from before the paste is preserved.
15957
15958 (allout-flag-region): Set all allout overlays so they evaporate
15959 when reduced to zero length (evanescent), to prevent overlay
15960 leakage.
15961
15962 2011-06-30 Glenn Morris <rgm@gnu.org>
15963
15964 * w32-fns.el (w32-charset-info-alist): Declare.
15965
15966 * find-dired.el (find-grep-options): Simplify.
15967
15968 * term/ns-win.el (ns-set-resource): Declare.
15969
15970 * ses.el (row, col): Declare dynamic variables honestly.
15971
15972 * textmodes/reftex-parse.el (index-tags): Declare.
15973
15974 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * cus-edit.el (customize-push-and-save): New function.
15977
15978 * files.el (hack-local-variables-confirm): Use it.
15979
15980 * custom.el (load-theme): New arg NO-CONFIRM.
15981 Use customize-push-and-save (Bug#8720).
15982 (custom-enabled-themes): Doc fix.
15983
15984 * cus-theme.el (customize-create-theme)
15985 (custom-theme-merge-theme): Callers to load-theme changed.
15986
15987 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15988
15989 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15990 short URLs have at least one dot in them (bug #7614).
15991
15992 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15993 nil, because using a pty is apparently too slow (bug #895).
15994
15995 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
15997 * mail/sendmail.el (sendmail-query-once): New function.
15998 (sendmail-query-once-function): New variable.
15999
16000 2011-06-29 Glenn Morris <rgm@gnu.org>
16001
16002 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16003
16004 * ses.el (top-level): Require cl when compiling.
16005 (ses-set-localvars): Fix error statement.
16006 Call it at compile time to silence a storm of warnings.
16007
16008 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16009
16010 * window.el (normalize-live-buffer): Rename to
16011 window-normalize-buffer.
16012 (normalize-live-frame): Rename to window-normalize-frame.
16013 (normalize-any-window): Rename to window-normalize-any-window.
16014 (normalize-live-window): Rename to window-normalize-live-window.
16015 (make-window-atom): Rename to window-make-atom.
16016 (window-resize-reset): Rename to window--resize-reset.
16017 (window-resize-reset-1): Rename to window--resize-reset-1.
16018 (resize-mini-window): Rename to window--resize-mini-window.
16019 (resize-subwindows-skip-p): Rename to
16020 window--resize-subwindows-skip-p.
16021 (resize-subwindows-normal): Rename to
16022 window--resize-subwindows-normal.
16023 (resize-subwindows): Rename to window--resize-subwindows.
16024 (resize-other-windows): Rename to window--resize-siblings.
16025 (resize-this-window): Rename to window--resize-this-window.
16026 (resize-root-window): Rename to window--resize-root-window.
16027 (resize-root-window-vertically): Rename to
16028 window--resize-root-window-vertically.
16029 (normalize-buffer-to-display): Rename to
16030 window-normalize-buffer-to-display.
16031 (normalize-buffer-to-switch-to): Rename to
16032 window-normalize-buffer-to-switch-to.
16033 Correspondingly update all callers of the functions listed
16034 above.
16035 (display-buffer-alist, display-buffer-normalize-arguments)
16036 (display-buffer-normalize-options, display-buffer)
16037 (display-buffer-alist-set): Use "function" instead of
16038 "fun-with-args".
16039
16040 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16041
16042 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16043 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16044 debbugs.gnu.org. Mention acknowledgment email.
16045
16046 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16047
16048 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16049 buffer multibyteness, since it shouldn't matter.
16050
16051 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16052
16053 * window.el (display-buffer-in-side-window): Handle dedicated
16054 windows as in display-buffer-reuse-window.
16055 (display-buffer-normalize-alist): Use value of override
16056 specifier.
16057 (display-buffer-normalize-specifiers): Use value of
16058 other-window-means-other-frame specifier.
16059 (display-buffer-alist): Rewrite some texts in widgets.
16060 (display-buffer): Spread arguments when calling function
16061 specified by fun-with-args.
16062
16063 2011-06-28 Deniz Dogan <deniz@dogan.se>
16064
16065 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16066 Unnest `let'.
16067
16068 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16069 selectors (Bug#5732).
16070 (css-proprietary-nmstart-re): Use `regexp-opt'.
16071
16072 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16073
16074 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16075 (eshell-ls-date-format): New defcustom.
16076 (eshell-ls-file): Use it.
16077
16078 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16081
16082 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16083
16084 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16085 (ange-ftp-make-tmp-name): New arg.
16086 (ange-ftp-file-local-copy): Use it.
16087
16088 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16089
16090 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16091 no-conversion (Bug#8870).
16092
16093 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16094
16095 * window.el (window-right, window-left, window-child)
16096 (window-child-count, window-last-child)
16097 (window-iso-combination-p, walk-window-tree-1)
16098 (window-atom-check-1, window-tree-1, delete-window)
16099 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16100 new naming conventions - window-vchild, window-hchild,
16101 window-next and window-prev are now called window-top-child,
16102 window-left-child, window-next-sibling and window-prev-sibling
16103 respectively.
16104 (resize-window-reset): Rename to window-resize-reset.
16105 (resize-window-reset-1): Rename to window-resize-reset-1.
16106 (resize-window): Rename to window-resize.
16107 (window-min-height, window-min-width)
16108 (resize-mini-window, resize-this-window, resize-root-window)
16109 (resize-root-window-vertically, adjust-window-trailing-edge)
16110 (enlarge-window, shrink-window, maximize-window)
16111 (minimize-window, delete-window, quit-restore-window)
16112 (split-window, balance-windows, balance-windows-area-adjust)
16113 (balance-windows-area, window-state-put-2)
16114 (display-buffer-even-window-sizes, display-buffer-set-height)
16115 (display-buffer-set-width, set-window-text-height)
16116 (fit-window-to-buffer): Rename all "resize-window" prefixed
16117 calls to use the "window-resize" prefix convention.
16118 (display-buffer-alist): Fix symbol for label specifier.
16119 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16120 corresponding specifier.
16121 Reported by Juanma Barranquero <lekktu@gmail.com>.
16122
16123 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16124
16125 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16126 convention.
16127 (ses-call-printer): Does not pass an empty string to formatter when the
16128 cell is empty to keep from barking printer Calc math-format-value.
16129
16130 2011-06-27 Richard Stallman <rms@gnu.org>
16131
16132 * battery.el (battery-mode-line-limit): New variable.
16133 (battery-update): Handle it.
16134
16135 * mail/rmailmm.el (rmail-mime-process-multipart):
16136 Handle truncated messages.
16137
16138 2011-06-27 Glenn Morris <rgm@gnu.org>
16139
16140 * progmodes/flymake.el (flymake-err-line-patterns):
16141 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16142
16143 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16144
16145 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16146 (ses--clean-!, ses--clean-_): New functions.
16147 (ses-range): Add configurability of readout order, and conversion
16148 to Calc vector.
16149
16150 * ses.el (ses-repair-cell-reference-all): New function.
16151 (ses-cell-symbol): Set macro as safe, so that it can be used in
16152 formulas.
16153
16154 * ses.el: Update cycle detection algorithm.
16155 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16156 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16157 (ses-set-localvars): New function.
16158 (ses-make-cell): Add property-list as a cell element.
16159 (ses-cell-property-get-fun, ses-cell-property-get)
16160 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16161 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16162 New functions.
16163 (ses-cell-property-set, ses-cell-property-pop)
16164 (ses-cell-property-get-handle): New macro.
16165 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16166 New aliases, used for code readability.
16167 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16168 cycle detection.
16169 (ses-self-reference-early-detection): New defcustom.
16170 (ses-formula-references): Robustify against self-referring cells.
16171 (ses-mode): Use ses-set-localvars.
16172 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16173 before lauching the update processing.
16174 (ses-initialize-Dijkstra-attempt): New function.
16175 (ses-recalculate-cell): Update for cycle detection based on
16176 Dijkstra algorithm.
16177
16178 * ses.el: Fix commenting and indenting convention.
16179
16180 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * bs.el (bs-cycle-next): Complete last change.
16183
16184 2011-06-27 Drew Adams <drew.adams@oracle.com>
16185
16186 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16187
16188 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16189
16190 * net/network-stream.el (network-stream-open-starttls):
16191 Don't re-get capabilities unless we've reestablished connection.
16192 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16193
16194 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16195 to binary to possibly avoid line encoding issues on Windows (among
16196 other things).
16197
16198 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16199
16200 * net/network-stream.el (open-network-stream): Return an :error
16201 saying what the problem was, if possible.
16202
16203 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16204 server.
16205
16206 * net/network-stream.el (network-stream-open-starttls): If we
16207 wanted to use STARTTLS, and the server offered it, but we weren't
16208 able to because we had no STARTTLS support, then close the connection.
16209 (open-network-stream): Return an :error element, if present.
16210
16211 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * hl-line.el (hl-line-sticky-flag): Doc fix.
16214 (global-hl-line-sticky-flag): New option (Bug#8323).
16215 (global-hl-line-highlight): Obey it.
16216
16217 * vc/vc.el (vc-revert-show-diff): Default to t.
16218
16219 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16220
16221 * allout-widgets.el (allout-widgets-post-command-business):
16222 Stop decorating intermediate isearch matches. They're not being
16223 undecorated when an isearch is continued past, and isearch
16224 automatically collapses them. This leads to "widget leaks", where
16225 decorated items accumulate in collapsed areas. Lines with lots of
16226 hidden widgets can slow down cursor travel, substantially.
16227 Too much complicated machinery would be needed to ensure undecoration,
16228 so we're doing without this nicety.
16229
16230 (allout-widgets-tally-string): Don't try to do a hash-table-count
16231 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16232 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16233 *Messages* when allout-widgets-maintain-tally is t.
16234
16235 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16236
16237 * window.el (display-buffer-normalize-argument): Rename to
16238 display-buffer-normalize-arguments. Handle special meaning of
16239 LABEL argument. Respect special-display-function when popping up
16240 a new frame. Fix code searching for a window showing the buffer
16241 on another frame.
16242 (display-buffer-normalize-specifiers):
16243 Call display-buffer-normalize-arguments.
16244 (display-buffer-in-window): Don't undedicate the window if its
16245 buffer remains the same.
16246 Reported by Drew Adams <drew.adams@oracle.com>.
16247 (display-buffer-alist): Add choice for same-window macro
16248 specfier.
16249 (display-buffer): Mention special meaning of LABEL argument in
16250 doc-string. Fix quoting. Don't pop up a new frame even as
16251 fallback.
16252
16253 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16254
16255 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16256 avoid deleting the current window in some cases (bug#8911).
16257
16258 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16259
16260 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16261 (Bug#8934)
16262
16263 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16264
16265 * net/network-stream.el (network-stream-open-starttls):
16266 Use built-in TLS support if `gnutls-available-p' is true.
16267 (network-stream-open-tls): Ditto.
16268
16269 2011-06-26 Leo Liu <sdl.web@gmail.com>
16270
16271 * register.el (registerv): New struct.
16272 (registerv-make): New function.
16273 (jump-to-register, describe-register-1, insert-register):
16274 Support the jump-func, print-func and insert-func slot of a registerv
16275 struct. (Bug#8415)
16276
16277 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16278
16279 * vc/vc.el (vc-revert-show-diff): New defcustom.
16280 (vc-diff-internal): New arg specifying diff buffer.
16281 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16282 reuse an existing *vc-diff* buffer (Bug#8927).
16283
16284 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16285
16286 2011-06-26 Glenn Morris <rgm@gnu.org>
16287
16288 * progmodes/f90.el (f90-critical-indent): New option.
16289 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16290 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16291 (f90-mode): Doc fix.
16292 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16293 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16294 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16295 (f90-match-end): Handle block, critical.
16296
16297 2011-06-25 Glenn Morris <rgm@gnu.org>
16298
16299 * calendar/diary-lib.el (diary-included-files): Doc fix.
16300 (diary-include-files): New function, extracted from
16301 diary-include-other-diary-files and diary-mark-included-diary-files.
16302 (diary-include-other-diary-files, diary-mark-included-diary-files):
16303 Just call diary-include-files.
16304 (diary-mark-entries): Reset diary-included-files on first call.
16305
16306 * calendar/diary-lib.el (diary-mark-entries)
16307 (diary-mark-included-diary-files):
16308 Visit included diary-files in temp buffers.
16309
16310 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16311 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16312 (f90-start-block-re, f90-imenu-generic-expression)
16313 (f90-looking-at-program-block-start, f90-no-block-limit):
16314 Add support for submodules.
16315
16316 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16317 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16318
16319 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16320
16321 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16322 buffer-file-type before setting its value, to avoid disastrous
16323 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16324
16325 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16326
16327 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16328
16329 * ses.el (ses-unload-function):
16330 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16331
16332 * proced.el (proced-unload-function):
16333 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16334
16335 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16336
16337 * server.el (server-create-window-system-frame): Add parameters arg.
16338 (server-process-filter): Doc fix. Handle frame-parameters.
16339
16340 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16341
16342 Fix bug#8730, bug#8781.
16343
16344 * loadhist.el (unload--set-major-mode): New function.
16345 (unload-feature): Use it.
16346
16347 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16348 (python-unload-function): New function.
16349
16350 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16353
16354 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16355
16356 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16357 the candidates list.
16358
16359 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16360
16361 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16362
16363 2011-06-23 Richard Stallman <rms@gnu.org>
16364
16365 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16366 (rmail-variables): Set next-error-move-function.
16367 (rmail-what-message): Take argument POS.
16368 (rmail-next-error-move): New function.
16369
16370 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16371
16372 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16373 messages for adjacent non-terminals.
16374
16375 2011-06-23 Richard Stallman <rms@gnu.org>
16376
16377 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16378 (rmail-show-message-1): Preserve buffer modified flag.
16379 (rmail-start-mail): Don't specify use of rmail-mail-return;
16380 that's done by mail-bury now.
16381 (rmail-mail-return): Handle arg NEWBUF.
16382
16383 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16384
16385 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16386 SIZE is a number.
16387
16388 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16389
16390 * window.el (get-lru-window, get-mru-window)
16391 (get-largest-window): Never return a minibuffer window.
16392 (display-buffer-pop-up-window): Fix a bug that could lead to
16393 reusing the minibuffer window.
16394 (display-buffer): Pass original specifier argument to
16395 display-buffer-function instead of the normalized one.
16396 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16397
16398 2011-06-22 Leo Liu <sdl.web@gmail.com>
16399
16400 * minibuffer.el (completing-read-function)
16401 (completing-read-default): Move from minibuf.c.
16402
16403 2011-06-22 Richard Stallman <rms@gnu.org>
16404
16405 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16406 to Rmail even if not started by a special Rmail command.
16407
16408 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16409 Copy the buffer currently showing just one message.
16410
16411 2011-06-22 Roland Winkler <winkler@gnu.org>
16412
16413 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16414 (bibtex-clean-entry): First delete the old key so that a
16415 customized algorithm for generating the new key does not get
16416 confused by the old key.
16417 (bibtex-url): Obey regexp of first step.
16418 (bibtex-search-entries): Do not use add-to-list with local
16419 list-var.
16420
16421 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
16423 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16424 stored a user name, then query for the password first, instead of
16425 waiting for SMTP to give an error message and the trying again.
16426
16427 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16428
16429 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16430 BUFFER in call-process.
16431
16432 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16433
16434 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16435 QUIT twice.
16436 (smtpmail-try-auth-methods): Require user name and password from
16437 auth-source.
16438
16439 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16440
16441 * window.el (display-buffer-default-specifiers)
16442 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16443 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16444 (split-window): Normalize SIDE argument (Bug#8916).
16445
16446 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16447 (special-display-frame-alist, special-display-popup-frame):
16448 Remove duplicate declarations. These are now in window.el.
16449
16450 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451
16452 * mail/smtpmail.el (smtpmail-via-smtp):
16453 Set :use-starttls-if-possible so that we always use STARTTLS if the
16454 server supports it. SMTP servers that support STARTTLS commonly
16455 require it.
16456
16457 * net/network-stream.el (network-stream-open-starttls): Support
16458 upgrading to STARTTLS always, even if we don't have built-in support.
16459 (open-network-stream): Add the :always-query-capabilities keyword.
16460
16461 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16462 upgrades with `open-network-stream', and rely solely on
16463 auth-source for all credentials. Big changes throughout the file,
16464 but in particular:
16465 (smtpmail-auth-credentials): Remove.
16466 (smtpmail-starttls-credentials): Remove.
16467 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16468 MAIL FROM, too.
16469
16470 * net/network-stream.el (network-stream-open-starttls):
16471 Provide support for client certificates both for external and built-in
16472 STARTTLS.
16473 (auth-source): Require.
16474 (open-network-stream): Document the :client-certificate keyword.
16475 (network-stream-certificate): Change cert-cert to cert and
16476 cert-key to key.
16477
16478 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16479
16480 * net/tramp-cache.el (top): Don't load the persistency file when
16481 "emacs -Q" has been called.
16482
16483 2011-06-21 Tim Harper <timcharper@gmail.com>
16484
16485 * term/ns-win.el (ns-initialize-window-system):
16486 Set application-specific `ApplePressAndHoldEnabled' system
16487 resource to NO as it is not yet supported by the NS port.
16488
16489 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16490
16491 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16492 (list-dynamic-libraries): ...not here.
16493
16494 2011-06-21 Leo Liu <sdl.web@gmail.com>
16495
16496 * subr.el (sha1): Implement sha1 using secure-hash.
16497
16498 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16499
16500 * window.el (display-buffer-alist): In default value do not
16501 enforce searching a window on any but the selected frame.
16502 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16503 (display-buffer-select-window): Remove function.
16504 (display-buffer-in-window): When a window on another frame gets
16505 reused, do not select it any more but just raise its frame if
16506 necessary (Bug#8851) and (Bug#8856).
16507 (display-buffer-normalize-options): Handle pop-up-frames related
16508 options more faithfully.
16509 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16510 window if it is on another frame.
16511 (display-buffer-alist, display-buffer-default-specifiers):
16512 Don't make new frame unsplittable by default.
16513 (display-buffer-normalize-argument): Fix doc-string typo and use
16514 'same-frame-other-window instead of 'other-window when associating
16515 with display-buffer-macro-specifiers.
16516
16517 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16518
16519 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16520 New functions.
16521 (5x5-mode-map, 5x5-mode-menu): Bind them.
16522 (5x5-draw-grid): Tweak the solver's rendering.
16523
16524 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16527 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16528
16529 2011-06-21 Drew Adams <drew.adams@oracle.com>
16530
16531 * menu-bar.el: Use function variable instead of switch-to-buffer.
16532 (menu-bar-select-buffer-function): New variable.
16533 (menu-bar-update-buffers): Use it (bug#8876).
16534
16535 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16536
16537 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16538 variable's status.
16539
16540 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16541
16542 * x-dnd.el (x-dnd-version-from-flags)
16543 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16544 and long as number (Bug#8899).
16545 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16546
16547 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16548
16549 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16550 (completion-try-completion, completion-all-completions): Compute the
16551 metadata argument if it's missing; make it optional (bug#8795).
16552
16553 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16554 (widget-complete): Use new :completion-function property.
16555 (widget-completions-at-point): New function.
16556 (default): Use :completion-function instead of :complete.
16557 (widget-default-completions): Rename from widget-default-complete;
16558 Rewrite.
16559 (widget-string-complete, widget-file-complete, widget-color-complete):
16560 Remove functions.
16561 (file, symbol, function, variable, coding-system, color):
16562 * international/mule-cmds.el (default-input-method, charset)
16563 (language-info-custom-alist):
16564 * cus-edit.el (face): Use new property :completions.
16565
16566 * progmodes/pascal.el (pascal-completions-at-point): New function.
16567 (pascal-mode): Use it.
16568 (pascal-mode-map): Use completion-at-point.
16569 (pascal-toggle-completions): Make obsolete.
16570 (pascal-complete-word, pascal-show-completions):
16571 * progmodes/octave-mod.el (octave-complete-symbol):
16572 Redefine as obsolete alias.
16573 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16574 Signal absence of completion info for old Octave,
16575 (inferior-octave-complete): Redefine as obsolete alias.
16576 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16577 (meta-completions-at-point): Rename from meta-complete-symbol and
16578 adapt it for use on completion-at-point-functions.
16579 (meta-common-mode): Use it.
16580 (meta-looking-at-backward, meta-match-buffer): Remove.
16581 (meta-complete-symbol): Redefine as obsolete alias.
16582 (meta-common-mode-map): Use completion-at-point.
16583 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16584 (makefile-mode-map): Use completion-at-point.
16585 (makefile-completions-at-point): Rename from makefile-complete and
16586 adapt it for use on completion-at-point-functions.
16587 (makefile-mode): Use it.
16588 (makefile-complete): Redefine as obsolete alias.
16589
16590 2011-06-20 Deniz Dogan <deniz@dogan.se>
16591
16592 * net/rcirc.el: Delete trailing whitespaces once and for all.
16593
16594 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16595
16596 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16597
16598 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16599
16600 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16601
16602 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16603
16604 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16605
16606 * window.el (display-buffer-other-window-means-other-frame):
16607 Call display-buffer-normalize-alist.
16608 (display-buffer-normalize-specifiers-1): Rename to
16609 display-buffer-normalize-argument. New argument other-frame.
16610 Rewrite.
16611 (display-buffer-normalize-specifiers-2): Rename to
16612 display-buffer-normalize-options.
16613 (display-buffer-normalize-alist-1): New function.
16614 (display-buffer-normalize-specifiers-3): Rename to
16615 display-buffer-normalize-alist.
16616 Call display-buffer-normalize-alist-1.
16617 (display-buffer-normalize-options-inhibit): New variable.
16618 (display-buffer-normalize-specifiers): Rewrite calling
16619 display-buffer-normalize-alist,
16620 display-buffer-normalize-argument, and
16621 display-buffer-normalize-options. Don't call the latter if
16622 display-buffer-normalize-options-inhibit is non-nil.
16623 (frame-auto-delete): New option.
16624 (window-deletable-p): Use frame-auto-delete.
16625 (window-list-no-nils, window-state-ignored-parameters)
16626 (window-state-get-1, window-state-get, window-state-put-list)
16627 (window-state-put-1, window-state-put-2, window-state-put):
16628 New functions.
16629 (display-buffer-normalize-options): Move special-display-p group
16630 after pop-up-frame group (Bug#8851) and (Bug#8856).
16631
16632 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16633
16634 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16635 groups (Bug#8776).
16636 (rx-submatch-n): New function.
16637 (rx): Document it.
16638
16639 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16640 (Bug#8768).
16641
16642 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16643
16644 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16645
16646 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16647 anytime existing face settings are present (Bug#8889).
16648
16649 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16650 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16651 Remove unused argument.
16652
16653 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16654
16655 * window.el (display-buffer-default-specifiers):
16656 Remove pop-up-frame. Add pop-up-window-min-height,
16657 pop-up-window-min-width, and another reuse-window specifier
16658 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16659 (display-buffer-normalize-specifiers-2):
16660 Handle split-height-threshold and split-width-threshold also when
16661 pop-up-windows is unset. Add a reuse-window specifier for the
16662 case popping up a new window fails.
16663 (special-display-popup-frame): Remove double quoting.
16664 (display-buffer-normalize-specifiers-1): Fix thinko.
16665
16666 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16669 according to comint-completion-addsuffix.
16670
16671 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16672 (pcomplete-suffix-list): Mark as obsolete.
16673 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16674 pcomplete-seen in the closure.
16675 (pcomplete-comint-setup): Setup completion-at-point as well.
16676 (pcomplete--entries): New function.
16677 (pcomplete--env-regexp): New var.
16678 (pcomplete-entries): Rewrite to work with partial-completion and
16679 without relying on pcomplete-suffix-list.
16680 (pcomplete-pare-list): Remove, unused.
16681
16682 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16683
16684 * window.el (display-buffer-alist): Set pop-up-window-min-height
16685 and pop-up-window-min-width in default value. Reported by
16686 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16687 other-window-means-other-frame.
16688 (display-buffer-macro-specifiers): Comment out entry for
16689 other-window specifier.
16690 (display-buffer-other-window-means-other-frame): New function.
16691 (display-buffer-normalize-specifiers-1): New arguments
16692 buffer-name and label. Treat other-window case specially.
16693 (display-buffer-normalize-specifiers-2): Treat other-window case
16694 specially.
16695 (display-buffer-normalize-specifiers-3): New function.
16696 (display-buffer-normalize-specifiers):
16697 Call display-buffer-normalize-specifiers-3.
16698
16699 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16700
16701 * window.el (same-window-p): Fix two typos introduced when
16702 adding with-no-warnings.
16703 (display-buffer-normalize-specifiers-1): Don't check
16704 pop-up-frames for 'unset initialization.
16705 (display-buffer-normalize-specifiers-2): Major rewrite using
16706 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16707 (pop-up-frames, display-buffer-reuse-frames)
16708 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16709 Suggested by David Engster <deng@randomsample.de>.
16710 (even-window-heights): Initialize to 'unset.
16711 (display-buffer-alist-set): Handle new 'unset initializations.
16712 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16713 other window case.
16714
16715 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16716
16717 * window.el (display-buffer-normalize-specifiers-1):
16718 Respect current value of pop-up-frames for most reasonable values of
16719 second argument of display-buffer (Bug#8865).
16720 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16721 (switch-to-buffer-other-window-same-frame)
16722 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16723 Adams (Bug#8875).
16724 (display-buffer): Don't check noninteractive when calling
16725 display-buffer-pop-up-frame.
16726 (display-buffer-pop-up-frame): Never pop up a frame in
16727 noninteractive mode (Bug#8857).
16728 (enlarge-window, shrink-window): Don't report an error when the
16729 window can't be resized as requested (Bug#8862).
16730
16731 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16732
16733 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16734
16735 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16736
16737 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16738
16739 2011-06-15 Alan Mackenzie <acm@muc.de>
16740
16741 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16742 for declarators, disable knr checking to speed up for normal files.
16743 2: Refactor, replacing a sequence of nested if forms by a cond form.
16744
16745 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16746
16747 * net/network-stream.el (open-network-stream): Add the keyword
16748 :always-query-capabilities for the case where you want to force a
16749 `plain' network connection, but the protocol still requires the
16750 capabilitiy command (i.e., SMTP and EHLO).
16751
16752 * subr.el (process-live-p): Rename from `process-alive-p' for
16753 consistency with other `-live-p' functions.
16754
16755 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * window.el (same-window-buffer-names, same-window-regexps)
16758 (special-display-frame-alist, special-display-popup-frame)
16759 (special-display-function, special-display-buffer-names)
16760 (special-display-regexps, pop-up-frame-alist)
16761 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16762 (pop-up-windows, split-window-preferred-function)
16763 (split-height-threshold, split-width-threshold, even-window-heights)
16764 (display-buffer-mark-dedicated): Don't encourage the use of
16765 display-buffer-alist from Elisp code.
16766
16767 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16768
16769 * progmodes/python.el (python-mode): Derive from prog-mode.
16770 * progmodes/ps-mode.el (ps-mode):
16771 * progmodes/mixal-mode.el (mixal-mode):
16772 * progmodes/cfengine.el (cfengine-mode):
16773 * progmodes/ld-script.el (ld-script-mode): Likewise.
16774
16775 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16776
16777 * window.el (display-buffer-alist): Trim default value to avoid
16778 popping up a new frame (Bug#8857) or reusing an arbitrary window
16779 on another frame.
16780 (display-buffer): Do not fall back on popping up a new frame in
16781 batch mode (Bug#8857).
16782
16783 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16786 (custom-theme-summary): New function.
16787 (customize-themes): Use it.
16788
16789 2011-06-13 Glenn Morris <rgm@gnu.org>
16790
16791 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16792
16793 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16794
16795 * help.el (help-window): Remove variable.
16796 (help-window-point-marker, temp-buffer-max-height)
16797 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16798 (help-print-return-message): Don't set help-window.
16799 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16800 (help-window-setup-finish): Remove.
16801 (help-window-display-message, help-window-setup)
16802 (with-help-window): Major rewrite based on new
16803 display-buffer-window variable.
16804
16805 * help-mode.el (help-mode-finish): Remove help-window related
16806 code.
16807
16808 * view.el (view-exits-all-viewing-windows): Remove reference to
16809 view-return-to-alist in doc-string.
16810 (view-return-to-alist): Make obsolete.
16811 (view-buffer): Call pop-to-buffer-same-window and remove
16812 undo-window code.
16813 (view-buffer-other-window): Call pop-to-buffer-other-window and
16814 simplify code. Ignore second argument.
16815 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16816 simplify code. Ignore second argument.
16817 (view-return-to-alist-update): Make obsolete.
16818 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16819 Rewrite using quit-restore window parameters.
16820 (view-mode-exit): Rename second argument to EXIT-ONLY.
16821 Rewrite using quit-restore-window.
16822 (View-exit, View-exit-and-edit, View-leave, View-quit)
16823 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16824 appropriate arguments.
16825 (view-end-message): Use quit-restore window parameter.
16826
16827 * window.el (display-buffer-function): Rewrite doc-string.
16828 (display-buffer-window, display-buffer-alist): New variables.
16829 (display-buffer-split-specifiers)
16830 (display-buffer-side-specifiers)
16831 (display-buffer-macro-specifiers): New constants.
16832 (display-buffer-even-window-sizes, display-buffer-set-height)
16833 (display-buffer-set-width, display-buffer-select-window)
16834 (display-buffer-in-window, display-buffer-reuse-window)
16835 (display-buffer-split-window-1, display-buffer-split-window)
16836 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16837 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16838 (display-buffer-in-side-window, normalize-buffer-to-display)
16839 (display-buffer-normalize-specifiers-1)
16840 (display-buffer-normalize-specifiers-2)
16841 (display-buffer-normalize-specifiers, display-buffer-frame):
16842 New functions.
16843 (display-buffer): Major rewrite.
16844 (display-buffer-other-window, display-buffer-other-frame)
16845 (pop-to-buffer, switch-to-buffer-other-window)
16846 (switch-to-buffer-other-frame): Rewrite.
16847 (display-buffer-same-window, display-buffer-same-frame)
16848 (display-buffer-same-frame-other-window)
16849 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16850 (pop-to-buffer-other-window)
16851 (pop-to-buffer-same-frame-other-window)
16852 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16853 (switch-to-buffer-other-window-same-frame): New functions.
16854 (same-window-p, special-display-p): Rewrite disabling warnings.
16855 Make obsolete.
16856 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16857 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16858 Make obsolete
16859 (same-window-buffer-names, same-window-regexps)
16860 (special-display-frame-alist, special-display-popup-frame)
16861 (special-display-function, special-display-buffer-names)
16862 (special-display-regexps, pop-up-frame-alist)
16863 (pop-up-frame-function, split-window-preferred-function)
16864 (split-height-threshold, split-width-threshold)
16865 (even-window-heights): Make obsolete.
16866
16867 2011-06-12 Glenn Morris <rgm@gnu.org>
16868
16869 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16870 Misc simplifications.
16871
16872 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (window-safely-shrinkable-p): Restore function which
16875 was inadvertently removed in change from 2011-06-11. Declare as
16876 obsolete.
16877
16878 * calendar/calendar.el (calendar-generate-window):
16879 Use window-iso-combined-p instead of combination of one-window-p and
16880 window-safely-shrinkable-p.
16881
16882 2011-06-12 Glenn Morris <rgm@gnu.org>
16883
16884 * progmodes/fortran.el (fortran-mode-syntax-table):
16885 * progmodes/f90.el (f90-mode-syntax-table):
16886 Set % to punctuation. (Bug#8820)
16887 (f90-find-tag-default): Remove, no longer needed.
16888
16889 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16890
16891 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16892
16893 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16894
16895 * image.el (image-animated-p): Return animation delay in seconds.
16896 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16897 (image-animate-timeout): Remove DELAY argument. Don't assume
16898 every subimage has the same delay; get it from image-animated-p.
16899 (image-animate): Caller changed.
16900
16901 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16902
16903 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16904 to ignored backtrace functions.
16905
16906 2011-06-11 Glenn Morris <rgm@gnu.org>
16907
16908 * calendar/appt.el (appt-disp-window-function): Doc fix.
16909 (appt-check): Handle overlapping appointments. (Bug#8337)
16910
16911 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16912
16913 * window.el (window-tree-1, window-tree): New functions, moving
16914 the latter to window.el.
16915 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16916 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16917 (bw-refresh-edges): Remove.
16918 (balance-windows-1, balance-windows-2): New functions.
16919 (balance-windows): Rewrite in terms of window tree functions,
16920 balance-windows-1 and balance-windows-2.
16921 (bw-adjust-window): Remove.
16922 (balance-windows-area-adjust): New function with functionality of
16923 bw-adjust-window but using resize-window.
16924 (set-window-text-height): Rewrite doc-string.
16925 Use normalize-live-window and resize-window.
16926 (enlarge-window-horizontally, shrink-window-horizontally):
16927 Rename argument to DELTA.
16928 (window-buffer-height): New function.
16929 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16930 Rewrite using new window resize routines.
16931 (kill-buffer-and-window, mouse-autoselect-window-select):
16932 Use ignore-errors instead of condition-case.
16933 (quit-window): Call delete-frame instead of delete-windows-on
16934 for the only buffer on frame.
16935
16936 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16937
16938 * loadup.el (top-level): Load window before files for the sake
16939 of replace-buffer-in-windows.
16940
16941 * files.el (read-buffer-to-switch)
16942 (switch-to-buffer-other-window)
16943 (switch-to-buffer-other-frame, display-buffer-other-frame):
16944 Move to window.el.
16945
16946 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16947 (previous-buffer): Move to window.el.
16948
16949 * bindings.el (unbury-buffer): Move to window.el.
16950
16951 * window.el (delete-other-windows-vertically): Move after
16952 definition of delete-other-windows.
16953 (other-window, delete-windows-on, replace-buffer-in-windows):
16954 Move here from window.c.
16955 (record-window-buffer, unrecord-window-buffer)
16956 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16957 (switch-to-next-buffer): New functions.
16958 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16959 from simple.el. Call switch-to-next-buffer.
16960 (previous-buffer): Move here from simple.el.
16961 Call switch-to-prev-buffer.
16962 (bury-buffer): Move here from buffer.c. Switch to previous
16963 buffer when window cannot be deleted.
16964 (unbury-buffer): Move here from bindings.el.
16965 (ctl-x-map): Move binding for other-window from window.c to
16966 here.
16967 (read-buffer-to-switch, switch-to-buffer-other-window)
16968 (switch-to-buffer-other-frame): Move here from files.el.
16969 (normalize-buffer-to-switch-to): New functions.
16970 (switch-to-buffer): Move here from buffer.c.
16971 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16972
16973 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16974
16975 * window.el (window-min-height, window-min-width): Move here
16976 from window.c. Add defcustoms and rewrite doc-strings.
16977 (resize-mini-window, resize-window): New functions.
16978 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16979 Move here from window.c.
16980 (maximize-window, minimize-window): New functions.
16981 (delete-window, delete-other-windows, split-window): Move here
16982 from window.c.
16983 (window-split-min-size): New function.
16984 (split-window-keep-point): Mention split-window-above-each-other
16985 instead of split-window-vertically.
16986 (split-window-above-each-other, split-window-vertically):
16987 Rename split-window-vertically to split-window-above-each-other
16988 and provide defalias for old definition.
16989 (split-window-side-by-side, split-window-horizontally):
16990 Rename split-window-horizontally to split-window-side-by-side
16991 and provide defalias for the old definition.
16992 (ctl-x-map): Move bindings for delete-window,
16993 delete-other-windows and enlarge-window here from window.c.
16994 Replace bindings for split-window-vertically and
16995 split-window-horizontally by bindings for
16996 split-window-above-each-other and split-window-side-by-side.
16997
16998 * cus-start.el (all): Remove entries for window-min-height and
16999 window-min-width. Add entries for window-splits and
17000 window-nest.
17001
17002 2011-06-09 Glenn Morris <rgm@gnu.org>
17003
17004 * calendar/appt.el (appt-mode-line): New function.
17005 (appt-check, appt-disp-window): Use it.
17006
17007 * files.el (hack-one-local-variable-eval-safep):
17008 Allow minor-modes with explicit +/-1 arguments.
17009
17010 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17011
17012 * term/xterm.el (xterm): Add defgroup.
17013 (xterm-extra-capabilities): Add defcustom to supply known xterm
17014 capabilities, skip querying them, or query them (default).
17015 (terminal-init-xterm): Use it.
17016 (terminal-init-xterm-modify-other-keys): New function to set up
17017 modifyOtherKeys support to simplify `terminal-init-xterm'.
17018
17019 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17020
17021 * window.el (resize-window-reset, resize-window-reset-1)
17022 (resize-subwindows-skip-p, resize-subwindows-normal)
17023 (resize-subwindows, resize-other-windows, resize-this-window)
17024 (resize-root-window, resize-root-window-vertically)
17025 (window-deletable-p, window-or-subwindow-p)
17026 (frame-root-window-p): New functions.
17027
17028 2011-06-09 Glenn Morris <rgm@gnu.org>
17029
17030 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17031 (ange-ftp-get-files): Use it.
17032
17033 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17034
17035 * mail/sendmail.el (mail-recover-1, mail-recover):
17036 * files.el (recover-file, recover-session):
17037 Handle dired-listing-switches not being just a single short option.
17038
17039 2011-06-09 Glenn Morris <rgm@gnu.org>
17040
17041 * calendar/appt.el (appt-display-message, appt-disp-window):
17042 Handle lists of appointments.
17043
17044 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17045
17046 * window.el (one-window-p): Move down in code.
17047 Rewrite doc-string.
17048 (window-current-scroll-bars): Rewrite doc-string.
17049 Normalize live window argument.
17050 (walk-windows, get-window-with-predicate, count-windows):
17051 Rewrite doc-string. Use window-list-1.
17052 (window-in-direction-2, window-in-direction, get-mru-window):
17053 New functions.
17054
17055 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17056
17057 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17058 Doc fix (Bug#8713).
17059
17060 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17061
17062 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17063
17064 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17065
17066 * loadhist.el (unload-feature-special-hooks):
17067 Add `comint-output-filter-functions'.
17068
17069 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17070
17071 * calendar/appt.el (appt-check): Move some initializations into the let.
17072
17073 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17074
17075 * window.el (window-height): Defalias to window-total-height.
17076 (window-width): Defalias to window-body-width.
17077
17078 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17079
17080 * image-mode.el (image-toggle-animation): New command.
17081 (image-mode-map): Bind it to RET.
17082 (image-mode): Update message.
17083 (image-toggle-display-image): Avoid a spurious cache flush.
17084 (image-transform-rotation): Doc fix.
17085 (image-transform-properties): Return quickly in the normal case.
17086 (image-animate-loop): Rename from image-animate-max-time.
17087
17088 * image.el (image-animate-max-time): Move to image-mode.el.
17089 (create-animated-image): Remove unnecessary function.
17090 (image-animate): Rename from image-animate-start. New arg.
17091 (image-animate-stop): Remove; just use image-animate-timer.
17092 (image-animate-timer): Use car-safe.
17093 (image-animate-timeout): Rename argument.
17094
17095 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17096
17097 * window.el (get-lru-window, get-largest-window): Move here from
17098 window.c. Rename first argument to ALL-FRAMES.
17099 Rephrase doc-strings.
17100 (get-buffer-window-list): Rewrite using window-list-1.
17101 Rephrase doc-string.
17102 (window-safe-min-height, window-safe-min-width): New constants.
17103 (window-size-ignore, window-min-size, window-min-size-1)
17104 (window-sizable, window-sizable-p, window-size-fixed-1)
17105 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17106 (window-max-delta-1, window-max-delta, window-resizable)
17107 (window-resizable-p, window-total-height, window-total-width)
17108 (window-body-width): New functions.
17109 (window-full-height-p, window-full-width-p): Rewrite using
17110 window-total-size.
17111 (window-body-height): Rewrite using window-body-size.
17112
17113 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17114
17115 * window.el (window-right, window-left, window-child)
17116 (window-child-count, window-last-child, window-any-p)
17117 (normalize-live-buffer, normalize-live-frame)
17118 (normalize-any-window, normalize-live-window)
17119 (window-iso-combination-p, window-iso-combined-p)
17120 (window-iso-combinations)
17121 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17122 (windows-with-parameter, window-with-parameter)
17123 (window-atom-root, make-window-atom, window-atom-check-1)
17124 (window-atom-check, window-side-check, window-check):
17125 New functions.
17126 (ignore-window-parameters, window-sides, window-sides-vertical)
17127 (window-sides-slots): New variables.
17128 (window-size-fixed): Move down in code. Minor doc-string fix.
17129
17130 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17131
17132 * comint.el (comint-dynamic-complete-as-filename)
17133 (comint-dynamic-complete-filename): Correctly call
17134 completion-in-region.
17135
17136 2011-06-05 Deniz Dogan <deniz@dogan.se>
17137
17138 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17139 in last change.
17140
17141 2011-06-05 Deniz Dogan <deniz@dogan.se>
17142
17143 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17144 (rcirc): Use it to prompt for encryption.
17145
17146 2011-06-05 Roland Winkler <winkler@gnu.org>
17147
17148 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17149 (bibtex-search-entries): New command bound to C-c C-a.
17150 (bibtex-display-entries): New function.
17151
17152 2011-06-05 Roland Winkler <winkler@gnu.org>
17153
17154 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17155 (bibtex-insert-kill): After yanking insert newline if necessary.
17156 (bibtex-initialize): Call bibtex-string-files-init only once.
17157 (bibtex-mode): Do not call easy-menu-add.
17158 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17159 (bibtex-yank): Set arg properly if nil.
17160
17161 2011-06-05 Roland Winkler <winkler@gnu.org>
17162
17163 * textmodes/bibtex.el (bibtex-search-entry-globally):
17164 New variable.
17165 (bibtex-search-entry): Use it.
17166
17167 2011-06-05 Roland Winkler <winkler@gnu.org>
17168
17169 * textmodes/bibtex.el (bibtex-entry-format): New option
17170 sort-fields.
17171 (bibtex-format-entry, bibtex-reformat): Honor this option.
17172 (bibtex-parse-entry): Return fields in proper order.
17173
17174 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17175
17176 * doc-view.el (doc-view-remove-if): Move computation of result out
17177 of `dolist' to silence misleading lexical-binding warning.
17178
17179 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17180
17181 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17182 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17183
17184 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17185
17186 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17187 "SunOS 5.10".
17188
17189 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17190
17191 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17192 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17193 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17194 (tramp-parse-putty):
17195 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17196 (tramp-completion-function-alist-ssh)
17197 (tramp-completion-function-alist-telnet)
17198 (tramp-completion-function-alist-su)
17199 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17200 cookie.
17201
17202 * net/tramp-ftp.el:
17203 * net/tramp-sh.el:
17204 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17205 load "tramp.el" `tramp-set-completion-function'.
17206
17207 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * shell.el: Require and use pcomplete.
17210 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17211 (shell-completion-vars): Set pcomplete-default-completion-function.
17212
17213 2011-06-04 Deniz Dogan <deniz@dogan.se>
17214
17215 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17216 `memq' (Bug#8799).
17217
17218 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17221
17222 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17223
17224 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17225 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17226 * vc/log-view.el (log-view-beginning-of-defun):
17227 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17228 (smerge-refine-forward, smerge-refine-chopup-region):
17229 Silence warning for unused `dotimes' counter variables.
17230
17231 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * net/tramp.el (tramp-with-progress-reporter): Rename from
17234 with-progress-reporter. Use `declare'.
17235 * net/tramp-smb.el:
17236 * net/tramp-sh.el:
17237 * net/tramp-gvfs.el: Update all uses.
17238
17239 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17240
17241 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17242 buffer isn't killed before making it current.
17243
17244 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 Silence various byte-compiler warnings.
17247 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17248 `access-type' and new obsolescence format.
17249 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17250 new format.
17251 (byte-compile-check-variable): New `access-type' argument.
17252 Only warn if the access-type is obsolete.
17253 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17254 (byte-compile-variable-set): Adjust callers.
17255 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17256 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17257 setting it as obsolete.
17258 * simple.el (minibuffer-completing-symbol):
17259 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17260 access as obsolete.
17261 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17262 obsolete yet.
17263 * international/quail.el (quail-mouse-choose-completion): Remove unused
17264 code referring to obsolete var.
17265 (quail-choose-completion-string): Remove.
17266 * server.el (server-clients-with, server-kill-buffer-query-function)
17267 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17268 * proced.el (proced-send-signal):
17269 * emacs-lisp/lisp.el (lisp-complete-symbol):
17270 Replace completion-annotate-function with completion-extra-properties.
17271
17272 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17273
17274 * simple.el (goto-line): Use read-number.
17275 (overriding-map-is-bound): Remove.
17276 (saved-overriding-map): Change default.
17277 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17278 Take the map as argument.
17279 (universal-argument, negative-argument, digit-argument): Use it.
17280 (restore-overriding-map): Adjust.
17281 (do-auto-fill): Use fill-forward-paragraph.
17282 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17283
17284 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17285 (minibuffer-inactive-mode): New major mode.
17286 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17287 the *Messages* buffer" hack.
17288 (mouse-popup-menubar): Don't burp if the event is a normal key.
17289
17290 Miscellaneous tweaks.
17291 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17292 lexical scoping as in subr.el's dolist and dotimes.
17293 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17294 Silence compiler warning.
17295 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17296 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17297 * international/ccl.el (ccl-compile): Trivial simplification.
17298 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17299 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17300 `printflag' argument.
17301 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17302 Purecopy the whole obsolescence data.
17303
17304 2011-06-01 Leo Liu <sdl.web@gmail.com>
17305
17306 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17307 improve doc-string as suggested by Marco Pessotto
17308 <melmothx@gmail.com>.
17309 (rcirc-print): Fix last change.
17310
17311 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17312
17313 * minibuffer.el (complete-with-action): Return nil for the metadata and
17314 boundaries of non-functional tables.
17315 (completion-table-dynamic): Return nil for the metadata.
17316 (completion-table-with-terminator): Add default case, using
17317 complete-with-action.
17318 (completion--metadata): New function.
17319 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17320 to try and avoid pathological performance problems.
17321 (completion--embedded-envvar-table): Return `category' metadata.
17322
17323 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17324
17325 * subr.el (process-alive-p): New tiny convenience function.
17326
17327 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17328
17329 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17330 content but also its previous major mode.
17331
17332 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17333
17334 * emacs-lisp/debug.el (debug): Restore the previous content of the
17335 *Backtrace* buffer when we exit with C-M-c.
17336
17337 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * minibuffer.el: Add metadata method to completion tables.
17340 (completion-category-overrides): New defcustom.
17341 (completion-metadata, completion--field-metadata)
17342 (completion-metadata-get, completion--styles)
17343 (completion--cycle-threshold): New functions.
17344 (completion-try-completion, completion-all-completions):
17345 Add `metadata' argument to choose completion-styles.
17346 (completion--do-completion): Use metadata to choose cycling.
17347 (completion-all-sorted-completions): Use metadata for sorting.
17348 Remove :completion-cycle-penalty which is not needed any more.
17349 (completion--try-word-completion): Add `metadata' argument.
17350 (minibuffer-completion-help): Check metadata for annotation function
17351 and sorting.
17352 (completion-file-name-table): Return `category' metadata.
17353 (minibuffer-completing-file-name): Make obsolete.
17354 * simple.el (minibuffer-completing-symbol): Make obsolete.
17355 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17356 completion-try-completion.
17357
17358 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17359
17360 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17361
17362 2011-05-30 Leo Liu <sdl.web@gmail.com>
17363
17364 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17365 (rcirc-print): Decode all incoming messages (bug#8744).
17366 (rcirc-decode-coding-system): Allow value nil for automatic coding
17367 system detection.
17368
17369 2011-06-01 Glenn Morris <rgm@gnu.org>
17370
17371 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17372
17373 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17374
17375 * image.el (image-animate-max-time): Allow nil and t values.
17376 Default to nil.
17377 (create-animated-image): Doc fix.
17378 (image-animate-start): Remove second arg; just use
17379 image-animate-max-time.
17380 (image-animate-timeout): Doc fix. Args changed.
17381
17382 * image-mode.el (image-toggle-display-image): Ensure that the
17383 image spec passed to the animate timer is the same object as in
17384 the buffer's display property (Bug#6981).
17385 (image-transform-properties): Doc fix.
17386
17387 * image.el (image-animate-max-time): Default to nil.
17388
17389 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17390
17391 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17392 entire buffer list (Bug#8184).
17393
17394 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17395
17396 * image.el (imagemagick-types-inhibit)
17397 (imagemagick-register-types): Doc fix.
17398
17399 2011-05-29 Deniz Dogan <deniz@dogan.se>
17400
17401 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17402 default.
17403
17404 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17405
17406 * select.el: Don't perform clipboard-manager saving in hooks;
17407 leave the hooks empty.
17408
17409 2011-05-28 Leo Liu <sdl.web@gmail.com>
17410
17411 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17412 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17413 (occur-edit-mode): New major mode (Bug#8463).
17414 (occur-after-change-function): New function.
17415 (occur-engine): Give Occur tags a read-only property.
17416
17417 2011-05-28 Kevin Ryde <user42@zip.com.au>
17418
17419 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17420
17421 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17422
17423 * bindings.el (help-echo): Make the initial non-indicator dash
17424 empty on graphical terminals (Bug#7295).
17425
17426 * files.el (auto-mode-alist): Move config rule after the
17427 in-stripping one (Bug#8547).
17428
17429 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17430
17431 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17432 setting (Bug#8740).
17433
17434 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17435
17436 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17437 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17438 (Bug#8539).
17439
17440 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17441
17442 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17443
17444 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17445
17446 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17447 (hs-hide-block-at-point, hs-find-block-beginning)
17448 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17449 (Bug#8279).
17450
17451 2011-05-28 Glenn Morris <rgm@gnu.org>
17452
17453 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17454
17455 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17456
17457 * help-fns.el (describe-function-1): If the function is a derived
17458 major mode, print the parent mode.
17459
17460 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17461 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17462
17463 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17464
17465 * minibuffer.el (completion--capf-wrapper): Check applicability before
17466 returning non-nil for non-exclusive completion data.
17467 * progmodes/etags.el (tags-completion-at-point-function):
17468 * info-look.el (info-lookup-completions-at-point): Mark as
17469 non-exclusive.
17470 (info-complete): Adjust accordingly.
17471
17472 * info-look.el: Convert to lexical-binding and completion-at-point.
17473 (info-lookup-completions-at-point): New function.
17474 (info-complete): Use it and completion-in-region.
17475
17476 2011-05-28 Drew Adams <drew.adams@oracle.com>
17477
17478 * isearch.el: Let M-e start with point at the first mismatched char.
17479 (isearch-fail-pos): New function.
17480 (isearch-edit-string): Use it.
17481
17482 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17483
17484 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17485
17486 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17487
17488 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17489 traversal functions for avl-trees.
17490 (avl-tree--stack): New struct.
17491 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17492 (avl-tree-enter): Add optional `updatefun' arg.
17493 (avl-tree--do-enter): Add optional `updatefun' arg.
17494 Change return value.
17495 (avl-tree-delete): Add optional `test' and `nilflag' args.
17496 (avl-tree--do-delete): Add `test' and `nilflag' args.
17497 Change return value.
17498 (avl-tree-member): Add optional `nilflag'
17499 (avl-tree-member-p): New function.
17500 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17501 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17502 (avl-tree-stack-empty-p): New functions.
17503
17504 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17505 avl-tree--del-balance1 and make it work both ways.
17506 (avl-tree--del-balance2): Remove.
17507 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17508 make it work both ways.
17509 (avl-tree--enter-balance2): Remove.
17510 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17511 New macros.
17512 (avl-tree--mapc, avl-tree-map): Add direction argument.
17513
17514 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17515
17516 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17517
17518 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17519
17520 * select.el: Support clipboard managers with built-in function
17521 x-clipboard-manager-save, via delete-frame-functions and
17522 kill-emacs-hook.
17523 (xselect-convert-to-targets): Add MULTIPLE target to list.
17524 (xselect-convert-to-save-targets): New function.
17525
17526 2011-05-27 Kenichi Handa <handa@m17n.org>
17527
17528 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17529 let-binding rfc2047-encode-encoded-words to nil.
17530
17531 2011-05-27 Glenn Morris <rgm@gnu.org>
17532
17533 * mail/emacsbug.el: Don't require url-util.
17534
17535 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17536
17537 * files.el (set-auto-mode):
17538 Also respect mode: entries at the end of the file. (Bug#8586)
17539
17540 2011-05-26 Glenn Morris <rgm@gnu.org>
17541
17542 * files.el (hack-local-variables-prop-line, hack-local-variables):
17543 Downcase mode names, as seems to be traditional.
17544 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17545
17546 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17547 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17548
17549 2011-05-25 Julien Danjou <julien@danjou.info>
17550
17551 * textmodes/rst.el (rst-define-level-faces): Do not define face
17552 symbol if it is already defined.
17553
17554 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17555
17556 * play/5x5.el (5x5-new-game, 5x5-randomize):
17557 Reset 5x5-solver-output to nil when a new grid is cast.
17558 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17559 these debugging traces, as defmacro breaks the compiled code.
17560
17561 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17562
17563 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17564
17565 2011-05-24 Leo Liu <sdl.web@gmail.com>
17566
17567 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17568 (vc-bzr-sha1): Adapt.
17569
17570 * sha1.el: Remove. Function `sha1' is now builtin.
17571
17572 * bindings.el: Provide sha1 feature.
17573
17574 2011-05-24 Kenichi Handa <handa@m17n.org>
17575
17576 * mail/sendmail.el: Require `rfc2047'.
17577 (mail-insert-from-field): Do not perform RFC2047 encoding.
17578 (mail-encode-header): New function.
17579 (sendmail-send-it): Set buffer-file-coding-system of the work
17580 buffer to the return value of select-message-coding-system.
17581 Call mail-encode-header.
17582
17583 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17584
17585 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17586
17587 * mail/supercite.el (sc-default-cite-frame):
17588 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17589
17590 2011-05-24 Glenn Morris <rgm@gnu.org>
17591
17592 * progmodes/python.el (brm-menu): Declare.
17593
17594 * emulation/viper.el (viper-set-hooks): Declare.
17595
17596 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17597 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17598 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17599 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17600 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17601 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17602
17603 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 Add an :exit-function for completion-at-point.
17606
17607 * minibuffer.el (completion--done): New fun.
17608 (completion--do-completion): Use it. New arg `expect-exact'.
17609 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17610 since completion--do-completion does it for us now.
17611 (minibuffer-force-complete): Use completion--done and
17612 completion--replace. Handle sole-completion case with more care.
17613 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17614 (completion-extra-properties): New var.
17615 (completion-annotate-function): Make obsolete.
17616 (minibuffer-completion-help): Adjust accordingly.
17617 Use completion-list-insert-choice-function.
17618 (completion-at-point, completion-help-at-point):
17619 Bind completion-extra-properties.
17620 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17621 * simple.el (completion-list-insert-choice-function): New var.
17622 (completion-setup-function): Preserve it.
17623 (choose-completion): Pay attention to it, shuffle the code a bit.
17624 (choose-completion-string): New arg `insert-function'.
17625
17626 * textmodes/bibtex.el: Convert to lexical binding.
17627 (bibtex-mode-map): Use completion-at-point.
17628 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17629 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17630 (bibtex-complete): Define as obsolete alias.
17631 (bibtex-complete-internal): Remove.
17632 (bibtex-format-entry): Remove unused sub-group in regexp.
17633 * shell.el (shell--command-completion-data)
17634 (shell-environment-variable-completion):
17635 * pcomplete.el (pcomplete-completions-at-point):
17636 * comint.el (comint--complete-file-name-data): Use :exit-function
17637 instead of completion-table-with-terminator so it also works for
17638 choose-completion.
17639
17640 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17641
17642 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17643
17644 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17645 (bug#8710).
17646
17647 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17648
17649 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17650
17651 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17652 customization variable and implement: If non-nil, auto-fill will
17653 be inhibited while on topic's header line.
17654
17655 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17656
17657 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17658 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17659 always have a solution in grid size = 5 cases.
17660 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17661 (5x5-solver-output, 5x5-log-buffer): New vars.
17662 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17663 Make these variables buffer local to achieve 5x5 multi-session-ness.
17664 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17665 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17666 (5x5-solve-suggest): New funs.
17667 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17668 randomize a grid so that we ensure that there is always a solution.
17669 (5x5-make-random-grid): Allow other movement than flipping.
17670
17671 2011-05-23 Kevin Ryde <user42@zip.com.au>
17672
17673 * emacs-lisp/advice.el (ad-read-advised-function):
17674 Use `function-called-at-point' as the default, if it has
17675 advice and passes PREDICATE.
17676
17677 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17680 byte-compile-lambda if it's actually a lambda.
17681
17682 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17683 Fix function quoting. Use backquote better.
17684
17685 2011-05-22 Yuanle Song <sylecn@gmail.com>
17686
17687 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17688 matching (Bug#8516).
17689
17690 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17691
17692 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17693 different face (Bug#8178).
17694
17695 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17696
17697 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17698 defface (Bug#8144).
17699
17700 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17703 funcall as well (bug#8712). Warn when performing those conversions.
17704 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17705
17706 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17707
17708 2011-05-22 Glenn Morris <rgm@gnu.org>
17709
17710 * files.el (hack-local-variables-prop-line): Small simplifications.
17711 (hack-local-variables, hack-local-variables-prop-line):
17712 If MODE-ONLY, return the mode, rather than just `t'.
17713
17714 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17715
17716 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17717
17718 2011-05-21 Glenn Morris <rgm@gnu.org>
17719
17720 * files.el (hack-local-variables-prop-line, hack-local-variables):
17721 If only interested in the mode, don't bother doing the other stuff.
17722
17723 * image-mode.el (image-after-revert-hook):
17724 Redraw all frames on which the image is visible. (Bug#8567)
17725
17726 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17727
17728 * wid-edit.el (widget-checklist-match-inline):
17729 Fix 2011-04-19 change. (Bug#8649)
17730
17731 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17732
17733 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17734 Also allow singlespace after single-letter capitals followed by a dot.
17735
17736 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17737 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17738
17739 2011-05-20 Nix <nix@esperi.org.uk>
17740
17741 * files.el (basic-save-buffer-2):
17742 Fix handling of break-hardlink-on-save with non-existent files.
17743
17744 2011-05-19 Deniz Dogan <deniz@dogan.se>
17745
17746 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17747 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17748
17749 2011-05-19 Glenn Morris <rgm@gnu.org>
17750
17751 * progmodes/f90.el (f90-type-def-re):
17752 Handle "type, bind(c)". (Bug#8691)
17753
17754 * emacs-lisp/autoload.el (batch-update-autoloads):
17755 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17756
17757 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17758
17759 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17760 property for the correct connection in case of multihops.
17761
17762 2011-05-18 Glenn Morris <rgm@gnu.org>
17763
17764 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17765 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17766
17767 Rationalize calendar handling of day and month abbrev-arrays.
17768 * calendar/calendar.el (calendar-customized-p): New function.
17769 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17770 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17771 Add :set function.
17772 (calendar-abbrev-length, calendar-day-abbrev-array)
17773 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17774 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17775 Elements may no longer be nil.
17776 (calendar-day-name, calendar-month-name):
17777 Update for changed nature of abbrev arrays.
17778 * calendar/diary-lib.el (diary-name-pattern):
17779 Update for changed nature of abbrev arrays.
17780 (diary-mark-entries-1): Update calendar-make-alist calls.
17781 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17782 * calendar/cal-html.el (cal-html-day-abbrev-array):
17783 Simply inherit from calendar-day-abbrev-array.
17784
17785 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * progmodes/grep.el (grep-mode): Disable default
17788 compilation-directory-matcher setting (bug#8684).
17789
17790 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17791
17792 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17793 instead of "head" and "tail". There were problems with SunOS 5.9,
17794 and it performs better.
17795
17796 2011-05-17 Glenn Morris <rgm@gnu.org>
17797
17798 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17799
17800 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17801 Replace obsolete function.
17802
17803 * shell.el (pcomplete-parse-arguments-function): Declare.
17804
17805 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17806 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17807 (appt-check): Doc fixes.
17808 (appt-disp-window-function, appt-delete-window-function):
17809 Remove needless special case in custom :type.
17810 (appt-display-count): Default to 0, not nil.
17811 (appt-check): Reset appt-display-count to 0, not nil.
17812
17813 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17814
17815 * progmodes/python.el (python-font-lock-keywords):
17816 Add the Python 3.X keyword "nonlocal" (bug#8639).
17817
17818 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17819
17820 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17821
17822 2011-05-16 Kevin Ryde <user42@zip.com.au>
17823
17824 * info-look.el (makefile-automake-mode): New setups, looking in
17825 automake manual, then makefile-mode.
17826 (makefile-mode): Remove automake manual, have it just in
17827 makefile-automake-mode since there's various things different or
17828 not relevant to plain make.
17829 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17830 believe a hypothetical automake-mode would go to makefile-mode,
17831 not the other way around.
17832
17833 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17834
17835 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17836 hunk-end tags (Bug#8672).
17837
17838 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17839 vc-annotate-show-diff-revision-at-line (Bug#8671).
17840
17841 2011-05-14 Glenn Morris <rgm@gnu.org>
17842
17843 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17844 in the middle of an existing one with multiple authors. (Bug#8645)
17845 (change-log-font-lock-keywords): Also handle multiple author lines
17846 with leading tabs. (Bug#8644)
17847
17848 * calendar/appt.el (appt-check): Rename some local variables.
17849 Some simplification/reordering.
17850
17851 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17852 (feedmail-sendmail-f-doesnt-sell-me-out)
17853 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17854 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17855 (feedmail-queue-runner-message-sender): Set :version.
17856 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17857 (bbdb-dwim-net-address, vm-mail): Declare.
17858 (feedmail-binmail-gnulinuxish-template):
17859 Rename from feedmail-binmail-linuxish-template.
17860 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17861 Use insert-buffer-substring.
17862
17863 2011-05-14 Bill Carpenter <bill@carpenter.org>
17864
17865 * mail/feedmail.el (feedmail-patch-level): Increase.
17866 (feedmail-debug): New custom group.
17867 (feedmail-confirm-outgoing-timeout)
17868 (feedmail-sendmail-f-doesnt-sell-me-out)
17869 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17870 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17871 (feedmail-sender-line, feedmail-from-line)
17872 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17873 (feedmail-spray-this-address)
17874 (feedmail-spray-address-fiddle-plex-list)
17875 (feedmail-queue-use-send-time-for-date)
17876 (feedmail-queue-use-send-time-for-message-id)
17877 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17878 (feedmail-buffer-eating-function):
17879 Doc fixes.
17880 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17881 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17882 (feedmail-message-action-scroll-down): New functions.
17883 (feedmail-queue-directory, feedmail-queue-draft-directory):
17884 Use expand-file-name.
17885 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17886 Remove C-v help entry.
17887 (feedmail-queue-buffer-file-name): New variable.
17888 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17889 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17890 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17891 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17892 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17893 (feedmail-message-action-toggle-spray)
17894 (feedmail-run-the-queue-no-prompts)
17895 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17896 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17897 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17898 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17899 (feedmail-envelope-deducer, feedmail-fiddle-from)
17900 (feedmail-fiddle-sender, feedmail-default-date-generator)
17901 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17902 (feedmail-fiddle-spray-address)
17903 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17904 (feedmail-fiddle-list-of-fiddle-plexes)
17905 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17906 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17907 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17908 Change default. Doc fix.
17909 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17910 (feedmail-binmail-linuxish-template): New constant.
17911 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17912 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17913 (feedmail-send-it): Add debug call.
17914 Use feedmail-queue-buffer-file-name, and
17915 feedmail-send-it-immediately-wrapper.
17916 (feedmail-message-action-send): Add debug call.
17917 Use feedmail-send-it-immediately-wrapper.
17918 (feedmail-queue-express-to-queue): Add debug call.
17919 Run feedmail-queue-express-hook.
17920 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17921 (feedmail-message-action-help-blat):
17922 Rename from feedmail-queue-send-edit-prompt-help-first.
17923 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17924 Check line-endings. Handle errors better.
17925 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17926 Doc fix. Add debug call.
17927 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17928 Use feedmail-queue-send-edit-prompt-inner.
17929 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17930 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17931 from feedmail-queue-send-edit-prompt.
17932 (feedmail-queue-send-edit-prompt-help)
17933 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17934 (feedmail-tidy-up-slug): Add debug call.
17935 Respect feedmail-queue-slug-suspect-regexp.
17936 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17937 (feedmail-dump-message-to-queue): Add debug call.
17938 Expand queue-directory.
17939 (feedmail-dump-message-to-queue): Change message slightly.
17940 Use feedmail-say-chatter.
17941 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17942 (feedmail-send-it-immediately-wrapper): New function.
17943 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17944 Insert empty string rather than newline. Handle full-frame case.
17945 Use catch/throw. Use feedmail-say-chatter.
17946 (feedmail-fiddle-from): Try mail-host-address.
17947 (feedmail-default-message-id-generator): Doc fix.
17948 Bind system-time-locale. Handle missing end.
17949 (feedmail-fiddle-x-mailer): Add debug call.
17950 Handle feedmail-x-mailer-line being nil.
17951 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17952 Add debug call. Use buffer-substring-no-properties.
17953 (feedmail-say-debug, feedmail-say-chatter): New functions.
17954 (feedmail-find-eoh): Give an explicit error.
17955
17956 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17957
17958 * net/newst-treeview.el (newsticker-treeview-face): Change default
17959 family from helvetica to sans.
17960 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17961 etc/images/newsticker.
17962
17963 * net/newst-reader.el (newsticker-feed-face): Change default
17964 family from helvetica to sans.
17965
17966 * net/newst-plainview.el (newsticker-new-item-face)
17967 (newsticker-old-item-face, newsticker-immortal-item-face)
17968 (newsticker-obsolete-item-face, newsticker-date-face)
17969 (newsticker-statistics-face): Change default family from
17970 helvetica to sans.
17971 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17972 etc/images/newsticker.
17973
17974 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17975 (newsticker--process-auto-mark-filter-match): Tell user about
17976 auto-marking.
17977
17978 2011-05-13 Didier Verna <didier@xemacs.org>
17979
17980 Common Lisp indentation improvements on defmethod and lambda-lists.
17981 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17982 TODO entries.
17983 (lisp-lambda-list-keyword-parameter-indentation)
17984 (lisp-lambda-list-keyword-parameter-alignment)
17985 (lisp-lambda-list-keyword-alignment): New customizable user options.
17986 (lisp-indent-defun-method): Improve docstring.
17987 (extended-loop-p): Fix comment.
17988 (lisp-indent-lambda-list-keywords-regexp): New variable.
17989 (lisp-indent-lambda-list): New function.
17990 (lisp-indent-259): Use it.
17991 (lisp-indent-defmethod): Support for more than one
17992 method qualifier and properly indent methods lambda-lists.
17993 (defgeneric): Provide a missing common-lisp-indent-function property.
17994
17995 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17996
17997 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17998 bounds for the empty string (bug#8667).
17999
18000 2011-05-13 Glenn Morris <rgm@gnu.org>
18001
18002 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18003
18004 * mail/sendmail.el (sendmail-program): Try executable-find first.
18005 (sendmail-send-it): `sendmail-program' cannot be unbound.
18006
18007 * calendar/appt.el (appt-make-list): Simplify.
18008 (appt-time-msg-list): Doc fix.
18009 (appt-check): Change mode-line message at the time of the appointment.
18010
18011 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18012
18013 * progmodes/ld-script.el (ld-script-keywords)
18014 (ld-script-builtins): Update keywords list.
18015
18016 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18017
18018 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18019
18020 * shell.el (shell-completion-vars): New function.
18021 (shell-mode):
18022 * simple.el (read-shell-command): Use it.
18023 (blink-matching-open): No need for " [...]" in minibuffer-message.
18024
18025 2011-05-12 Glenn Morris <rgm@gnu.org>
18026
18027 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18028 (appt-check): Simplify.
18029
18030 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18031
18032 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18033 literal "/dev/null".
18034
18035 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18036
18037 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18038 Fix typo.
18039
18040 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18041
18042 * progmodes/which-func.el (which-function):
18043 Use add-log-current-defun instead of add-log-current-defun-function,
18044 which might not be defined (Bug#8260).
18045
18046 2011-05-12 Glenn Morris <rgm@gnu.org>
18047
18048 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18049 Let byte-compile-initial-macro-environment always take precedence.
18050
18051 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * net/rcirc.el: Add support for SSL/TLS connections.
18054 (rcirc-server-alist): New field `encryption'.
18055 (rcirc): Check `encryption' settings.
18056 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18057 Merge make-local-variable into `set'.
18058 (rcirc--connection-open-p): New function.
18059 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18060 the process is not a network process (e.g. running gnutls-cli).
18061 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18062 Make rcirc-(en|de)code-coding-system local here.
18063 (rcirc-mode): Merge make-local-variable into `set'.
18064 (rcirc-parent-buffer): Make permanent buffer-local.
18065 (rcirc-multiline-minor-mode): Don't do it here.
18066 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18067 there's no server buffer.
18068
18069 2011-05-11 Glenn Morris <rgm@gnu.org>
18070
18071 * newcomment.el (comment-kill): Prefix "unused" local.
18072
18073 * term/w32console.el (get-screen-color): Declare.
18074
18075 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18076 Handle symbol elements of byte-compile-initial-macro-environment.
18077
18078 2011-05-10 Leo Liu <sdl.web@gmail.com>
18079
18080 * bookmark.el (bookmark-bmenu-mode-map):
18081 Bind bookmark-bmenu-search to `/'.
18082
18083 * mail/footnote.el: Convert to utf-8 encoding.
18084 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18085 (Footnote-unicode): New function.
18086 (footnote-style-alist): Add unicode style to the list.
18087 (footnote-style): Doc fix.
18088
18089 2011-05-10 Jim Meyering <meyering@redhat.com>
18090
18091 Fix doubled-word typos.
18092 * international/quail.el (quail-insert-kbd-layout): and and -> and
18093 * kermit.el: and and -> and
18094 * net/ldap.el (ldap-search-internal): to to -> to
18095 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18096 * progmodes/js.el (js-mode): and and -> and
18097 * textmodes/artist.el (artist-move-to-xy): at at -> at
18098 (artist-draw-region-trim-line-endings): if if -> if
18099 And Safetyc -> Safety.
18100 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18101
18102 2011-05-10 Glenn Morris <rgm@gnu.org>
18103 Stefan Monnier <monnier@iro.umontreal.ca>
18104
18105 * files.el (hack-one-local-variable-eval-safep):
18106 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18107
18108 2011-05-10 Glenn Morris <rgm@gnu.org>
18109
18110 * calendar/diary-lib.el (diary-list-entries-hook)
18111 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18112 (diary-nongregorian-marking-hook, diary-list-entries)
18113 (diary-include-other-diary-files, diary-mark-entries)
18114 (diary-mark-included-diary-files): Doc fixes.
18115
18116 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18117
18118 * misc.el: Require tabulated-list.el during compilation.
18119
18120 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18121
18122 * progmodes/compile.el (compilation-start):
18123 Run compilation-filter-hook for the async case too.
18124 (compilation-filter-hook): Doc fix.
18125
18126 2011-05-09 Deniz Dogan <deniz@dogan.se>
18127
18128 * wdired.el: Remove outdated installation comment. Fix usage
18129 comment.
18130
18131 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18132
18133 * misc.el: Implement new command `list-dynamic-libraries'.
18134 (list-dynamic-libraries--loaded-only-p): New variable.
18135 (list-dynamic-libraries--refresh): New function.
18136 (list-dynamic-libraries): New command.
18137
18138 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18139
18140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18141 Fix the ant regexp to handle end-line and end-column info from jikes.
18142 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18143 higher priority to avoid clobbering by gnu.
18144
18145 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18148 if the face has existing theme settings (Bug#8454).
18149
18150 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18151
18152 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18153 Only match variables declared via `my' or `our' (Bug#8261).
18154
18155 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18156 special file names `.' and `..' (Bug#8259).
18157
18158 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18159
18160 * progmodes/grep.el (grep-mode-font-lock-keywords):
18161 Remove buffer-changing entries.
18162 (grep-filter): New function.
18163 (grep-mode): Add it to compilation-filter-hook.
18164
18165 * progmodes/compile.el (compilation-filter-hook)
18166 (compilation-filter-start): New defvars.
18167 (compilation-filter): Call compilation-filter-hook prior to
18168 updating the process mark.
18169
18170 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18173
18174 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18175
18176 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18177 mailclient-send-it even if window-system is nil. (Bug#8595)
18178
18179 * term/w32console.el (terminal-init-w32console):
18180 Call get-screen-color and use its output to set the frame
18181 background-mode. (Bug#8597)
18182
18183 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18186 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18187 New functions.
18188 (defgeneric, eieio--defmethod): Use them.
18189 (eieio-defgeneric): Remove.
18190 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18191
18192 2011-05-07 Glenn Morris <rgm@gnu.org>
18193
18194 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18195 Use let rather than let*.
18196 (timeclock-find-discrep): Remove unused local.
18197
18198 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18199
18200 * calendar/appt.el (appt-time-msg-list): Doc fix.
18201
18202 2011-05-06 Noah Friedman <friedman@splode.com>
18203
18204 * apropos.el (apropos-print-doc): Only use
18205 emacs-lisp-docstring-fill-column when it is bound to an integer,
18206 per that variable's documentation.
18207
18208 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18209
18210 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18211 and warnings are not silently discarded (e.g. use -d instead of -P).
18212
18213 2011-05-06 Glenn Morris <rgm@gnu.org>
18214
18215 * calendar/appt.el (appt-message-warning-time): Doc fix.
18216 (appt-warning-time-regexp): New option.
18217 (appt-make-list): Respect appt-message-warning-time.
18218
18219 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18220 New options.
18221 (diary-add-to-list): Strip comments from the displayed string.
18222 (diary-mode): Set comment-start and comment-end.
18223
18224 * vc/diff-mode.el (smerge-refine-subst): Declare.
18225 (diff-refine-hunk): Don't require smerge-mode when compiling.
18226
18227 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18228
18229 * simple.el (list-processes): Return nil as the docstring says.
18230
18231 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18232
18233 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18234 to "".
18235 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18236 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18237 determining of binary transfer. (Bug#7383)
18238
18239 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18240
18241 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18242 Fix port computation bug. (Bug#8618)
18243
18244 2011-05-05 Glenn Morris <rgm@gnu.org>
18245
18246 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18247
18248 * simple.el (shell-dynamic-complete-functions)
18249 (comint-dynamic-complete-functions): Declare.
18250
18251 * net/network-stream.el (gnutls-negotiate):
18252 * simple.el (tabulated-list-print): Fix declarations.
18253
18254 * progmodes/gud.el (syntax-symbol, syntax-point):
18255 Remove unnecessary and incorrect declarations.
18256
18257 * emacs-lisp/check-declare.el (check-declare-scan):
18258 Handle byte-compile-initial-macro-environment in bytecomp.el.
18259
18260 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18261
18262 Fix earlier half-done eieio-defmethod change (bug#8338).
18263 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18264 Streamline and change calling convention.
18265 (defmethod): Adjust accordingly and simplify.
18266 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18267 new eieio--defmethod.
18268 (slot-boundp): Minor CSE simplification.
18269
18270 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18271
18272 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18273 (glasses-make-readable): Use glasses-separate-capital-groups.
18274
18275 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18276
18277 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18278 (warning-series): Doc fix.
18279 (display-warning): Don't try to create the buffer if we just found it.
18280
18281 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18282
18283 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18284 (autoload-find-generated-file): New function.
18285 (generate-file-autoloads): Bind generated-autoload-file to
18286 buffer-file-name.
18287 (update-file-autoloads, update-directory-autoloads):
18288 Use autoload-find-generated-file. If called interactively, prompt for
18289 output file (Bug#7989).
18290 (batch-update-autoloads): Doc fix.
18291
18292 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18293
18294 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18295
18296 2011-05-04 Glenn Morris <rgm@gnu.org>
18297
18298 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18299 function, so it follows changes in calendar-date-style.
18300 (diary-fancy-date-matcher): New function.
18301 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18302 (diary-fancy-font-lock-fontify-region-function):
18303 Use diary-fancy-date-pattern as a function.
18304
18305 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18306 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18307
18308 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18309
18310 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18311 instead of positional arguments. Allow :keylist and :crlfiles
18312 arguments.
18313 (open-gnutls-stream): Call it.
18314
18315 * net/network-stream.el (network-stream-open-starttls): Adjust to
18316 call `gnutls-negotiate' with :process and :hostname arguments.
18317
18318 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18319
18320 * minibuffer.el (completion--message): New function.
18321 (completion--do-completion, minibuffer-complete)
18322 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18323 (completion--do-completion): Don't ignore completion-auto-help when in
18324 icomplete-mode.
18325
18326 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18327 internal encoding (e.g. tibetan zero is not whitespace).
18328 (global-whitespace-mode): Prefer save-current-buffer.
18329 (whitespace-trailing-regexp): Remove useless save-match-data.
18330 (whitespace-empty-at-bob-regexp): Minor simplification.
18331
18332 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18335
18336 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18337
18338 * textmodes/ispell.el (ispell-add-per-file-word-list):
18339 Use `concat' to create string for insertion.
18340
18341 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18344 Avoid open-line which runs post-self-insert-hook.
18345 (bibtex-fill-entry): Remove unused `end' var.
18346
18347 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18348
18349 * textmodes/ispell.el (ispell-add-per-file-word-list):
18350 Protect against `nil' value of `comment-start' (Bug#8579).
18351
18352 2011-05-03 Leo Liu <sdl.web@gmail.com>
18353
18354 * isearch.el (isearch-yank-pop): New command.
18355 (isearch-mode-map): Bind it to `M-y'.
18356 (isearch-forward): Mention it.
18357
18358 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * simple.el (minibuffer-complete-shell-command): Remove.
18361 (minibuffer-local-shell-command-map): Use completion-at-point.
18362 (read-shell-command): Setup completion vars here instead.
18363 (read-expression-map): Bind TAB to symbol completion.
18364
18365 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18366 error directly rather via storing it into `results'.
18367
18368 2011-05-02 Leo Liu <sdl.web@gmail.com>
18369
18370 * vc/diff.el: Fix description.
18371
18372 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18373
18374 * server.el (server-eval-at): New function.
18375
18376 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18377
18378 * net/network-stream.el (open-network-stream): Take a :nowait
18379 parameter and pass it on to `make-network-process'.
18380 (network-stream-open-plain): Ditto.
18381
18382 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18383
18384 * faces.el (face-spec-set-match-display): Don't match toolkit
18385 options on terminal frames.
18386
18387 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * progmodes/pascal.el: Use lexical binding.
18390 (pascal-mode-map): Remove author preferences.
18391
18392 * pcomplete.el (pcomplete-std-complete): Don't abuse
18393 completion-at-point.
18394
18395 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18396
18397 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18398 removing code that has been dead since 1991 or so.
18399
18400 * startup.el (command-line): When warning about "_emacs", use a
18401 delayed warning to allow the user to filter it out.
18402
18403 2011-04-28 Deniz Dogan <deniz@dogan.se>
18404
18405 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18406 user has not joined.
18407
18408 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18411 aren't any completions at point.
18412
18413 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18414
18415 * subr.el (display-delayed-warnings): New function.
18416 (delayed-warnings-hook): New variable.
18417
18418 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18419
18420 * minibuffer.el (completion-at-point, completion-help-at-point):
18421 Don't presume that a given completion-at-point-function will always
18422 use the same calling convention.
18423
18424 * pcomplete.el (pcomplete-completions-at-point):
18425 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18426 pcomplete-seen is non-nil.
18427 (pcomplete-comint-setup): Also recognize the new comint/shell
18428 completion functions.
18429 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18430 pcomplete-seen is non-nil.
18431
18432 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18433
18434 * calendar/icalendar.el (diary-lib): Add require statement.
18435 (icalendar--create-uid): Read out a uid from a text-property on
18436 the first character in the entry. This allows for code to add its
18437 own uid to the entry.
18438 (icalendar--convert-float-to-ical): Add export of
18439 `diary-float'-entries save for those with the optional DAY
18440 argument.
18441
18442 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18443
18444 * subr.el (shell-quote-argument): Use alternate escaping strategy
18445 when we spot a variable reference in a string.
18446
18447 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18448
18449 * cus-start.el (all): Define customization for debug-on-event.
18450
18451 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18452
18453 * subr.el (shell-quote-argument): Escape correctly under Windows.
18454
18455 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18458
18459 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18460
18461 * net/tramp.el (tramp-process-actions): Add POS argument.
18462 Delete region between POS and (pos).
18463
18464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18465 Use `nil' position in `tramp-process-actions' call.
18466 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18467
18468 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18469 position in `tramp-process-actions' call.
18470
18471 * net/trampver.el: Update release number.
18472
18473 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18474
18475 * custom.el (defcustom): Obey lexical-binding.
18476
18477 Fix octave-inf completion problems reported by Alexander Klimov.
18478 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18479 Inherit from octave-mode-syntax-table.
18480 (inferior-octave-mode): Set info-lookup-mode.
18481 (inferior-octave-completion-at-point): New function.
18482 (inferior-octave-complete): Use it and completion-in-region.
18483 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18484 comint-filename-completion.
18485 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18486 symbol elements which shouldn't be word elements.
18487 (octave-font-lock-keywords, octave-beginning-of-defun)
18488 (octave-function-header-regexp): Adjust regexps accordingly.
18489 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18490
18491 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18492
18493 * net/gnutls.el (gnutls-errorp): Declare before first use.
18494
18495 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18496
18497 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18498 verify-error, and verify-hostname-error parameters. Check whether
18499 default trustfile exists before going to use it. Add missing
18500 argument to gnutls-message-maybe call. Return value.
18501 Reported by Claudio Bley <claudio.bley@gmail.com>.
18502 (open-gnutls-stream): Add usage example.
18503
18504 * net/network-stream.el (network-stream-open-starttls): Give host
18505 parameter to `gnutls-negotiate'.
18506 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18507 * subr.el (shell-quote-argument): Escape correctly under Windows.
18508
18509 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18510
18511 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18512 Use correct match group (bug#8438).
18513
18514 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18515
18516 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18517 (package-menu--generate): New arg specifying packages to show.
18518 (package-menu-refresh, package-menu-execute, list-packages):
18519 Callers changed.
18520 (package-show-package-list): New function, replacing deleted
18521 package--list-packages (renamed because it is non-internal).
18522
18523 * finder.el (finder-list-matches): Use package-show-package-list
18524 instead of deleted package--list-packages.
18525
18526 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18527 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18528 (vc-annotate-mode-map): Bind it to RET.
18529
18530 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18531
18532 * progmodes/etags.el (next-file): Don't use set-buffer to change
18533 buffers (Bug#8478).
18534
18535 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18536
18537 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18538
18539 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18540 (apropos-accumulator): Doc fix.
18541 (apropos-function, apropos-macro, apropos-command)
18542 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18543 (apropos-plist): Add face property.
18544 (apropos-symbols-internal): Fix indentation.
18545 (apropos-print): Simplify help, and recognize apropos-multi-type.
18546 (apropos-print-doc): Use button-type-get to extract the button's
18547 face property. Fill docstring (Bug#8352).
18548
18549 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18550
18551 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18552
18553 * play/mpuz.el (mpuz-silent): Doc fix.
18554 (mpuz-mode-map): Use mapc.
18555 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18556 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18557 Fix typos in docstrings.
18558
18559 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18560 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18561
18562 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18563
18564 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18565
18566 * minibuffer.el (completion--do-completion): Avoid the "Next char
18567 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18568
18569 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18570 mouse-2 into unread-command-events, it is interpreted correctly.
18571
18572 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18573 (image-toggle-display): Doc fix.
18574
18575 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18576
18577 * textmodes/page.el (what-page): Use line-number-at-pos to
18578 calculate line number (Bug#6825).
18579
18580 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18581
18582 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18583 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18584 Pass argument NO-DEFAULT to `find-tag-interactive'.
18585
18586 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18587
18588 Lexical-binding cleanup.
18589
18590 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18591 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18592 * progmodes/ada-prj.el (ada-prj-initialize-values)
18593 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18594 (ada-prj-show-value):
18595 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18596 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18597 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18598 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18599 * progmodes/bug-reference.el (bug-reference-push-button):
18600 * progmodes/fortran.el (fortran-line-length):
18601 * progmodes/glasses.el (glasses-change):
18602 * progmodes/octave-mod.el (octave-fill-paragraph):
18603 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18604 (python-pdbtrack-grub-for-buffer, python-sentinel):
18605 * progmodes/sql.el (sql-save-connection):
18606 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18607 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18608 Mark unused parameters.
18609
18610 * progmodes/compile.el (compilation--flush-directory-cache)
18611 (compilation--flush-parse, compile-internal): Mark unused parameters.
18612 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18613 (compilation-next-error-function): Remove unused variable `timestamp'.
18614
18615 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18616 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18617
18618 * progmodes/dcl-mode.el (dcl-end-of-command):
18619 Remove unused variable `start'.
18620 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18621 (dcl-option-value-basic, dcl-option-value-offset)
18622 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18623 Mark unused parameters.
18624 (dcl-save-local-variable): Remove unused variable `val'.
18625 (mode): Declare.
18626
18627 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18628 Mark unused parameters.
18629 (delphi-ignore-changes): Move before first use.
18630 (delphi-charset-token-at): Remove unused variable `start'.
18631 (delphi-else-start): Remove unused variable `if-count'.
18632 (delphi-comment-block-start, delphi-comment-block-end):
18633 Remove unused variable `kind'.
18634 (delphi-indent-line): Remove unused variable `new-point'.
18635
18636 * progmodes/ebrowse.el (ebrowse-files-list)
18637 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18638 Mark unused parameters. Don't quote `lambda'.
18639 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18640 Don't quote `lambda'.
18641 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18642 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18643 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18644 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18645 Use `ignore-errors'.
18646 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18647 (ebrowse-view/find-file-and-search-pattern)
18648 (ebrowse-view/find-member-declaration/definition):
18649 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18650 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18651 Rename parameter PREFIX-ARG to PREFIX.
18652 (ebrowse-tags-read-name): Remove unused variables `start' and
18653 `member-info'.
18654 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18655 to `tags-file'.
18656
18657 * progmodes/etags.el (local-find-tag-hook): Declare.
18658 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18659 Mark unused parameters.
18660
18661 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18662 (executable-interpret): Mark unused parameter.
18663
18664 * progmodes/flymake.el (flymake-process-sentinel)
18665 (flymake-after-change-function)
18666 (flymake-create-temp-with-folder-structure)
18667 (flymake-get-include-dirs-dot): Mark unused parameters.
18668 (flymake-safe-delete-directory): Remove unused variable `err'.
18669
18670 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18671 (speedbar-timer-fn, speedbar-line-text)
18672 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18673 (speedbar-center-buffer-smartly): Declare functions.
18674 (gdb-find-watch-expression): Remove unused variable `array'.
18675 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18676 (gdb-starting): Mark unused parameters.
18677 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18678 (gdb-table-string): Remove unused variable `res'.
18679 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18680 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18681 (gdb-display-buffer): Remove unused variable `cur-size'.
18682
18683 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18684 allow lexical-binding compilation.
18685 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18686 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18687 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18688 Mark unused parameters.
18689 (gud-gdb-marker-filter): Remove unused variable `match'.
18690 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18691 lambda expressions and funcall them, instead of using `fset'.
18692
18693 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18694 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18695
18696 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18697 variable `header-beg'; use `let'.
18698
18699 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18700 `restart', `last-sexp' and `at-do'.
18701
18702 * progmodes/js.el (js--debug): Mark unused parameter.
18703 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18704 (js--splice-into-items): Remove unused variable `item'.
18705 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18706
18707 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18708 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18709 (makefile-complete): Remove unused variable `try'.
18710 (makefile-fill-paragraph, makefile-match-function-end):
18711 Mark unused parameters.
18712
18713 * progmodes/octave-inf.el (inferior-octave-complete):
18714 Remove unused variable `proc'.
18715 (inferior-octave-output-digest): Mark unused parameter.
18716
18717 * progmodes/perl-mode.el (perl-calculate-indent):
18718 Remove unused variable `err'.
18719
18720 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18721 (prolog-indent-line): Mark unused parameters.
18722 (prolog-indent-line): Remove unused variable `beg'.
18723
18724 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18725 (reporter-dont-compact-list): Declare.
18726
18727 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18728 Remove unused variable `char'.
18729 (sh-debug): Mark unused parameter.
18730 (sh-get-indent-info): Remove unused variable `start'.
18731 (sh-calculate-indent): Remove unused variable `var'.
18732
18733 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18734 (simula-electric-keyword): Remove unused variable `null'.
18735 (simula-search-backward, simula-search-forward): Remove unused
18736 variables `begin' and `end'.
18737
18738 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18739 Remove unused variable `pos'.
18740 (vera-electric-tab, vera-comment-uncomment-region):
18741 Mark unused parameters.
18742 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18743
18744 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18745
18746 * emacs-lisp/package.el (package--builtins, package-alist)
18747 (package-load-descriptor, package-built-in-p, package-activate)
18748 (define-package, package-installed-p)
18749 (package-compute-transaction, package-buffer-info)
18750 (package--push): Doc fix. Distinguish more clearly between
18751 version strings and version lists.
18752
18753 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18754
18755 Lexical-binding cleanup.
18756
18757 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18758 (5x5-make-mutate-best):
18759 * play/fortune.el (fortune-in-buffer):
18760 * play/gomoku.el (gomoku-init-display):
18761 * play/solitaire.el (solitaire, solitaire-do-check):
18762 * play/tetris.el (tetris-default-update-speed-function):
18763 Mark unused parameters.
18764
18765 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18766 (bubbles--shift): Remove unused variable `char-org'.
18767 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18768 (bubbles--show-images): Remove unused variable `char'.
18769
18770 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18771 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18772 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18773 (decipher-analyze-buffer): Use ?\s.
18774 (decipher-make-checkpoint): Remove unused variable `mapping'.
18775
18776 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18777
18778 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18779 Remove unused variable `result'; use `let'.
18780
18781 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18782 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18783 (gametree-children-shown-p, gametree-compute-reduced-score):
18784 Use `ignore-errors'.
18785
18786 * play/handwrite.el (ps-lpr-switches): Declare.
18787 (handwrite): Remove unused variables `pmin' and `lastp'.
18788
18789 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18790
18791 * play/landmark.el (landmark-init-display)
18792 (landmark-update-naught-weights): Mark unused parameters.
18793 (landmark-y): Remove unused variable `noise'. Simplify.
18794 (landmark-human-plays): Remove unused variable `score'.
18795
18796 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18797 (mpuz-try-proposal): Remove unused variable `game'.
18798
18799 * play/zone.el (life-patterns): Declare.
18800
18801 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * vc/vc.el (ediff-vc-internal): Declare function.
18804
18805 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18806
18807 * shell.el: Use lexical-binding and std completion UI.
18808 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18809 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18810 comint-preoutput-filter-functions rather than on
18811 comint-output-filter-functions.
18812 (shell-command-completion, shell--command-completion-data)
18813 (shell-filename-completion, shell-environment-variable-completion)
18814 (shell-c-a-p-replace-by-expanded-directory): New functions.
18815 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18816 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18817 (shell-dynamic-complete-environment-variable): Use them.
18818 (shell-dynamic-complete-as-environment-variable)
18819 (shell-dynamic-complete-as-command): Remove.
18820 (shell-match-partial-variable): Match past point.
18821 * comint.el: Clean up use of completion-at-point-functions.
18822 (comint-completion-at-point): New function.
18823 (comint-mode): Use it completion-at-point-functions.
18824 (comint-dynamic-complete): Make it obsolete.
18825 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18826 (comint-c-a-p-replace-by-expanded-history): New function.
18827 (comint-dynamic-complete-functions)
18828 (comint-replace-by-expanded-history): Use it.
18829 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18830 termination strings. Try harder to avoid second try-completion.
18831 (completion-in-region-mode-map): Disable bindings that don't work yet.
18832
18833 * comint.el: Use lexical-binding. Require CL.
18834 (comint-dynamic-complete-functions): Use comint-filename-completion.
18835 (comint-completion-addsuffix): Tweak custom type.
18836 (comint-filename-completion, comint--common-suffix)
18837 (comint--common-quoted-suffix, comint--table-subvert)
18838 (comint--complete-file-name-data): New functions.
18839 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18840 (comint-dynamic-list-filename-completions): Use them.
18841 (comint-dynamic-simple-complete): Make obsolete.
18842
18843 * minibuffer.el (completion-in-region-mode):
18844 Keep completion-in-region-mode--predicate global.
18845 (completion-in-region--postch):
18846 Assume completion-in-region-mode--predicate is not null.
18847
18848 * progmodes/flymake.el (flymake-start-syntax-check-process):
18849 Obey `dir'. Simplify.
18850
18851 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18852 we're in VC after all.
18853
18854 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18855
18856 * vc/vc.el (vc-diff-build-argument-list-internal)
18857 (vc-version-ediff, vc-ediff): New commands.
18858 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18859
18860 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18861
18862 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18863 add sanity check.
18864
18865 * obsolete/erc-hecomplete.el: Make obsolete.
18866 * obsolete/: Standardize obsolescence info in the header.
18867
18868 2011-04-20 Glenn Morris <rgm@gnu.org>
18869
18870 * calendar/solar.el (solar-horizontal-coordinates):
18871 Use the longitude argument rather than `calendar-longitude'.
18872 (solar-date-next-longitude): Remove unused locals.
18873
18874 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18875
18876 * whitespace.el: New version 13.2.1.
18877
18878 2011-04-20 felix <EmacsWiki> (tiny change)
18879
18880 * whitespace.el (global-whitespace-mode): Keep highlight when
18881 switching between major modes on a file.
18882
18883 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18884
18885 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18886 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18887 multi-line comments as well.
18888
18889 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18890
18891 Lexical-binding cleanup.
18892
18893 * arc-mode.el (archive-mode-revert):
18894 * cmuscheme.el (scheme-interactively-start-process):
18895 * custom.el (custom-initialize-delay):
18896 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18897 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18898 * emacs-lock.el (emacs-lock-clear-sentinel):
18899 * ezimage.el (defezimage):
18900 * follow.el (follow-avoid-tail-recenter):
18901 * fringe.el (set-fringe-mode-1):
18902 * generic-x.el (bat-generic-mode-compile):
18903 * help-mode.el (help-info-variable, help-do-xref)
18904 (help-mode-revert-buffer):
18905 * help.el (view-emacs-todo):
18906 * iswitchb.el (iswitchb-completion-help):
18907 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18908 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18909 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18910 * locate.el (locate-update):
18911 * longlines.el (longlines-encode-region)
18912 (longlines-after-change-function):
18913 * outline.el (outline-isearch-open-invisible):
18914 * ps-def.el (declare-function, charset-dimension, char-width)
18915 (encode-char):
18916 * ps-mule.el (ps-mule-plot-string):
18917 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18918 (recentf-edit-list-select, recentf-edit-list-validate)
18919 (recentf-open-files-action):
18920 * rect.el (delete-whitespace-rectangle-line)
18921 (rectangle-number-line-callback):
18922 * register.el (window-configuration-to-register)
18923 (frame-configuration-to-register):
18924 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18925 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18926 (xselect-convert-to-targets, xselect-convert-to-delete)
18927 (xselect-convert-to-filename, xselect-convert-to-charpos)
18928 (xselect-convert-to-lineno, xselect-convert-to-colno)
18929 (xselect-convert-to-os, xselect-convert-to-host)
18930 (xselect-convert-to-user, xselect-convert-to-class)
18931 (xselect-convert-to-name, xselect-convert-to-integer)
18932 (xselect-convert-to-atom, xselect-convert-to-identity):
18933 * subr.el (declare, ignore, process-kill-without-query)
18934 (text-clone-maintain):
18935 * terminal.el (te-get-char, te-tic-sentinel):
18936 * tool-bar.el (tool-bar-make-keymap):
18937 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18938 * type-break.el (type-break-mode, type-break-noninteractive-query):
18939 * view.el (View-back-to-mark):
18940 * wid-browse.el (widget-browse-action, widget-browse-widget)
18941 (widget-browse-widgets, widget-browse-sexp):
18942 * widget.el (define-widget-keywords):
18943 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18944 Mark unused parameters.
18945
18946 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18947 (align-areas): Remove unused variable `look'.
18948 (align-region): Remove unused variables `real-end' and `pos-list'.
18949
18950 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18951
18952 * bindings.el (mode-line-modified, mode-line-remote):
18953 Mark unused parameters.
18954 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18955
18956 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18957 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18958
18959 * comint.el (comint-history-isearch-pop-state)
18960 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18961 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18962 (comint-substitute-in-file-name): Doc fix.
18963
18964 * completion.el (cmpl-statistics-block): Mark unused parameter.
18965 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18966 (save-completions-to-file, load-completions-from-file):
18967 Remove unused local variable `e'.
18968
18969 * composite.el (compose-chars): Remove unused variable `len'.
18970 (lgstring-insert-glyph): Remove unused variable `g'.
18971 (compose-glyph-string): Remove unused variables `ascent',
18972 `descent', `lbearing' and `rbearing'.
18973 (compose-glyph-string-relative): Remove unused variables
18974 `lbearing', `rbearing' and `wadjust'.
18975 (compose-gstring-for-graphic): Remove unused variables `header',
18976 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18977 (compose-gstring-for-terminal): Remove unused variables `header'
18978 and `nchars'. Use `let', not `let*'.
18979
18980 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18981 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18982 (Custom-buffer-done, custom-buffer-create-internal)
18983 (custom-browse-visibility-action, custom-browse-group-tag-action)
18984 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18985 (widget-magic-mouse-down-action, custom-toggle-parent)
18986 (custom-add-parent-links, custom-toggle-hide-variable)
18987 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18988 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18989 (custom-face-menu-create, custom-variable-menu-create, get)
18990 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18991 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18992 (customize-apropos): Remove unused variable `tests'.
18993 (custom-group-value-create): Remove unused variable `hidden-p'.
18994 (sort-fold-case): Declare.
18995
18996 * cus-theme.el (custom-reset-standard-faces-list)
18997 (custom-reset-standard-variables-list): Declare.
18998 (customize-create-theme, custom-theme-revert, custom-theme-write)
18999 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19000 Mark unused parameters.
19001
19002 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19003
19004 * delim-col.el (delimit-columns-max): Move defvar before first use.
19005
19006 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19007 (describe-char): Don't quote `lambda'. Mark unused parameter.
19008
19009 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19010 (auto-insert): Declare.
19011 (desktop-restore-file-buffer): Rename desktop-* parameters;
19012 mark unused ones.
19013 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19014 (desktop-buffer): Rename desktop-* parameters.
19015
19016 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19017 (dframe-reposition-frame-xemacs, dframe-help-echo)
19018 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19019 Mark unused parameters.
19020
19021 * dired-aux.el (backup-extract-version-start, overwrite-query)
19022 (overwrite-backup-query, rename-regexp-query)
19023 (rename-non-directory-query): Declare.
19024 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19025 (dired-add-entry): Remove unused variable `orig-file-name'.
19026 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19027 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19028 `dired-copy-preserve-time' directly.
19029 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19030 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19031
19032 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19033 (dired-virtual-revert, dired-make-relative-symlink):
19034 Mark unused parameters.
19035 (manual-program): Declare.
19036 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19037 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19038 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19039
19040 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19041
19042 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19043
19044 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19045 Declare.
19046
19047 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19048
19049 * electric.el (Electric-command-loop): Rename parameter
19050 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19051
19052 * expand.el (expand-in-literal): Remove unused variable `here'.
19053
19054 * facemenu.el (facemenu-add-new-color):
19055 Remove unused variable `docstring'.
19056
19057 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19058 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19059 (face-attr-construct): Mark unused parameter. Doc fix.
19060 (read-color): Remove unused variable `hex-string'.
19061
19062 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19063 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19064 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19065 (display-buffer-other-frame): Remove unused variable `old-window'.
19066 (kill-buffer-hook): Declare.
19067 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19068 Mark unused parameters.
19069 (after-find-file): Pass 1 to `auto-save-mode', not t.
19070
19071 * files-x.el (auto-insert): Declare.
19072 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19073
19074 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19075 variable `buf'. Mark unused parameter.
19076 (find-lisp-insert-directory): Mark unused parameter.
19077
19078 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19079 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19080 (format-common-tail): Remove, unused.
19081 (format-deannotate-region): Remove unused variable `loc'.
19082 (format-annotate-region): Remove unused variable `p'.
19083 (format-annotate-single-property-change): Remove unused variables
19084 `default' and `tail'.
19085
19086 * forms.el (read-file-filter): Declare.
19087 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19088
19089 * frame.el (frame-creation-function-alist): Mark unused parameter.
19090 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19091
19092 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19093 Remove unused parameters.
19094 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19095 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19096
19097 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19098 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19099 (hfy-prepare-tag-map): Mark unused parameters.
19100 (htmlfontify-buffer): Use `called-interactively-p'.
19101
19102 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19103 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19104 (ibuffer-do-occur): Mark unused parameters.
19105 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19106 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19107
19108 * ibuffer.el: Don't quote `lambda'.
19109 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19110 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19111 Mark unused parameters.
19112
19113 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19114 (ido-completing-read): Mark unused parameters.
19115 (ido-copy-current-word): Mark unused parameters;
19116 remove unused variable `name'.
19117 (ido-sort-merged-list): Remove unused parameter `dirs'.
19118
19119 * ielm.el (ielm-input-sender): Mark unused parameter.
19120 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19121 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19122 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19123 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19124 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19125
19126 * image-dired.el (image-dired-display-thumbs): Remove unused
19127 variables `curr-file' and `count'.
19128 (image-dired-remove-tag): Remove unused variable `start'.
19129 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19130 variable `curr-file'
19131 (image-dired-rotate-original): Remove unused variable `temp-file'.
19132 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19133 Remove unused variable `file'.
19134 (image-dired-gallery-generate): Remove unused variable `curr'.
19135 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19136
19137 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19138
19139 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19140
19141 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19142
19143 * isearch.el (minibuffer-history-symbol): Declare.
19144 (isearch-edit-string): Remove unused variable `err'.
19145 (isearch-message-prefix, isearch-message-suffix):
19146 Mark unused parameters.
19147
19148 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19149
19150 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19151
19152 * makesum.el (double-column): Remove unused variable `cnt'.
19153
19154 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19155 (ido-ignore-item-temp-list): Declare.
19156
19157 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19158 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19159 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19160 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19161 `mouse-col-delta'.
19162
19163 * mouse-sel.el (mouse-extend-internal):
19164 Remove unused variable `orig-window-frame'.
19165
19166 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19167 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19168 Move declarations before first use.
19169 (pcomplete-opt): Mark unused parameters; doc fix.
19170
19171 * proced.el (proced-revert): Mark unused parameter.
19172 (proced-send-signal): Remove unused variable `err'.
19173
19174 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19175 Rename parameter PREFIX-ARG to ARG.
19176 (ps-basic-plot-string, ps-basic-plot-whitespace):
19177 Mark unused parameters.
19178
19179 * replace.el (replace-count): Define.
19180 (occur-revert-function): Mark unused parameters.
19181 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19182 (isearch-case-fold-search, isearch-string): Declare.
19183 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19184 bind `case-fold-search'. Remove unused variables `beg' and `end',
19185 and simplify.
19186 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19187 COUNT and bind `replace-count'.
19188 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19189 to COUNT.
19190
19191 * savehist.el (print-readably, print-string-length): Declare.
19192
19193 * shadowfile.el (shadow-expand-cluster-in-file-name):
19194 Remove unused variable `cluster'.
19195 (shadow-copy-file): Remove unused variable `i'.
19196 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19197 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19198 (shadow-define-literal-group, shadow-define-regexp-group)
19199 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19200
19201 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19202 (shell): Use `called-interactively-p'.
19203 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19204
19205 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19206 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19207 (delete-backward-char): Remove unused variable `ocol'.
19208 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19209 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19210 (event-apply-hyper-modifier, event-apply-shift-modifier)
19211 (event-apply-control-modifier, event-apply-meta-modifier):
19212 Mark unused parameters.
19213 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19214 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19215
19216 * speedbar.el (speedbar-ignored-directory-expressions)
19217 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19218 (speedbar-find-file, speedbar-dir-follow)
19219 (speedbar-directory-buttons-follow, speedbar-tag-find)
19220 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19221 (speedbar-buffers-line-directory, speedbar-buffer-click):
19222 Mark unused parameters.
19223 (speedbar-tag-file): Remove unused variable `mode'.
19224 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19225
19226 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19227
19228 * talk.el (talk): Remove unused variable `display'.
19229
19230 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19231 (tar-write-region-annotate): Mark unused parameter.
19232
19233 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19234 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19235 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19236 warning by another.
19237
19238 * time-stamp.el (time-stamp-string-preprocess):
19239 Remove unused variable `require-padding'.
19240
19241 * tree-widget.el (widget-glyph-enable): Declare.
19242 (tree-widget-action): Mark unused parameter.
19243
19244 * w32-fns.el (x-get-selection): Mark unused parameter.
19245 (autoload-make-program, generated-autoload-file): Declare.
19246
19247 * wdired.el (wdired-revert): Mark unused parameters.
19248 (wdired-xcase-word): Remove unused variable `err'.
19249
19250 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19251 (whitespace-help-scroll): Remove unused variable `data-help'.
19252
19253 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19254 (widget-image-insert, widget-after-change, default)
19255 (widget-default-format-handler, widget-default-notify)
19256 (widget-default-prompt-value, widget-info-link-action)
19257 (widget-url-link-action, widget-function-link-action)
19258 (widget-variable-link-action, widget-file-link-action)
19259 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19260 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19261 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19262 (widget-insert-button-action, widget-delete-button-action, visibility)
19263 (widget-documentation-link-action, widget-documentation-string-action)
19264 (widget-const-prompt-value, widget-regexp-match, symbol)
19265 (widget-coding-system-prompt-value)
19266 (widget-key-sequence-value-to-external, sexp)
19267 (widget-sexp-value-to-internal, character, vector, cons)
19268 (widget-choice-prompt-value, widget-boolean-prompt-value)
19269 (widget-color--choose-action): Mark unused parameters.
19270 (widget-item-match-inline, widget-choice-match-inline)
19271 (widget-checklist-match, widget-checklist-match-inline)
19272 (widget-group-match): Rename parameter VALUES to VALS.
19273 (widget-field-value-set): Remove unused variable `size'.
19274 (widget-color-action): Remove unused variables `value' and `start'.
19275
19276 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19277 variable `dir'. Doc fix.
19278 (windmove-find-other-window): Don't pass it.
19279
19280 * window.el (count-windows): Mark unused parameter.
19281 (bw-adjust-window): Remove unused variable `err'.
19282
19283 * woman.el (woman-file-name): Remove unused variable `default'.
19284 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19285 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19286 (global-font-lock-mode): Declare.
19287 (woman-decode-region): Mark unused parameter.
19288 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19289
19290 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19291 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19292 (x-dnd-handle-moz-url): Remove unused variable `title'.
19293 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19294
19295 * xml.el (xml-parse-tag, xml-parse-attlist):
19296 Remove unused variable `pos'.
19297
19298 2011-04-19 Glenn Morris <rgm@gnu.org>
19299
19300 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19301 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19302 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19303 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19304 * calendar/cal-html.el (cal-html-insert-minical):
19305 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19306 (calendar-mark-date-pattern):
19307 Prefix "unused" locals.
19308
19309 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19310 optional argument `style'.
19311
19312 * calendar/appt.el (appt-make-list):
19313 * calendar/cal-china.el (calendar-chinese-date-string):
19314 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19315 (diary-hebrew-yahrzeit):
19316 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19317 * calendar/calendar.el (calendar-generate-window):
19318 * calendar/time-date.el (time-to-days):
19319 Remove unused local variables.
19320
19321 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19322
19323 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19324 glyphless-char-display table.
19325 (tabulated-list-glyphless-char-display): New var.
19326
19327 2011-04-18 Sam Steingold <sds@gnu.org>
19328
19329 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19330 to acknowledgments.
19331
19332 2011-04-17 Glenn Morris <rgm@gnu.org>
19333
19334 * calendar/diary-lib.el (diary-sexp-entry):
19335 * calendar/holidays.el (holiday-sexp):
19336 Set debug-on-error rather than the removed stack-trace-on-error.
19337
19338 2011-04-16 Glenn Morris <rgm@gnu.org>
19339
19340 * progmodes/f90.el: Use lexical-binding.
19341 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19342
19343 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19344
19345 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19346 (mail-mode): Setup mailalias completion here instead.
19347 * mail/mailalias.el: Use lexical-binding.
19348 (pattern, mailalias-done): Declare dynamic.
19349 (mail-completion-at-point-function): New function, from mail-complete.
19350 (mail-complete): Use it.
19351 (mail-completion-expand): New function.
19352 (mail-get-names): Use it.
19353 (mail-directory, mail-directory-process, mail-directory-stream):
19354 Don't use `pattern' for lexically bound arg.
19355
19356 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19357
19358 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19359 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19360 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19361
19362 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19363 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19364 (byte-interactive-p): Define them again, for use when inlining
19365 old code.
19366
19367 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19368
19369 * loadup.el: Use `string-to-number', not `string-to-int'.
19370
19371 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19372
19373 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19374 gud-gdb-complete-command.
19375 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19376 (gud-gdb-completion-at-point): New function.
19377 (gud-gdb-completions): Remove.
19378
19379 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19380
19381 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19382 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19383 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19384 whether `executable-find' is bound.
19385
19386 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19387
19388 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19389
19390 * minibuffer.el (completion-in-region-mode-predicate)
19391 (completion-in-region-mode--predicate): New vars.
19392 (completion-in-region, completion-in-region--postch)
19393 (completion-in-region-mode): Use them.
19394 (completion--capf-wrapper): Also return the hook function.
19395 (completion-at-point, completion-help-at-point):
19396 Adjust and provide a predicate.
19397
19398 Preserve arg names for advice of subr and lexical functions (bug#8457).
19399 * help-fns.el (help-function-arglist): Consolidate the subr and
19400 new-byte-code cases. Add argument `preserve-names' to extract names
19401 from the docstring when needed.
19402 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19403 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19404 (ad-arglist): Use help-function-arglist's new arg.
19405 (ad-definition-type): Use cond.
19406
19407 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19408
19409 * autorevert.el (auto-revert-handler):
19410 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19411 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19412 Don't quote lambda.
19413
19414 * image-mode.el (image-transform-set-scale):
19415 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19416
19417 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19418
19419 * net/network-stream.el (network-stream-open-starttls): Only do
19420 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19421 Upgrades via gnutls-cli are too slow to be done opportunistically.
19422
19423 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19424
19425 * dframe.el (dframe-current-frame): Remove spurious quote.
19426
19427 2011-04-12 Glenn Morris <rgm@gnu.org>
19428
19429 * calendar/cal-tex.el (cal-tex-end-document):
19430 Try to automatically use latin1 input if needed.
19431
19432 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19433 Don't try to cons a mark onto an empty element.
19434
19435 2011-04-11 Leo Liu <sdl.web@gmail.com>
19436
19437 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19438 buffers.
19439 (ido-kill-buffer-at-head): Support killing virtual buffers.
19440
19441 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19442
19443 * minibuffer.el (completion-show-inline-help): New var.
19444 (completion--do-completion, minibuffer-complete)
19445 (minibuffer-force-complete, minibuffer-complete-word):
19446 Inhibit minibuffer messages if completion-show-inline-help is nil.
19447
19448 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19449 to avoid interference from inline help (Bug#5849).
19450
19451 2011-04-10 Leo Liu <sdl.web@gmail.com>
19452
19453 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19454 Fix typo.
19455
19456 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19457
19458 * image-mode.el (image-toggle-display-image): Signal an error if
19459 not in Image mode.
19460 (image-transform-mode, image-transform-resize)
19461 (image-transform-set-rotation): Doc fix.
19462 (image-transform-set-resize): Delete.
19463 (image-transform-set-scale, image-transform-fit-to-height)
19464 (image-transform-fit-to-width): Handle image-toggle-display-image
19465 and image-transform-resize directly.
19466
19467 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19468
19469 * doc-view.el (doc-view-fit-width-to-window)
19470 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19471 New functions for fitting the shown image to the Emacs window size.
19472 (doc-view-mode-map): Add bindings for the new functions.
19473
19474 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19475
19476 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19477 Fix typo in docstring.
19478
19479 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19480
19481 * files.el (file-size-human-readable): Produce one digit after
19482 decimal, like "ls -lh" does.
19483
19484 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19485 the file size representation.
19486
19487 * simple.el (list-processes): If async subprocesses are not
19488 available, error out with a clear error message.
19489
19490 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19491
19492 * help.el (help-form-show): New function, to be called from C.
19493 Put help-form output in a buffer named differently than *Help*.
19494
19495 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19496
19497 * files.el (file-size-human-readable): New function.
19498
19499 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19500 computing the representation inline. Don't require `cl'.
19501
19502 2011-04-08 Glenn Morris <rgm@gnu.org>
19503
19504 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19505
19506 * net/browse-url.el (browse-url-firefox):
19507 Test system-type, not system-configuration.
19508
19509 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19510 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19511 Use log-edit-empty-buffer-p. (Bug#7598)
19512
19513 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19514 (rlogin-mode-map): Initialize in the defvar.
19515 (rlogin): Use ignore-errors.
19516
19517 * replace.el (occur-mode-map): Some fixes for menu items.
19518
19519 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19520
19521 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19522
19523 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19524
19525 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19526 issuing unused warnings.
19527
19528 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19529 macro directly.
19530
19531 * simple.el: Lisp reimplement of list-processes. Based on an
19532 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19533 (process-menu-mode): New major mode.
19534 (list-processes--refresh, list-processes):
19535 (process-menu-visit-buffer): New functions.
19536
19537 * files.el (save-buffers-kill-emacs): Don't assume any return
19538 value of list-processes, which is undocumented anyway.
19539
19540 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19541
19542 * emacs-lisp/tabulated-list.el: New file.
19543
19544 * emacs-lisp/package.el: Use Tabulated List mode.
19545 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19546 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19547 table format using Tabulated List mode variables.
19548 (package--push): New macro, replacing package-list-maybe-add.
19549 (package-menu--generate): Use package--push. Renamed from
19550 package--generate-package-list.
19551 (package-menu-refresh, list-packages): Use it.
19552 (package-menu--print-info): Rename from package-print-package.
19553 Return insertion data instead of inserting it directly.
19554 (package-menu-describe-package, package-menu-execute):
19555 Use tabulated-list-get-id.
19556 (package-menu-mark-delete, package-menu-mark-install)
19557 (package-menu-mark-unmark, package-menu-backup-unmark)
19558 (package-menu-mark-obsolete-for-deletion):
19559 Use tabulated-list-put-tag.
19560 (package--list-packages, package-menu-revert)
19561 (package-menu-get-package, package-menu-get-version)
19562 (package-menu-sort-by-column): Functions deleted.
19563 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19564 (package-menu--status-predicate, package-menu--version-predicate)
19565 (package-menu--name-predicate)
19566 (package-menu--description-predicate): Handle arguments in the
19567 Tabulated List format.
19568 (package-list-packages-no-fetch): Call list-packages.
19569
19570 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19571
19572 * files.el (after-find-file-from-revert-buffer): Remove variable.
19573 (after-find-file): Don't bind it.
19574 (revert-buffer-in-progress-p): New variable.
19575 (revert-buffer): Bind it.
19576 Pass nil for `after-find-file-from-revert-buffer'.
19577
19578 * saveplace.el (save-place-find-file-hook): Use new variable
19579 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19580
19581 2011-04-06 Glenn Morris <rgm@gnu.org>
19582
19583 * Makefile.in (AUTOGEN_VCS): New variable.
19584 (autoloads): Use $AUTOGEN_VCS.
19585
19586 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19587 * calendar/calendar.el (calendar-mode-map):
19588 Check for toolkit scroll bars. (Bug#8305)
19589
19590 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19591
19592 * minibuffer.el (completion-in-region--postch)
19593 (completion-in-region-mode): Remove unnecessary messages.
19594
19595 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19596
19597 * font-lock.el (font-lock-refresh-defaults):
19598 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19599 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19600
19601 * info.el (Info-directory-list, Info-read-node-name-2)
19602 (Info-split-parameter-string): Doc fixes.
19603 (Info-virtual-nodes): Reflow docstring.
19604 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19605 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19606 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19607 Fix typos in docstrings.
19608 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19609 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19610 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19611 (Info-restore-desktop-buffer): Mark unused parameters.
19612 (Info-directory-find-file, Info-directory-find-node)
19613 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19614 (Info-virtual-index-find-node, Info-apropos-find-file)
19615 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19616 Mark unused parameters; fix typos in docstrings.
19617 (Info-virtual-index): Remove unused local variable `nodename'.
19618
19619 2011-04-05 Deniz Dogan <deniz@dogan.se>
19620
19621 * net/rcirc.el: Update my e-mail address.
19622 (rcirc-mode-map): Remove M-o binding.
19623
19624 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19625
19626 * startup.el (command-line): Save the cursor's theme-face
19627 directly, instead of using face-override-spec.
19628
19629 * custom.el (load-theme): Minor optimization in assigning faces.
19630
19631 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * help-fns.el (describe-variable): Complete all variables having
19634 documentation, including keywords.
19635 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19636
19637 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19638
19639 Convert to lexical-binding.
19640
19641 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19642 (bs--get-marked-string, bs--get-modified-string)
19643 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19644 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19645 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19646
19647 * ehelp.el (electric-help-execute-extended)
19648 (electric-help-ctrl-x-prefix):
19649 * hexl.el (hexl-revert-buffer-function):
19650 * linum.el (linum-after-change, linum-after-scroll):
19651 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19652
19653 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19654
19655 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19656
19657 * epa-dired.el:
19658 * epa-mail.el:
19659 * epa-hook.el:
19660 * epa-file.el:
19661 * epa.el:
19662 * epg.el: Use lexical binding.
19663
19664 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19665
19666 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19667
19668 * textmodes/flyspell.el (flyspell-word): Recognize default
19669 dictionary case for flyspell-mark-duplications-exceptions.
19670 Use regexp matching for languages.
19671 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19672 default dictionary (Bug#7926).
19673
19674 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19675
19676 * emacs-lisp/package.el (package--with-work-buffer):
19677 Recognize https URLs.
19678
19679 * net/network-stream.el: Move from gnus/proto-stream.el.
19680 Change prefix to network-stream throughout.
19681 (open-protocol-stream): Merge into open-network-stream, leaving
19682 open-protocol-stream as an alias. Handle nil BUFFER args.
19683
19684 * subr.el (open-network-stream): Move to net/network-stream.el.
19685
19686 2011-04-02 Glenn Morris <rgm@gnu.org>
19687
19688 * find-dired.el (find-exec-terminator): New option.
19689 (find-ls-option): Test for -ls support.
19690 (find-ls-subdir-switches): Test for -b in find-ls-option.
19691 (find-dired, find-grep-dired): Doc fixes.
19692 (find-dired): Use find-exec-terminator.
19693
19694 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19695 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19696 (find-name-arg): Remove purecopy.
19697
19698 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19699 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19700 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19701 accordingly. Don't add the null-device if not needed.
19702
19703 * files.el (save-some-buffers): Doc fix.
19704
19705 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19706
19707 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19708
19709 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19710
19711 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19712 Use `dolist' rather than `mapcar'.
19713
19714 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19715
19716 Add lexical binding.
19717
19718 * subr.el (apply-partially): Use new closures rather than CL.
19719 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19720 (dolist, dotimes): Use slightly different expansion for lexical code.
19721 (functionp): Move to C.
19722 (letrec): New macro.
19723 (with-wrapper-hook): Use it and apply-partially instead of CL.
19724 (eval-after-load): Preserve lexical-binding.
19725 (save-window-excursion, with-output-to-temp-buffer): Turn them
19726 into macros.
19727
19728 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19729
19730 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19731 than the arglist.
19732 (help-add-fundoc-usage): Don't add `Not documented'.
19733 (help-function-arglist): Handle closures, subroutines, and new
19734 byte-code-functions.
19735 (help-make-usage): Remove leading underscores.
19736 (describe-function-1): Handle closures.
19737 (describe-variable): Use special-variable-p for completion.
19738
19739 * files.el (lexical-binding): Declare safe.
19740
19741 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19742 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19743 (pcase): Add `let' pattern.
19744 Change memoization so it actually works.
19745 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19746 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19747 <let>: New case.
19748
19749 * emacs-lisp/macroexp.el: Use lexical binding.
19750 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19751 Don't convert ' to #' without checking that it's indeed quoting
19752 a lambda.
19753
19754 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19755 Use eval-sexp-add-defvars.
19756 (eval-sexp-add-defvars): New fun.
19757
19758 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19759
19760 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19761 Don't autoload.
19762 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19763 than the internal `byte-compile-lambda'.
19764 (defmethod): Don't hide code under quotes.
19765 (eieio-defmethod): New `code' argument.
19766
19767 * emacs-lisp/eieio-comp.el: Remove.
19768
19769 * emacs-lisp/edebug.el (edebug-eval-defun)
19770 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19771 (edebug-toggle): Avoid `eval'.
19772
19773 * emacs-lisp/disass.el (disassemble-internal): Handle new
19774 `closure' objects.
19775 (disassemble-1): Handle new byte codes.
19776
19777 * emacs-lisp/cl.el (pushnew): Silence warning.
19778
19779 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19780 (cl-byte-compile-throw): Remove.
19781 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19782
19783 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19784 closures.
19785
19786 * emacs-lisp/cconv.el: New file.
19787
19788 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19789 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19790 (byte-compile-initial-macro-environment):
19791 Handle declare-function here.
19792 (byte-compile--lexical-environment): New var.
19793 (byte-stack-ref, byte-stack-set, byte-discardN)
19794 (byte-discardN-preserve-tos): New lap codes.
19795 (byte-interactive-p): Don't use any more.
19796 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19797 New macros.
19798 (byte-compile-lapcode): Use them and handle new lap codes.
19799 (byte-compile-obsolete): Remove.
19800 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19801 (byte-compile-arglist-warn): Check late def of inlinable funs.
19802 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19803 since they should have been expanded by now.
19804 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19805 (byte-compile-from-buffer): Remove unused second arg.
19806 (byte-compile-preprocess): New function.
19807 (byte-compile-toplevel-file-form): New function to distinguish
19808 file-form calls from outside from file-form calls from hunk-handlers.
19809 (byte-compile-file-form): Simplify.
19810 (byte-compile-file-form-defsubst): Remove.
19811 (byte-compile-file-form-defmumble): Simplify now that
19812 byte-compile-lambda always returns a byte-code-function.
19813 (byte-compile): Preprocess.
19814 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19815 Remove, not used any more.
19816 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19817 (byte-compile-make-args-desc): New funs.
19818 (byte-compile-lambda): Handle lexical functions. Always return
19819 a byte-code-function.
19820 (byte-compile-reserved-constants): New var, to make up room for
19821 closed-over variables.
19822 (byte-compile-constants-vector): Obey it.
19823 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19824 (byte-compile-macroexpand-declare-function): New function.
19825 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19826 byte-code-functions.
19827 (byte-compile-form): Check obsolescence here.
19828 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19829 (byte-compile-variable-ref): Remove.
19830 (byte-compile-dynamic-variable-op): New fun.
19831 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19832 (byte-compile-variable-set): New funs.
19833 (byte-compile-discard): Add 2 args.
19834 (byte-compile-stack-ref, byte-compile-stack-set)
19835 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19836 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19837 macroexpand-all instead.
19838 (byte-compile-quote-form): Remove.
19839 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19840 (byte-compile-bind, byte-compile-unbind): New funs.
19841 (byte-compile-let): Handle let* and lexical binding.
19842 (byte-compile-let*): Remove.
19843 (byte-compile-catch, byte-compile-unwind-protect)
19844 (byte-compile-track-mouse, byte-compile-condition-case):
19845 Handle a new :fun-body form, used for lexical scoping.
19846 (byte-compile-save-window-excursion)
19847 (byte-compile-with-output-to-temp-buffer): Remove.
19848 (byte-compile-defun): Simplify.
19849 (byte-compile-stack-adjustment): New fun.
19850 (byte-compile-out): Use it.
19851 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19852
19853 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19854 handler any more.
19855
19856 * emacs-lisp/byte-opt.el: Use lexical binding.
19857 (byte-inline-lapcode): Remove (to bytecomp).
19858 (byte-compile-inline-expand): Pay attention to inlining to/from
19859 lexically bound code.
19860 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19861 any more.
19862 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19863 any more and don't call compiler-macros.
19864 (byte-compile-splice-in-already-compiled-code): Remove.
19865 (byte-code): Don't inline any more.
19866 (disassemble-offset): Receive `bytes' as argument rather than via
19867 dynamic scoping.
19868 (byte-compile-tag-number): Declare before first use.
19869 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19870 `return' even if make-spliceable.
19871 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19872 obsolete interactive-p.
19873 (byte-optimize-lapcode): Optimize new lap-codes.
19874 Don't trip up on new form of `byte-constant' lap code.
19875
19876 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19877
19878 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19879
19880 * custom.el (custom-initialize-default, custom-declare-variable):
19881 Use `defvar'.
19882
19883 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19884 New variables.
19885 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19886 (COMPILE_FIRST): Add macroexp and cconv.
19887 * makefile.w32-in: Mirror changes in Makefile.in.
19888
19889 * vc/cvs-status.el:
19890 * vc/diff-mode.el:
19891 * vc/log-edit.el:
19892 * vc/log-view.el:
19893 * vc/smerge-mode.el:
19894 * textmodes/bibtex-style.el:
19895 * textmodes/css-mode.el:
19896 * startup.el:
19897 * uniquify.el:
19898 * minibuffer.el:
19899 * newcomment.el:
19900 * reveal.el:
19901 * server.el:
19902 * mpc.el:
19903 * emacs-lisp/smie.el:
19904 * doc-view.el:
19905 * dired.el:
19906 * abbrev.el: Use lexical binding.
19907
19908 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19909
19910 * info.el (info-display-manual): New function.
19911
19912 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19915
19916 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19917
19918 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19919 an entry for that server in rcirc-authinfo. (Bug#8385)
19920
19921 2011-03-31 Glenn Morris <rgm@gnu.org>
19922
19923 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19924
19925 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19926
19927 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19928
19929 * progmodes/python.el (python-default-interpreter)
19930 (python-python-command-args, python-jython-command-args)
19931 (python-which-shell, python-which-args, python-which-bufname)
19932 (python-file-queue, python-comint-output-filter-function)
19933 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19934 variables and functions.
19935
19936 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19937
19938 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19939 (completion-in-region-mode): New minor mode.
19940 (completion-in-region): Use it.
19941 (completion-in-region--data, completion-in-region-mode-map): New vars.
19942 (completion-in-region--postch): New function.
19943 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19944 New vars.
19945 (completion--capf-wrapper): New function.
19946 (completion-at-point): Use it to track well-behavedness of
19947 hook functions.
19948 (completion-help-at-point): New command.
19949
19950 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19951
19952 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19953 syntax class to search for whitespace on a single line
19954 (Message-ID: <4D938140.4030905@redhat.com>).
19955
19956 2011-03-30 Leo Liu <sdl.web@gmail.com>
19957
19958 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19959 New commands.
19960 (edit-abbrevs-map): Bind them here.
19961 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19962
19963 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19964
19965 * allout.el (allout-hide-by-annotation, allout-flag-region):
19966 Reduce possibility of overlay leakage by making them volatile.
19967
19968 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19969 hash is not shared between buffers. Mode initialization is
19970 responsible for giving it a useful starting value.
19971 (allout-item-span): Reduce possibility of overlay leakage by
19972 making them volatile.
19973 (allout-widgets-count-buttons-in-region): Add diagnostic function
19974 for tracking down button overlay leaks.
19975
19976 2011-03-29 Leo Liu <sdl.web@gmail.com>
19977
19978 * ido.el (ido-read-internal): Use the default history var
19979 minibuffer-history if no HISTORY is specified.
19980
19981 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19982
19983 * net/imap.el (imap-shell-open, imap-process-connection-type):
19984 Use imap-process-connection-type for 'shell' streams as well as
19985 Kerberos, SSL, other subprocesses.
19986
19987 2011-03-28 Leo Liu <sdl.web@gmail.com>
19988
19989 * abbrev.el (abbrev-table-empty-p): New function.
19990 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19991 nonempty ones. (Bug#5937)
19992
19993 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19994
19995 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19996
19997 2011-03-27 Leo Liu <sdl.web@gmail.com>
19998
19999 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20000 for foreground and background colors.
20001 (ansi-color-make-color-map): Adapt.
20002
20003 2011-03-25 Leo Liu <sdl.web@gmail.com>
20004
20005 * midnight.el (midnight-time-float): Remove. Note it calculates
20006 the microsecond component incorrectly and seconds-to-time does the
20007 same job.
20008 Remove redundant (require 'timer).
20009
20010 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20011 (ido-completions): Remove unused arguments. (Bug#8329)
20012
20013 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20014
20015 * minibuffer.el (completion--flush-all-sorted-completions):
20016 Remove itself from hook.
20017 (completion-at-point): Let the functions perform the completion
20018 immediately and return nil or t.
20019 * comint.el (comint-dynamic-complete-functions): Now identical to
20020 completion-at-point-functions.
20021 (comint-dynamic-list-input-ring): Remove unused var `index'.
20022 (comint--match-partial-filename, comint--unquote&expand-filename):
20023 New funs, split from comint-match-partial-filename.
20024 (comint-dynamic-complete): Use completion-at-point.
20025 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20026
20027 2011-03-24 Drew Adams <drew.adams@oracle.com>
20028
20029 * thingatpt.el: Support `defun'.
20030
20031 2011-03-23 Leo Liu <sdl.web@gmail.com>
20032
20033 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20034
20035 * help-mode.el (help-mode-finish): Tweak regexp.
20036
20037 2011-03-23 Glenn Morris <rgm@gnu.org>
20038
20039 * eshell/esh-opt.el (eshell-eval-using-options):
20040 Do not bind unused local variable `eshell-option-stub'.
20041
20042 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20043
20044 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20045
20046 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20047 keymap variable in `with-no-warnings' to avoid a warning when the
20048 keymap has been already `defconst'ed.
20049
20050 2011-03-22 Leo Liu <sdl.web@gmail.com>
20051
20052 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20053 encode all chars in abbrevs; otherwise use emacs-mule or
20054 utf-8-emacs. (Bug#8308)
20055
20056 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20057
20058 * simple.el (backward-delete-char-untabify):
20059 Avoid warning about using `delete-backward-char'.
20060
20061 * image.el (image-type-file-name-regexps): Make it variable.
20062 `imagemagick-register-types' modifies it, and the user may want
20063 to add new extensions for known image types.
20064 (imagemagick-register-types): Throw error if not using ImageMagick.
20065
20066 2011-03-22 Leo Liu <sdl.web@gmail.com>
20067
20068 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20069 located before rcirc-prompt-end-marker.
20070 (rcirc-complete): Error if point is not after rcirc prompt.
20071 Handle the case when table is nil.
20072 (rcirc-user-authenticated): Define to fix compiler warning.
20073
20074 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20075
20076 * custom.el (custom--inhibit-theme-enable): Make it affect only
20077 custom-theme-set-variables and custom-theme-set-faces.
20078 (provide-theme): Ignore custom--inhibit-theme-enable.
20079 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20080 (custom-enabling-themes): Delete variable.
20081 (enable-theme): Accept only loaded themes as arguments.
20082 Ignore the special custom-enabled-themes variable.
20083 (custom-enabled-themes): Forbid themes from setting this.
20084 Eliminate use of custom-enabling-themes.
20085 (custom-push-theme): Quote "changed" custom var entry.
20086
20087 2011-03-21 Leo Liu <sdl.web@gmail.com>
20088
20089 * ido.el (ido-read-internal): Add ido-selected to history instead
20090 of user input.
20091
20092 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * subr.el (deferred-action-list, deferred-action-function):
20095 Mark obsolete.
20096
20097 2011-03-21 Leo Liu <sdl.web@gmail.com>
20098
20099 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20100 change on 2011-02-13 (bug#8309).
20101
20102 * minibuffer.el (read-file-name-function): Change default value.
20103 (read-file-name--defaults): Rename from read-file-name-defaults.
20104 (read-file-name-default): Rename from read-file-name.
20105 (read-file-name): Call read-file-name-function.
20106
20107 2011-03-21 Glenn Morris <rgm@gnu.org>
20108
20109 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20110 Doc fixes.
20111
20112 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20113
20114 * cus-theme.el: Add missing provide statement.
20115 (customize-create-theme): Extract theme value correctly.
20116 (custom-theme-visit-theme): Autoload.
20117 (customize-create-theme): Prompt before inserting default faces.
20118
20119 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20120
20121 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20122 units and musical notes.
20123
20124 2011-03-20 Leo Liu <sdl.web@gmail.com>
20125
20126 * ido.el (ido-read-internal): Use completing-read-default.
20127 (ido-completing-read): Fix compatibility with completing-read.
20128
20129 2011-03-20 Christian Ohler <ohler@gnu.org>
20130
20131 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20132 (ert-delete-all-tests): Use `called-interactively-p' rather than
20133 `interactive-p'.
20134 (ert--make-xrefs-region): Respect END.
20135
20136 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20137
20138 * dired-aux.el (dired-create-directory): Signal an error if the
20139 directory already exists (Bug#8246).
20140
20141 * facemenu.el (list-colors-display): Call list-faces-display
20142 inside with-help-window.
20143 (list-colors-print): Use display property to align the final
20144 column, instead of checking window-width.
20145
20146 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20147
20148 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20149 windows-nt systems.
20150 (emerge-protect-metachars): Quote correctly for ms-dos and
20151 windows-nt systems.
20152
20153 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20154
20155 * info.el (info-initialize): Replace all uses of `:' with
20156 path-separator for compatibility with non-Unix systems.
20157 Cache quoting of path-separator. (Bug#8258)
20158
20159 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20160
20161 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20162 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20163 (mouse-avoidance-mode): Fix typos in docstrings.
20164
20165 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * startup.el (package-subdirectory-regexp): Move from package.el.
20168 Omit \\` and \\', and let callers add them.
20169
20170 * emacs-lisp/package.el (package-strip-version)
20171 (package-load-all-descriptors): Add \\` and \\' to
20172 package-subdirectory-regexp before using it.
20173 (package-untar-buffer): New arg DIR; ensure that file untars only
20174 into this expected directory. Remove superfluous delete-region.
20175 (package-unpack): Caller changed.
20176 (package-tar-file-info): Use package-subdirectory-regexp.
20177
20178 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20179
20180 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20181 diff-mode-shared-map (bug#8284).
20182 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20183
20184 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20185
20186 * calendar/time-date.el (format-seconds): Use assoc instead of
20187 assoc-string, since assoc-string doesn't exist in XEmacs.
20188
20189 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20190
20191 * custom.el (custom-known-themes): Reflow docstring.
20192 (custom-theme-load-path): Fix typo in docstring.
20193 (load-theme): Fix typo in error message.
20194 (custom-available-themes, custom-variable-theme-value):
20195 Use `let', not `let*'.
20196
20197 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20198
20199 * calc/README: Mention inclusion of musical notes.
20200
20201 * calc/calc-units.el (calc-lu-quant): Rename from
20202 `calc-logunits-quantity'.
20203 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20204 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20205 (calc-db): Rename from `calc-dblevel'.
20206 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20207 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20208 (calc-np): Rename from `calc-nplevel'.
20209 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20210 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20211 (calc-lu-plus): Rename from `calc-logunits-add'.
20212 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20213 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20214 (calc-lu-minus): Rename from `calc-logunits-sub'.
20215 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20216 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20217 (calc-lu-times): Rename from `calc-logunits-mul'.
20218 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20219 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20220 (calc-lu-divide): Rename from `calc-logunits-div'.
20221 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20222 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20223
20224 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20225 functions being autoloaded.
20226
20227 * calc/calc.el (calc-lu-power-reference): Rename from
20228 `calc-logunits-power-reference'.
20229 (calc-lu-field-reference): Rename from
20230 `calc-logunits-field-reference'.
20231
20232 * calc/calc-help.el (calc-l-prefix-help):
20233 Mention musical note functions.
20234
20235 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20236
20237 * minibuffer.el (completion-all-sorted-completions):
20238 Use :completion-cycle-penalty text property if present.
20239
20240 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20241
20242 * allout.el (allout-yank-processing): Adjust for new rebulleting
20243 regime so bullet being yanked is used without prompting the user
20244 for a choice.
20245
20246 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20247
20248 * startup.el (command-line): Warn the user that _emacs is deprecated.
20249
20250 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20251
20252 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20253 (delphi-verbose, delphi-comment-face, delphi-string-face)
20254 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20255 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20256 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20257 (delphi-new-comment-line, delphi-font-lock-defaults)
20258 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20259 Fix typos in docstrings.
20260
20261 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20262
20263 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20264 Invert the roles of character and string values for INSTEAD, so a
20265 string is used for the more common case of a defaulting prompt.
20266
20267 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20268
20269 * progmodes/ruby-mode.el (ruby-backward-sexp):
20270 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20271 * play/gamegrid.el (gamegrid-make-face):
20272 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20273 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20274 * notifications.el (notifications-notify):
20275 * net/xesam.el (xesam-search-engines):
20276 * net/quickurl.el (quickurl-list-insert):
20277 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20278
20279 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20280
20281 * startup.el (command-line): Update package subdirectory regexp.
20282
20283 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20284
20285 * allout.el (allout-abbreviate-flattened-numbering)
20286 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20287
20288 * subr.el (read-char-choice): Only show the cursor after the prompt,
20289 not after the answer.
20290
20291 2011-03-15 Kevin Ryde <user42@zip.com.au>
20292
20293 * help-fns.el (variable-at-point): Skip leading quotes, if any
20294 (bug#8253).
20295
20296 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20299 warning message.
20300
20301 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20302
20303 * shell.el (shell): When called interactively, offer to change the
20304 shell file name on remote hosts.
20305
20306 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20307
20308 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20309 integration for LDAP parameters. The host, base, user or binddn,
20310 and secret tokens can be specified in a netrc file, for instance.
20311 This is optional because an `auth-source' parameter must be
20312 specified in the search attributes.
20313
20314 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20315
20316 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20317
20318 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20319
20320 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20321 into declaration. Remove redundant and harmful binding.
20322
20323 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20324
20325 * files.el (file-ownership-preserved-p): Pass `integer' as an
20326 explicit 2nd argument to `file-attributes'. If the file's owner
20327 is the Administrators group on Windows, and the current user is
20328 Administrator, consider that a match.
20329
20330 * server.el (server-ensure-safe-dir): Consider server directory
20331 safe on MS-Windows if its owner is the Administrators group while
20332 the current Emacs user is Administrator. Use `=' to compare
20333 numerical UIDs, since they could be integers or floats.
20334
20335 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20336
20337 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20338
20339 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20340
20341 Sync with Tramp 2.2.1.
20342
20343 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20344
20345 * net/trampver.el: Update release number.
20346
20347 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20348
20349 * progmodes/compile.el (compilation--previous-directory): Fix up
20350 various nil/dead-marker mismatches (bug#8014).
20351 (compilation-directory-properties, compilation-error-properties):
20352 Don't call it at a position past the one we're about to change.
20353
20354 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20355 Disable obsolescence warnings in the file that declares it.
20356
20357 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20358
20359 * allout-widgets.el (allout-widgets-tally):
20360 Initialize allout-widgets-tally as a hash table rather than nil to
20361 prevent mode-line redisplay warnings. Also, clarify the module
20362 description and fix a comment typo.
20363
20364 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20365
20366 * help-fns.el (describe-variable): Don't complete keywords.
20367 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20368
20369 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20370
20371 * emacs-lisp/package.el (package-version-join): Impose a standard
20372 string representation for pre/alpha/beta version lists.
20373 (package-unpack-single): Standardize the directory name by passing
20374 it through package-version-join.
20375 (package-strip-rcs-id): Accept any version string that does not
20376 signal an error in version-to-list.
20377
20378 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20379
20380 * simple.el (delete-trailing-whitespace): Return nil for the
20381 benefit of `write-file-functions'.
20382
20383 2011-03-10 Glenn Morris <rgm@gnu.org>
20384
20385 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20386
20387 * vc/vc-git.el (vc-git-program): New option.
20388 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20389 (vc-git--call): Use it.
20390
20391 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20392
20393 * cus-edit.el (Custom-newline): If no button at point, look
20394 for a subgroup button at start-of-line. (Bug#2298)
20395
20396 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20397
20398 2011-03-10 Julien Danjou <julien@danjou.info>
20399
20400 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20401 `cursor-type' is nil.
20402
20403 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20404
20405 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20406
20407 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20408
20409 * allout.el: Change so yank of distinctive-bullet items
20410 preserves the existing header prefix, rebulleting it if necessary,
20411 rather than replacing it. This is necessary for proper operation
20412 of cooperative addons like allout-widgets.
20413 (allout-make-topic-prefix, allout-rebullet-heading):
20414 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20415 value as alternate bullet to be used, instead of prompting the user
20416 for a bullet character.
20417
20418 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20419
20420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20421 Do not use `tramp-file-name-port', because this returns also
20422 `tramp-default-port'.
20423
20424 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20425
20426 * net/rcirc.el (rcirc-handler-001): Remove useless
20427 with-rcirc-process-buffer.
20428 (rcirc-check-auth-status): Swap arguments to string-match.
20429
20430 2011-03-09 Glenn Morris <rgm@gnu.org>
20431
20432 * shell.el (shell-mode):
20433 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20434
20435 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20436 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20437
20438 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * emacs-lisp/package.el (package-refresh-contents)
20441 (package-menu-execute): Use condition-case-no-debug.
20442
20443 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20444
20445 * simple.el (shell-command-to-string): Use `process-file'.
20446
20447 * emacs-lisp/package.el (package-tar-file-info): Handle also
20448 remote files.
20449
20450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20451 Use `equal' for upload base check.
20452
20453 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20454
20455 * textmodes/texinfo.el (texinfo-environments):
20456 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20457
20458 2011-03-08 Glenn Morris <rgm@gnu.org>
20459
20460 * cus-start.el (cursor-in-non-selected-windows):
20461 Fix :set quoting oddness. (Bug#8192)
20462
20463 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20464 in some setf expressions. (Bug#2159)
20465
20466 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20467
20468 * custom.el (custom-available-themes): Return themes in
20469 alphabetical order.
20470
20471 See ChangeLog.15 for earlier changes.
20472
20473 ;; Local Variables:
20474 ;; coding: utf-8
20475 ;; End:
20476
20477 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20478
20479 This file is part of GNU Emacs.
20480
20481 GNU Emacs is free software: you can redistribute it and/or modify
20482 it under the terms of the GNU General Public License as published by
20483 the Free Software Foundation, either version 3 of the License, or
20484 (at your option) any later version.
20485
20486 GNU Emacs is distributed in the hope that it will be useful,
20487 but WITHOUT ANY WARRANTY; without even the implied warranty of
20488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20489 GNU General Public License for more details.
20490
20491 You should have received a copy of the GNU General Public License
20492 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.