Cleanup uses of "-hooks".
[bpt/emacs.git] / lisp / ChangeLog
1 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * htmlfontify.el (hfy-post-html-hook):
4 * filesets.el (filesets-cache-fill-content-hook):
5 * arc-mode.el (archive-extract-hook):
6 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7 * net/rcirc.el (rcirc-sentinel-functions)
8 (rcirc-receive-message-functions, rcirc-activity-functions)
9 (rcirc-print-functions):
10 * net/dbus.el (dbus-event-error-functions):
11 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
12 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
13 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
14 * term/sun.el (sun-raw-prefix-hooks):
15 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
16
17 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
18
19 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
20 Set `tramp-chunksize' to 1. This improves the performance.
21 (tramp-smb-wait-for-output): Add timeout to
22 `tramp-accept-process-output' calls.
23
24 2012-10-23 Chong Yidong <cyd@gnu.org>
25
26 * faces.el (font-list-limit): Define as an obsolete variable.
27
28 * startup.el (command-line):
29 * cus-start.el: Don't refer to font-list-limit.
30
31 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
32
33 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * subr.el (internal-temp-output-buffer-show): Rename from
36 temp-output-buffer-show, since previously compiled files expect this name.
37
38 2012-10-23 Glenn Morris <rgm@gnu.org>
39
40 * image.el (image-type-from-file-name): If multiple types match,
41 return the first one that is supported. (Bug#9045)
42
43 2012-10-22 Glenn Morris <rgm@gnu.org>
44
45 * image.el (imagemagick-enabled-types): Doc fix.
46
47 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
48
49 * progmodes/which-func.el (which-func-current): The hash-table may have
50 an explicit nil (bug#12338).
51
52 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * electric.el (electric-pair-delete-selection-self-insert-function):
55 Rename to electric-pair-will-use-region, return a boolean.
56 (electric-pair-mode): Adjust accordingly. Don't require delsel.
57
58 * delsel.el (delete-selection-helper): Use a function instead of a hook.
59 (delete-selection-pre-hook): Use use-region-p.
60 (delete-selection-self-insert-function): Remove.
61 (self-insert-command): Obey self-insert-uses-region-functions.
62 (self-insert-iso): Revert to previous setting, since we don't actually
63 know what that command does.
64 (delete-selection-self-insert-hooks): Remove.
65
66 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
67
68 * delsel.el (delete-selection-helper): New function, extracted from
69 delete-selection-pre-hook.
70 (delete-selection-pre-hook): Use it.
71 (delete-selection-self-insert-function): New function.
72 (delete-selection-self-insert-hooks): New hook.
73 (self-insert-command, self-insert-iso): Use it.
74 * electric.el (electric-pair-syntax): New function, extracted from
75 electric-pair-post-self-insert-function.
76 (electric-pair-post-self-insert-function): Use it.
77 (electric-pair-delete-selection-self-insert-function): New function.
78 (electric-pair-mode): Require delsel and setup
79 delete-selection-self-insert-hooks (bug#11520).
80
81 2012-10-20 Chong Yidong <cyd@gnu.org>
82
83 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
84 no changes to show (Bug#12586).
85
86 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
87 list explicitly (Bug#12571).
88
89 2012-10-20 Arne Jørgensen <arne@arnested.dk>
90
91 * progmodes/flymake.el (flymake-create-temp-inplace):
92 Use file-truename.
93
94 2012-10-20 Eli Zaretskii <eliz@gnu.org>
95
96 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
97
98 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
99
100 * calc/calc-units.el (math-extract-units): Properly extract powers
101 of units.
102
103 2012-10-20 Daniel Colascione <dancol@dancol.org>
104
105 * frame.el (make-frame): Set x-display-name as we used to in order
106 to unbreak creating an X11 frame from an Emacs daemon started
107 without a display.
108
109 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * minibuffer.el (minibuffer-force-complete): Make the next completion use
112 the same completion-field (bug@12221).
113
114 2012-10-19 Martin Rudalics <rudalics@gmx.at>
115
116 * emacs-lisp/debug.el (debug): Record height of debugger window
117 also when debugger will be back (Bug#8789).
118
119 2012-10-18 Chong Yidong <cyd@gnu.org>
120
121 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
122 Convert to defcustom.
123 (gdb-get-source-file): Don't bind pop-up-windows.
124
125 * progmodes/gud.el (gud-display-line): Don't specially re-use
126 other frames for the gdb-mi case (Bug#12648).
127
128 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * emacs-lisp/advice.el: Clean up commentary a bit.
131 (ad-do-advised-functions, ad-with-originals): Use `declare'.
132 (byte-code-function-p): Never redefine.
133
134 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
135
136 2012-10-18 Glenn Morris <rgm@gnu.org>
137
138 * dired.el (dired-sort-toggle): Some ls implementations only allow
139 a single option string. (Bug#12666)
140
141 * minibuffer.el (completion-cycle-threshold): Doc fix.
142
143 2012-10-17 Kenichi Handa <handa@gnu.org>
144
145 * international/mule.el (set-keyboard-coding-system):
146 Recover input meta mode when the new coding system doesn not use 8-bit.
147 Supply TERMINAL arg to set-input-meta-mode.
148
149 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
150
151 * wdired.el (wdired-old-marks): New variable.
152 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
153 (wdired-do-renames): Move point with renamed file and don't lose
154 mark status (Bug#11795).
155
156 2012-10-16 Juri Linkov <juri@jurta.org>
157
158 * replace.el (query-replace-help): Mention multi-buffer replacement
159 keys in the Help message. (Bug#12655)
160
161 2012-10-15 Chong Yidong <cyd@gnu.org>
162
163 * emacs-lisp/byte-run.el (defsubst): Doc fix.
164
165 2012-10-14 Eli Zaretskii <eliz@gnu.org>
166
167 * window.el (display-buffer): Doc fix.
168
169 * progmodes/compile.el (compilation-error-regexp-alist-alist):
170 Adjust the msft regexp to the output of Studio 2010, and move msft
171 before edg-1. See the discussion on emacs-devel,
172 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
173 for the details.
174
175 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
178 (oset): Move uses of object-class-fast macro after its definition.
179
180 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
181
182 2012-10-13 Chong Yidong <cyd@gnu.org>
183
184 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
185 enabled, re-enable it (Bug#11963).
186
187 2012-10-13 Martin Rudalics <rudalics@gmx.at>
188
189 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
190 non-nil, restore window configuration (Bug#12623).
191
192 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * help-fns.el (describe-variable, describe-function-1):
195 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
196
197 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
198
199 2012-10-12 Glenn Morris <rgm@gnu.org>
200
201 * mail/rmailsum.el (rmail-header-summary):
202 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
203
204 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
205
206 * progmodes/python.el (python-mode-map):
207 Replace subtitute-key-definition with proper command remapping.
208 (python-nav--up-list): Fix behavior for blocks on the same level.
209
210 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
213
214 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
215 changes to the format of load-history.
216
217 * international/mule-cmds.el (read-char-by-name): Move let-binding of
218 completion-ignore-case in case that var is buffer-local (bug#12615).
219
220 2012-10-11 Kenichi Handa <handa@gnu.org>
221
222 * international/eucjp-ms.el: Re-generated.
223
224 2012-10-10 Kenichi Handa <handa@gnu.org>
225
226 * select.el (xselect--encode-string): If a coding is specified for
227 selection, and that is compatible with COMPOUND_TEXT, use it.
228
229 2012-10-10 Martin Rudalics <rudalics@gmx.at>
230
231 * window.el (switch-to-buffer-preserve-window-point): New option.
232 (switch-to-buffer):
233 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
234
235 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
238 Don't document nil as a useful value (bug#12583).
239
240 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
241
242 * net/tramp.el (tramp-debug-message):
243 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
244 (with-tramp-progress-reporter): Rename from
245 `tramp-with-progress-reporter'.
246 (with-tramp-file-property, with-tramp-connection-property):
247 Move from tramp-cache.el, rename from `with-file-property' and
248 `with-connection-property', respectively.
249
250 * net/tramp-cache.el: Remove `with-file-property' and
251 `with-connection-property'.
252
253 * net/tramp.el:
254 * net/tramp-gvfs.el:
255 * net/tramp-sh.el:
256 * net/tramp-smb.el: Adapt callees.
257
258 * net/trampver.el: Update release number.
259
260 2012-10-09 Glenn Morris <rgm@gnu.org>
261
262 * w32-fns.el (set-message-beep):
263 * term/w32-win.el (set-message-beep): Update declarations.
264
265 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
268 (mode-line-widen, mode-line-input-method-map)
269 (mode-line-coding-system-map, mode-line-remote)
270 (mode-line-unbury-buffer, mode-line-bury-buffer)
271 (mode-line-next-buffer, mode-line-previous-buffer):
272 Replace save-selected-window+select-window => with-selected-window.
273
274 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
275 * progmodes/cc-vars.el (bq-process): Remove, unused.
276
277 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
278
279 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
280
281 Implemented `backward-up-list'-like navigation.
282 * progmodes/python.el (python-nav-up-list)
283 (python-nav-backward-up-list): New functions.
284 (python-mode-map): Define substitute key for backward-up-list to
285 python-nav-backward-up-list.
286
287 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
288
289 * progmodes/python.el (python-fill-paragraph): Rename from
290 python-fill-paragraph-function. Fixed fill-paragraph for
291 decorators (Bug#12605).
292
293 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
294
295 * progmodes/python.el (python-shell-output-filter): Handle extra
296 carriage return in OSX (Bug#12409).
297
298 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
299
300 Fix shell handling of unbalanced quotes and parens in output.
301 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
302 (python-syntax-propertize-function): Use it.
303 (python-shell-output-syntax-table): New var.
304 (inferior-python-mode): Prevent unbalanced parens/quotes from
305 previous output mess with current input context.
306
307 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
308
309 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
310 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
311
312 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
313
314 * ffap.el (ffap-replace-file-component): Support Tramp file name
315 syntax, not only ange-ftp's one.
316
317 2012-10-08 Glenn Morris <rgm@gnu.org>
318
319 * cus-start.el (message-log-max): Set :version.
320
321 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
322
323 2012-10-08 Martin Rudalics <rudalics@gmx.at>
324
325 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
326 the minibuffer window (Bug#10851).
327
328 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
329
330 Enhancements on forward-sexp movement.
331 * progmodes/python.el (python-nav-beginning-of-statement)
332 (python-nav-end-of-statement): Return point-marker.
333 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
334 (python-info-current-symbol)
335 (python-info-statement-starts-block-p): Rename from
336 python-info-beginning-of-block-p.
337 (python-info-statement-ends-block-p): Rename from
338 python-info-end-of-block-p.
339 (python-info-beginning-of-statement-p)
340 (python-info-end-of-statement-p)
341 (python-info-beginning-of-block-p, python-info-end-of-block-p):
342 New functions.
343
344 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
347 frame-selected-windows.
348
349 2012-10-08 Daniel Colascione <dancol@dancol.org>
350
351 * battery.el (battery-status-function): Check for
352 w32-battery-status itself, not system-time windows-nt.
353
354 * frame.el: Require cl-lib.
355 (display-format-alist): New variable mapping frame types to
356 functions that initialize them.
357 (window-system-for-display): New function: interprets
358 display-format-alist.
359 (make-frame-on-display): Remove existing display-selection logic
360 and just forward to make-frame, which will now DTRT.
361 (make-frame): Restructure to use window-system-for-display to
362 figure out how to create a frame on a given display.
363 (display-mouse-p): Look for frame-type w32, not a particular
364 system-type.
365
366 * loadup.el: Load w32 lisp code when we have the w32 feature.
367
368 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
369 system-type windows-nt.
370
371 * server.el (server-create-window-system-frame): Look for window
372 type.
373 (server-proces-filter): Only force a window system when windows-nt
374 _and_ w32. Explain why.
375
376 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
377 of window systems we configure for the mode.
378
379 * startup.el (command-line): Mark window system is initialized
380 after we've done it.
381
382 * common-win.el (x-select-text): Look for w32, not windows-nt.
383
384 * ns-win.el: Require cl-lib. Add ourselves to
385 display-format-alist.
386 (ns-initialize-window-system): Assert we're not initialized twice.
387
388 * w32-win.el: Enable lexical binding; require cl-lib; add
389 ourselves to display-format-alist.
390 (w32-handle-dropped-file): Convert incoming dropped files from
391 Windows paths to Cygwin ones before passing them on to the rest of
392 Emacs.
393 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
394 (w32-initialize-window-system): Assert we're not initialized twice.
395
396 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
397 (x-initialize-window-system): Assert we're not initialized twice.
398
399 * w32-common-fns.el: New File.
400 (w32-version, w32-using-nt, w32-get-clipboard-data)
401 (w32-set-clipboard-data, x-set-selection, x-get-selection)
402 (w32-charset-info-alist, x-last-selected, text)
403 (x-get-selection-value, x-selection-value): Move here.
404
405 * w32-fns.el: Require w32-common-fns.
406 (w32-version, w32-using-nt, w32-get-clipboard-data)
407 (w32-set-clipboard-data, x-set-selection, x-get-selection)
408 (w32-charset-info-alist, x-last-selected, text)
409 (x-get-selection-value, x-selection-value): Move to
410 w32-common-fns.
411
412 * w32-vars.el:
413 (w32-allow-system-shell, w32-system-shells): Define only in
414 non-cygwin case.
415
416 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
419 (read-passwd): Remove a few more potential sources of leaks.
420
421 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
422
423 * progmodes/python.el (inferior-python-mode)
424 (python-shell-make-comint): Fix initialization of local
425 variables copied from parent buffer.
426
427 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
428
429 * term/ns-win.el (ns-read-file-name): Update declaration to match
430 nsfns.m.
431 (ns-respond-to-change-font): Change fontsize separatly so we are sure
432 it is set when font is acted upon.
433
434 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
435
436 Enhancements to indentation.
437 * progmodes/python.el (python-indent-context): Give priority to
438 inside-string context. Make comments indentation markers.
439 (python-indent-region): Do not mess with strings, unless it's the
440 enclosing set of quotes.
441
442 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * window.el (internal--before-save-selected-window)
445 (internal--after-save-selected-window): New functions extracted from
446 save-selected-window. Make sure we return the `alist' we construct.
447 (save-selected-window): Use them.
448
449 * textmodes/tex-mode.el (tex-recenter-output-buffer):
450 Use with-selected-window.
451
452 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
453 forms that define macros (bug#12593).
454
455 2012-10-07 Kenichi Handa <handa@gnu.org>
456
457 * international/mule-conf.el (compound-text-with-extensions):
458 Add :mime-charset property as x-ctext.
459
460 2012-10-07 Stefan Merten <smerten@oekonux.de>
461
462 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
463 (rst-indent-literal-normal, rst-indent-literal-minimized)
464 (rst-indent-comment): Correct :version tag.
465 (rst-official-cvs-rev): Correct version string.
466
467 2012-10-07 Glenn Morris <rgm@gnu.org>
468
469 * mail/rmailmm.el (rmail-mime-process-multipart):
470 Do not confuse a multipart message with an epilogue
471 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
472
473 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
474
475 Fix shell output retrieval and comint-prompt-regexp init.
476 * progmodes/python.el (inferior-python-mode):
477 (python-shell-make-comint): Fix initialization of
478 comint-prompt-regexp from copied file local variables.
479 (python-shell-fetched-lines): Remove var.
480 (python-shell-output-filter-in-progress): Rename from
481 python-shell-fetch-lines-in-progress.
482 (python-shell-output-filter-buffer): Rename from
483 python-shell-fetch-lines-string.
484 (python-shell-fetch-lines-filter): Delete function.
485 (python-shell-output-filter): New function.
486 (python-shell-send-string-no-output): Use them.
487
488 2012-10-07 Glenn Morris <rgm@gnu.org>
489
490 * hi-lock.el (hi-lock-process-phrase):
491 Try to make it less fragile. (Bug#7161)
492
493 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
494
495 2012-10-06 Glenn Morris <rgm@gnu.org>
496
497 * ehelp.el (electric-help-mode): Use help-mode rather than
498 non-existent mode `help'.
499 (electric-help-map): Use button-buffer-map. (Bug#10917)
500
501 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
502 (reftex-create-bibtex-footer): Fix custom types.
503
504 * progmodes/sh-script.el (sh-indent-after-continuation):
505 Add explicit :group.
506
507 * textmodes/rst.el (rst-preferred-decorations)
508 (rst-shift-basic-offset): Clarify obsolescence versions.
509
510 * profiler.el (profiler): Add missing group :version tag.
511 * avoid.el (mouse-avoidance-banish-position):
512 * proced.el (proced-renice-command):
513 * calc/calc.el (calc-ensure-consistent-units):
514 * calendar/icalendar.el (icalendar-import-format-uid):
515 * net/tramp.el (tramp-save-ad-hoc-proxies):
516 * progmodes/bug-reference.el (bug-reference-bug-regexp):
517 * progmodes/flymake.el (flymake-error-bitmap)
518 (flymake-warning-bitmap, flymake-fringe-indicator-position):
519 * progmodes/sh-script.el (sh-indent-after-continuation):
520 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
521 (verilog-before-save-font-hook, verilog-after-save-font-hook):
522 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
523 (vhdl-array-index-record-field-in-sensitivity-list)
524 (vhdl-indent-comment-like-next-code-line):
525 * textmodes/reftex-vars.el (reftex-ref-style-alist)
526 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
527 (reftex-cite-key-separator, reftex-create-bibtex-header)
528 (reftex-create-bibtex-footer):
529 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
530 (rst-indent-literal-normal, rst-indent-literal-minimized)
531 (rst-indent-comment): Add missing custom :version tags.
532
533 * calendar/timeclock.el (timeclock-modeline-display):
534 Add missing obsolete alias for renamed user option.
535
536 * strokes.el (strokes-modeline-string):
537 * emulation/crisp.el (crisp-mode-modeline-string):
538 * eshell/esh-mode.el (eshell-status-in-modeline):
539 Aliases to defcustoms must come before the defcustom.
540
541 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
542 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
543 (cal-tex-cursor-week-monday): Doc fixes.
544 (cal-tex-cursor-week2-summary): Doc fix.
545 Rename from cal-tex-cursor-week-at-a-glance.
546
547 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
548 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
549
550 * calendar/calendar.el (calendar-mode-map):
551 Add cal-tex-cursor-week2-summary.
552
553 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
556
557 * subr.el (read-passwd-map): New var.
558 (read-passwd): Use `read-string' again.
559 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
560
561 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
562
563 * register.el (append-to-register, prepend-to-register):
564 Deactivate mark, as does `copy-to-register' (bug#12389).
565
566 2012-10-06 Chong Yidong <cyd@gnu.org>
567
568 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
569
570 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
571
572 * international/characters.el: Fix simple mistake ((car chars) ->
573 elt), delete duplicated code.
574
575 2012-10-06 Glenn Morris <rgm@gnu.org>
576
577 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
578
579 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
580
581 * color.el (color-hsl-to-rgb): Fix incorrect results for
582 small and large hue values. (Bug#12559)
583
584 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
585
586 Enhancements to docstring formatting when filling paragraphs.
587 * progmodes/python.el (python-fill-docstring-style): Rename from
588 python-fill-string-style. Added new style.
589 (python-fill-string): Use new style. Better checks for
590 docstrings.
591
592 2012-10-05 Glenn Morris <rgm@gnu.org>
593
594 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
595
596 * color.el (color-name-to-rgb, color-rgb-to-hex)
597 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
598 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
599 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
600 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
601
602 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
603
604 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
605
606 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
607 to get the correct size across symlinks.
608
609 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
610
611 2012-10-04 Juri Linkov <juri@jurta.org>
612
613 * replace.el (query-replace-interactive): Declare obsolete.
614 (query-replace-read-from): Add the last incremental search string
615 to the list of default values accessible via M-n.
616 (map-query-replace-regexp): Use `read-regexp'.
617 (query-replace, query-replace-regexp, query-replace-regexp-eval)
618 (map-query-replace-regexp, replace-string, replace-regexp):
619 Fix docstrings to replace mentions of `query-replace-interactive'
620 with alternatives. (Bug#12526)
621
622 2012-10-04 Juri Linkov <juri@jurta.org>
623
624 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
625 (dired-pop-to-buffer): Declare obsolete.
626 (dired-mark-pop-up): Doc fix.
627
628 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
629
630 Allow user to set docstring style for fill-paragraph.
631 * progmodes/python.el
632 (python-fill-comment-function, python-fill-string-function)
633 (python-fill-decorator-function, python-fill-paren-function):
634 Remove :safe for defcustoms.
635 (python-fill-string-style): New defcustom
636 (python-fill-paragraph-function): Enhance context detection.
637 (python-fill-string): Honor python-fill-string-style settings.
638
639 2012-10-04 Martin Rudalics <rudalics@gmx.at>
640
641 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
642 after setting its buffer (Bug#10805).
643
644 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
645
646 Fix cornercase for string syntax.
647 * progmodes/python.el (python-syntax-propertize-function):
648 Simplify and enhance the regexp for unescaped quotes. Now it also
649 matches quotes in weird situations like the single quote in
650 "something\"'".
651 (python-syntax-stringify): Simplify num-quotes detecting code.
652
653 2012-10-03 Glenn Morris <rgm@gnu.org>
654
655 * help-macro.el (three-step-help):
656 Revert 2012-09-29 change. (Bug#12567)
657
658 2012-10-03 Martin Rudalics <rudalics@gmx.at>
659
660 * menu-bar.el (kill-this-buffer): Don't do anything when
661 `menu-frame' is not alive or visible (Bug#8184).
662
663 * emacs-lisp/debug.el (debug): When quitting the debugger window
664 restore current buffer (Bug#12502).
665
666 2012-10-02 Chong Yidong <cyd@gnu.org>
667
668 * progmodes/hideif.el (hif-lookup, hif-defined):
669 Handle semantic-c-takeover-hideif.
670
671 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
672
673 Change sampling interval units from ms to ns.
674 * profiler.el (profiler-sampling-interval): Change units
675 from ms to ns, multiplying the default by 1000000 so that
676 it remains 1 ms.
677 (profiler-report-cpu-line-format): Give enough room for
678 the maximum counters on 64-bit hosts.
679 (profiler-report-render-calltree-1): Call them "CPU samples",
680 not "Time (ms)", since they are not milliseconds now (and
681 never really were).
682
683 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
684
685 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
686 Fix querying BBDB for entries without a last name (Bug#11580).
687
688 2012-10-02 Chong Yidong <cyd@gnu.org>
689
690 * emacs-lisp/eieio.el: Restore Version header.
691
692 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * vc/diff-mode.el (diff--auto-refine-data): New var.
695 (diff-hunk): Use it to delay refinement.
696 (diff-mode): Remove overlays when we turn off font-lock.
697
698 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
699 (table-initialize-table-fixed-width-mode)
700 (table-set-table-fixed-width-mode): Remove functions.
701 (table-command-list): Move initialization into declaration.
702 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
703 (table-with-cache-buffer): Use `declare'.
704 (table-span-cell): Simplify via CSE.
705 (table-fixed-width-mode): Use define-minor-mode.
706 (table-call-interactively, table-funcall, table-apply): Remove.
707 (table-function): New function, to replace them.
708
709 * bookmark.el (bookmark-search-pattern): Remove var.
710 (bookmark-read-search-input): Remove function.
711 (bookmark-bmenu-search): Reimplement using a minibuffer.
712
713 * faces.el (modeline): Remove obsolete face name.
714
715 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
716 and give a non-nil default value.
717 (add-change-log-entry): Simplify accordingly.
718
719 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
720
721 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
722 (vc-git-log-edit-toggle-amend): New function.
723 (vc-git-log-edit-toggle-signoff): New function.
724 (vc-git-log-edit-mode): New major mode.
725 (vc-git-log-edit-mode-map): Keymap for it.
726 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
727
728 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
729 header names.
730 (log-edit-toggle-header): New function.
731 (log-edit-extract-headers): Accept function values in HEADERS alist.
732
733 2012-10-01 David Engster <deng@randomsample.de>
734
735 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
736 from symbol property and change message to be more consistent with
737 Emacs proper.
738 (eieio-describe-generic): Add filename for each implementation.
739 Fix indices for generic and normal methods.
740 (eieio-method-def, eieio-class-def): New buttons.
741 (eieio-help-find-method-definition)
742 (eieio-help-find-class-definition): New functions.
743 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
744 class, constructor and method definitions.
745
746 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
747 information in symbol property.
748 (scoped-class): Remove.
749 (eieio-slot-name-index, call-next-method): Check if it is bound.
750
751 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
752
753 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
754 (eieio-custom-mode): New major mode.
755 (eieio-customize-object): Use it.
756
757 2012-10-01 Eric Ludlam <zappo@gnu.org>
758
759 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
760 specifying the expected class, and whether subclassing is allowed.
761 (eieio-persistent-convert-list-to-object):
762 (eieio-persistent-validate/fix-slot-value)
763 (eieio-persistent-slot-type-is-class-p): New functions.
764 (eieio-named::slot-missing): Doc fix.
765
766 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
767 Stop using unused publd variable.
768
769 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
770 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
771 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
772 (eieio-speedbar-handle-click): Do not specify a class for the
773 method. Fixes method invocation order problems with EDE.
774
775 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
778 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
779
780 2012-10-01 Karl Fogel <kfogel@red-bean.com>
781
782 * bookmark.el (bookmark-version-control): Give tags in the
783 :type choices (Bug#12309), and improve doc string.
784 (bookmark-write-file): Bind `print-circle' to `t' to allow
785 circular custom bookmark types. (Bug#12503)
786
787 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
788
789 Revert the FOLLOW-SYMLINKS change for file-attributes.
790 * files.el (remote-file-name-inhibit-cache, after-find-file):
791 * time.el (display-time-file-nonempty-p): Undo last change.
792
793 * profiler.el (profiler-sampling-interval): Change default back to 1.
794 See Stefan Monnier in
795 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
796
797 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
798
799 Shell output catching a la gud-gdb.
800 * progmodes/python.el (python-shell-fetch-lines-in-progress)
801 (python-shell-fetch-lines-string, python-shell-fetched-lines):
802 New Vars.
803 (python-shell-fetch-lines-filter): New function.
804 (python-shell-send-string-no-output): Use them.
805
806 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
807
808 * profiler.el (profiler-sampling-interval): Rename from
809 profiler-sample-interval.
810 (profiler-sampling-interval): Default to 10.
811 (profiler-find-profile): New command (was profiler-find-log).
812 (profiler-find-profile-other-window): New command.
813 (profiler-find-profile-other-frame): New command.
814 (profiler-profile): Introduce API-level data structure.
815
816 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
817
818 file-attributes has a new optional arg FOLLOW-SYMLINKS.
819 * files.el (remote-file-name-inhibit-cache):
820 * time.el (display-time-file-nonempty-p): Use it.
821 * files.el (after-find-file): Don't chase links before calling
822 file-exists-p, as file-exists-p already does the right thing.
823
824 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
825
826 Merge from standalone RefTeX repository.
827
828 The following ChangeLog entries are shortened versions of the
829 original ones with file paths adapted. A not so strongly edited
830 version of the original ChangeLog can be found in the commit log.
831
832 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
833 (reftex-arg-cite): Use `reftex-cite-key-separator'.
834 Correctly handle new value type returned by `reftex-citation'.
835
836 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
837 that entries with whitespace at various places are found.
838 Doc fix. Include entries that are cross-referenced from cited entries.
839 Include @String definitions in the resulting bib file. Add header
840 and footer defined in `reftex-create-bibtex-header' and
841 `reftex-create-bibtex-footer'.
842 (reftex-do-citation): Make it possible again to insert
843 non-existent entries. Save match data when asking for optional
844 arguments. Return all keys, not just the first one.
845 (reftex-all-used-citation-keys): Fix regexp to correctly extract
846 all citations in the same line.
847 (reftex-parse-bibtex-entry): Accept additional optional argument
848 `raw' and keep quotes or braces if it is non-nil. Match fields
849 containing hyphens besides word constituents.
850 (reftex-get-string-refs): New function.
851 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
852 and ask if it should be reread in case it did.
853 (reftex-pop-to-bibtex-entry)
854 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
855 entries with spaces or tabs in front of arguments.
856 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
857 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
858 Match entries containing numbers and symbol constituents.
859 (reftex-do-citation, reftex-figure-out-cite-format):
860 Use `reftex-cite-key-separator'.
861
862 * textmodes/reftex-dcr.el: Move provide statement to end of file.
863 (reftex-mouse-view-crossref): Explain why point is set.
864
865 * textmodes/reftex-global.el: Whitespace changes.
866
867 * textmodes/reftex-index.el: Move provide statement to end of
868 file.
869 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
870 (reftex-index-visit-phrases-buffer): Set marker when visiting
871 buffer. This allows for returning from the phrases file to the
872 file one was just editing instead of the file where the last
873 phrases was added from.
874 (reftex-index-phrases-syntax-table): New variable. Give ?\"
875 punctuation syntax as it usually is not used as string quote in
876 TeX-related modes and may occur unmatched. The change also
877 prevents fontification of quoted content.
878 (reftex-index-phrases-mode): Use it.
879
880 * textmodes/reftex-parse.el (reftex-parse-from-file):
881 Move backward one char if a `\' was matched after a section macro.
882 (reftex-parse-from-file): Use beginning of match instead of end as
883 bound.
884
885 * textmodes/reftex-ref.el: Adapt creation of
886 `reftex-<package>-<macro>' functions to new structure of
887 `reftex-ref-style-alist'.
888 (reftex-reference): Use `reftex-ref-style-list' function.
889 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
890 reference macro if `reftex-ref-macro-prompt' is non-nil.
891 (reftex-reference): Pass refstyle to `reftex-format-special'.
892 Determine reference macro by looking at
893 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
894 Use only one special format function.
895 (reftex-varioref-vref, reftex-fancyref-fref)
896 (reftex-fancyref-Fref): Remove definitions. The functions are now
897 generated from `reftex-ref-style-alist'.
898 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
899 Remove.
900 (reftex-format-special): New function.
901
902 * textmodes/reftex-sel.el
903 (reftex-select-cycle-ref-style-internal): Adapt to new structure
904 of `reftex-ref-style-alist'. Remove code for testing macro type.
905 (reftex-select-toggle-varioref)
906 (reftex-select-toggle-fancyref): Remove.
907 (reftex-select-cycle-ref-style-internal)
908 (reftex-select-cycle-ref-style-forward)
909 (reftex-select-cycle-ref-style-backward): New functions.
910 (reftex-select-label-map): Use `v' and `V' for general cycling
911 through reference styles. Add `p' for switching between number
912 and page reference types.
913
914 * textmodes/reftex-toc.el (reftex-re-enlarge):
915 Call `enlarge-window' only if there is something to do because in Emacs
916 the horizontal version throws an error even if the parameter is 0.
917
918 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
919 (reftex-plug-into-AUCTeX): Doc fix.
920 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
921 string. Adapt to new name.
922 (reftex-ref-style-alist): Change structure so that it is not
923 possible to use multiple different package names within a style.
924 Remove the symbols for symbols for macro type distinction.
925 Add characters for macro selection.
926 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
927 (reftex-create-bibtex-footer): New variables.
928 (reftex-format-ref-function): Mention third argument of special
929 format function.
930 (reftex-ref-style-alist, reftex-ref-style-default-list):
931 New variables.
932 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
933 to new implementation. Mark as obsolete. Add compatibility code
934 for honoring the variable values in case they are set.
935 (reftex-cite-format-builtin, reftex-bibliography-commands):
936 Add support for ConTeXt.
937 (reftex-format-ref-function, reftex-format-cite-function):
938 Fix custom type.
939 (reftex-cite-key-separator): New variable.
940
941 * textmodes/reftex.el (reftex-syntax-table-for-bib)
942 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
943 `reftex-syntax-table' because parens have to retain their paren
944 syntax in order for parsing of BibTeX entries like @book(...) to
945 work.
946 (reftex-in-comment): Do not error out if `comment-start-skip' is
947 not set. Deal correctly with escaped comment characters.
948 (reftex-tie-multifile-symbols): Add doc string.
949 Initialize `reftex-ref-style-list'.
950 (reftex-untie-multifile-symbols): Add doc string.
951 (reftex-add-index-macros): Doc fix.
952 (reftex-ref-style-activate, reftex-ref-style-toggle)
953 (reftex-ref-style-list): New functions.
954 (reftex-mode-menu): Use them. Adapt to new structure of
955 `reftex-ref-style-alist'.
956 (reftex-select-with-char): Kill the RefTeX Select buffer when
957 done.
958 (reftex-remove-if): New function.
959 (reftex-erase-all-selection-and-index-buffers)
960 (reftex-mode-menu): Reference styles are now computed from
961 `reftex-ref-style-alist'. Fix typo.
962 (reftex-report-bug): New function.
963 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
964 algorithms with O(n log n). Introduce optional argument SORT (not
965 yet used).
966
967 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
968
969 Enhancements for triple-quote string syntax.
970 * progmodes/python.el (python-syntax-propertize-function):
971 Match both quote cases in one regexp.
972 (python-syntax-stringify): Handle matches properly.
973
974 2012-09-30 Juri Linkov <juri@jurta.org>
975
976 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
977 to nil around the call to `insert' to prevent
978 directory time modification by lock_file. (Bug#2295)
979 * tar-mode.el (tar-summarize-buffer): Idem.
980
981 2012-09-30 Juri Linkov <juri@jurta.org>
982
983 * facemenu.el (list-colors-sort): Add option "Luminance".
984 (list-colors-sort-key): Implement it.
985
986 * vc/diff-mode.el (diff-refine-removed):
987 * vc/ediff-init.el (ediff-fine-diff-A):
988 * vc/smerge-mode.el (smerge-refined-removed):
989 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
990
991 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
992
993 * term/ns-win.el (x-file-dialog): New function.
994
995 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
996
997 * ido.el (ido-max-directory-size): Default to nil; the current
998 default is small for POSIX systems, and impractical on Windows 7
999 now that lstat returns directory sizes for NTFS.
1000
1001 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1002
1003 In buffer display functions handle window-height/window-width
1004 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1005 * window.el (window--display-buffer): New argument ALIST.
1006 Obey window-height and window-width alist entries.
1007 (window--try-to-split-window): New argument ALIST.
1008 Bind window-combination-limit to t when the window's size shall be
1009 changed and window-combination-limit equals `window-size'.
1010 (display-buffer-in-atom-window)
1011 (display-buffer-in-major-side-window)
1012 (display-buffer-in-side-window, display-buffer-same-window)
1013 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1014 (display-buffer-pop-up-window, display-buffer-below-selected)
1015 (display-buffer-at-bottom, display-buffer-in-previous-window)
1016 (display-buffer-use-some-window): Adjust all callers of
1017 window--display-buffer and window--try-to-split-window.
1018 (fit-frame-to-buffer): New option.
1019 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1020 is non-nil.
1021 (display-buffer-in-major-side-window): Evaluate window-height /
1022 window-width alist entries.
1023
1024 * help.el (temp-buffer-resize-frames)
1025 (temp-buffer-resize-regexps): Remove options.
1026 (temp-buffer-resize-mode): Adjust doc-string.
1027 (resize-temp-buffer-window): Don't consult
1028 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1029 temp-buffer-resize-frames.
1030
1031 * dired.el (dired-mark-pop-up):
1032 Call display-buffer-below-selected with a fit-window-to-buffer alist
1033 entry.
1034
1035 2012-09-30 Chong Yidong <cyd@gnu.org>
1036
1037 * server.el (server-host): Document the security implications.
1038 (server-auth-key): Doc fix.
1039
1040 * startup.el (initial-buffer-choice): Doc fix.
1041
1042 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1043
1044 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1045 restriction change.
1046
1047 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1048
1049 * help-fns.el (help-fns--obsolete): Fix last change.
1050
1051 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1054 (minor-mode-map-alist): Remove redundant code.
1055
1056 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1057 visited in a buffer.
1058 (cvs-insert-visited-file): New function.
1059 (find-file-hook): Use it.
1060
1061 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1062
1063 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1064 chose face.
1065 (log-edit-empty-buffer-p): Don't require a space after a header.
1066
1067 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1068
1069 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1070
1071 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1072 a proper minor-mode.
1073
1074 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1075
1076 2012-09-29 Glenn Morris <rgm@gnu.org>
1077
1078 * winner.el (winner-mode): Remove variable (let define-minor-mode
1079 handle it).
1080 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1081 Doc fixes.
1082 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1083 (winner-mode): Use define-minor-mode.
1084
1085 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1086 the full definition in loaddefs, rather than duplicating it.
1087
1088 * help-macro.el (three-step-help): No need to autoload defcustom.
1089
1090 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1091 (inferior-lisp-program, inferior-lisp-load-command)
1092 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1093 No need to autoload defcustoms.
1094
1095 * hippie-exp.el (hippie-expand-try-functions-list)
1096 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1097 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1098 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1099 (hippie-expand-only-buffers): No need to autoload defcustoms.
1100 * progmodes/vhdl-mode.el (vhdl-line-expand):
1101 Explicitly load hippie-exp, so it does not get autoloaded
1102 while hippie-expand-try-functions-list is let-bound.
1103
1104 2012-09-28 Glenn Morris <rgm@gnu.org>
1105
1106 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1107
1108 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1109 Only "cl.el" counts as cl these days.
1110
1111 2012-09-28 Juri Linkov <juri@jurta.org>
1112
1113 Display archive errors in the echo area instead of inserting
1114 to the file buffer.
1115
1116 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1117 to STDERR-TEST that can be a regexp matching a successful output.
1118 Create a temporary file and redirect stderr to it. Search for
1119 STDERR-TEST in the stderr output and display it in the echo area
1120 if no match is found.
1121 (archive-extract-by-file): New function like
1122 `archive-extract-by-stdout' but extracting archives to files
1123 and looking for successful matches in stdout. Function body is
1124 mostly copied from `archive-rar-extract'.
1125 (archive-rar-extract): Use `archive-extract-by-file'.
1126 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1127
1128 2012-09-28 Leo Liu <sdl.web@gmail.com>
1129
1130 * pcomplete.el (pcomplete-show-completions):
1131 Use minibuffer-message to make pcomplete usable in minibuffer.
1132
1133 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1134
1135 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * type-break.el: Use lexical-binding.
1138 (type-break-mode): Use define-minor-mode.
1139
1140 * emacs-lisp/pcase.el (pcase--mark-used): New.
1141 (pcase--u1): Use it (bug#12512).
1142
1143 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1144 in load-history with the right file name.
1145
1146 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1147
1148 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1149 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1150 (doc-view-get-bounding-box): Make bounding box slicing work for
1151 ODF and DVI documents.
1152
1153 2012-09-28 Glenn Morris <rgm@gnu.org>
1154
1155 * type-break.el (type-break-mode, type-break-interval)
1156 (type-break-good-rest-interval, type-break-keystroke-threshold):
1157 No need to autoload.
1158 (type-break-good-rest-interval, type-break-keystroke-threshold):
1159 Add :set-after.
1160
1161 2012-09-28 Chong Yidong <cyd@gnu.org>
1162
1163 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1164 Add :version tag.
1165
1166 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1169
1170 2012-09-27 Glenn Morris <rgm@gnu.org>
1171
1172 * faces.el (x-display-name): Declare (for without-x builds).
1173
1174 * linum.el (linum-format): Don't autoload it. Improve :type.
1175
1176 * progmodes/tcl.el: Don't require outline when compiling.
1177 (outline-regexp, outline-level): Declare.
1178 * textmodes/sgml-mode.el: Don't require outline when compiling.
1179 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1180
1181 * term.el (term-ansi-reset):
1182 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1183
1184 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1185 files for RCS and SCCS. (Bug#9781)
1186
1187 2012-09-27 Chong Yidong <cyd@gnu.org>
1188
1189 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1190 change; value should be t.
1191
1192 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * image-mode.el: Use lexical-binding.
1195 (image-mode-winprops): Use t to stand for the window of
1196 a buffer that's not displayed.
1197 * doc-view.el (doc-view-new-window-function): Handle the new
1198 t in winprops.
1199 (doc-view-enlarge): Make it a real nop if the size is not changed.
1200 (doc-view-display): Handle the case where the buffer is not (yet?)
1201 displayed in any window.
1202 (doc-view-saved-settings): New var.
1203 (doc-view-mode): Use it.
1204 (doc-view-fallback-mode): Set it.
1205
1206 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1207 Set lexical-binding.
1208 (minibuffer-eldef-shorten-default): New var.
1209 (minibuffer-default-in-prompt-regexps): Use it for new default.
1210 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1211
1212 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1213
1214 * international/uni-bidi.el:
1215 * international/uni-category.el:
1216 * international/uni-name.el:
1217 * international/uni-numeric.el: Regenerate.
1218
1219 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1220 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * profiler.el: New file.
1223
1224 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1227 (testcover-reinstrument): Simplify with CSE.
1228
1229 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1230
1231 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1232
1233 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1234
1235 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1236 (verilog-auto-input, verilog-auto-insert-lisp)
1237 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1238 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1239 (verilog-auto-unused, verilog-auto-wire)
1240 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1241 newline. Reported by Andrew Jones.
1242 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1243 Reported by Brad Dobbie.
1244 (verilog-batch-delete-trailing-whitespace):
1245 Create verilog-batch-delete-trailing-whitespace.
1246 Reported by Brad Dobbie.
1247 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1248 parameters from another module. Reported by Dan Katz.
1249 (verilog-auto, verilog-auto-assign-modport)
1250 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1251 AUTOINOUTMODPORT for UVM interface module shell generation.
1252 Reported by Brad Dobbie.
1253 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1254 standard behavior.
1255 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1256 Reported by Matt Martin.
1257
1258 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1259
1260 * window.el (window--resize-child-windows): When resizing child
1261 windows proportionally, process them in reverse order to
1262 preserve the "when splitting a window the new one gets the odd
1263 line" behavior.
1264 (window--resize-root-window-vertically): When resizing the
1265 minibuffer window try to affect only windows at the bottom of the
1266 frame. (Bug#12419)
1267
1268 2012-09-25 Chong Yidong <cyd@gnu.org>
1269
1270 * subr.el (declare): Doc fix.
1271
1272 * help-fns.el (help-fns--obsolete): Handle macros properly.
1273
1274 2012-09-25 Chong Yidong <cyd@gnu.org>
1275
1276 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1277 this function obsolete.
1278
1279 * calendar/cal-x.el (calendar-two-frame-setup)
1280 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1281 * calendar/calendar.el (american-calendar, european-calendar)
1282 (calendar-for-loop):
1283 * comint.el (comint-dynamic-simple-complete)
1284 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1285 * desktop.el (desktop-load-default):
1286 * dired-x.el (dired-omit-here-always)
1287 (dired-hack-local-variables, dired-default-directory):
1288 * emacs-lisp/derived.el (derived-mode-class):
1289 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1290 * emacs-lock.el (toggle-emacs-lock):
1291 * epa.el (epa-display-verify-result):
1292 * epg.el (epg-sign-keys, epg-start-sign-keys)
1293 (epg-passphrase-callback-function):
1294 * eshell/esh-util.el (eshell-for):
1295 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1296 (eshell-add-to-window-buffer-names):
1297 * files.el (locate-file-completion):
1298 * imenu.el (imenu-example--create-c-index)
1299 (imenu-example--create-lisp-index)
1300 (imenu-example--lisp-extract-index-name)
1301 (imenu-example--name-and-position):
1302 * international/mule-cmds.el (princ-list):
1303 * international/mule-diag.el (decode-codepage-char):
1304 * international/mule-util.el (detect-coding-with-priority):
1305 * iswitchb.el (iswitchb-read-buffer):
1306 * mail/mailalias.el (mail-complete):
1307 * mail/sendmail.el (mail-sent-via):
1308 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1309 (mouse-major-mode-menu):
1310 * password-cache.el (password-read-and-add):
1311 * pcomplete.el (pcomplete-parse-comint-arguments):
1312 * progmodes/sh-script.el (sh-maybe-here-document):
1313 * replace.el (query-replace-regexp-eval):
1314 * savehist.el (savehist-load):
1315 * simple.el (choose-completion-delete-max-match):
1316 * term.el (term-dynamic-simple-complete):
1317 * vc/ediff-init.el (ediff-check-version):
1318 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1319 * vc/vc.el (vc-diff-switches-list):
1320 * view.el (view-return-to-alist-update): Likewise.
1321
1322 * subr.el (eval-next-after-load, makehash, insert-string)
1323 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1324 mark obsolete.
1325 (mode-line-inverse-video): Variable deleted.
1326
1327 * international/mule-util.el (string-to-sequence): Remove.
1328
1329 * calendar/calendar.el (calendar-version):
1330 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1331 (icalendar-convert-diary-to-ical):
1332 * cus-edit.el (custom-mode):
1333 * ansi-color.el (ansi-color-unfontify-region):
1334 * international/latin1-disp.el (latin1-char-displayable-p):
1335 * progmodes/cwarn.el (turn-on-cwarn-mode):
1336 * progmodes/which-func.el (which-func-update-1):
1337 Use define-obsolete-function-alias.
1338
1339 * net/newst-backend.el (newsticker-cache-filename):
1340 * net/newst-treeview.el (newsticker-groups-filename):
1341 Fix incorrect obsolescence declaration.
1342
1343 * allout.el (allout-passphrase-hint-string): Likewise.
1344 (allout-init): Use a declare form to mark obsolete.
1345
1346 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1347 this applies to functions.
1348
1349 * iswitchb.el (iswitchb-read-buffer): Move code of
1350 iswitchb-define-mode-map here, and delete that obsolete function.
1351
1352 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1353 font-lock-reference-face.
1354
1355 2012-09-25 Glenn Morris <rgm@gnu.org>
1356
1357 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1358 Doc fixes.
1359
1360 * eshell/em-term.el (eshell-term-name):
1361 Default to term-term-name. (Bug#12485)
1362
1363 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1364
1365 * progmodes/python.el (python-shell-send-buffer): Better handling
1366 of "if __name__ == '__main__':" conditionals when sending the buffer.
1367
1368 2012-09-24 Glenn Morris <rgm@gnu.org>
1369
1370 * eshell/esh-cmd.el (eshell-find-alias-function):
1371 Tighten up file-name regexp. (Bug#12499)
1372
1373 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1374
1375 Enhancements for triple-quote string syntax.
1376 * progmodes/python.el (python-quote-syntax): Remove.
1377 (python-syntax-propertize-function): New value.
1378 (python-syntax-count-quotes, python-syntax-stringify):
1379 New functions.
1380
1381 2012-09-24 Chong Yidong <cyd@gnu.org>
1382
1383 * mail/supercite.el (sc-version): Remove obsolete function.
1384 (sc-describe): Don't mark as obsolete, since it is bound.
1385 (sc-submit-bug-report): Remove.
1386
1387 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1388 (cvs-commit-buffer-require-final-newline): Remove.
1389 (log-edit-require-final-newline)
1390 (log-edit-changelog-full-paragraphs): Default to t.
1391
1392 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1393 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1394 * vc/vc.el (vc-checkout-carefully): Likewise.
1395
1396 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1397 (emerge-version): Remove.
1398
1399 * progmodes/compile.el (compile-internal): Remove.
1400 (compilation-parse-errors-function): Fix typo.
1401
1402 * international/mule.el (set-char-table-default): Remove.
1403 (set-coding-priority, make-coding-system, generic-char-p)
1404 (charset-list, charset-bytes, charset-id): Use declare to mark
1405 functions as obsolete.
1406
1407 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1408 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1409 * vc/vc-hooks.el (vc-default-registered): Don't use
1410 vc-master-templates.
1411
1412 * font-lock.el (font-lock-reference-face):
1413 Use define-obsolete-variable-alias.
1414
1415 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1416 * calendar/calendar.el (calendar-font-lock-keywords):
1417 * calendar/diary-lib.el (diary-font-lock-keywords)
1418 (diary-fancy-font-lock-keywords):
1419 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1420 * textmodes/reftex-index.el (reftex-insert-index):
1421 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1422 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1423 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1424 * progmodes/prolog.el (prolog-font-lock-keywords):
1425 * progmodes/idlwave.el (idlwave-idl-keywords):
1426 * progmodes/ada-mode.el (ada-font-lock-keywords):
1427 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1428
1429 2012-09-24 Glenn Morris <rgm@gnu.org>
1430
1431 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1432
1433 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1434
1435 * progmodes/python.el (python-indent-line): More consistent cursor
1436 movement behavior.
1437
1438 2012-09-23 Stefan Merten <smerten@oekonux.de>
1439
1440 * textmodes/rst.el: Fix compiler warning.
1441
1442 2012-09-23 Roland Winkler <winkler@gnu.org>
1443
1444 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1445 Transcribe also LaTeX hyphenation.
1446 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1447 bibtex-reformat-previous-options.
1448
1449 2012-09-23 Roland Winkler <winkler@gnu.org>
1450
1451 * proced.el (proced-renice-command): New variable.
1452 (proced-marked-processes): New function.
1453 (proced-with-processes-buffer): New macro.
1454 (proced-send-signal): Use them.
1455 (proced-renice): New command bound to r.
1456
1457 2012-09-23 Roland Winkler <winkler@gnu.org>
1458
1459 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1460 ibuffer-saved-filter-groups has one element, shortcut the call of
1461 completing-read. (Bug#12331)
1462
1463 2012-09-23 Chong Yidong <cyd@gnu.org>
1464
1465 * bindings.el (mode-line-toggle-read-only):
1466 * bs.el (bs-toggle-readonly):
1467 * buff-menu.el (Buffer-menu-toggle-read-only):
1468 * dired.el (dired-toggle-read-only):
1469 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1470
1471 2012-09-23 Chong Yidong <cyd@gnu.org>
1472
1473 * image.el (image-type-available-p): Adapt to init-image-library
1474 argument changes.
1475
1476 2012-09-22 Juri Linkov <juri@jurta.org>
1477
1478 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1479 `dired-toggle-read-only'. (Bug#12462)
1480
1481 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1482
1483 * subr.el (temp-output-buffer-show): New function.
1484 (with-output-to-temp-buffer): Call temp-output-buffer-show
1485 instead of internal-temp-output-buffer-show.
1486
1487 2012-09-22 Chong Yidong <cyd@gnu.org>
1488
1489 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1490 (Bug#12462).
1491
1492 * repeat.el (repeat): Doc fix (Bug#12348).
1493
1494 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1495 (Bug#10909).
1496
1497 * simple.el (shell-command-on-region): Doc fix.
1498 (read-only-mode): Doc fix.
1499
1500 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1501
1502 * emacs-lisp/timer.el (run-with-idle-timer)
1503 (timer-activate-when-idle): Warn against reinvoking an idle timer
1504 from within its own timer action. (Bug#12447)
1505
1506 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1507
1508 * cus-start.el (window-combination-limit): Add new optional
1509 values.
1510 * window.el (temp-buffer-window-show)
1511 (window--try-to-split-window): Handle new values of
1512 window-combination-limit (Bug#1806).
1513 (split-window): Test window-combination-limit for t instead of
1514 non-nil.
1515 (display-buffer-at-bottom): New buffer display action function.
1516 * help.el (temp-buffer-resize-regexps): New option.
1517 (temp-buffer-resize-mode): Rewrite doc-string.
1518 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1519 Don't resize reused window. Suggested by Glenn Morris.
1520
1521 2012-09-22 Stefan Merten <smerten@oekonux.de>
1522
1523 * textmodes/rst.el: Revamp section title faces.
1524 (rst-official-version)
1525 (rst-package-emacs-version-alist): Sync with official version
1526 V1.4.0.
1527 (rst-faces-defaults, rst-set-level-default)
1528 (rst-level-face-max, rst-level-face-base-color)
1529 (rst-level-face-base-light, rst-level-face-format-light)
1530 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1531 (rst-adornment-faces-alist): Match new setup.
1532 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1533 (rst-level-5, rst-level-6): New faces.
1534
1535 2012-09-22 Chong Yidong <cyd@gnu.org>
1536
1537 * simple.el (undo): Handle indirect buffers (Bug#8207).
1538
1539 2012-09-21 Leo Liu <sdl.web@gmail.com>
1540
1541 IDO: Disable match re-ordering for buffer switching.
1542 * ido.el (ido-buffer-disable-smart-matches): New variable.
1543 (ido-set-matches-1): Use it. (Bug#2042)
1544
1545 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1546
1547 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1548 Fix 2011-05-17 change. (Bug#12418)
1549
1550 2012-09-21 Leo Liu <sdl.web@gmail.com>
1551
1552 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1553
1554 2012-09-21 Glenn Morris <rgm@gnu.org>
1555
1556 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1557 Be more robust about locating simple.el.
1558
1559 2012-09-21 Glenn Morris <rgm@gnu.org>
1560
1561 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1562
1563 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1564
1565 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1566
1567 2012-09-20 Juri Linkov <juri@jurta.org>
1568
1569 * replace.el (query-replace-read-from): Use `read-regexp' instead
1570 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1571 (occur-read-primary-args): Use `read-regexp' instead of
1572 `read-string'.
1573 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1574 `read-from-minibuffer'.
1575 * isearch.el (isearch-occur): Use `read-regexp' instead of
1576 `read-string'.
1577 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1578 `read-from-minibuffer'.
1579 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1580 of `read-string'. (Bug#7567)
1581
1582 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1583 and allow accepting a list of strings prepended to a list of
1584 standard default values. Doc fix. (Bug#12321)
1585
1586 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1587
1588 * replace.el (read-regexp): Don't add ": " when PROMPT already
1589 ends with a colon and space. (Bug#12321)
1590
1591 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1592
1593 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1594 error.
1595
1596 2012-09-20 Stefan Merten <smerten@oekonux.de>
1597
1598 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1599 Fixes feature request bug#11711.
1600 (rst-mode): Create `imenu-create-index-function'.
1601 (rst-get-stripped-line): Delete after refactoring.
1602 (rst-section-tree, rst-section-tree-rec)
1603 (rst-section-tree-point): Refactor and document properly.
1604 (rst-imenu-find-adornments-for-position)
1605 (rst-imenu-convert-cell, rst-imenu-create-index):
1606 New function.
1607
1608 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1609
1610 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1611 (macroexp--expand-all): Use it.
1612 (macroexp--funcall-and-return): Remove by folding it into its sole
1613 caller (macroexp--warn-and-return).
1614 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1615 Use macroexp--obsolete-warning.
1616
1617 * calc/calc.el: Fix last change by removing the whole chunk, since it
1618 was only needed back when Calc was not bundled.
1619
1620 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1621
1622 * emacs-lisp/debug.el (debug): Restore assignment to
1623 debugger-old-buffer removed on 2012-09-08.
1624
1625 2012-09-20 Juri Linkov <juri@jurta.org>
1626
1627 * dired-aux.el (dired-diff): Remove (require 'diff) since
1628 `diff-latest-backup-file' is now autoloaded.
1629
1630 2012-09-20 Chong Yidong <cyd@gnu.org>
1631
1632 * vc/diff.el (diff-latest-backup-file): Autoload.
1633
1634 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * calc/calc.el: Remove redundant autoload shape check.
1637 (sel-mode): Don't defvar.
1638 (calc-get-stack-element): Add `sel-mode' arg instead.
1639 (calc-top, calc-top-list): Pass it this additional argument.
1640 * calc/calc-store.el (calc-store-map):
1641 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1642 (calc-map-equation, calc-outer-product, calc-inner-product):
1643 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1644
1645 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1646
1647 2012-09-19 Juri Linkov <juri@jurta.org>
1648
1649 * dired-aux.el (dired-diff): Add (require 'diff) because
1650 `diff-latest-backup-file' is not autoloaded.
1651 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1652 of `dired-get-filename' to t to not report error when there is
1653 no default file on the current line.
1654
1655 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1658 macroexp--eval-if-compile.
1659 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1660 (macroexp--expand-all): Use them (bug#12371).
1661
1662 * doc-view.el (doc-view-guess-paper-size)
1663 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1664
1665 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1666
1667 New feature: set optimal slice from BoundingBox information.
1668 * doc-view.el (doc-view-mode-map): Add keybinding.
1669 (doc-view-menu): Add menu entry.
1670 (doc-view-set-slice): Adapt docstring.
1671 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1672 (doc-view-scale-bounding-box)
1673 (doc-view-set-slice-from-bounding-box): New functions.
1674 (doc-view-paper-sizes): New defvar.
1675
1676 2012-09-19 Glenn Morris <rgm@gnu.org>
1677
1678 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1679 (byte-compile-log-warning): Autoload. (Bug#12371)
1680
1681 * calendar/calendar.el (calendar-american-month-header)
1682 (calendar-european-month-header, calendar-iso-month-header)
1683 (calendar-month-header): New options.
1684 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1685 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1686
1687 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1688
1689 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1690
1691 2012-09-18 Juri Linkov <juri@jurta.org>
1692
1693 * dired-aux.el (dired-diff): Restore original functionality of
1694 getting the default value, but keep new feature of using the
1695 latest existing backup file (`diff-latest-backup-file').
1696
1697 2012-09-18 Juri Linkov <juri@jurta.org>
1698
1699 * dired.el (dired-mark): If the region is active in Transient Mark
1700 mode, mark all files in the active region. Doc fix.
1701 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1702 Doc fix. (Bug#10624)
1703
1704 2012-09-18 Juri Linkov <juri@jurta.org>
1705
1706 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1707 attributes for M-n are pulled from the file at point.
1708 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1709 Suggested by Drew Adams. (Bug#10624)
1710
1711 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1714 whitespace after "end".
1715 (ruby-do-end-to-brace): Collapse block to one line if it fits
1716 within fill-column.
1717
1718 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1719
1720 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1721 value.
1722 (debug): Don't remove debugger window when debugger is expected
1723 to be back.
1724
1725 2012-09-18 Chong Yidong <cyd@gnu.org>
1726
1727 * custom.el (defface): Doc fix.
1728
1729 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1730
1731 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1732
1733 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1734 to initialize query-on-exit; then test that instead (bug#12288).
1735
1736 2012-09-17 Stefan Merten <smerten@oekonux.de>
1737
1738 * textmodes/rst.el: Add support for `testcover'.
1739 (rst-defcustom-testcover, rst-testcover-add-compose)
1740 (rst-testcover-add-1value): New functions.
1741 (rst-portable-mark-active-p): Replace by `use-region-p'.
1742 (rst-update-section, rst-classify-adornment)
1743 (rst-find-title-line): Mark `1value' forms.
1744 (rst-classify-adornment): Remove superfluous form.
1745 (rst-update-section, rst-get-adornments-around)
1746 (rst-adornment-complete-p, rst-get-next-adornment)
1747 (rst-adjust, rst-promote-region)
1748 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1749 (rst-find-pfx-in-region, rst-section-tree-rec)
1750 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1751 (rst-toc-node, rst-toc, rst-forward-section)
1752 (rst-iterate-leftmost-paragraphs)
1753 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1754 (rst-bullet-list-region)
1755 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1756 (rst-compile-find-conf, rst-compile)
1757 (rst-repeat-last-character): Fix style.
1758
1759 2012-09-17 Chong Yidong <cyd@gnu.org>
1760
1761 * comint.el (comint--complete-file-name-data): Don't add a space
1762 if the status is `sole'; that adds a gratuitous space in the
1763 completion-cycling case (Bug#12092).
1764
1765 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1766
1767 2012-09-17 Richard Stallman <rms@gnu.org>
1768
1769 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1770 only in the mime-shown mode, not in raw mode.
1771 (rmail-mime): Toggle off mime by displaying the message without
1772 mime processing. (Bug#12305)
1773
1774 * mail/rmail.el (rmail-retry-failure):
1775 Turn off mime processing first. (Bug#12037)
1776
1777 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1778
1779 2012-09-17 Chong Yidong <cyd@gnu.org>
1780
1781 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1782 (shell-dynamic-complete-functions): Convert to defcustom.
1783 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1784
1785 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1786 * comint.el (comint-prompt-read-only):
1787 * custom.el (defcustom):
1788 * hi-lock.el (hi-lock-mode):
1789 * ibuffer.el (ibuffer-formats):
1790 * ielm.el (ielm-prompt-read-only):
1791 * novice.el (disable-command):
1792 * saveplace.el (toggle-save-place):
1793 * speedbar.el (speedbar-supported-extension-expressions):
1794 * startup.el (auto-save-list-file-prefix, init-file-user)
1795 (after-init-hook, inhibit-startup-echo-area-message):
1796 * strokes.el (strokes-help):
1797 * time-stamp.el (time-stamp):
1798 * calendar/calendar.el (calendar, diary-file):
1799 * calendar/diary-lib.el (diary-mail-entries, diary)
1800 (diary-list-entries-hook):
1801 * calendar/holidays.el (holidays, calendar-holidays):
1802 * calendar/lunar.el (lunar-phases):
1803 * calendar/solar.el (sunrise-sunset):
1804 * emulation/edt.el (edt-load-keys):
1805 * emulation/viper.el (viper-mode):
1806 * eshell/em-alias.el (eshell-command-aliases-list):
1807 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1808 * international/ogonek.el (ogonek-information):
1809 * net/tramp-cmds.el (tramp-bug):
1810 * net/quickurl.el (quickurl-reread-hook-postfix):
1811 * play/decipher.el (decipher-font-lock-keywords):
1812 * progmodes/cc-styles.el (c-set-style):
1813 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1814 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1815 * progmodes/octave-mod.el (octave-mode):
1816 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1817 * progmodes/verilog-mode.el (verilog-read-defines):
1818 * textmodes/two-column.el (2C-mode): Likewise.
1819
1820 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1821
1822 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1823 that holds many addresses.
1824
1825 2012-09-16 Chong Yidong <cyd@gnu.org>
1826
1827 * align.el (align-areas): Call the indication function with
1828 positions instead of markers for arguments (Bug#12343).
1829
1830 * files.el (parse-colon-path): Use split-string (Bug#12351).
1831
1832 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1833 (display-buffer-function): Mark as obsolete.
1834
1835 * progmodes/compile.el (compilation-parse-errors): Accept list
1836 values similar to font-lock-keywords (Bug#12136).
1837 Suggested by Oleksandr Manzyuk.
1838 (compilation-error-regexp-alist): Doc fix.
1839
1840 2012-09-15 Glenn Morris <rgm@gnu.org>
1841
1842 * version.el (emacs-bzr-version-bzr): New function.
1843 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1844
1845 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1846 checkouts, check the parent dirstate matches the branch.
1847 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1848 empty string.
1849
1850 * version.el (emacs-bzr-version): Doc fix.
1851 (emacs-bzr-version-dirstate): New function.
1852 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1853 is local try and check that it matches the branch. If not, just
1854 use dirstate information. (Bug#12441)
1855
1856 2012-09-14 Juri Linkov <juri@jurta.org>
1857
1858 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1859 (Bug#12399)
1860
1861 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1864
1865 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1866 Remove obsolete byte-compiler hack that tried to silence some warnings.
1867 (edebug-submit-bug-report): Remove.
1868 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1869 Remove aliases, use the un-prefixed name instead.
1870 (edebug-pop-to-buffer): Consider other frames.
1871 (edebug-original-read):: Make it more obvious that it's always defined.
1872 (edebug--make-form-data-entry, edebug--form-data-name)
1873 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1874 single-dashed name, and implement with cl-defstruct.
1875 (edebug-set-form-data-entry): Use the standard accessors.
1876 (edebug-make-top-form-data-entry): Use push.
1877 (edebug-no-match): Drop useless `funcall'.
1878 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1879 to functions.
1880 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1881 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1882 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1883 (easy-menu-define, with-custom-print): Remove redundant specs.
1884 (edebug-outside-overriding-local-map)
1885 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1886 (edebug--display): Bind unread-command-events directly to nil rather
1887 than binding it to unread-command-events and later setting it to nil.
1888 (edebug--display): Kill edebug-eval-buffer here...
1889 (edebug--recursive-edit): ...rather than here.
1890 Bind standard-output and standard-input.
1891 (edebug-eval): Check cl-macroexpand-all is fboundp.
1892 (edebug-temp-display-freq-count): Fix last change.
1893
1894 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1895 * subr.el (noreturn, 1value): Add `debug' spec.
1896 * emacs-lisp/advice.el: Require cl-lib.
1897 (ad-copy-tree): Remove, use copy-tree instead.
1898 (ad-dolist): Remove use dolist or cl-dolist instead.
1899 (ad-do-return): Remove, use cl-return instead.
1900 (defadvice): Add `debug' spec.
1901
1902 2012-09-13 Juri Linkov <juri@jurta.org>
1903
1904 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1905 (Bug#12399)
1906
1907 2012-09-13 Glenn Morris <rgm@gnu.org>
1908
1909 * calc/calc.el (math-compose-expr):
1910 * calc/calc-ext.el (math-compose-expr):
1911 * progmodes/cc-defs.el (cl-macroexpand-all):
1912 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1913 (cl-macroexpand-all): Update declarations.
1914
1915 * vc/vc.el: No need to require ediff.
1916 (ediff-load-version-control): Declare.
1917 (ediff-vc-internal): Fix declaration.
1918 (vc-version-ediff): Require ediff.
1919
1920 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1921
1922 Use a more backwards-compatible timer format (Bug#12430).
1923 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1924 being right after USECS, as that better supports old code that
1925 inadvisedly looked directly at the timer vector.
1926
1927 2012-09-13 Kenichi Handa <handa@gnu.org>
1928
1929 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1930 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1931 `coding-priority' property of these language environment.
1932
1933 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1934
1935 Fix glitches caused by addition of psec to timers (Bug#12430).
1936 * image.el (image-animate-timer):
1937 * time.el (display-time-world-timer):
1938 Use timer--function and timer--args rather than raw access to
1939 timer vector.
1940
1941 2012-09-13 Glenn Morris <rgm@gnu.org>
1942
1943 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1944 If not compiling a file, try using load-file-name.
1945
1946 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1949 Fix last change.
1950 (edebug-update-eval-list): Use `push'.
1951
1952 * emacs-lisp/edebug.el: Use lexical-binding.
1953 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1954 Mark unused args with underscore.
1955 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1956 (edebug-form-data): Use defvar-local.
1957 (edebug-make-before-and-after-form, edebug-make-after-form):
1958 Use backquote.
1959 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1960 Not dynamically scoped any more.
1961 (edebug--enter-trace): Add arguments `function' and `args'.
1962 Rename from edebug-enter-trace.
1963 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1964 (edebug--update-coverage): Add `after-index' and `value' args.
1965 Rename from edebug-update-coverage.
1966 (edebug-slow-after): Call it accordingly.
1967 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1968 edebug-recursive-edit.
1969 (edebug--display): Call it accordingly. Add args `value',
1970 `offset-index', and `arg-mode'. Rename from edebug-display.
1971 (edebug-debugger, edebug): Call it accordingly.
1972 (edebug-eval-display-list): Use dolist.
1973
1974 2012-09-12 Juri Linkov <juri@jurta.org>
1975
1976 * info.el (Info-search): Don't check for isearch-mode and
1977 isearch-regexp before let-binding search-spaces-regexp to
1978 Info-search-whitespace-regexp.
1979 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1980 search-whitespace-regexp if isearch-lax-whitespace or
1981 isearch-regexp-lax-whitespace is non-nil.
1982 (Info-mode): Don't set local variable search-whitespace-regexp.
1983 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1984
1985 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1988 (debugger-env-macro): Remove support for unread-command-char.
1989
1990 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1991 the temporary map re-appearing on emulation-mode-map-alists.
1992
1993 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1994 since 22.1.
1995
1996 * ehelp.el (with-electric-help): Accept functions in
1997 electric-help-form-to-execute.
1998 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1999 And replace unread-command-char -> unread-command-events.
2000
2001 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2002
2003 Sync with Tramp 2.2.6.
2004
2005 * net/tramp.el (tramp-accept-process-output): Don't use
2006 JUST-THIS-ONE in the XEmacs case.
2007
2008 * net/trampver.el: Update release number.
2009
2010 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2011
2012 * emacs-lisp/debug.el (debugger-previous-window-height):
2013 New variable.
2014 (debug): When debugger-jumping-flag is non-nil try to restore
2015 height of debugger window. (Bug#8789)
2016
2017 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2020 overriding-local-map and pre/post-command-hook here.
2021 (edebug-recursive-edit): Do it here instead (bug#12345).
2022 (edebug-outside-unread-command-char): Remove all uses of
2023 unread-command-char.
2024
2025 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2026 inhibit-debugger is bound instead.
2027
2028 2012-09-11 Bastien Guerry <bzg@gnu.org>
2029
2030 * subr.el (set-temporary-overlay-map): Add a docstring.
2031 (Bug#12346)
2032
2033 2012-09-11 Bastien Guerry <bzg@gnu.org>
2034
2035 * minibuffer.el (completion-table-subvert): Fix docstring.
2036 (Bug#12347)
2037
2038 2012-09-11 Bastien Guerry <bzg@gnu.org>
2039
2040 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2041
2042 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2043
2044 * progmodes/sql.el: Version 3.1
2045 (sql-db2-escape-newlines): New variable.
2046 (sql-escape-newlines-filter): Use it.
2047
2048 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2049
2050 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2051
2052 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2053
2054 * vc/diff-mode.el (diff-mode-menu):
2055 Bind diff-remove-trailing-whitespace.
2056
2057 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2060 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2061 (emacs-lisp-byte-code-mode): New functions.
2062 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2063 (eval-defun-2): Remove bogus interactive spec.
2064 (lisp-indent-line): Remove redundant whole-exp code, now done in
2065 indent-according-to-mode.
2066 (save-match-data): Remove redundant indent data.
2067
2068 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2069 Use `declare'.
2070
2071 2012-09-09 Juri Linkov <juri@jurta.org>
2072
2073 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2074 (replace-lax-whitespace, query-replace-regexp)
2075 (query-replace-regexp-eval, replace-regexp): Doc fix.
2076 (perform-replace, replace-highlight): Let-bind
2077 isearch-lax-whitespace to replace-lax-whitespace and
2078 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2079
2080 * isearch.el (isearch-query-replace): Let-bind
2081 replace-lax-whitespace to isearch-lax-whitespace and
2082 replace-regexp-lax-whitespace to
2083 isearch-regexp-lax-whitespace. (Bug#10885)
2084
2085 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2088
2089 2012-09-09 Alan Mackenzie <acm@muc.de>
2090
2091 * progmodes/cc-engine.el (c-state-cache-init):
2092 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2093 (c-record-parse-state-state):
2094 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2095
2096 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2097
2098 * register.el (register-separator): Rename from
2099 separator-register. All uses changed. Doc fix.
2100 (register): Fix version.
2101
2102 2012-09-09 Chong Yidong <cyd@gnu.org>
2103
2104 * replace.el (query-replace-map): Bind four new symbols for
2105 requesting window scrolling.
2106
2107 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2108 query-replace-map (Bug#8948).
2109
2110 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2111
2112 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2113 since they are now in query-replace-map.
2114
2115 * window.el (scroll-other-window-down): Make the arg optional.
2116
2117 2012-09-09 Chong Yidong <cyd@gnu.org>
2118
2119 * files.el (hack-local-variables-confirm): Use quit-window to kill
2120 the *Local Variables* buffer.
2121
2122 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2125 not just expect to be at its beginning. Adjust callees.
2126 Succeed when do-end block has no space before the pipe character.
2127 (ruby-brace-to-do-end): When the original block is one-liner,
2128 convert to multiline. Reindent the result.
2129
2130 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2131
2132 * register.el (register): New group.
2133 (separator-register): New user option.
2134 (increment-register): Route it to `append-to-register', if
2135 register contains text. Implication is that `C-x r +' can now be
2136 used for appending to a text register (bug#12217).
2137 (append-to-register, prepend-to-register): Add separator based on
2138 `separator-register'.
2139
2140 2012-09-08 Alan Mackenzie <acm@muc.de>
2141
2142 AWK Mode: make auto-newline work when there's "==" in the pattern.
2143 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2144 correctly.
2145 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2146 Test more rigorously for "=" token.
2147
2148 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2149
2150 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2151 Only fail when reached LIMIT.
2152
2153 2012-09-08 Chong Yidong <cyd@gnu.org>
2154
2155 * dired.el (dired-mode-map): Don't bind M-=.
2156
2157 * dired-aux.el (dired-diff): Use backup file as default.
2158
2159 2012-09-08 Drew Adams <drew.adams@oracle.com>
2160
2161 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2162
2163 2012-09-08 Chong Yidong <cyd@gnu.org>
2164
2165 * subr.el (syntax-after, syntax-class): Doc fix.
2166
2167 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (display-buffer-in-previous-window): New buffer
2170 display action function.
2171
2172 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2173 (debugger-previous-window): New variable.
2174 (debug): Rewrite using display-buffer-in-previous-window,
2175 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2176
2177 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2180
2181 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2182
2183 * progmodes/python.el (python-shell-send-string):
2184 When default-directory is remote, create temp file on remote
2185 filesystem.
2186 (python-shell-send-file): When file is remote, pass local view of
2187 file paths to remote Python interpreter. (Bug#12340)
2188
2189 2012-09-07 Chong Yidong <cyd@gnu.org>
2190
2191 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2192
2193 * files.el (after-find-file): Don't fail on a read-only buffer if
2194 require-final-newline is `visit' or `visit-save' (Bug#11156).
2195
2196 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2197
2198 * userlock.el (ask-user-about-supersession-threat):
2199 Use read-char-choice (Bug#12093).
2200
2201 2012-09-07 Chong Yidong <cyd@gnu.org>
2202
2203 * subr.el (buffer-narrowed-p): New function.
2204
2205 * ses.el (ses-widen):
2206 * simple.el (count-words--buffer-message):
2207 * net/browse-url.el (browse-url-of-buffer): Use it.
2208
2209 * simple.el (count-words-region): Don't signal an error if there
2210 is a non-nil prefix arg and the mark is not set.
2211
2212 * help.el (describe-key-briefly): Allow the message to be seen
2213 when invoked from the minibuffer (Bug#7014).
2214
2215 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * progmodes/ruby-mode.el (ruby-end-of-defun)
2218 (ruby-beginning-of-defun): Simplify, allow indentation before
2219 block beginning and end keywords.
2220 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2221 (ruby-end-of-defun): Expect that the point is at the beginning of
2222 the defun.
2223
2224 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2225
2226 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2227 (bug#12367).
2228 (cl--make-usage-args): Strip _ from argument names.
2229
2230 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2231
2232 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2233 obsolete alias speedbar-key-map.
2234 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2235 (vhdl-index-menu-init): Don't use obsolete variable
2236 font-lock-maximum-size.
2237
2238 2012-09-06 Chong Yidong <cyd@gnu.org>
2239
2240 * frame.el (window-system-version): Mark as obsolete.
2241
2242 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2243 of obsolete variable speedbar-key-map.
2244
2245 2012-09-06 Juri Linkov <juri@jurta.org>
2246
2247 * replace.el (replace-lax-whitespace): New defcustom.
2248 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2249 (replace-string, replace-regexp): Mention it in docstrings.
2250 (perform-replace, replace-highlight): Let-bind
2251 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2252 to the values of replace-lax-whitespace and regexp-flag.
2253 Don't let-bind search-whitespace-regexp. (Bug#10885)
2254
2255 * isearch.el (isearch-query-replace): Let-bind
2256 replace-lax-whitespace instead of let-binding
2257 replace-search-function and replace-re-search-function.
2258 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2259 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2260 (isearch-toggle-symbol): Set isearch-regexp to nil
2261 in isearch-word mode (like in isearch-toggle-word).
2262
2263 2012-09-06 Juri Linkov <juri@jurta.org>
2264
2265 * replace.el (replace-search-function)
2266 (replace-re-search-function): Set default values to nil.
2267 (perform-replace): Let-bind isearch-related variables based on
2268 replace-related values, call `isearch-search-fun' and let-bind
2269 the result to `search-function'. Remove code that sets
2270 `search-function' and `search-string' separately for
2271 `delimited-flag'.
2272 (replace-highlight): Add new argument `delimited-flag' and
2273 rename other arguments to the names used in `perform-replace'.
2274 Let-bind `isearch-word' to the argument `delimited-flag'.
2275 (Bug#10885, bug#10887)
2276
2277 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2278
2279 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2280 ruby-beginning-of-indent, simplify, allow all keywords to have
2281 indentation before them.
2282 (ruby-beginning-of-indent): Adjust for above. Search until the
2283 found point is not inside a string or comment.
2284 (ruby-font-lock-keywords): Allow symbols to start with "@"
2285 character, give them higher priority than variables.
2286 (ruby-syntax-propertize-function)
2287 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2288 matchers. Expression expansions are not comments when inside a
2289 string, and there comment syntax status is irrelevant.
2290 (ruby-match-expression-expansion): New function. Check that
2291 expression expansion is inside a string, and it's not escaped.
2292 (ruby-font-lock-keywords): Use it.
2293
2294 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2295
2296 * help.el (temp-buffer-max-height): New default value.
2297 (temp-buffer-resize-frames): New option.
2298 (resize-temp-buffer-window): Optionally resize frame.
2299
2300 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2301 (fit-frame-to-buffer): New function.
2302
2303 2012-09-05 Glenn Morris <rgm@gnu.org>
2304
2305 * emulation/cua-rect.el (cua--init-rectangles):
2306 * textmodes/picture.el (picture-mode-map):
2307 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2308 like forward-char and backward-char. (Bug#12317)
2309
2310 2012-09-05 Leo Liu <sdl.web@gmail.com>
2311
2312 * progmodes/flymake.el (flymake-warning-re): New variable.
2313 (flymake-parse-line): Use it.
2314
2315 2012-09-05 Glenn Morris <rgm@gnu.org>
2316
2317 * calendar/holidays.el (holiday-christian-holidays):
2318 Rename an entry. (Bug#12289)
2319
2320 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2323 (bug#12222).
2324
2325 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * loadup.el: Load macroexp. Remove hack.
2328 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2329 (macroexp--expand-all): Use it to get better warnings.
2330 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2331 (internal-macroexpand-for-load): New functions.
2332 (macroexp--pending-eager-loads): New var.
2333 (emacs-startup-hook): New hack to replace one in loadup.el.
2334 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2335 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2336 (cl-psetf): Simplify.
2337 (cl-defstruct): Add indent rule.
2338
2339 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2340
2341 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2342 over `user-mail-address' for the SMTP MAIL FROM envelope.
2343 (smtpmail-via-smtp): Ditto.
2344
2345 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el: Clean up keybindings.
2348 (ruby-mode-map): Don't bind ruby-electric-brace,
2349 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2350 backward-kill-word, reindent-then-newline-and-indent.
2351 (ruby-mark-defun): Remove.
2352 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2353 (ruby-mode): Set local beginning-of-defun-function and
2354 end-of-defun-function values.
2355
2356 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2357
2358 * window.el (temp-buffer-window-setup-hook)
2359 (temp-buffer-window-show-hook): New hooks.
2360 (temp-buffer-window-setup, temp-buffer-window-show)
2361 (with-temp-buffer-window): New functions.
2362 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2363 (special-display-popup-frame): Make sure the window used shows BUFFER.
2364
2365 * help.el (temp-buffer-resize-mode): Fix doc-string.
2366 (resize-temp-buffer-window): New optional argument WINDOW.
2367
2368 * files.el (recover-file, save-buffers-kill-emacs):
2369 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2370
2371 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2374 remote definition of `default-directory', ensure we can connect.
2375
2376 2012-09-02 Juri Linkov <juri@jurta.org>
2377
2378 Toggle whitespace matching mode with M-s SPC.
2379 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2380
2381 * isearch.el (search-whitespace-regexp): Doc fix.
2382 Remove cons cell customization.
2383 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2384 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2385 New variables.
2386 (isearch-forward, isearch-forward-regexp): Doc fix.
2387 (isearch-toggle-lax-whitespace): New command.
2388 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2389 (re-search-forward-lax-whitespace)
2390 (re-search-backward-lax-whitespace): New functions.
2391 (isearch-whitespace-regexp): Remove function.
2392 (isearch-query-replace): Let-bind replace-search-function and
2393 replace-re-search-function.
2394 (isearch-occur): Let-bind search-spaces-regexp according to the
2395 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2396 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2397 condition for C-q SPC.
2398 (isearch-search-fun-default): Use new functions mentioned above.
2399 (isearch-search-forward, isearch-search-backward): Remove functions.
2400 (isearch-search): Don't let-bind search-spaces-regexp.
2401 (isearch-lazy-highlight-space-regexp): Remove variable.
2402 (isearch-lazy-highlight-lax-whitespace)
2403 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2404 (isearch-lazy-highlight-new-loop): Use them.
2405 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2406
2407 2012-09-02 Chong Yidong <cyd@gnu.org>
2408
2409 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2410
2411 2012-09-02 Glenn Morris <rgm@gnu.org>
2412
2413 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2414
2415 2012-09-01 Glenn Morris <rgm@gnu.org>
2416
2417 * term.el: Tidy up menu definitions.
2418 (term-mode-map): Use easymenu for In/Out, Complete menus.
2419 (term-pager-break-map): Initialize in the defvar.
2420 (term-terminal-menu, term-signals-menu): Define with easymenu.
2421 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2422 (term-pager-menu): New, extracted from term-process-pager.
2423 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2424 (term-update-mode-line): Propertize line/char and page items.
2425 (term-process-pager): Move keymap initialization elsewhere.
2426
2427 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2428
2429 * window.el (switch-to-prev-buffer): Handle additional values of
2430 BURY-OR-KILL argument. Don't switch in minibuffer window.
2431 (switch-to-next-buffer): Don't switch in minibuffer window.
2432 (quit-restore-window): New function based on quit-window.
2433 Handle additional values of former KILL argument.
2434 (quit-window): Call quit-restore-window with appropriate
2435 interpretation of KILL argument.
2436 (display-buffer-below-selected): New buffer display action
2437 function.
2438
2439 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * minibuffer.el (completion-at-point-functions): Complete docstring
2442 (bug#12254).
2443
2444 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2445
2446 Better seed support for (random).
2447 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2448 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2449 * play/mpuz.el, play/tetris.el, play/zone.el:
2450 * calc/calc-comb.el (math-init-random-base):
2451 * play/blackbox.el (bb-init-board):
2452 * play/life.el (life):
2453 * server.el (server-use-tcp):
2454 * type-break.el (type-break):
2455 Remove unnecessary call to (random t).
2456 * net/sasl.el (sasl-unique-id-function):
2457 Change (random t) to (random), now that the latter is more random.
2458 * play/life.el (life-initialized): Remove no-longer-needed var.
2459
2460 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2461
2462 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2463 Consider frame's buffer predicate when choosing the buffer.
2464 (Bug#12081)
2465
2466 2012-08-30 Richard Stallman <rms@gnu.org>
2467
2468 * simple.el (special-mode-map): Delete binding for `z'.
2469
2470 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2471
2472 * progmodes/compile.el (compilation-always-kill): Doc fix.
2473
2474 2012-08-30 Chong Yidong <cyd@gnu.org>
2475
2476 * window.el (display-buffer-reuse-frames): Make the obsolescence
2477 message more informative.
2478
2479 2012-08-30 Glenn Morris <rgm@gnu.org>
2480
2481 * paren.el (show-paren-delay):
2482 Add a :set function. Doc fix. (Bug#12297)
2483
2484 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2485
2486 * progmodes/compile.el (compilation-always-kill): New var.
2487 (compilation-start): Use it.
2488
2489 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2492 * files.el (read-only-mode): Move to simple.el.
2493
2494 * files.el (read-only-mode): New minor mode.
2495 (toggle-read-only): Use it and mark obsolete.
2496 (find-file--read-only):
2497 * vc/vc.el (vc-next-action, vc-checkout):
2498 * vc/vc-cvs.el (vc-cvs-checkout):
2499 * obsolete/vc-mcvs.el (vc-mcvs-update):
2500 * ffap.el (ffap--toggle-read-only): Update callers.
2501
2502 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * eshell/esh-ext.el (eshell-external-command): Do not examine
2505 remote shell scripts.
2506 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2507
2508 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2509 "/usr/local/sbin".
2510
2511 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2514
2515 2012-08-28 Leo Liu <sdl.web@gmail.com>
2516
2517 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2518 completion-at-point. (Bug#12220)
2519
2520 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2521
2522 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2523
2524 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2527 be buffer-local; add delete-trailing-whitespace (bug#12259).
2528
2529 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2530
2531 * progmodes/hideif.el (hif-compress-define-list):
2532 Fix typo. (Bug#11951)
2533
2534 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2535
2536 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2537 buffer local setting.
2538
2539 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2540 rcirc-encode-coding-system.
2541
2542 2012-08-28 Leo Liu <sdl.web@gmail.com>
2543
2544 * net/rcirc.el (rcirc-split-message): New function.
2545 (rcirc-send-message): Use it. (Bug#12051)
2546
2547 2012-08-28 Juri Linkov <juri@jurta.org>
2548
2549 * info.el (Info-fontify-node): Hide empty lines at the end of
2550 the node. (Bug#12272)
2551
2552 2012-08-27 Drew Adams <drew.adams@oracle.com>
2553
2554 * dired.el (dired-pop-to-buffer): Make window start at beginning
2555 of buffer (Bug#12281).
2556
2557 2012-08-26 Chong Yidong <cyd@gnu.org>
2558
2559 * window.el (special-display-regexps, special-display-frame-alist)
2560 (special-display-buffer-names, special-display-function)
2561 (display-buffer-reuse-frames): Mark as obsolete.
2562
2563 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2564
2565 * help.el (help-print-return-message): Don't treat
2566 display-buffer-reuse-frames specially.
2567
2568 2012-08-26 Chong Yidong <cyd@gnu.org>
2569
2570 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2571 New variable, replacing gdb-frame-parameters.
2572 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2573 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2574 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2575 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2576 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2577 the functions directly with gdb-display-buffer-other-frame-action.
2578 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2579 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2580 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2581 (gdb-display-registers-buffer): Define directly.
2582 (def-gdb-display-buffer): Macro deleted.
2583 (gdb-display-buffer): Remove second and third args, callers don't
2584 use them. Defer to the default display-buffer behavior, apart
2585 from making windows dedicated.
2586 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2587
2588 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2589
2590 * window.el (display-buffer-pop-up-frame): Handle a
2591 pop-up-frame-parameters alist entry.
2592 (display-buffer): Document it.
2593
2594 2012-08-26 Chong Yidong <cyd@gnu.org>
2595
2596 * isearch.el (search-whitespace-regexp): Make string and nil
2597 values apply to both ordinary and regexp search. Allow a cons
2598 cell value to distinguish between the two.
2599 (isearch-whitespace-regexp, isearch-search-forward)
2600 (isearch-search-backward): New functions.
2601 (isearch-occur, isearch-search-fun-default, isearch-search)
2602 (isearch-lazy-highlight-new-loop): Use them.
2603 (isearch-forward, isearch-forward-regexp): Doc fix.
2604
2605 2012-08-26 Chong Yidong <cyd@gnu.org>
2606
2607 * faces.el (help-argument-name): Always inherit from italic
2608 (Bug#12213).
2609
2610 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2611
2612 * window.el (window--even-window-heights): Even heights when
2613 WINDOW and the selected window form a vertical combination.
2614 (display-buffer-use-some-window): Provide that window used gets
2615 sized back by quit-window. (Bug#11880) and (Bug#12091)
2616
2617 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2618
2619 Fix file time stamp problem with bzr and CVS (Bug#12001).
2620 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2621 in the file's time stamp, since the version control system loses
2622 that information.
2623
2624 2012-08-22 Juri Linkov <juri@jurta.org>
2625
2626 * info.el (Info-fontify-node): Hide the suffix of the
2627 Info file name in the header line. (Bug#12187)
2628
2629 2012-08-22 Glenn Morris <rgm@gnu.org>
2630
2631 * calendar/cal-tex.el (cal-tex-weekly-common):
2632 Restore leading blank page.
2633
2634 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2635
2636 * misc.el (forward-to-word, backward-to-word): Activate or extend
2637 the region under `shift-select-mode'. (Bug#12231)
2638
2639 2012-08-22 Bastien Guerry <bzg@gnu.org>
2640
2641 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2642 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2643 gives details on why the space is never needed.
2644
2645 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2646
2647 * window.el (walk-window-tree, window-with-parameter):
2648 New optional argument MINIBUF to control whether these functions
2649 should run on the minibuffer window.
2650 (window-at-side-list): Don't operate on minibuffer window.
2651 (window-in-direction): Simplify and rewrite doc-string.
2652 (window--size-ignore): Rename to window--size-ignore-p.
2653 Update callers.
2654 (display-buffer-in-atom-window, window--major-non-side-window)
2655 (window--major-side-window, display-buffer-in-major-side-window)
2656 (delete-side-window, display-buffer-in-side-window):
2657 New functions.
2658 (window--side-check, window-deletable-p, delete-window)
2659 (delete-other-windows, split-window): Handle side windows and
2660 atomic windows appropriately.
2661 (window--display-buffer): Call display-buffer-record-window also
2662 when the window buffer did not change.
2663
2664 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2665
2666 * help-fns.el (help-fns--key-bindings):
2667 Abbreviate non-symbol remap targets. (Bug#12174)
2668
2669 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2670
2671 * dired.el (dired-mark-remembered): Don't clobber point.
2672 (Bug#11795)
2673
2674 2012-08-22 Glenn Morris <rgm@gnu.org>
2675
2676 * progmodes/bug-reference.el (bug-reference): New custom group.
2677 (bug-reference-bug-regexp): Make it a defcustom.
2678
2679 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2680
2681 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2682 (js-paren-indent-offset, js-square-indent-offset)
2683 (js-curly-indent-offset): Add :safe (Bug#12257).
2684
2685 2012-08-22 Edward O'Connor <hober0@gmail.com>
2686
2687 * json.el (json-key-format): Add error properties.
2688 (json-encode-key): New function.
2689 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2690 Use json-encode-key.
2691
2692 2012-08-22 Glenn Morris <rgm@gnu.org>
2693
2694 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2695 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2696 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2697 Update for above change.
2698
2699 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2700
2701 * cus-face.el (custom-face-attributes): Fix customize type for the
2702 :underline attribute. (Bug#11805)
2703
2704 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2705
2706 * window.el (window-point-1, set-window-point-1): Remove.
2707 (window-in-direction, record-window-buffer)
2708 (set-window-buffer-start-and-point, split-window-below)
2709 (window--state-get-1, display-buffer-record-window):
2710 Replace calls to window-point-1 and set-window-point-1 by calls to
2711 window-point and set-window-point respectively.
2712
2713 2012-08-21 Glenn Morris <rgm@gnu.org>
2714
2715 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2716 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2717 Use it.
2718
2719 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2720 (cal-tex-shortday): New function.
2721 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2722 (cal-tex-cursor-filofax-daily): Use the above.
2723
2724 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2725 New functions.
2726 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2727 (cal-tex-cursor-filofax-week): Use them.
2728
2729 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2730 New constants.
2731 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2732 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2733
2734 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2735 (cal-tex-end-document): Don't rely on buffer name.
2736
2737 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2738 Use cal-tex-vspace.
2739 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2740 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2741 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2742 Use cal-tex-arg.
2743
2744 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2745 (cal-tex-cursor-week, cal-tex-cursor-week2)
2746 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2748 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2749 (cal-tex-insert-preamble, cal-tex-b-document)
2750 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2751 Improve cal-tex-cmd usage.
2752
2753 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2754 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2755 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2756 (cal-tex-weekly-paper): New function.
2757 (cal-tex-cursor-week, cal-tex-cursor-week2)
2758 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2759 (cal-tex-cursor-day): Use it.
2760
2761 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2762 (cal-tex-cursor-filofax-week): Remove leading blank page.
2763
2764 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2765 Add autoload cookie. For now at least, don't use color, since
2766 no other cal-tex function does.
2767
2768 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2769 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2770 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2771
2772 2012-08-21 Juri Linkov <juri@jurta.org>
2773
2774 * info.el (Info-file-attributes): New variable.
2775 (info-insert-file-contents): Add file attributes to
2776 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2777 `Info-toc-nodes' when previous modtime of the Info file is less
2778 than new modtime.
2779 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2780 of info.el. (Bug#12230)
2781
2782 2012-08-20 Glenn Morris <rgm@gnu.org>
2783
2784 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2785 * calendar/holidays.el (calendar-holiday-list):
2786 Report errors with display-warning rather than beep'n'sleep.
2787
2788 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2789
2790 * net/tramp.el (tramp-accept-process-output): Accept only output
2791 from PROC. Otherwise, process filters and sentinels might be
2792 confused. (Bug#12145)
2793
2794 2012-08-20 Chong Yidong <cyd@gnu.org>
2795
2796 * descr-text.el (describe-text-properties-1): Use overlays-in to
2797 report on empty overlays (Bug#3322).
2798
2799 2012-08-20 Glenn Morris <rgm@gnu.org>
2800
2801 * mail/rmailout.el (rmail-output-read-file-name):
2802 Trap and report errors in rmail-output-file-alist elements.
2803
2804 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2805 since most non-font-lock faces are not also variables).
2806
2807 2012-08-20 Edward Reingold <reingold@iit.edu>
2808
2809 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2810 New function. (Bug12160)
2811
2812 2012-08-19 Glenn Morris <rgm@gnu.org>
2813
2814 * mail/rmailout.el (rmail-output-read-file-name):
2815 Fix previous change (when the alist is nil or does not match).
2816
2817 2012-08-19 Chong Yidong <cyd@gnu.org>
2818
2819 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2820 (Bug#12228).
2821
2822 2012-08-18 Chong Yidong <cyd@gnu.org>
2823
2824 * simple.el (yank-handled-properties): New defcustom.
2825 (yank-excluded-properties): Add font-lock-face and category.
2826 (yank): Doc fix.
2827
2828 * subr.el (remove-yank-excluded-properties):
2829 Obey yank-handled-properties. The special handling of font-lock-face
2830 and category is now done this way, instead of being hard-coded.
2831 (insert-for-yank-1): Remove font-lock-face handling.
2832 (yank-handle-font-lock-face-property)
2833 (yank-handle-category-property): New function.
2834
2835 2012-08-17 Glenn Morris <rgm@gnu.org>
2836
2837 * mail/rmailout.el (rmail-output-read-file-name):
2838 Check rmail-output-file-alist against the full message body
2839 in the correct rmail buffer. (Bug#12214)
2840
2841 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2844 Eliminate superfluous prompt. (Bug#12203)
2845
2846 2012-08-17 Chong Yidong <cyd@gnu.org>
2847
2848 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2849 font spec, set the font directly (Bug#3228).
2850
2851 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2852
2853 * window.el (delete-window): Fix last fix.
2854
2855 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2856
2857 * window.el (window-valid-p): Move to window.c.
2858 (window-child, window-child-count, window-last-child)
2859 (window-normalize-window, window-combined-p)
2860 (window-combinations, window-atom-root, window-min-size)
2861 (window-sizable, window-sizable-p, window-size-fixed-p)
2862 (window-min-delta, window-max-delta, window--resizable)
2863 (window--resizable-p, window-resizable, window-total-size)
2864 (window-full-height-p, window-full-width-p, window-body-size)
2865 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2866 (minimize-window, window-deletable-p, delete-window)
2867 (delete-other-windows, set-window-buffer-start-and-point)
2868 (next-buffer, previous-buffer, split-window, balance-windows-2)
2869 (set-window-text-height, window-buffer-height)
2870 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2871 (truncated-partial-width-window-p): Minor code adjustments.
2872 In doc-strings state whether the argument window has to denote a
2873 live, valid or any window.
2874
2875 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2876
2877 * progmodes/subword.el (subword-forward-function)
2878 (subword-backward-function, subword-forward-regexp)
2879 (subword-backward-regexp): New variables.
2880 (subword-forward, subword-forward-internal, subword-backward-internal):
2881 Use new variables, eg so that different "word" definitions
2882 can be easily used. (Bug#11411)
2883
2884 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2887 for composite selectors.
2888 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2889 operation just because we can't find a previous revision.
2890
2891 2012-08-15 Chong Yidong <cyd@gnu.org>
2892
2893 * frame.el (set-frame-font): Accept font objects.
2894
2895 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2898
2899 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2900
2901 * man.el (Man-overstrike-face, Man-underline-face)
2902 (Man-reverse-face): Remove variables.
2903 (Man-overstrike, Man-underline, Man-reverse): New faces.
2904 (Man-fontify-manpage): Use them instead of the variables.
2905 (Man-cleanup-manpage): Comment change.
2906 (Man-ansi-color-map): New variable.
2907 (Man-fontify-manpage): Use it.
2908 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2909
2910 Implement ANSI SGR parameters 22-27 (bug#12146).
2911 * ansi-color.el (ansi-colors): Doc fix.
2912 (ansi-color-context, ansi-color-context-region): Doc fix.
2913 (ansi-color--find-face): New function.
2914 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2915 Rename the local variable `face' to `codes' since it is now a list of
2916 ansi codes. Doc fix.
2917 (ansi-color-get-face): Remove.
2918 (ansi-color-parse-sequence): New function, derived from
2919 ansi-color-get-face.
2920 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2921 codes 22-27.
2922
2923 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * subr.el (read-passwd): Allow use from a minibuffer.
2926
2927 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2928
2929 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2930 inside comments and strings as identifiers.
2931
2932 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2933 expression to evaluate. This allows to evaluate expressions with
2934 embedded whitespace.
2935 (gud-tooltip-tips): Add a blank before the newline in the
2936 message-box text, for the benefit of message-box emulation on
2937 MS-Windows.
2938
2939 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2940 messages from GDB, pop them up in a tooltip to give feedback to
2941 user.
2942 (gdb-tooltip-print-1): Quote the expression to evaluate.
2943 This allows to evaluate expressions with embedded whitespace.
2944 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2945 if the TTY name is nil or empty (which happens when communicating
2946 with the inferior via pipes, e.g. on MS-Windows).
2947 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2948 don't send that to the GUD buffer.
2949
2950 2012-08-14 Glenn Morris <rgm@gnu.org>
2951
2952 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2953 Optimize away setq-default with no args, as for setq. (Bug#12195)
2954
2955 2012-08-14 Chong Yidong <cyd@gnu.org>
2956
2957 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2958
2959 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2960 (Bug#12085).
2961
2962 2012-08-14 Glenn Morris <rgm@gnu.org>
2963
2964 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2965
2966 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2967
2968 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2969 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2970 Use cached shell name.
2971
2972 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2973
2974 * progmodes/python.el (python-shell-send-string):
2975 (python-shell-send-setup-code): Do not use `format' with `message'.
2976
2977 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2978
2979 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2980 (ruby-percent-literal-beg-re): New constant.
2981 (ruby-syntax-general-delimiters-goto-beg): Rename to
2982 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2983 (ruby-syntax-propertize-general-delimiters): Rename to
2984 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2985 popular term. Adjust comments everywhere.
2986 (ruby-syntax-propertize-percent-literal): Only propertize when not
2987 inside a simple string or comment. When the literal is unclosed,
2988 leave the text after it unpropertized.
2989 (ruby-syntax-methods-before-regexp): New constant.
2990 (ruby-syntax-propertize-function): Use it to recognize regexps.
2991 Don't look at the text after regexp, just use the whitelist.
2992
2993 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2994
2995 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2996 non-nil always load the compiled file if it exists. (Bug#12197)
2997
2998 2012-08-14 Chong Yidong <cyd@gnu.org>
2999
3000 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3001 (hi-lock-set-pattern): When deciding whether to use font lock or
3002 overlays, look at font-lock-mode instead of font-lock-fontified
3003 (Bug#12168).
3004 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3005 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3006
3007 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3008
3009 * subr.el (internal--after-with-selected-window): Fix typo
3010 (Bug#12193).
3011
3012 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3013
3014 Use `completion-table-dynamic' for completion functions.
3015 * progmodes/python.el
3016 (python-shell-completion--do-completion-at-point)
3017 (python-shell-completion--get-completions):
3018 Remove functions.
3019 (python-shell-completion-complete-at-point): New function.
3020 (python-completion-complete-at-point): Use it.
3021
3022 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3023
3024 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3025 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3026
3027 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * subr.el (function-get): Refine `autoload' arg so it can also
3030 autoload functions for gv.el (bug#12191).
3031 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3032 autoloads macros.
3033
3034 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3035 Prefer pcase-let over destructuring-bind.
3036 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3037 Also, remove whitespace as we go, rather than after accumulating the
3038 various places.
3039
3040 * subr.el (internal--before-with-selected-window)
3041 (internal--after-with-selected-window): Fix typo seleted->selected.
3042 (with-selected-window): Adjust callers.
3043 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3044
3045 2012-08-13 Bastien Guerry <bzg@gnu.org>
3046
3047 * window.el (special-display-popup-frame): Minor docstring
3048 enhancement. (Bug#12172)
3049
3050 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3051
3052 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3053 type 1-6.
3054 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3055 extended headers.
3056
3057 * files.el (hack-local-variables-filter): Remove useless eval.
3058
3059 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3060
3061 * subr.el (with-selected-window): Fix last change.
3062
3063 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 * subr.el (internal--before-with-seleted-window)
3066 (internal--after-with-seleted-window): New functions.
3067 (with-selected-window): Use them, to replace dependency on
3068 tty-top-frame.
3069
3070 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3071
3072 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3073 binding for `newline'.
3074 (ruby-move-to-block): When moving backward, stop at block opening,
3075 not indentation.
3076 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3077 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3078 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3079 `ruby-toggle-block'.
3080
3081 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * ibuffer.el (ibuffer-do-toggle-read-only):
3084 * dired.el (dired-toggle-read-only):
3085 * buff-menu.el (Buffer-menu-toggle-read-only):
3086 * bindings.el (mode-line-toggle-read-only):
3087 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3088
3089 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3090
3091 * descr-text.el (describe-char): Put the overlays over the
3092 "displayed as" character.
3093
3094 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3095
3096 * calc/calc-units.el (math-default-units-table): Give an
3097 initial value.
3098 (math-put-default-units): Add options to put composite units and
3099 unit systems in the default units table.
3100 (calc-convert-units): Send composite units to
3101 `math-put-default-units' when appropriate.
3102
3103 2012-08-11 Glenn Morris <rgm@gnu.org>
3104
3105 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3106
3107 * tutorial.el (help-with-tutorial):
3108 * emacs-lisp/copyright.el (copyright-update-directory):
3109 * emacs-lisp/autoload.el (autoload-find-generated-file)
3110 (autoload-find-file): Disable local eval: (for insurance).
3111
3112 * files.el (hack-local-variables-filter): If an eval: form is not
3113 known to be safe, and enable-local-variables is :safe, then ignore
3114 the form totally, as is done for non-eval forms. (Bug#12155)
3115 This is CVE-2012-3479.
3116
3117 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3120 (rx-form): Simplify.
3121
3122 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3123
3124 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3125 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3126 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3127 (ruby-syntax-propertize-function): Adjust for changes in
3128 `ruby-syntax-propertize-heredoc'.
3129
3130 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3131
3132 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3133 binding (use `M-;' instead).
3134 (ruby-singleton-class-p): New function.
3135 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3136
3137 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3140
3141 2012-08-10 Chong Yidong <cyd@gnu.org>
3142
3143 * progmodes/python.el (python-shell-get-process-name): Don't mess
3144 with same-window-buffer-names.
3145
3146 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3147 (eshell-remove-from-window-buffer-names): Make obsolete.
3148 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3149 (eshell): Just use pop-to-buffer-same-window instead.
3150
3151 2012-08-10 Chong Yidong <cyd@gnu.org>
3152
3153 * bindings.el: Bind M-= back to count-words-region.
3154
3155 * simple.el (count-words-region): Accept a prefix arg for acting
3156 on the entire buffer.
3157 (count-words--buffer-message): New helper function.
3158
3159 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3162 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3163 (event-start, event-end): Use posn-at-point to return a more
3164 informative posn.
3165 (posnp): New function.
3166 * mouse.el (popup-menu-normalize-position): Use it.
3167
3168 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3169
3170 * mouse.el (popup-menu-normalize-position): New function.
3171 (popup-menu): Use `popup-menu-normalize-position' to normalize
3172 the form for POSITION argument.
3173
3174 * term/x-win.el (x-menu-bar-open):
3175 Use the value returend from (posn-at-point) as position
3176 passed to `popup-menu'.
3177
3178 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3179
3180 * calc/calccomp.el (math-compose-expr): Add extra argument
3181 indicating that parentheses should be put around products in
3182 denominators. Give multiplication precedence over division during
3183 composition.
3184
3185 2012-08-09 Chong Yidong <cyd@gnu.org>
3186
3187 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3188 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3189 (Man-untabify-command, manual-program): Convert to defcustom
3190 (Bug#10429).
3191
3192 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3193
3194 * descr-text.el (describe-char): Don't insert extra newlines
3195 (Bug#10127).
3196
3197 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3198 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3199
3200 * align.el (align-region): Delete temporary markers (Bug#10047).
3201 Plus some code cleanups.
3202
3203 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3204
3205 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3206 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3207 (python-shell-internal-last-output): Use make-local-variable
3208 instead of make-variable-buffer-local.
3209
3210 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3211
3212 * progmodes/python.el: Enhancements to forward-sexp.
3213 (python-nav-forward-sexp): Rename from
3214 python-nav-forward-sexp-function.
3215 (python-nav--forward-sexp, python-nav--backward-sexp):
3216 New functions.
3217
3218 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3219
3220 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3221 modes and simplification modes.
3222
3223 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * delsel.el (delete-selection-pre-hook): Don't propagate the
3226 file-supersession signals (bug#12161).
3227
3228 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3231 (cl-map-extents): Add compatibility aliases (bug#12135).
3232
3233 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3236 tests by `ignore-error'.
3237 (tramp-find-shell): Open also a new shell, when cache is already
3238 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3239
3240 2012-08-08 Juri Linkov <juri@jurta.org>
3241
3242 * bookmark.el: Add `defaults' property to the bookmark record.
3243 (bookmark-current-buffer): Doc fix.
3244 (bookmark-make-record): Add `defaults' property with default values
3245 to the bookmark record.
3246 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3247 with `bookmark-insert-current-bookmark'.
3248 (bookmark-set): Get `defaults' property from the bookmark record
3249 and use it in `read-from-minibuffer'.
3250 (bookmark-insert-current-bookmark): Remove function.
3251
3252 * info.el (Info-bookmark-make-record): Add `defaults' property
3253 with values of canonical Info node name, the current Info file
3254 name and the current Info node name. (Bug#12107)
3255
3256 2012-08-08 Juri Linkov <juri@jurta.org>
3257
3258 * files.el (basic-save-buffer): Use `buffer-name' as the default
3259 of `read-file-name' when buffer is not visiting a file (bug#12128).
3260
3261 2012-08-08 Juri Linkov <juri@jurta.org>
3262
3263 * info.el (Info-isearch-search): Doc fix.
3264 (Info-search): Change search-failed message from "initial node" to
3265 "end of node" (bug#12078).
3266 (Info-isearch-search): Change `isearch-string-state' to
3267 `isearch--state-string'.
3268
3269 2012-08-08 Glenn Morris <rgm@gnu.org>
3270
3271 * language/persian.el: Remove file.
3272 * language/misc-lang.el: Move unique part of persian.el here.
3273 * loadup.el: Remove language/persian.
3274
3275 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3276
3277 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3278
3279 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3280
3281 * progmodes/python.el Fixed defsubst warning.
3282 (python-syntax-context) Rename from python-info-ppss-context.
3283 (python-syntax-context-type): Rename from
3284 python-info-ppss-context-type.
3285 (python-syntax-comment-or-string-p): Rename from
3286 python-info-ppss-comment-or-string-p.
3287
3288 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3289
3290 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3291
3292 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3293
3294 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3295 a defcustom that is quoted with backquote.
3296
3297 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3298 Fix handling of interactive spec when the body uses return.
3299 (math-do-arg-check, math-define-function-body): Use backquote forms.
3300 * calc/calc-ext.el (math-defcache): Likewise.
3301 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3302 * allout.el (allout-new-exposure): Likewise.
3303 * calc/calcalg2.el (math-tracing-integral): Likewise.
3304 * info.el (Info-last-menu-item): Likewise.
3305 * emulation/vip.el (vip-loop): Likewise.
3306 * textmodes/artist.el (artist-funcall): Likewise.
3307 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3308 Construct menu-item directly.
3309
3310 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3311 Don't declare.
3312
3313 2012-08-07 Chong Yidong <cyd@gnu.org>
3314
3315 * simple.el (deactivate-mark): Preserve text properties when
3316 saving the primary selection (Bug#8384).
3317
3318 2012-08-07 Kevin Ryde <user42@zip.com.au>
3319
3320 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3321 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3322 and continue processing (Bug#12110).
3323
3324 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3325
3326 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3327 syntax-propertize-function (bug#10095).
3328
3329 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3332 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3333 describe-function-1.
3334 (describe-function-1): Use them. Move compiler macro after sig.
3335 (help-fns--compiler-macro): Use function-get. Assume we're already in
3336 standard-output. Adjust layout to new call order.
3337
3338 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3339 re-binding a symbol that has a symbol-macro (bug#12119).
3340
3341 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3342
3343 * language/persian.el: New file. (Bug#11812)
3344 * loadup.el: Add language/persian.el.
3345
3346 2012-08-06 Chong Yidong <cyd@gnu.org>
3347
3348 * window.el (window--maybe-raise-frame): New function.
3349 (window--display-buffer): Split off from here.
3350 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3351 (display-buffer-pop-up-window, display-buffer-use-some-window):
3352 Obey an inhibit-switch-frame action alist entry.
3353 (display-buffer): Update doc.
3354
3355 * replace.el (occur-after-change-function): Avoid losing focus by
3356 using the inhibit-switch-frame display parameter (Bug#12139).
3357
3358 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3359
3360 Make internal shell process buffer names start with space.
3361 * progmodes/python.el (python-shell-make-comint): Add optional
3362 argument INTERNAL.
3363 (run-python-internal): Use it.
3364 (python-shell-internal-get-or-create-process): Check for new
3365 internal buffer names.
3366
3367 2012-08-06 Glenn Morris <rgm@gnu.org>
3368
3369 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3370 Do less getting and setting of environment variables.
3371
3372 2012-08-05 Chong Yidong <cyd@gnu.org>
3373
3374 * proced.el (proced): Add substitution string to docstring to
3375 trigger autoloading of the proced library on C-h f (Bug#1768).
3376
3377 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3378 Don't show defvars which have no second argument (Bug#8638).
3379
3380 * imenu.el (imenu-generic-expression): Move documentation here
3381 from imenu--generic-function.
3382 (imenu--generic-function): Refer to imenu-generic-expression.
3383
3384 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3385
3386 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3387 indentation declaration.
3388 (viper-loop): Add indentation declaration (Bug#7025).
3389
3390 2012-08-05 Chong Yidong <cyd@gnu.org>
3391
3392 * help-fns.el (describe-variable): Add hyperlink for
3393 directory-local variables files. Improve buffer-local and
3394 permanent-local reporting; suggested by MON KEY (Bug#6644).
3395
3396 * help-mode.el (help-dir-local-var-def): New button type.
3397
3398 * files.el (kill-buffer-hook): Provide a defvar.
3399
3400 2012-08-05 Glenn Morris <rgm@gnu.org>
3401
3402 * eshell/esh-ext.el (eshell/addpath):
3403 Also update eshell-path-env. (Bug#12013)
3404
3405 2012-08-05 Chong Yidong <cyd@gnu.org>
3406
3407 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3408
3409 * fringe.el (fringe-styles): Add docstring.
3410 (fringe--check-mode): New function.
3411 (set-fringe-mode, set-fringe-style): Use it.
3412 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3413
3414 * files.el (set-auto-mode): Fix invalid setq call.
3415
3416 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * isearch.el: Misc simplification; use defstruct.
3419 (isearch-mode-map): Dense maps now work like sparse ones.
3420 (isearch--state): New defstruct.
3421 (isearch-string-state, isearch-message-state, isearch-point-state)
3422 (isearch-success-state, isearch-forward-state)
3423 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3424 (isearch-wrapped-state, isearch-barrier-state)
3425 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3426 replaced by defstruct's accessors.
3427 (isearch--set-state): Rename from isearch-top-state and change
3428 calling convention.
3429 (isearch-push-state): Use new isearch--get-state.
3430 (isearch-toggle-word): Disable regexp when enabling word.
3431 (isearch-message-prefix): Remove unused arg _c-q-hack.
3432 (isearch-message-suffix): Remove unused arg _ellipsis.
3433
3434 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3435
3436 * simple.el (list-processes--refresh): For a server use :host or
3437 :local as the address.
3438 (list-processes): Doc fix.
3439
3440 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3441
3442 * lisp/mpc.el: Support password in host argument.
3443 (mpc--proc-connect): Parse and use new password element.
3444 Set mpc-proc variable instead of returning process.
3445 (mpc-proc): Adjust accordingly.
3446
3447 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3448
3449 * whitespace.el (whitespace-display-mappings): Use Unicode
3450 codepoints, instead of emacs-mule codepoints. See
3451 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3452 for the details.
3453
3454 * files.el (file-truename): Don't skip symlink-chasing part on
3455 windows-nt. Incorporate the resolution of 8+3 short aliases on
3456 Windows into the loop that recursively chases symlinks.
3457 Compare directory and its parent case-insensitively on MS-Windows and
3458 MS-DOS.
3459
3460 2012-08-03 Chong Yidong <cyd@gnu.org>
3461
3462 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3463
3464 * sort.el (sort-regexp-fields): Doc fix.
3465
3466 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3467
3468 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3469 labels regex position point at the expected place.
3470
3471 2012-08-03 MON KEY <monkey@sandpframing.com>
3472
3473 * net/imap.el (imap-interactive-login, imap-authenticate)
3474 (imap-mailbox-lsub, imap-mailbox-list)
3475 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3476 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3477 (imap-parse-response): Doc fix.
3478
3479 2012-08-03 João Távora <joaotavora@gmail.com>
3480
3481 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3482 if sexp scanning does not move point (Bug#5734).
3483
3484 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3485
3486 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3487 Add listings, minted, and ctable packages.
3488 (reftex-label-alist-builtin): Move listings, minted, and ctable
3489 entries before LaTeX.
3490 (reftex-label-alist): Docfix.
3491
3492 2012-08-02 Bastien Guerry <bzg@gnu.org>
3493
3494 * replace.el (occur): Fix docstring (bug#12122).
3495
3496 2012-08-02 Glenn Morris <rgm@gnu.org>
3497
3498 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3499
3500 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3503 * international/mule-cmds.el: Create
3504 inactivate-current-input-method-function as an obsolete alias for
3505 deactivate-current-input-method-function. See Katsumi Yamaoka in
3506 <http://bugs.gnu.org/10150#46>.
3507
3508 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3509
3510 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3511 of nested `if's.
3512
3513 2012-08-01 Glenn Morris <rgm@gnu.org>
3514
3515 * progmodes/autoconf.el (autoconf-definition-regexp):
3516 Add AH_TEMPLATE, adjust submatch numbering.
3517 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3518 (autoconf-current-defun-function): Update for above change.
3519 (autoconf-current-defun-function): First skip to end of current word.
3520
3521 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3522
3523 * calendar/cal-html.el (cal-html-insert-agenda-days):
3524 Fix typo. (Bug#12018)
3525
3526 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3527
3528 Shell processes: enhancements to startup and CEDET compatibility.
3529 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3530 (python-shell-make-comint): accept-process-output at startup.
3531 (run-python-internal): Set inferior-python-mode-hook to nil.
3532 (python-shell-internal-get-or-create-process): call sit-for.
3533 (python-preoutput-result): Add obsolete alias.
3534 (python-shell-internal-send-string): Use it.
3535 (python-shell-send-setup-code): Remove call to
3536 accept-process-output.
3537
3538 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3539
3540 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3541 (Bug#12108)
3542
3543 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3544
3545 * calc-mode.el (calc-basic-simplification-mode): Rename from
3546 `calc-limited-simplification-mode'.
3547 (calc-alg-simplification-mode): New function.
3548 (calc-set-simplify-mode): Adjust message.
3549
3550 * calc.el (calc-set-mode-line): Adjust mode line display for
3551 basic simplification mode.
3552
3553 * calc-help.el (calc-m-prefix-help): Update help message.
3554
3555 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3556 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3557
3558 2012-07-31 Bastien Guerry <bzg@gnu.org>
3559
3560 * man.el (man): Fix comment. (bug#12101)
3561
3562 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3563
3564 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3565 Don't return a non-nil value when no suitable buffer was found.
3566
3567 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3568
3569 * progmodes/python.el (run-python-internal): Disable font lock for
3570 internal shells.
3571
3572 2012-07-30 Stefan Merten <smerten@oekonux.de>
3573
3574 * textmodes/rst.el: Silence `checkdoc-ispell'.
3575 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3576 (rst-official-version, rst-official-cvs-rev)
3577 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3578 (rst-mode-map): New key binding.
3579
3580 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3581
3582 Update .PHONY listings in makefiles.
3583 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3584 autoloads, update-subdirs, updates, bzr-update, update-authors,
3585 compile-onefile, compile-calc, backup-compiled-files,
3586 compile-after-backup, compile-one-process, mh-autoloads,
3587 bootstrap-clean, distclean, maintainer-clean.
3588
3589 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3590
3591 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3592 (calc-set-mode-line): Don't display "AlgSimp ".
3593
3594 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3595 (calc-lim-simplify-mode): New function.
3596 (calc-set-simplify-mode): Default to 'alg.
3597 (calc-default-simplify-mode): Make algebraic simplifications
3598 the default.
3599
3600 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3601 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3602
3603 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3604 indicate new simplification modes.
3605
3606 * calc/README: Mention new default simplification mode.
3607
3608 * calc/calc.el (math-normalize-error): New variable.
3609 (math-normalize): Set `math-normalize-error' to t
3610 when there's an error.
3611
3612 * calc/calc-alg.el (math-simplify): Don't simplify when
3613 `math-normalize' returns an error.
3614
3615 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3616
3617 * international/mule-cmds.el (set-locale-environment): Revert last
3618 change, since display-graphic-p returns nil when this function is
3619 called during startup. Instead...
3620
3621 * term/w32console.el (terminal-init-w32console): ...setup the
3622 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3623
3624 2012-07-29 Juri Linkov <juri@jurta.org>
3625
3626 * simple.el (goto-line): Don't display default line number in the
3627 prompt because it should be displayed by `read-number' (bug#9952).
3628 Add the current line number to the defaults of `goto-line' to
3629 allow its easier modification by users with `M-n' (bug#9201).
3630
3631 * subr.el (read-number): Support multiple default values like in
3632 other minibuffer reading functions. Replace `read' with
3633 `string-to-number' for consistency with `number-to-string'.
3634
3635 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3636
3637 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3638 * emulation/viper-init.el (viper-deactivate-input-method-action):
3639 Rename from viper-inactivate-input-method-action.
3640 (viper-deactivate-input-method):
3641 Rename from viper-inactivate-input-method.
3642 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3643 * international/mule-cmds.el (deactivate-input-method):
3644 Rename from inactivate-input-method.
3645 Also run input-method-deactivate-hook.
3646 (deactivate-current-input-method-function):
3647 Rename from inactivate-current-input-method-function.
3648 (input-method-deactivate-hook): New hook.
3649 (input-method-inactivate-hook): Mark obsolete.
3650 (inactivate-input-method): Mark obsolete.
3651
3652 * international/quail.el (quail-activate):
3653 Also run quail-deactivate-hook.
3654 (quail-deactivate): Rename from quail-inactivate.
3655 * international/robin.el (robin-activate):
3656 Also run robin-deactivate-hook.
3657 (robin-deactivate): Rename from robin-inactivate.
3658
3659 2012-07-29 Chong Yidong <cyd@gnu.org>
3660
3661 * simple.el (indicate-copied-region): New function.
3662 (kill-ring-save): Split off from here.
3663
3664 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3665 (kill-rectangle): Set deactivate-mark to t on read-only error.
3666
3667 * register.el (copy-to-register, copy-rectangle-to-register):
3668 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3669 (append-to-register, prepend-to-register): Call indicate-copied-region.
3670
3671 2012-07-29 Juri Linkov <juri@jurta.org>
3672
3673 * simple.el (async-shell-command-buffer): New defcustom.
3674 (shell-command): Use it. (Bug#4719)
3675
3676 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3677
3678 * international/mule-cmds.el (set-locale-environment): In a
3679 console session on MS-Windows, set up keyboard and terminal
3680 encoding from the OEM codepage, not the ANSI codepage.
3681 (Bug#12055)
3682
3683 2012-07-28 Chong Yidong <cyd@gnu.org>
3684
3685 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3686 gdb-get-location.
3687
3688 2012-07-28 Leo Liu <sdl.web@gmail.com>
3689
3690 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3691 the alist (bug#12029).
3692
3693 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3694
3695 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3696 (compile-always, compile-first)
3697 ($(lisp)/calendar/cal-loaddefs.el)
3698 ($(lisp)/calendar/diary-loaddefs.el)
3699 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3700 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3701 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3702 instead of on update-subdirs.
3703 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3704
3705 2012-07-28 Chong Yidong <cyd@gnu.org>
3706
3707 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3708 directory if vc-deduce-backend returns nil (Bug#7350).
3709
3710 * simple.el (delete-trailing-lines): New option.
3711 (delete-trailing-whitespace): Obey it (Bug#11879).
3712
3713 2012-07-28 David Engster <deng@randomsample.de>
3714
3715 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3716 Explanation of new 'symbol-qnames feature in doc-strings.
3717 (xml-maybe-do-ns): Return expanded names as plain symbols if
3718 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3719 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3720
3721 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3722
3723 Consistent completion in inferior python with emacs -nw.
3724 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3725 binding in inferior-python-mode-map with "\t".
3726 (python-shell-completion-complete-at-point)
3727 (python-completion-complete-at-point): Remove interactive spec.
3728
3729 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3730
3731 * calc/calccomp.el (math-compose-expr): Undo previous change.
3732
3733 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3734
3735 * progmodes/python.el (python-mode-map): Add keybinding for
3736 run-python.
3737 (python-shell-make-comint): Fix pop-to-buffer call.
3738 (run-python): Autoload. New arg SHOW.
3739 (python-shell-get-or-create-process): Do not pop python process
3740 buffer.
3741
3742 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3743
3744 * notifications.el (notifications-on-action-signal)
3745 (notifications-on-closed-signal): Use also the bus address for the map.
3746 (notifications-notify, notifications-close-notification)
3747 (notifications-get-capabilities): Add optional argument BUS.
3748
3749 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3750
3751 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3752 Add support for the lstlisting and minted environments, and for the
3753 ctable macro.
3754 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3755 labels written in keyvals syntax.
3756
3757 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3758
3759 * calc/calccomp.el (math-compose-expr): Use parentheses when
3760 there is a product in the denominator of a fraction.
3761
3762 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3763
3764 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3765 ($(lisp)/calendar/diary-loaddefs.el)
3766 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3767 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3768 Fixes failures in parallel bootstrap because subdirs.el is being
3769 rewritten while the autoload files are built at the same time,
3770 which needs to load subdirs.el.
3771
3772 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3773
3774 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3775 (mouse-drag-line): Don't exit tracking when a switch-frame or
3776 switch-window event occurs (Bug#12006).
3777
3778 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * mouse.el (popup-menu): Fix last change.
3781
3782 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 Autoload from Lisp with more care. Follow aliases when looking for
3785 function properties.
3786 * subr.el (autoloadp): New function.
3787 (symbol-file): Use it.
3788 (function-get): New function.
3789 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3790 autoload-do-load.
3791 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3792 (lisp-indent-function):
3793 * emacs-lisp/gv.el (gv-get):
3794 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3795 * emacs-lisp/byte-opt.el (byte-optimize-form):
3796 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3797 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3798 Use function-get.
3799 * emacs-lisp/cl.el: Don't propagate function properties any more.
3800
3801 * speedbar.el (speedbar-add-localized-speedbar-support):
3802 * emacs-lisp/disass.el (disassemble-internal):
3803 * desktop.el (desktop-load-file):
3804 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3805 (describe-function-1):
3806 * emacs-lisp/find-func.el (find-function-noselect):
3807 * emacs-lisp/elp.el (elp-instrument-function):
3808 * emacs-lisp/advice.el (ad-has-proper-definition):
3809 * apropos.el (apropos-safe-documentation, apropos-macrop):
3810 * emacs-lisp/debug.el (debug-on-entry):
3811 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3812 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3813 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3814
3815 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3816
3817 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3818 function, not an obsolete variable (Bug#12046).
3819
3820 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3821
3822 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3823
3824 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3825
3826 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3827 window only if it is still live (Bug#12034).
3828
3829 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3830
3831 * subr.el (redirect-frame-focus): Add advertised calling
3832 convention (Bug#12030).
3833
3834 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3835
3836 Prefer typical American spelling for "acknowledgment".
3837 * vc/add-log.el (change-log-acknowledgment): Rename from
3838 change-log-acknowledgement, with an alias for the old name.
3839
3840 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3841
3842 * calc-alg.el (math-simplify-divide): Don't cross multiply
3843 in an equation when the lhs is a variable.
3844
3845 2012-07-24 Julien Danjou <julien@danjou.info>
3846
3847 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3848 Remove, unused.
3849
3850 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3851
3852 * startup.el (command-line): Don't display an empty user name in
3853 the error message about non-existent home directory, when
3854 init-file-user was set to an empty string. See
3855 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3856 for the details and context.
3857
3858 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3859
3860 * ses.el (ses-cell-formula-aset): New macro.
3861 (ses-cell-references-aset): New macro.
3862 (ses-cell-p): New function.
3863 (ses-rename-cell): Do no longer rely on complex operations like
3864 ses-cell-set-formula or ses-set-cell to change the cell and handle
3865 the undo at the same time, but rather use lower level new macros
3866 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3867 the undo directly. Refresh the mode line.
3868
3869 2012-07-21 Leo Liu <sdl.web@gmail.com>
3870
3871 * progmodes/cc-cmds.el (c-defun-name):
3872 Use match-string-no-properties instead for consistency.
3873
3874 2012-07-20 Leo Liu <sdl.web@gmail.com>
3875
3876 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3877 (Bug#7879)
3878
3879 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3880
3881 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3884 * progmodes/bug-reference.el, misearch.el: Provide themselves
3885 (bug#11915).
3886
3887 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3888 of narrowed buffer (bug#11966).
3889
3890 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3891
3892 * ses.el (ses-rename-cell): Set new name also in reference list of
3893 cells of which the renamed cell depends.
3894
3895 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3896
3897 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3898 to check whether menu-bar is shown or not. If not shown,
3899 show the menu-bar as a popup menu instead of using tmm.
3900 * mouse.el (popup-menu): Accept `point' as `position' argument.
3901
3902 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3905 up inside string symbol literal (bug#11923).
3906
3907 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3908
3909 * startup.el (fancy-startup-text): Read the whole tutorial, not
3910 just its first 256 bytes. Prevents gibberish in display of the
3911 tutorial title.
3912
3913 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3914
3915 Drop idle buffer compaction due to an absence of the
3916 proved efficiency.
3917 * compact.el: Remove.
3918
3919 2012-07-19 Sam Steingold <sds@gnu.org>
3920
3921 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3922 vc-bzr-pull & vc-bzr-merge-branch.
3923 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3924 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3925 for consistency with compilation-error-regexp-alist.
3926 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3927 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3928 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3929 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3930
3931 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * emacs-lisp/chart.el: Use lexical-binding.
3934 (chart-emacs-storage): Don't hardcode the list of entries.
3935
3936 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3937
3938 Next round of tweaks caused by Fgarbage_collect changes.
3939 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3940
3941 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3942
3943 Compact buffers when idle.
3944 * compact.el: New file.
3945
3946 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * subr.el (eventp): Presume that if it looks vaguely like an event,
3949 it's an event (bug#10190).
3950
3951 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3952
3953 Enhancements to ppss related code (thanks Stefan).
3954 * progmodes/python.el (python-indent-context)
3955 (python-indent-calculate-indentation, python-indent-dedent-line)
3956 (python-indent-electric-colon, python-nav-forward-block)
3957 (python-mode-abbrev-table)
3958 (python-info-assignment-continuation-line-p): Simplify checks
3959 for ppss context.
3960 (python-info-continuation-line-p): Cleanup.
3961 (python-info-ppss-context): Do not catch 'quote.
3962 (python-info-ppss-context-type)
3963 (python-info-ppss-comment-or-string-p): Simplify.
3964
3965 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3966
3967 * progmodes/python.el: Enhancements to eldoc support.
3968 (python-info-current-symbol): New function.
3969 (python-eldoc-at-point): Use python-info-current-symbol.
3970 (python-info-current-defun): Fix cornercase on first defun scan.
3971 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3972 and signal error when no inferior python process is available.
3973
3974 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3975
3976 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3977 assume it's always t.
3978 (vc-git-registered): Remove caching, the function is only called
3979 once.
3980 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3981
3982 2012-07-18 Chong Yidong <cyd@gnu.org>
3983
3984 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3985
3986 * simple.el (count-words): Report on narrowing (Bug#9959).
3987
3988 * bindings.el: Bind M-= to count-words.
3989
3990 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3991
3992 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3993
3994 * progmodes/sh-script.el (sh-imenu-generic-expression):
3995 Capture a function with `function' keyword and without parentheses
3996 like "function FOO" (bug#11856).
3997
3998 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3999
4000 * window.el (split-window-sensibly): Make WINDOW argument
4001 optional.
4002
4003 2012-07-18 Chong Yidong <cyd@gnu.org>
4004
4005 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4006
4007 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4008 and make C-x 8 RET exit isearch (Bug#11439).
4009
4010 * international/iso-transl.el: Move isearch-mode-map key
4011 definitions to isearch.el.
4012
4013 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4016 (eieio-defclass): Use gv-define-setter when possible.
4017
4018 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4019
4020 Reflect recent changes in Fgarbage_collect.
4021 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4022 reflect new format of data returned by Fgarbage_collect.
4023
4024 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4025
4026 New utility functions + python-info-ppss-context fix (Bug#11910).
4027 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4028 (python-info-ppss-comment-or-string-p): New functions.
4029 (python-info-ppss-context): Small fix for string check.
4030
4031 2012-07-17 Juri Linkov <juri@jurta.org>
4032
4033 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4034 (dired-do-async-shell-command): Don't add `*' at the end of the
4035 command (Bug#11815).
4036 (dired-do-shell-command): Doc fix.
4037 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4038 Join the individual commands using either "&" or ";" as the
4039 separator depending on the values of these trailing characters.
4040 At the end re-add the trailing "&". (Bug#10598)
4041
4042 * simple.el (async-shell-command): Sync the interactive spec with
4043 `shell-command'. Doc fix.
4044 (shell-command): Doc fix.
4045
4046 2012-07-17 Juri Linkov <juri@jurta.org>
4047
4048 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4049
4050 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4051
4052 Final renames and doc fixes for movement commands (bug#11899).
4053 * progmodes/python.el (python-nav-beginning-of-statement):
4054 Rename from python-nav-statement-start.
4055 (python-nav-end-of-statement): Rename from
4056 python-nav-statement-end.
4057 (python-nav-beginning-of-block): Rename from
4058 python-nav-block-start.
4059 (python-nav-end-of-block): Rename from python-nav-block-end.
4060
4061 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4062
4063 * progmodes/python.el (python-shell-send-string-no-output):
4064 Allow accept-process-output to quit, keeping shell process ready for
4065 future interactions (Bug#11868).
4066
4067 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4070
4071 * emacs-lisp/elint.el (elint-find-args-in-code):
4072 Use help-function-arglist, so as to handle lexical byte-code.
4073
4074 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4075 change (bug#11826).
4076
4077 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4080 Avoid spuriously marking the buffer as modified because of c-is-sws.
4081
4082 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4083 as not-a-comment (bug#11946).
4084
4085 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4086 for uninterned vars.
4087
4088 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4089 Use read-event since we don't really want to read chars but bytes.
4090
4091 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4092 $$..$$ but also $..$ using regexps (bug#11953).
4093 Use tex-verbatim for \url and \path.
4094 (tex-font-lock-keywords): Define as defconst like the others.
4095 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4096
4097 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4098
4099 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4100 alias for insert-char.
4101
4102 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4103
4104 * progmodes/python.el: Simplified imenu implementation.
4105 (python-nav-jump-to-defun): Remove command.
4106 (python-mode-map): Use `imenu' instead.
4107 (python-nav-list-defun-positions-cache)
4108 (python-imenu-include-defun-type, python-imenu-make-tree)
4109 (python-imenu-subtree-root-label, python-imenu-index-alist):
4110 Remove vars.
4111 (python-nav-list-defun-positions, python-nav-read-defun)
4112 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4113 (python-imenu-make-tree, python-imenu-create-index):
4114 Remove functions.
4115 (python-mode): Update to interact with imenu by setting
4116 `imenu-extract-index-name-function' only.
4117
4118 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4119
4120 * progmodes/python.el: Enhancements to navigation commands.
4121 (python-nav-backward-sentence)
4122 (python-nav-forward-sentence): Remove.
4123 (python-nav-backward-statement, python-nav-forward-statement)
4124 (python-nav-statement-start, python-nav-statement-end)
4125 (python-nav-backward-block, python-nav-forward-block)
4126 (python-nav-block-start, python-nav-block-end)
4127 (python-nav-forward-sexp-function)
4128 (python-info-current-line-comment-p)
4129 (python-info-current-line-empty-p): New functions.
4130 (python-indent-context): Use `python-nav-statement-start'.
4131
4132 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4133
4134 * eshell/em-ls.el (eshell/ls): Use `apply'.
4135
4136 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4137 multi-hops, instead of Tramp internals.
4138
4139 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4140
4141 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4142 when F1 and F2 are located on different hosts.
4143
4144 2012-07-14 Chong Yidong <cyd@gnu.org>
4145
4146 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4147 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4148 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4149 (xterm-mouse--read-event-sequence-1000)
4150 (xterm-mouse--read-event-sequence-1006): New functions. For old
4151 mouse protocol, handle M-mouse-X events correctly.
4152 (xterm-mouse-event): New arg specifying mouse protocol.
4153 (turn-on-xterm-mouse-tracking-on-terminal)
4154 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4155 sequence to toggle extended coordinates on newer XTerms.
4156 This appears to be harmless on terminals which do not support this.
4157
4158 2012-07-14 Leo Liu <sdl.web@gmail.com>
4159
4160 Add fringe bitmap indicators for flymake. (Bug#11253)
4161 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4162 (flymake-make-overlay): New arg BITMAP.
4163 (flymake-error-bitmap, flymake-warning-bitmap)
4164 (flymake-fringe-indicator-position): New user variables.
4165
4166 * fringe.el: New bitmap exclamation-mark.
4167
4168 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4169
4170 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4171 also (Bug#7879).
4172
4173 2012-07-14 Chong Yidong <cyd@gnu.org>
4174
4175 * electric.el (electric-pair-post-self-insert-function): Fix pair
4176 insertion in empty-region case (Bug#11520).
4177
4178 2012-07-14 Chong Yidong <cyd@gnu.org>
4179
4180 * bindings.el: Consolidate ctl-x-r-map bindings.
4181 Bind copy-rectangle-as-kill to C-x r w.
4182
4183 * rect.el, register.el: Move bindings to bindings.el.
4184
4185 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4186
4187 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4188
4189 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4190
4191 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4192
4193 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * bindings.el (top): Use `mapc' instead of `mapcar'.
4196
4197 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4198
4199 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4200
4201 * progmodes/sql.el (sql-comint): Suppress the check for program on
4202 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4203 (Bug#11908)
4204
4205 2012-07-13 Chong Yidong <cyd@gnu.org>
4206
4207 * bindings.el: Assign a non-nil permanent-local property to
4208 per-buffer variables which lack a default value (Bug#11930).
4209
4210 * help-fns.el (describe-variable): In the "automatically becomes
4211 local" notice, take note of permanent-local variables.
4212
4213 2012-07-13 Chong Yidong <cyd@gnu.org>
4214
4215 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4216 to allow printing the message when called from Lisp.
4217
4218 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4219 Remove toggle-read-only.
4220
4221 * bs.el (bs-toggle-readonly):
4222 * buff-menu.el (Buffer-menu-toggle-read-only):
4223 Remove with-no-warnings around toggle-read-only.
4224
4225 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4226 Remove with-no-warnings around toggle-read-only.
4227 (ffap-read-only, ffap-read-only-other-window)
4228 (ffap-read-only-other-frame): Callers changed.
4229
4230 * help-mode.el: Don't require view package.
4231 (help-mode-finish): Set buffer-read-only instead of calling
4232 toggle-read-only.
4233
4234 * bindings.el (mode-line-toggle-read-only):
4235 * dired.el (dired-toggle-read-only):
4236 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4237 with non-nil second arg.
4238
4239 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4240 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4241 directly.
4242
4243 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4244
4245 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4246 not incf.
4247
4248 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 More CL cleanups and reduction of use of cl.el.
4251 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4252 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4253 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4254 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4255 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4256 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4257 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4258 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4259 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4260 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4261 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4262 * eshell/em-cmpl.el, eshell/em-banner.el:
4263 * calendar/parse-time.el: Use cl-lib.
4264 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4265 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4266 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4267 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4268 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4269 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4270 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4271 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4272 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4273 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4274 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4275 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4276 `lambda' rather than with `quote'.
4277 (eshell-do-opt): Adjust accordingly.
4278 (eshell-process-option): Simplify.
4279 * eshell/esh-var.el:
4280 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4281 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4282 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4283 to `pcase--dontcare'.
4284 * emacs-lisp/cl.el (labels): Mark obsolete.
4285 (cl--letf, letf): Move to cl-lib.
4286 (cl--letf*, letf*): Remove.
4287 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4288 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4289 (cl-progv): Rewrite.
4290 (cl--letf, cl-letf): Move from cl.el.
4291 (cl-letf*): New macro.
4292 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4293
4294 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4297
4298 2012-07-11 Chong Yidong <cyd@gnu.org>
4299
4300 * vc/log-edit.el (log-edit-vc-backend): New variable.
4301 (log-edit): Doc fix.
4302
4303 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4304 argument of log-edit to set up all local variables.
4305 (vc-start-logentry): New optional arg specifying VC backend.
4306
4307 * vc/vc.el (vc-checkin): Use it.
4308 (vc-deduce-fileset): Handle Log Edit buffers.
4309 (vc-diff): Make first argument optional too.
4310
4311 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4312
4313 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4316 command, just in case. The function is not needed anymore.
4317 (eshell-external-command): Do not call `eshell-remote-command'.
4318
4319 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 Reduce use of (require 'cl).
4322 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4323 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4324 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4325 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4326 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4327 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4328 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4329 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4330 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4331 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4332 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4333 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4334 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4335 (byte-compile-unfold-bcf, byte-compile-check-variable):
4336 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4337 (byte-compile-nilconstp):
4338 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4339 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4340
4341 * emacs-lisp/gv.el (cond): Make it a valid place.
4342 (if): Simplify slightly.
4343
4344 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4345 (pcase--self-quoting-p): New function.
4346 (pcase--u1): Use it.
4347
4348 2012-07-10 Glenn Morris <rgm@gnu.org>
4349
4350 * emacs-lisp/authors.el (authors-fixed-entries):
4351 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4352
4353 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4354
4355 Rename configure.in to configure.ac (Bug#11603).
4356 * emacs-lisp/authors.el (authors-canonical-file-name):
4357 * progmodes/autoconf.el (autoconf-mode):
4358 Prefer configure.ac to configure.in.
4359
4360 2012-07-08 Chong Yidong <cyd@gnu.org>
4361
4362 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4363 Implement the mouse-1-click-follows-link handling properly.
4364
4365 * info.el (Info-link-keymap): Use follow-link mechanism for
4366 header-line links (Bug#374).
4367
4368 * simple.el (deactivate-mark): Do not set the primary selection
4369 if another program has acquired it (Bug#11772).
4370
4371 2012-07-07 Kevin Ryde <user42@zip.com.au>
4372
4373 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4374 (woman-decode-region): Replace escaped-escapes without destroying
4375 bold or underline (Bug#11552).
4376 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4377
4378 2012-07-07 Chong Yidong <cyd@gnu.org>
4379
4380 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4381 (interprogram-cut-function, interprogram-paste-function):
4382 Mention that we typically mean the clipboard.
4383
4384 2012-07-06 Glenn Morris <rgm@gnu.org>
4385
4386 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4387
4388 * files.el (toggle-read-only): Restrict message to interactive use.
4389
4390 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4393
4394 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4395
4396 2012-07-06 Glenn Morris <rgm@gnu.org>
4397
4398 * Makefile.in (compile-one-process): Rename from "recompile".
4399
4400 * Makefile.in (bzr-update): "compile" is the same as "recompile
4401 autoloads", but parallelizable, so use that instead.
4402
4403 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4404
4405 * window.el (quit-window): Always restore window height when
4406 it's saved in quit-restore parameter (Bug#11810).
4407
4408 2012-07-06 Glenn Morris <rgm@gnu.org>
4409
4410 * simple.el (kill-whole-line): Doc tweak.
4411
4412 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4413
4414 * files.el (file-relative-name): Compare file names
4415 case-insensitively if on MS-Windows or MS-DOS, or if
4416 read-file-name-completion-ignore-case is non-nil. Don't use
4417 case-fold-search for this purpose. (Bug#11827)
4418
4419 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4420
4421 * calendar/cal-dst.el (calendar-current-time-zone):
4422 Return calendar-current-time-zone-cache if non-nil.
4423
4424 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4425 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4426
4427 * calendar/cal-dst.el (calendar-current-time-zone):
4428 Return calendar-current-time-zone-cache if non-nil.
4429
4430 2012-07-06 Glenn Morris <rgm@gnu.org>
4431
4432 * Makefile.in (cvs-update): Remove old alias.
4433
4434 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4435
4436 Sync with Tramp 2.2.6-pre.
4437
4438 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4439 compatible declaration.
4440
4441 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4442 Protect `list-load-path-shadows' call.
4443
4444 * net/tramp-compat.el (top): Require packages, which aren't
4445 autoloaded anymore for XEmacs. Protect call of
4446 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4447 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4448 it hurts at least for SXEmacs.
4449 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4450 standard-value for `temporary-file-directory'.
4451
4452 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4453 Redirect stderr to /dev/null.
4454 (tramp-sh-handle-write-region): uid and gid can be floats.
4455 Reported by Russell Sim <russell.sim@gmail.com>.
4456 (tramp-sh-handle-vc-registered): Hide errors.
4457 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4458 and `start-file-process'.
4459 (tramp-maybe-open-connection): Check also whether `non-essential'
4460 is bound.
4461
4462 2012-07-04 Chong Yidong <cyd@gnu.org>
4463
4464 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4465 (xml-parse-tag): Likewise, and avoid changing entity tables.
4466 (xml-syntax-table): Define from scratch, making sure not to give
4467 x2000 and other Unicode spaces whitespace syntax, since those are
4468 not spaces in XML.
4469 (xml-parse-fragment): Delete unused function.
4470 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4471 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4472 (xml-entity-ref, xml-pe-reference-re)
4473 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4474 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4475 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4476 (xml-entity-value-re): Use syntax references in regexps where
4477 possible; no need to define inside a let-binding.
4478 (xml-parse-dtd): Use xml-pe-reference-re.
4479 (xml-entity-or-char-ref-re): New defconst.
4480 (xml-parse-string, xml-substitute-special): Use it.
4481
4482 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4485 (find-file--read-only): New function.
4486 (find-file-read-only, find-file-read-only-other-window)
4487 (find-file-read-only-other-frame): Use it.
4488 (insert-file-contents-literally): Don't `fset'.
4489 (get-free-disk-space): Use locate-dominating-file.
4490
4491 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4492 function is already compiled.
4493
4494 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4495
4496 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4497
4498 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4499 files on the same host.
4500
4501 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4502
4503 * help-fns.el (describe-function-1): Only call
4504 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4505
4506 2012-07-03 Chong Yidong <cyd@gnu.org>
4507
4508 * xml.el: Protect parser against XML bombs.
4509 (xml-entity-expansion-limit): New variable.
4510 (xml-parse-string, xml-substitute-special): Use it.
4511 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4512
4513 2012-07-03 Glenn Morris <rgm@gnu.org>
4514
4515 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4516 Allow linking to specific messages in debbugs reports (eg 123#5).
4517
4518 2012-07-02 Chong Yidong <cyd@gnu.org>
4519
4520 * xml.el: Fix entity and character reference expansion, allowing
4521 them to expand into markup as per XML spec.
4522 (xml-default-ns): New variable.
4523 (xml-entity-alist): Use XML spec definitions for lt and amp.
4524 (xml-parse-region): Make first two arguments optional.
4525 Discard text properties.
4526 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4527 All callers changed.
4528 (xml-parse-tag): Call xml-parse-tag-1. For backward
4529 compatibility, this function should not modify buffer contents.
4530 (xml-parse-tag-1): Fix opening-tag regexp.
4531 (xml-parse-string): Rewrite, handling entity and character
4532 references properly.
4533 (xml--entity-replacement-text): Signal an error if a parameter
4534 entity is undefined.
4535
4536 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * comint.el (comint-output-filter): Filter out repeated prompts.
4539
4540 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4541 and file-name-absolute-p.
4542 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4543 internal calls.
4544
4545 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4546
4547 Spelling fixes.
4548 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4549 Rename from byte-compile--refiy-function. All uses changed.
4550
4551 2012-07-01 Chong Yidong <cyd@gnu.org>
4552
4553 * xml.el (xml--parse-buffer): New function. Move most of
4554 xml-parse-region here.
4555 (xml-parse-region): Copy region into a temporary buffer, since
4556 parameter entity substitution requires changing buffer contents.
4557 Use xml--parse-buffer.
4558 (xml-parse-file): Use xml--parse-buffer.
4559 (xml-parse-dtd): Make parameter entity substitution work right.
4560 Use proper regexps for ELEMENT declarations (Bug#7172).
4561
4562 2012-06-30 Glenn Morris <rgm@gnu.org>
4563
4564 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4565
4566 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4567 Remove outdated and unnecessary dbus declarations.
4568
4569 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4570
4571 * emacs-lisp/timer.el (timer-until): Subtract results of
4572 float-time, instead of taking float-time of the result of
4573 time-subtract, since float-time signals an error for negative time
4574 arguments.
4575
4576 2012-06-30 Chong Yidong <cyd@gnu.org>
4577
4578 * xml.el (xml-*-re): Convert defvars into defconsts, and
4579 eval-and-compile them so eval-and-compile works on derivatives.
4580 (xml--entity-replacement-text): Use eval-and-comple.
4581
4582 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * vc/vc-git.el (vc-git-registered): Use cache property
4585 `git-registered'.
4586 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4587 `vc-git-working-revision' in order to benefit from the cache.
4588 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4589
4590 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4591
4592 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4593 removed (likely outside Emacs). (Bug#11757)
4594
4595 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 * emacs-lisp/cl-lib.el: Require macroexp.
4598
4599 2012-06-30 Chong Yidong <cyd@gnu.org>
4600
4601 * xml.el: Implement XML parameter entities.
4602 (xml-parameter-entity-alist): New variable.
4603 (xml-parse-region, xml-parse-fragment): Preserve previous values
4604 of xml-entity-alist and xml-parameter-entity-alist, so that
4605 repeated calls on different documents do not change them.
4606 (xml-parse-tag): Fix doctype regexp.
4607 (xml--entity-replacement-text): New function.
4608 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4609 properly requires url retrieval which is unimplemented.
4610 (xml-escape-string): Doc fix.
4611
4612 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4615
4616 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4617
4618 * fringe.el (fringe-mode): Doc fix.
4619
4620 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4621
4622 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4623 is non-nil.
4624 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4625 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4626
4627 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4628
4629 * calendar/cal-dst.el (calendar-current-time-zone):
4630 Return calendar-current-time-zone-cache if non-nil.
4631
4632 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4633
4634 * progmodes/which-func.el (which-func-format):
4635 Add mouse-face. (Bug#11698)
4636
4637 2012-06-29 Leo Liu <sdl.web@gmail.com>
4638
4639 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4640
4641 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * minibuffer.el (minibuffer-confirm-exit-commands):
4644 Add completion-at-point (bug#11725).
4645
4646 2012-06-29 Glenn Morris <rgm@gnu.org>
4647
4648 * progmodes/f90.el (f90-font-lock-keywords-2):
4649 Add some preprocessor elements. (Bug#10499)
4650
4651 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4654 Use syntax-propertize (bug#11739).
4655
4656 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4657
4658 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4659
4660 2012-06-28 Julien Danjou <julien@danjou.info>
4661
4662 * term.el (term-handle-colors-array): Use a set of new faces to
4663 color the terminal. Also uses :inverse-video property.
4664 (term-default-fg-color): Set to nil by default, deprecate in favor
4665 of `term-face'.
4666 (term-default-bg-color): Set to nil by default, deprecate in favor
4667 of `term-face'.
4668 (term-current-face): Use `term-face' by default.
4669 (term-bold-attribute): Variable deleted.
4670
4671 2012-06-28 Glenn Morris <rgm@gnu.org>
4672
4673 * simple.el (completion-list-mode-finish):
4674 Don't use toggle-read-only. (Since completion-list-mode has
4675 a special mode-class, it wasn't doing anything extra anyway.)
4676
4677 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 Make inlining of other-mode interpreted functions work (bug#11799).
4680 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4681 (byte-compile): Use it to fix compilation of lexical-binding closures.
4682 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4683 function, if needed.
4684
4685 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * help-mode.el (help-make-xrefs): Don't just withstand
4688 cyclic-variable-indirection but any error in documentation-property.
4689
4690 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4691 memory use.
4692 * bindings.el (bindings--define-key): New function.
4693 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4694 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4695 * bindings.el: Use it to purecopy define-key bindings.
4696
4697 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4698
4699 * emacs-lisp/cl.el (flet): Mark obsolete.
4700 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4701 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4702 * progmodes/js.el (js-c-fill-paragraph):
4703 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4704 (ebrowse-switch-member-buffer-to-derived-class):
4705 * play/5x5.el (5x5-solver): Use cl-flet.
4706
4707 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4708 (cl--symbol-function): New macro.
4709 (cl--letf, cl--letf*): Use it.
4710
4711 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4712 Strip "toggle-" if any.
4713
4714 2012-06-27 Glenn Morris <rgm@gnu.org>
4715
4716 * info.el (Info-default-directory-list): Move here from paths.el.
4717 * paths.el: Remove file, which is now empty.
4718 * loadup.el: No longer load "paths".
4719
4720 * custom.el (custom-initialize-delay): Doc fix.
4721
4722 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4723 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4724 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4725 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4726 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4727 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4728 * eshell/eshell.el (eshell-defgroup): Remove alias.
4729
4730 2012-06-27 Chong Yidong <cyd@gnu.org>
4731
4732 * help.el (help-enable-auto-load): New variable.
4733
4734 * help-fns.el (help-fns--autoloaded-p): New function.
4735 (describe-function-1): Refer to a function as "autoloaded" if it
4736 was autoloaded at any time in the past. Perform autoloading if
4737 help-enable-auto-load is non-nil.
4738
4739 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4740
4741 * makefile.w32-in (compile, compile-always): Depend on
4742 update-subdirs, not on subdirs.el. Otherwise, several different
4743 sub-targets of 'bootstrap' running in parallel could
4744 simultaneously write to subdirs.el, producing a garbled file.
4745
4746 2012-06-26 Sam Steingold <sds@gnu.org>
4747
4748 * files.el (file-name-base): New convenience function.
4749 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4750 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4751 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4752 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4753 * textmodes/ispell.el, textmodes/reftex-ref.el:
4754 * textmodes/tex-mode.el: Use it.
4755 Did not touch cedet and org because they are maintained elsewhere.
4756
4757 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4758
4759 * calendar/calendar.el (calendar-exit): Don't try to delete or
4760 iconify last frame. See:
4761 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4762
4763 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4764
4765 * server.el (server-process-filter): Remember dir in the
4766 process's `server-client-directory' properties.
4767
4768 2012-06-24 Chong Yidong <cyd@gnu.org>
4769
4770 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4771 non-tag text.
4772
4773 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4776
4777 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * help-fns.el (describe-variable): Don't croak when doc is not found.
4780 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4781 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4782 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4783 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4784 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4785 ((lambda ..) ..).
4786 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4787
4788 2012-06-23 Chong Yidong <cyd@gnu.org>
4789
4790 * info.el (Info-mouse-follow-link): Accept symbol values of
4791 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4792 (Info-fontify-node): Use Info-link-keymap for all navigation
4793 buttons, with link-args property to perform the desired action.
4794 (Info-link-keymap): Doc fix.
4795 (Info-next-link-keymap, Info-prev-link-keymap)
4796 (Info-up-link-keymap): Delete now-unused keymaps.
4797
4798 2012-06-23 Chong Yidong <cyd@gnu.org>
4799
4800 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4801
4802 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4803 system abbrevs.
4804
4805 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4806
4807 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4808
4809 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4810 (bug#11719).
4811
4812 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4813 the requote function doesn't work properly (bug#11714).
4814
4815 2012-06-23 Glenn Morris <rgm@gnu.org>
4816
4817 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4818
4819 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 Further GV/CL cleanups.
4822 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4823 gv-expander.
4824 (gv--defun-declaration): New function.
4825 (defun-declarations-alist): Use it.
4826 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4827 (gv-place): Autoload.
4828 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4829 original definition of dotimes and dolist.
4830 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4831 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4832 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4833 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4834 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4835 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4836 to the function's definition.
4837 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4838 * window.el:
4839 * files.el:
4840 * faces.el:
4841 * env.el: Don't use CL.
4842
4843 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4844
4845 Support higher-resolution time stamps (Bug#9000).
4846
4847 * calendar/time-date.el (with-decoded-time-value): New arg
4848 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4849 (encode-time-value): New optional arg PICO. New type 3.
4850 (time-to-seconds) [!float-time]: Support the new picoseconds
4851 component if it's used.
4852 (seconds-to-time, time-subtract, time-add):
4853 Support ps-resolution time stamps as well.
4854
4855 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4856 (timerp): Timer vectors now have length 9, not 8.
4857 (timer--time): Support new-style (4-part) time stamps.
4858 (timer-next-integral-multiple-of-time): Time stamps now have
4859 picosecond resolution, so take a bit more care about rounding.
4860 (timer-relative-time, timer-inc-time): New optional arg psecs.
4861 (timer-set-time-with-usecs): Set psecs to 0.
4862 (timer--activate): Check psecs component, too.
4863
4864 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4865
4866 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4869 Move the non-essential binding to the post/pre-command-hook where it is
4870 more obviously correct.
4871
4872 * subr.el (read-passwd): Don't use a history at all.
4873 * savehist.el (savehist-save): Remove password saved accidentally
4874 because of the above bug.
4875
4876 2012-06-22 Bastien Guerry <bzg@gnu.org>
4877
4878 * files.el (toggle-read-only): Display a message telling whether
4879 the buffer is read-only or not (bug#11726).
4880
4881 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * emacs-lisp/gv.el: New file.
4884 * subr.el (push, pop): Extend to generalized variables.
4885 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4886 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4887 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4888 gv-define-simple-setter, and gv-define-expander.
4889 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4890 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4891 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4892 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4893 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4894 gv-letplace.
4895 (cl-defstruct): Don't define setf-method any more.
4896 * emacs-lisp/cl.el (flet): Don't autoload.
4897 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4898 (define-setf-expander, defsetf, define-modify-macro)
4899 (cl-struct-setf-expander): Move from cl-lib.el.
4900 * emacs-lisp/syntax.el:
4901 * emacs-lisp/ewoc.el:
4902 * emacs-lisp/smie.el:
4903 * emacs-lisp/cconv.el:
4904 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4905 (timer--time): Use gv-define-simple-setter.
4906 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4907 to avoid coding-system problems in subr.el. Adjust all users.
4908 (macroexp--maxsize, macroexp-small-p): New functions.
4909 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4910 * scroll-bar.el (scroll-bar-mode):
4911 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4912 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4913 * winner.el (winner-configuration, winner-make-point-alist)
4914 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4915 * files.el (locate-file-completion-table): Avoid list*.
4916
4917 2012-06-22 Chong Yidong <cyd@gnu.org>
4918
4919 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4920 (dired-create-files): Doc fix (Bug#11329).
4921 (dired-do-copy): Doc fix (Bug#11334).
4922 (dired-mark-read-string): Doc fix (Bug#11553).
4923
4924 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4925 Doc fix (Bug#11326).
4926 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4927 (dired-dwim-target): Doc fix.
4928
4929 * wdired.el (wdired-mode): Doc fix.
4930
4931 2012-06-22 Glenn Morris <rgm@gnu.org>
4932
4933 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4934 (pcmpl-rpm-cache-stamp-file): New constant.
4935 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4936 (pcmpl-rpm-packages): Optionally cache list of packages.
4937
4938 * pcmpl-rpm.el (pcmpl-rpm): New group.
4939 (pcmpl-rpm-query-options): New option.
4940 (pcmpl-rpm-packages): No need to inline it.
4941 Use pcmpl-rpm-query-options.
4942
4943 * calendar/calendar.el (calendar-in-read-only-buffer):
4944 Avoid some needless mode changes.
4945
4946 2012-06-21 Chong Yidong <cyd@gnu.org>
4947
4948 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4949 (desktop-path): Remove . from the default value (Bug#10977).
4950 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4951
4952 2012-06-20 Chong Yidong <cyd@gnu.org>
4953
4954 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4955
4956 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4957
4958 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4959 (bug#11201).
4960
4961 2012-06-20 Chong Yidong <cyd@gnu.org>
4962
4963 * term.el (term-window-width): Handle the case of a missing right
4964 fringe (Bug#8837).
4965 (term-check-size): Use window-text-height (Bug#5445).
4966 (term-mode): Use define-derived-mode. Minor cleanups.
4967 Set font-lock-defaults (Bug#7692).
4968 (term-move-columns, term-insert-char, term-emulate-terminal)
4969 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4970
4971 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4972
4973 * net/ange-ftp.el (ange-ftp-get-passwd):
4974 Bind `enable-recursive-minibuffers'.
4975 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4976
4977 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4978
4979 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4980
4981 2012-06-19 Glenn Morris <rgm@gnu.org>
4982
4983 * progmodes/python.el (python-mode): Derive from prog-mode.
4984
4985 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4986
4987 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4988 (edt-user-menu-bar-update-buffers): New functions.
4989 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4990
4991 2012-06-19 Chong Yidong <cyd@gnu.org>
4992
4993 * subr.el (with-selected-window): Preserve the selected window's
4994 terminal's top-frame (Bug#4702).
4995
4996 * window.el (save-selected-window): Likewise.
4997
4998 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * progmodes/python.el (python-rx-constituents): Move backquote.
5001 (python-skeleton-define, python-define-auxiliary-skeleton):
5002 Use `declare'.
5003
5004 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5005
5006 * minibuffer.el (read-file-name-default): Revert the patch from
5007 2012-06-17.
5008
5009 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5012 (pcase--u1, pcase--q1): Don't use apply-partially.
5013
5014 2012-06-18 Glenn Morris <rgm@gnu.org>
5015
5016 * progmodes/python.el (python-proc, python-buffer)
5017 (python-send-receive, python-send-string): Fix obsolete versions.
5018
5019 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5020
5021 * window.el (special-display-p): Completely remove stringp
5022 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5023
5024 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5025
5026 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5027
5028 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5029
5030 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5031 * net/tramp-sh.el (tramp-maybe-open-connection):
5032 Throw if `non-essential' is non-nil.
5033
5034 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5035
5036 * window.el (special-display-p): Signal an error if BUFFER-NAME
5037 is not a string (Bug#11713).
5038
5039 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5040
5041 * progmodes/python.el (python-info-beginning-of-backslash):
5042 Rename from python-info-beginning-of-backlash, as a spelling fix.
5043
5044 2012-06-17 Chong Yidong <cyd@gnu.org>
5045
5046 * term.el (term-emulate-terminal): If term-check-size is called,
5047 move point to the process mark without resetting point (Bug#4635).
5048
5049 2012-06-17 Glenn Morris <rgm@gnu.org>
5050
5051 * international/mule-cmds.el (mule-menu-keymap)
5052 (set-language-environment, set-locale-environment): Doc tweaks.
5053
5054 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5055
5056 * cus-face.el (custom-face-attributes): Add wave-style underline
5057 attribute.
5058 * faces.el (set-face-attribute): Update docstring to describe
5059 wave-style underline attribute.
5060
5061 2012-06-16 Chong Yidong <cyd@gnu.org>
5062
5063 * term/xterm.el (terminal-init-xterm): Discard input before
5064 querying background mode (Bug#10959).
5065
5066 2012-06-16 Stefan Merten <smerten@oekonux.de>
5067
5068 * textmodes/rst.el: Added and corrected some comments.
5069 (rst-re-alist-def): Improve symbol syntax.
5070 (rst-mode-syntax-table): Correct syntax entries.
5071 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5072 (rst-official-version, rst-official-cvs-rev): Update version
5073 information.
5074
5075 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5076
5077 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5078 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5079
5080 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5081
5082 * progmodes/python.el: New python.el merge.
5083 (python-guess-indent): Obsolete var.
5084 (python-indent-guess-indent-offset): New defcustom.
5085 (python-indent): Obsolete var.
5086 (python-indent-offset): New defcustom.
5087 (python-python-command, python-jython-command): Delete var.
5088 (python-shell-interpreter): New defcustom.
5089 (python-pdbtrack-do-tracking-p): Delete var.
5090 (python-pdbtrack-activate): New defcustom.
5091 (python-use-skeletons): Obsolete var.
5092 (python-skeleton-autoinsert): New defcustom.
5093 (inferior-python-filter-regexp, python-continuation-offset)
5094 (python-honour-comment-indentation, python-indent-string-contents)
5095 (python-jython-packages, python-mode-hook)
5096 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5097 (python-shell-prompt-alist)
5098 (python-source-modes): Delete defcustoms.
5099 (python-check-buffer-name, python-eldoc-setup-code)
5100 (python-eldoc-string-code, python-ffap-setup-code)
5101 (python-ffap-string-code, python-fill-comment-function)
5102 (python-fill-decorator-function, python-fill-paren-function)
5103 (python-fill-string-function, python-imenu-include-defun-type)
5104 (python-imenu-make-tree, python-imenu-subtree-root-label)
5105 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5106 (python-shell-compilation-regexp-alist)
5107 (python-shell-completion-module-string-code)
5108 (python-shell-completion-pdb-string-code)
5109 (python-shell-completion-setup-code)
5110 (python-shell-completion-string-code)
5111 (python-shell-enable-font-lock, python-shell-exec-path)
5112 (python-shell-extra-pythonpaths)
5113 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5114 (python-shell-process-environment)
5115 (python-shell-prompt-block-regexp)
5116 (python-shell-prompt-output-regexp)
5117 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5118 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5119 (python-shell-virtualenv-path): New defcustoms.
5120 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5121 (inferior-python-mode-syntax-table, python--prompt-regexp)
5122 (python-buffer, python-command python-python-command)
5123 (python-default-template, python-imports, python-indent-index)
5124 (python-indent-list, python-indent-list-length)
5125 (python-mode-running, python-pdbtrack-is-tracking-p)
5126 (python-preoutput-continuation, python-preoutput-leftover)
5127 (python-preoutput-result, python-preoutput-skip-next-prompt)
5128 (python-prev-dir/file, python-recursing)
5129 (python-saved-check-command, python-version-checked)
5130 (python-which-func-length-limit)
5131 (view-return-to-alist): Delete vars.
5132 (python-check-custom-command, python-dotty-syntax-table)
5133 (python-imenu-index-alist, python-indent-current-level)
5134 (python-indent-dedenters, python-indent-levels)
5135 (python-nav-beginning-of-defun-regexp)
5136 (python-nav-list-defun-positions-cache)
5137 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5138 (python-shell-internal-buffer)
5139 (python-skeleton-available): New vars.
5140 (def-python-skeleton): Delete macro.
5141 (python-skeleton-define): New macro.
5142 (python-define-auxiliary-skeleton, python-rx): New macros.
5143 (python-insert-class): Delete command.
5144 (python-skeleton-class): New command.
5145 (python-insert-def): Delete command.
5146 (python-skeleton-def): New command.
5147 (python-insert-for): Delete command.
5148 (python-skeleton-for): New command.
5149 (python-insert-if): Delete command.
5150 (python-skeleton-if): New command.
5151 (python-insert-try/except, python-insert-try/finally): Delete commands.
5152 (python-skeleton-try): New command.
5153 (python-insert-while): Delete command.
5154 (python-skeleton-while): New command.
5155 (python-backspace): Delete command.
5156 (python-indent-dedent-line-backspace): New command.
5157 (python-electric-colon): Delete command.
5158 (python-indent-electric-colon): New command.
5159 (python-guess-indent): Delete command.
5160 (python-indent-guess-indent-offset): New command.
5161 (python-shift-left): Delete command.
5162 (python-indent-shift-left): New command.
5163 (python-shift-right): Delete command.
5164 (python-indent-shift-right): New command.
5165 (python-find-function): Delete command.
5166 (python-nav-jump-to-defun): New command.
5167 (python-next-statement): Delete command.
5168 (python-nav-forward-sentence): New command.
5169 (python-previous-statement): Delete command.
5170 (python-nav-backward-sentence): New command.
5171 (python-fill-paragraph): Delete command.
5172 (python-fill-paragraph-function): New command.
5173 (python-send-buffer): Delete command.
5174 (python-shell-send-buffer): New command.
5175 (python-send-defun): Delete command.
5176 (python-shell-send-defun): New command.
5177 (python-send-region, python-send-region-and-go): Delete commands.
5178 (python-shell-send-region)
5179 (python-shell-switch-to-shell): New commands.
5180 (python-send-string): Delete command.
5181 (python-shell-send-string): New command.
5182 (python-switch-to-python): Delete command.
5183 (python-shell-switch-to-shell): New command.
5184 (python-describe-symbol): Delete command.
5185 (python-eldoc-at-point): New command.
5186 (python--set-prompt-regexp, python-args-to-list)
5187 (python-after-info-look, python-check-version)
5188 (python-check-comint-prompt, python-find-imports)
5189 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5190 (python-unload-function, python-expand-template)
5191 (python-maybe-jython, python-preoutput-filter)
5192 (python-pdbtrack-get-source-buffer)
5193 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5194 (python-pdbtrack-toggle-stack-tracking)
5195 (python-pdbtrack-track-stack-file, python-initial-text)
5196 (python-first-word, python-comment-line-p, python-send-command)
5197 (python-setup-brm, python-sentinel, python-set-proc)
5198 (python-skip-out, python-input-filter, python-outdent-p)
5199 (python-outline-level, python-backslash-continuation-line-p)
5200 (python-end-of-block, python-end-of-statement, python-mark-block)
5201 (python-beginning-of-block, python-beginning-of-statement)
5202 (python-blank-line-p, python-beginning-of-string)
5203 (python-open-block-statement-p): Delete functions.
5204 (python-indent-line, python-indent-line-1): Delete functions.
5205 (python-indent-line): New function.
5206 (python-indentation-levels): Delete function.
5207 (python-indent-calculate-levels): New function.
5208 (python-proc): Delete function.
5209 (python-shell-get-process): New function.
5210 (python-send-receive): Delete function.
5211 (python-shell-send-string-no-output): New function.
5212 (python-module-path): Delete function.
5213 (python-ffap-module-path): New function.
5214 (python-completion-at-point)
5215 (python-symbol-completions): Delete functions.
5216 (python-completion-complete-at-point): New function.
5217 (python-load-file): Delete function.
5218 (python-shell-send-file): New function.
5219 (python-calculate-indentation): Delete function.
5220 (python-indent-calculate-indentation): New function.
5221 (python-skip-comments/blanks): Delete function.
5222 (python-util-forward-comment): New function.
5223 (python-continuation-line-p): Delete function.
5224 (python-info-continuation-line-p): New function.
5225 (python-which-func, python-current-defun): Delete function.
5226 (python-info-current-defun): New function.
5227 (python-beginning-of-defun): Delete function.
5228 (python-nav-beginning-of-defun): New function.
5229 (python-close-block-statement-p)
5230 (python-block-end-p): Delete function.
5231 (python-info-closing-block): New function.
5232 (python-comint-output-filter-function)
5233 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5234 (python-fill-comment, python-fill-decorator, python-fill-paren)
5235 (python-fill-string, python-imenu-make-element-tree)
5236 (python-imenu-make-tree, python-imenu-tree-assoc)
5237 (python-indent-context, python-indent-dedent-line)
5238 (python-indent-line-function)
5239 (python-indent-post-self-insert-function)
5240 (python-indent-toggle-levels)
5241 (python-info-assignment-continuation-line-p)
5242 (python-info-beginning-of-backlash)
5243 (python-info-block-continuation-line-p)
5244 (python-info-closing-block-message)
5245 (python-info-line-ends-backslash-p)
5246 (python-info-looking-at-beginning-of-defun)
5247 (python-info-ppss-context, python-info-ppss-context-type)
5248 (python-nav-list-defun-positions, python-nav-read-defun)
5249 (python-nav-sentence-end, python-nav-sentence-start)
5250 (python-pdbtrack-comint-output-filter-function)
5251 (python-pdbtrack-set-tracked-buffer)
5252 (python-shell-calculate-exec-path)
5253 (python-shell-calculate-process-environment)
5254 (python-shell-completion--do-completion-at-point)
5255 (python-shell-completion--get-completions)
5256 (python-shell-completion-complete-at-point)
5257 (python-shell-completion-complete-or-indent)
5258 (python-shell-get-or-create-process)
5259 (python-shell-get-process-name)
5260 (python-shell-internal-get-or-create-process)
5261 (python-shell-internal-get-process-name)
5262 (python-shell-internal-send-string, python-shell-make-comint)
5263 (python-shell-parse-command, python-shell-send-setup-code)
5264 (python-skeleton-add-menu-items)
5265 (python-util-clone-local-variables, python-util-position)
5266 (run-python-internal, python-indentation-levels)
5267 (python-nav-beginning-of-defun)
5268 (python-completion-complete-at-point): New functions.
5269 (run-python): Change arguments. New API requirements.
5270
5271 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5274 (bug#11649).
5275
5276 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5277 (macroexp--expand-all): Use it.
5278
5279 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5280 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5281 Use `cl-function' instead.
5282
5283 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5284
5285 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5286 Suggested by Stefan Monnier while discussing bug#11657.
5287
5288 2012-06-14 Sam Steingold <sds@gnu.org>
5289
5290 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5291
5292 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5293
5294 * play/doctor.el (doctor-doc): Remove parameter and use
5295 doctor-sent instead of sent.
5296 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5297
5298 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * files.el: Require cl-lib.
5301 (file-name-non-special): Replace case -> cl-case.
5302
5303 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5304
5305 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5306 mapping from #' to function*.
5307
5308 2012-06-13 Chong Yidong <cyd@gnu.org>
5309
5310 * mouse.el (mouse-drag-track): Do not set the mark if the user
5311 releases the mouse without selecting anything (Bug#11588).
5312
5313 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5316 as well (bug#11646).
5317
5318 * loadup.el: Count byte-code functions as well.
5319
5320 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5321 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5322
5323 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5324 (bug#11649). Add cl-defun and cl-defmacro.
5325
5326 2012-06-13 Drew Adams <drew.adams@oracle.com>
5327
5328 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5329 Fix last change.
5330
5331 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5332
5333 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5334 Otherwise, it blocks in batch mode.
5335
5336 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5337
5338 * help-mode.el (bookmark-make-record-default): Declare.
5339
5340 2012-06-13 Chong Yidong <cyd@gnu.org>
5341
5342 * emacs-lisp/package.el (list-packages): Compute a list of
5343 packages that are newly-available since the last list-packages
5344 invocation.
5345 (package-menu--new-package-list): New var.
5346 (package-menu--generate, package-menu--print-info)
5347 (package-menu--status-predicate, package-menu-mark-install):
5348 Handle new status label "new".
5349
5350 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5353 conversion to backquotes.
5354
5355 2012-06-12 Chong Yidong <cyd@gnu.org>
5356
5357 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5358 Rename from gud-inhibit-global-bindings.
5359
5360 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5361
5362 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5363 hook from nxml-glyph-set-hook.
5364
5365 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5366 declaration.
5367
5368 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5369
5370 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5371 Convert to defcustom.
5372
5373 2012-06-12 Drew Adams <drew.adams@oracle.com>
5374
5375 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5376 New functions.
5377 (help-mode): Use them.
5378
5379 2012-06-11 Glenn Morris <rgm@gnu.org>
5380
5381 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5382 Use preprocessor face for directives.
5383 (fortran-directive-re): Doc fix.
5384
5385 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5388 conversion to backquotes (bug#11652).
5389
5390 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5391 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5392 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5393 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5394 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5395 (cl-ninth, cl-tenth): Mark them as inlinable.
5396 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5397 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5398 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5399 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5400 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5401 (cl-list*, cl-adjoin): Don't put an autoload manually.
5402 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5403 (cl--compiler-macro-list*): Add autoload cookie.
5404 (cl--compiler-macro-cXXr): New function.
5405
5406 * help-fns.el (help-fns--compiler-macro): New function extracted from
5407 describe-function-1; follow aliases and use `compiler-macro' property.
5408 (describe-function-1): Use it.
5409
5410 2012-06-11 Chong Yidong <cyd@gnu.org>
5411
5412 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5413 is uninstalled, if imagemagick is installed.
5414
5415 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * emacs-lisp/cl-lib.el: Use lexical-binding.
5418 (cl-map-extents, cl-maclisp-member): Remove.
5419 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5420 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5421 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5422 * emacs-lisp/cl-extra.el: Use lexical-binding.
5423 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5424 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5425 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5426 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5427 * emacs-lisp/cl-seq.el: Use lexical-binding.
5428 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5429 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5430 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5431 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5432 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5433 CL's internals.
5434
5435 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5436
5437 Sync with Tramp 2.2.6-pre.
5438
5439 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5440 `print-length' and `print-level' to nil, in order to avoid
5441 truncation. Reported by Christopher Schmidt
5442 <christopher@ristopher.com>.
5443
5444 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5445
5446 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5447 New defmacro.
5448 (tramp-compat-copy-directory): Add optional argument
5449 COPY-CONTENTS. It is not handled yet.
5450
5451 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5452 (tramp-ftp-file-name-p): Simplify.
5453
5454 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5455 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5456 connection vector.
5457
5458 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5459 (tramp-methods): Do not use `tramp-password-end-of-line'.
5460 (tramp-completion-function-alist-putty): Handle UNIX case.
5461 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5462 (tramp-do-file-attributes-with-stat)
5463 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5464 gid as real numbers. They could run out of integer range on cygwin.
5465 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5466 (tramp-sh-handle-expand-file-name): Handle hops.
5467 (tramp-open-connection-setup-interactive-shell):
5468 Use `tramp-cleanup'. Move check for busyboxes ...
5469 (tramp-find-shell): ... here. Simplify implementation.
5470 Set "remote-shell" property also for alternative shells.
5471 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5472 If failing, a regular file would be written otherwise.
5473 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5474 (tramp-find-inline-encoding): Cache the coding commands in the
5475 process cache. Apply test command on the remote side, if defined.
5476 (tramp-find-inline-compress): Cache the compress commands in the
5477 process cache.
5478 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5479 when requested. Handle hops.
5480 (tramp-current-connection): New defvar.
5481 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5482 Throw `suppress', if there was a failed connection shortly before.
5483 Handle user interrupt. (Bug#10187)
5484 (tramp-get-inline-compress, tramp-get-inline-coding):
5485 Read connection properties from the process cache.
5486
5487 * net/tramp-smb.el (tramp-smb-server-version)
5488 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5489 New defconsts.
5490 (tramp-smb-prompt): Extend for powershell prompt.
5491 (tramp-smb-file-name-handler-alist): Add handlers for
5492 `process-file', `shell-command' and `start-file-process'.
5493 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5494 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5495 (tramp-smb-file-name-p): Simplify.
5496 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5497 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5498 (tramp-smb-shell-quote-argument): New defuns.
5499 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5500 Implement using "tar". By this, time-stamps are preserved.
5501 (tramp-smb-handle-copy-file): Handle also the case of directories.
5502 (tramp-smb-do-file-attributes-with-stat)
5503 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5504 Use `tramp-get-connection-buffer').
5505 (tramp-smb-handle-rename-file): Use "rename", when source and
5506 target are on the same share.
5507 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5508 Use `tramp-smb-server-version'.
5509 (tramp-smb-wait-for-output): Remove prompt.
5510
5511 * net/tramp.el (top): Require 'cl.
5512 (tramp-methods, tramp-rsh-end-of-line):
5513 Remove `tramp-password-end-of-line' from docstring.
5514 (tramp-save-ad-hoc-proxies): New defcustom.
5515 (tramp-completion-function-alist): Adapt docstring.
5516 (tramp-default-password-end-of-line): Remove defcustom.
5517 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5518 (tramp-user-regexp, tramp-file-name-regexp-unified)
5519 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5520 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5521 (tramp-remote-file-name-spec-regexp): New defconst.
5522 (tramp-file-name-structure): Extend structure for hops.
5523 (tramp-get-method-parameter): Move up.
5524 (tramp-file-name-p, tramp-dissect-file-name)
5525 (with-parsed-tramp-file-name): Handle hops.
5526 (tramp-file-name-hop): New defun.
5527 (tramp-make-tramp-file-name): New optional arg HOP.
5528 (tramp-message-show-progress-reporter-message): New defvar.
5529 (tramp-with-progress-reporter): Use it. We cannot use
5530 `tramp-message-show-message' here, because this suppresses also
5531 error buffers.
5532 (tramp-error-with-buffer): Suppress buffer view, if
5533 `tramp-message-show-message' is nil.
5534 Use `tramp-get-connection-buffer'.
5535 (tramp-cleanup): New defun.
5536 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5537 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5538 an error unchanged.
5539 (tramp-completion-handle-file-name-all-completions): Handle hops.
5540 Fix an error when called from ido.
5541 (tramp-completion-dissect-file-name): Use better local variable
5542 name. Add hop to the vector.
5543 (tramp-handle-insert-file-contents): Use progress-reporter for the
5544 whole scenario.
5545 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5546 to `t'.
5547 (tramp-check-for-regexp): Simplify search.
5548 (tramp-enter-password): Remove it. Move implementation ...
5549 (tramp-action-password): ... here.
5550 (tramp-mode-string-to-int, tramp-local-host-p)
5551 (tramp-make-tramp-temp-file, tramp-read-passwd)
5552 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5553 Set tramp-autoload cookie.
5554
5555 * net/trampver.el: Update release number.
5556
5557 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5558 Michael Albinus <michael.albinus@gmx.de>
5559
5560 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5561 (tramp-parse-group, tramp-parse-file)
5562 (tramp-parse-shostkeys-sknownhosts): New defuns.
5563 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5564 (tramp-parse-shosts-group, tramp-parse-sconfig)
5565 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5566 (tramp-parse-sknownhosts, tramp-parse-hosts)
5567 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5568 Use them.
5569 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5570 (tramp-parse-putty-group): Don't narrow.
5571 (tramp-parse-putty): Make a loop.
5572 (tramp-file-name-handler): Catch the `suppress' signal.
5573
5574 2012-06-11 Chong Yidong <cyd@gnu.org>
5575
5576 * image.el (imagemagick-register-types): Put the ImageMagick entry
5577 at the end of image-type-file-name-regexps.
5578
5579 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5580
5581 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5582 (pcase, pcase-let*, pcase-dolist): Use them.
5583
5584 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * emacs-lisp/pcase.el (pcase--let*): New function.
5587 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5588 (pcase--expand): Use macroexp-let².
5589
5590 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5593 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5594 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5595 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5596 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5597 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5598
5599 2012-06-10 Glenn Morris <rgm@gnu.org>
5600
5601 * mail/rmail.el (rmail-yank-current-message): Leave point at
5602 correct position. (Bug#11660)
5603
5604 2012-06-10 Chong Yidong <cyd@gnu.org>
5605
5606 * allout-widgets.el: Fix code header.
5607
5608 2012-06-10 Chong Yidong <cyd@gnu.org>
5609
5610 * cus-edit.el (customize-changed-options-previous-release):
5611 Bump to 24.1.
5612
5613 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5614
5615 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5616
5617 2012-06-09 Chong Yidong <cyd@gnu.org>
5618
5619 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5620
5621 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5622
5623 * window.el (special-display-popup-frame): Don't use
5624 window--display-buffer (Bug#11651).
5625
5626 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5627
5628 Fix parallel builds: make sure loaddefs.el is not being written
5629 while Lisp files are compiled.
5630 (compile): Don't depend on 'mh-autoloads'.
5631 (compile-CMD, compile-SH): Depend on 'autoloads'.
5632 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5633
5634 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5635
5636 2012-06-09 Chong Yidong <cyd@gnu.org>
5637
5638 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5639 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5640 Doc fixes (Bug#11225).
5641
5642 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5645 a function if there's a clear indication that it has a compiler-macro.
5646 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5647 (macro-declarations-alist): Add arglist to declaration functions.
5648 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5649 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5650 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5651 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5652 Also add autoload to find the compiler macro.
5653 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5654 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5655 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5656 (cl--compiler-macro-get): New functions, replacing calls to
5657 cl-define-compiler-macro.
5658 (cl-typep) [compiler-macro]: Use macroexp-let².
5659
5660 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5661
5662 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5663 string properly, fixes Bug#11473.
5664
5665 2012-06-08 Chong Yidong <cyd@gnu.org>
5666
5667 * faces.el (set-face-attribute): Doc fix.
5668 (modify-face): Don't use :bold and :italic.
5669 (error, warning, success): Tweak definitions.
5670
5671 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5672 (custom-modified, custom-set, custom-changed, custom-themed)
5673 (custom-saved, custom-button, custom-button-mouse)
5674 (custom-button-pressed, custom-state, custom-comment-tag)
5675 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5676 (custom-group-subtitle): Use new-style face specs.
5677 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5678 (custom-set-face, custom-changed-face, custom-saved-face)
5679 (custom-button-face, custom-button-pressed-face)
5680 (custom-documentation-face, custom-state-face)
5681 (custom-comment-face, custom-comment-tag-face)
5682 (custom-variable-tag-face, custom-variable-button-face)
5683 (custom-face-tag-face, custom-group-tag-face-1)
5684 (custom-group-tag-face): Remove obsolete face alias.
5685
5686 * epa.el (epa-validity-high, epa-validity-medium)
5687 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5688 (epa-field-name, epa-field-body):
5689 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5690 (font-lock-keyword-face, font-lock-builtin-face)
5691 (font-lock-function-name-face, font-lock-variable-name-face)
5692 (font-lock-type-face, font-lock-constant-face):
5693 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5694 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5695 * speedbar.el (speedbar-button-face, speedbar-file-face)
5696 (speedbar-directory-face, speedbar-tag-face)
5697 (speedbar-selected-face, speedbar-highlight-face)
5698 (speedbar-separator-face):
5699 * whitespace.el (whitespace-newline, whitespace-space)
5700 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5701 (whitespace-line, whitespace-space-before-tab)
5702 (whitespace-space-after-tab, whitespace-indentation)
5703 (whitespace-empty):
5704 * emulation/cua-base.el (cua-global-mark):
5705 * eshell/em-prompt.el (eshell-prompt):
5706 * net/newst-plainview.el (newsticker-new-item-face)
5707 (newsticker-old-item-face, newsticker-immortal-item-face)
5708 (newsticker-obsolete-item-face, newsticker-date-face)
5709 (newsticker-statistics-face, newsticker-default-face):
5710 * net/newst-reader.el (newsticker-feed-face)
5711 (newsticker-extra-face, newsticker-enclosure-face):
5712 * net/newst-treeview.el (newsticker-treeview-face)
5713 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5714 (newsticker-treeview-immortal-face)
5715 (newsticker-treeview-obsolete-face)
5716 (newsticker-treeview-selection-face):
5717 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5718 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5719 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5720 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5721 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5722 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5723 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5724 (mpuz-text):
5725 * progmodes/vera-mode.el (vera-font-lock-number)
5726 (vera-font-lock-function, vera-font-lock-interface):
5727 * textmodes/table.el (table-cell): Use new-style face specs, and
5728 don't use the old :bold and :italic attributes.
5729
5730 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5731 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5732 (ebrowse-member-class, ebrowse-progress): Likewise.
5733 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5734 (ebrowse-file-name-face, ebrowse-default-face)
5735 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5736 (ebrowse-progress-face): Remove obsolete faces.
5737
5738 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5739 Inherit from error and warning faces respectively.
5740
5741 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5742 Likewise.
5743 (flyspell-incorrect-face, flyspell-duplicate-face):
5744 Remove obsolete aliases.
5745
5746 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5747
5748 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5749 Avoid infloop.
5750
5751 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * startup.el (argv, argi): Make lexically scoped.
5754 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5755 * emacs-lisp/cl-macs.el: Use lexical-binding.
5756 Rename cl-bind-* to cl--bind-*.
5757 * files.el: Don't require `cl' since it doesn't use it.
5758 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5759
5760 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5761
5762 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5763 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5764 instead of calling external sort utility.
5765 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5766
5767 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5768
5769 * descr-text.el (describe-char): Mention how to insert the
5770 character, if the current input method doesn't support it.
5771 See the discussion in this thread for the details:
5772 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5773
5774 2012-06-08 Sam Steingold <sds@gnu.org>
5775
5776 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5777 XF86Back to previous-buffer.
5778 (minibuffer-local-map): Bind them to next-history-element and
5779 previous-history-element respectively.
5780 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5781 help-go-back respectively.
5782 * info.el (Info-mode-map): Bind them to Info-history-forward and
5783 Info-history-back respectively.
5784 These are the keys next to Up on the ThinkPad keyboard.
5785
5786 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5789 * emacs-lisp/cl-macs.el: Provide itself.
5790 (cl--labels-convert-cache): New var.
5791 (cl--labels-convert): New function.
5792 (cl-flet, cl-labels): New implementation with new semantics, relying on
5793 lexical-binding.
5794 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5795 (cl-closure-vars, cl--function-convert-cache)
5796 (cl--function-convert): Move from cl-macs.el.
5797 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5798 rename by removing the "cl-" prefix.
5799 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5800
5801 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5804 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5805 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5806 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5807 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5808 (cl-hash-table-count): Add old compatibility aliases.
5809
5810 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5811 Use macroexpand-all-environment instead.
5812 (cl--old-macroexpand): New var.
5813 (cl--sm-macroexpand): New function.
5814 (cl-symbol-macrolet): Use it during macro expansion.
5815 (cl--function-convert-cache): New var.
5816 (cl--function-convert): New function, extracted from
5817 cl-macroexpand-all.
5818 (cl-lexical-let): Use it.
5819
5820 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5821 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5822 (cl-member): Remove old alias.
5823
5824 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5825 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5826 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5827 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5828 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5829 (cl-macroexpand-cmacs): Remove var.
5830 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5831 Use macroexpand-all instead.
5832
5833 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5836 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5837 (macroexp-copyable-p): New functions and macros.
5838 * emacs-lisp/edebug.el (edebug-unwrap):
5839 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5840 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5841 (pcase--let*): Remove.
5842 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5843 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5844 macroexp-const-p instead.
5845 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5846
5847 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5848 instead of "cl-" for internal definitions. Use macroexp-const-p.
5849 (cl-old-bc-file-form): Remove var.
5850 (cl-const-exprs-p): Remove fun.
5851 (cl-labels, cl-macrolet): Use backquote.
5852 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5853 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5854 (cl-define-setf-expander): Rename from cl-define-setf-method.
5855 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5856
5857 * international/mule-cmds.el: Don't require CL.
5858 (view-hello-file): Don't use `letf'.
5859
5860 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * tmm.el (tmm-prompt): Use string-prefix-p.
5863 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5864 (tmm-add-prompt): Use minibuffer-completion-help.
5865 (tmm-delete-map): Remove.
5866
5867 * subr.el (kbd): Make it its own function.
5868
5869 2012-06-07 Stefan Merten <smerten@oekonux.de>
5870
5871 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5872 Silence compiler warnings. Fix versions.
5873 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5874 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5875 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5876 (rst-package-emacs-version-alist): Correct Emacs version to
5877 represent major merge with upstream.
5878 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5879
5880 2012-06-06 Glenn Morris <rgm@gnu.org>
5881
5882 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5883 Only print environment variables if set.
5884
5885 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5888 (macroexp--cons): Rename from maybe-cons.
5889 (macroexp--accumulate): Rename from macroexp-accumulate.
5890 (macroexp--all-forms): Rename from macroexpand-all-forms.
5891 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5892 (macroexp--expand-all): Rename from macroexpand-all-1.
5893
5894 2012-06-06 Sam Steingold <sds@gnu.org>
5895
5896 * calendar/calendar.el (calendar-in-read-only-buffer):
5897 Call `special-mode' to enable the standard read-only keybindings.
5898
5899 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5900
5901 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5902 with "loading" messages (bug#11635).
5903
5904 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5905
5906 * files.el (enable-remote-dir-locals): New option.
5907 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5908
5909 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5910 Ensure, that the temp directory is local.
5911
5912 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5913 `temporary-file-directory'.
5914
5915 * progmodes/python.el (python-send-region): Ensure, that the
5916 temporary file is created also in the remote case.
5917
5918 2012-06-06 Glenn Morris <rgm@gnu.org>
5919
5920 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5921 (vc-rcs-update-changelog): Use it.
5922
5923 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5924
5925 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5926 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5927 (vc-sccs-diff): Replace use of the external vcdiff script.
5928
5929 2012-06-05 Glenn Morris <rgm@gnu.org>
5930
5931 * ledit.el: Move to obsolete/.
5932
5933 2012-06-05 Sam Steingold <sds@gnu.org>
5934
5935 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5936 patch (Bug#11140).
5937
5938 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * emacs-lisp/cust-print.el: Move to obsolete.
5941
5942 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5943 compiler-macro expansion.
5944
5945 Add native compiler-macro support.
5946 * emacs-lisp/macroexp.el (macroexpand-all-1):
5947 Support compiler-macros directly. Properly follow aliases and apply
5948 the compiler macros more thoroughly.
5949 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5950 macroexpand now properly follows aliases.
5951 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5952 (cl-compiler-macroexpand): Use new prop.
5953 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5954
5955 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5956
5957 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5958
5959 * window.el (get-lru-window, get-mru-window, get-largest-window):
5960 New argument NOT-SELECTED to avoid picking the selected window.
5961 (window--display-buffer-1, window--display-buffer-2): Replace by
5962 new function window--display-buffer
5963 (display-buffer-same-window, display-buffer-reuse-window)
5964 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5965 Use window--display-buffer.
5966 (display-buffer-use-some-window): Remove temporary dedication
5967 hack by calling get-lru-window and get-largest-window with
5968 NOT-SELECTED argument non-nil. Call window--display-buffer.
5969
5970 2012-06-05 Glenn Morris <rgm@gnu.org>
5971
5972 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5973 Replace external vcdiff script.
5974
5975 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5978
5979 2012-06-04 Chong Yidong <cyd@gnu.org>
5980
5981 * image.el (imagemagick-types-inhibit): Revert last change.
5982 Add INFO and M.
5983 (imagemagick-enabled-types): Remove CIN and EPS*.
5984
5985 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * emacs-lisp/cl-lib.el: Rename from cl.el.
5988 * emacs-lisp/cl.el: New compatibility file.
5989 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5990 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5991 to obey the "cl-" prefix.
5992 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5993
5994 2012-06-03 Glenn Morris <rgm@gnu.org>
5995
5996 * emacs-lisp/authors.el (authors-aliases): Addition.
5997
5998 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5999 Fix :version.
6000
6001 2012-06-03 Stefan Merten <smerten@oekonux.de>
6002
6003 * textmodes/rst.el: Add comments.
6004 (rst-transition, rst-adornment): New faces.
6005 (rst-adornment-faces-alist): Make default safe to reevaluate.
6006 Fixes
6007 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6008 Improve customization tags.
6009 (rst-define-level-faces): Clarify meaning.
6010
6011 2012-06-03 Chong Yidong <cyd@gnu.org>
6012
6013 * progmodes/compile.el (compilation-mode-line-fail)
6014 (compilation-mode-line-run, compilation-mode-line-exit):
6015 New faces.
6016 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6017
6018 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6019
6020 * progmodes/which-func.el (which-func-update-ediff-windows):
6021 New function. Use it in ediff-select-hook (Bug#11478).
6022
6023 2012-06-03 Chong Yidong <cyd@gnu.org>
6024
6025 * bindings.el: Remove explicit help text from format-mode-line.
6026 It is now supplied by mode-line-default-help-echo.
6027 (mode-line-front-space, mode-line-end-spaces)
6028 (mode-line-misc-info): New variables.
6029 (mode-line-modes, mode-line-position): Move the default value to
6030 the variable definition.
6031 (mode-line-default-help-echo): New defcustom.
6032 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6033 (mode-line-modified-help-echo): New functions.
6034 (mode-line-mule-info, mode-line-modified): Use them.
6035 (mode-line-eol-desc, propertized-buffer-identification):
6036 Consistency fixes for help text.
6037 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6038 set-buffer-file-coding-system (Bug#289).
6039 (mode-line-mule-info-help-echo): Update help text.
6040
6041 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * simple.el (execute-extended-command): Set real-this-command
6044 (bug#11506).
6045
6046 2012-06-02 Chong Yidong <cyd@gnu.org>
6047
6048 Remove incorrect uses of "modeline" in comments, docstrings, and
6049 function/variable names (Bug#10329).
6050
6051 * cus-edit.el (mode-line):
6052 * dframe.el (dframe-mouse-hscroll):
6053 * emacs-lisp/re-builder.el:
6054 * emacs-lisp/easy-mmode.el (define-minor-mode):
6055 * frame.el (set-frame-name):
6056 * help.el (lookup-minor-mode-from-indicator):
6057 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6058 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6059 (c-toggle-hungry-state):
6060 * progmodes/antlr-mode.el (antlr-language-alist):
6061 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6062 * progmodes/vhdl-mode.el (vhdl-mode):
6063 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6064 * term/ns-win.el (ns-face-at-pos):
6065 * term/sup-mouse.el (sup-mouse-report):
6066 * textmodes/flyspell.el (flyspell-mode-line-string):
6067 * textmodes/ispell.el (ispell-highlight-face):
6068 * textmodes/reftex-global.el:
6069 * vc/vc-arch.el (vc-arch-mode-line-string):
6070 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6071 * vc/vc-git.el (vc-git-mode-line-string):
6072 * vc/vc-hooks.el (vc-display-status)
6073 (vc-default-mode-line-string):
6074 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6075
6076 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6077
6078 * dired.el (dired-sort-set-mode-line): Rename from
6079 dired-sort-set-modeline. All callers changed.
6080
6081 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6082 eshell-status-in-modeline.
6083
6084 * foldout.el (foldout-mode-line-string): Rename from
6085 foldout-modeline-string. All callers changed.
6086 (foldout-update-mode-line): Rename from foldout-update-modeline.
6087
6088 * subr.el (redraw-modeline): Make into obsolete alias.
6089
6090 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6091 timeclock-modeline-display. Make old name an alias.
6092 (timeclock-update-mode-line): Likewise. All callers changed.
6093 (timeclock-mode-line-display): No need to check before using
6094 add-hook.
6095 (timeclock-relative, timeclock-day-over-hook)
6096 (timeclock-use-elapsed, timeclock-mode-string)
6097 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6098
6099 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6100 crisp-mode-modeline-string.
6101
6102 * play/solitaire.el (solitaire-build-mode-line): Rename from
6103 solitaire-build-modeline. All callers changed.
6104
6105 * play/zone.el (zone-hiding-mode-line): Rename from
6106 zone-hiding-modeline. All callers changed.
6107 (zone): Remove unusued `modeline-hidden-level' property.
6108
6109 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6110 xscheme-modeline-initialize. All callers changed.
6111
6112 * strokes.el (strokes-lighter): Rename from
6113 strokes-modeline-string.
6114
6115 * textmodes/sgml-mode.el (html-face-tag-alist)
6116 (html-tag-face-alist): Use mode-line face instead of obsolete
6117 alias modeline.
6118
6119 2012-06-02 Stefan Merten <smerten@oekonux.de>
6120
6121 * textmodes/rst.el: Always require `cl'.
6122 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6123
6124 2012-06-02 Chong Yidong <cyd@gnu.org>
6125
6126 * image.el (imagemagick-enabled-types): Rename from
6127 imagemagick-types-enable. Add many more types.
6128 (imagemagick-types-inhibit): Change default to nil.
6129 (imagemagick-filter-types): Caller changed.
6130
6131 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * emacs-lisp/cl-macs.el: Use backquotes.
6134 (cl-transform-function-property): Use eval-and-compile rather than
6135 abusing `require'.
6136 (defstruct): Use declare-function instead of with-no-warnings.
6137
6138 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6139 (byte-compile-output-docform): Re-add the print-circle bindings.
6140 (byte-compile-fix-header): Use #$ just because it's shorter.
6141 (byte-compile-output-file-form): Remove defun/defmacro.
6142
6143 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6144
6145 * simple.el (choose-completion): Remove now obsolete binding for
6146 owindow.
6147
6148 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6149
6150 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6151 in order to avoid "Stack overflow in regexp matcher".
6152
6153 2012-05-31 Glenn Morris <rgm@gnu.org>
6154
6155 * image.el: For clarity, call imagemagick-register-types at
6156 top-level, rather than relying on a custom :initialize.
6157 (imagemagick-types-enable): New option. (Bug#11557)
6158 (imagemagick-filter-types): New function. (Bug#7406)
6159 (imagemagick-register-types): Use imagemagick-filter-types.
6160 If disabling support, remove elements altogether rather
6161 than using an impossible regexp.
6162 (imagemagick-types-inhibit): Give it the default init function.
6163
6164 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6167 Handle arbitrary file name lengths (Bug#11585).
6168
6169 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6170
6171 * desktop.el (desktop-read): Clear previous and next buffers for
6172 all windows and bury *Messages* buffer (bug#11556).
6173
6174 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 Add `declare' for `defun'. Align `defmacro's with it.
6177 * emacs-lisp/easy-mmode.el (define-minor-mode)
6178 (define-globalized-minor-mode): Don't autoload the var definitions.
6179 * emacs-lisp/byte-run.el: Use lexical-binding.
6180 (defun-declarations-alist, macro-declarations-alist): New vars.
6181 (defmacro, defun): Use them.
6182 (make-obsolete, define-obsolete-function-alias)
6183 (make-obsolete-variable, define-obsolete-variable-alias):
6184 Use `declare'.
6185 (macro-declaration-function): Mark obsolete.
6186 * emacs-lisp/autoload.el: Use lexical-binding.
6187 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6188
6189 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6190
6191 * textmodes/ispell.el (ispell-with-no-warnings):
6192 Define as a macro.
6193 (ispell-kill-ispell, ispell-change-dictionary):
6194 Use `called-interactively-p' for Emacs instead of obsolete
6195 `interactive-p'.
6196
6197 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6200 (macro-declaration-function): Move var from C code.
6201 (macro-declaration-function): Define function with defalias.
6202 * emacs-lisp/macroexp.el (macroexpand-all-1):
6203 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6204 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6205 defun/defmacro any more.
6206 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6207 Provide fallback for unknown arglist.
6208 (byte-compile-arglist-warn): Change calling convention.
6209 (byte-compile-output-file-form): Move print-vars binding.
6210 (byte-compile-output-docform): Simplify accordingly.
6211 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6212 (byte-compile-defmacro-declaration): Remove.
6213 (byte-compile-file-form-defmumble): Generalize to defalias.
6214 (byte-compile-output-as-comment): Return byte-positions.
6215 Simplify callers accordingly.
6216 (byte-compile-lambda): Use `assert'.
6217 (byte-compile-defun, byte-compile-defmacro): Remove.
6218 (byte-compile-file-form-defalias):
6219 Use byte-compile-file-form-defmumble.
6220 (byte-compile-defalias-warn): Remove.
6221
6222 2012-05-29 Stefan Merten <smerten@oekonux.de>
6223
6224 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6225 possible. Fix authors. Improve comments. Improve loading of `cl'.
6226
6227 (rst-mode-abbrev-table): Merge definition.
6228 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6229 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6230
6231 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6232
6233 * calendar/icalendar.el
6234 (icalendar-export-region): Export UID properly.
6235
6236 2012-05-29 Leo Liu <sdl.web@gmail.com>
6237 * calendar/icalendar.el (icalendar-import-format):
6238 Add `icalendar-import-format-uid' (Bug#11525).
6239 (icalendar-import-format-uid): New.
6240 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6241 Export UID.
6242
6243 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6246 different alternative patterns.
6247 (pcase-codegen): Be more careful to preserve identity.
6248 (pcase--u1): Don't forget to mark vars as used.
6249
6250 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6251 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6252 (byte-compile-from-buffer): ...rather than here.
6253
6254 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6255 functions from byte-compile-function-environment.
6256
6257 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6258
6259 * window.el (window-deletable-p): Avoid deleting the root window
6260 of a frame with an active minibuffer.
6261
6262 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6263
6264 * simple.el (choose-completion): Use quit-window (Bug#11567).
6265
6266 2012-05-29 Chong Yidong <cyd@gnu.org>
6267
6268 * whitespace.el (whitespace-cleanup): Fix usage of
6269 whitespace-empty-at-bob-regexp (Bug#11492).
6270
6271 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6272
6273 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6274 revert (Bug#11488).
6275
6276 2012-05-29 Juri Linkov <juri@jurta.org>
6277
6278 * isearch.el (isearch-mode-map): Bind `M-s _' to
6279 `isearch-toggle-symbol'. Bind `M-s c' to
6280 `isearch-toggle-case-fold'.
6281 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6282 (isearch-forward): Add `M-s _' to the docstring.
6283 (isearch-forward-symbol, isearch-toggle-case-fold)
6284 (isearch-symbol-regexp): New functions. (Bug#11381)
6285
6286 2012-05-29 Juri Linkov <juri@jurta.org>
6287
6288 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6289 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6290 a function, call it to get the regexp.
6291 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6292 property `isearch-message-prefix' instead of the string "word ".
6293 (isearch-search-fun-default): For the case of `isearch-word',
6294 return a lambda that calls re-search-forward/re-search-backward
6295 with a regexp returned by `word-search-regexp' or by the function
6296 in `isearch-word'.
6297
6298 2012-05-29 Juri Linkov <juri@jurta.org>
6299
6300 * isearch.el (isearch-search-fun-default): New function.
6301 (isearch-search-fun): Move default part to the new function
6302 `isearch-search-fun-default'.
6303 (isearch-search-fun-function): Set the default value to
6304 `isearch-search-fun-default'. (Bug#11381)
6305
6306 * comint.el (comint-history-isearch-end):
6307 Use `isearch-search-fun-default'.
6308 (comint-history-isearch-search): Use `isearch-search-fun-default'
6309 and remove spacial case for `isearch-word'.
6310 (comint-history-isearch-wrap): Remove spacial case for
6311 `isearch-word'.
6312
6313 * hexl.el (hexl-isearch-search-function):
6314 Use `isearch-search-fun-default'.
6315
6316 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6317 Use `word-search-regexp' for `isearch-word'.
6318
6319 * misearch.el (multi-isearch-search-fun):
6320 Use `isearch-search-fun-default'.
6321
6322 * simple.el (minibuffer-history-isearch-search):
6323 Use `isearch-search-fun-default' and remove spacial case for
6324 `isearch-word'.
6325 (minibuffer-history-isearch-wrap): Remove spacial case for
6326 `isearch-word'.
6327
6328 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6329 Remove spacial case for `isearch-word'.
6330 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6331
6332 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6333
6334 Decrease XEmacs incompatibilities.
6335 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6336 Use `string-match'.
6337 (flyspell-delete-region-overlays): Use alternative definition for
6338 XEmacs.
6339 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6340 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6341 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6342 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6343 `define-obsolete-face-alias' under XEmacs, but old method.
6344
6345 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6346 `with-no-warnings' definition or Emacs alias.
6347 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6348 (ispell-word): Do not use `region-p' if XEmacs.
6349
6350 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6351
6352 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6353 Check for `ispell-dictionary-base-alist' instead of full
6354 `ispell-dictionary-alist'.
6355 (ispell-init-process): Show spellchecker when starting new Ispell
6356 process.
6357
6358 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6361 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6362
6363 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * version.el (motif-version-string, gtk-version-string)
6366 (ns-version-string): Declare.
6367
6368 2012-05-27 Juri Linkov <juri@jurta.org>
6369
6370 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6371 after the `eval-defun-1' specialcaseing
6372 like in `edebug-eval-defun' (bug#10181).
6373
6374 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6375 like in `eval-defun-1'.
6376
6377 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6378
6379 * mail/sendmail.el (mail-yank-region):
6380 Recognize rmail-yank-current-message in addition to insert-buffer.
6381 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6382 a *mail* buffer created through rmail-start-mail with sendmail as
6383 mail-user-agent.
6384
6385 2012-05-27 Chong Yidong <cyd@gnu.org>
6386
6387 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6388 Default to 256 (Bug#11267).
6389
6390 * help.el (describe-mode): Doc fix.
6391
6392 2012-05-26 Glenn Morris <rgm@gnu.org>
6393
6394 * w32-fns.el (w32-init-info): Remove.
6395 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6396
6397 * info.el (info-initialize): For self-contained NS builds, put the
6398 included info/ directory at the front. (Bug#2791)
6399
6400 * paths.el (Info-default-directory-list): Make it a defcustom,
6401 mainly so that we can use custom-initialize-delay.
6402
6403 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * subr.el (buffer-has-markers-at): Mark obsolete.
6406
6407 * subr.el (lambda): Use declare.
6408
6409 * emacs-lisp/lisp-mode.el (lambda):
6410 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6411
6412 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6413
6414 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6415
6416 2012-05-26 Glenn Morris <rgm@gnu.org>
6417
6418 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6419
6420 2012-05-25 Glenn Morris <rgm@gnu.org>
6421
6422 * paths.el: Remove no-byte-compile.
6423 * loadup.el: No need to load paths.el uncompiled.
6424
6425 * image.el (imagemagick-types-inhibit): Doc fix.
6426
6427 * version.el: Remove no-byte-compile and associated formatting.
6428 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6429 is ancient code from when there was an "inc-vers.el".
6430
6431 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * progmodes/gdb-mi.el: Minor style changes.
6434 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6435 Turn into minor modes.
6436 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6437 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6438 (gdb-shell): Remove unneeded let-binding.
6439 (gdb-get-many-fields): Eliminate O(n²) behavior.
6440
6441 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6442
6443 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6444 platforms that don't link in fontset.c.
6445
6446 2012-05-25 Juri Linkov <juri@jurta.org>
6447
6448 Use the same diff color scheme as in modern VCSes (bug#10181).
6449
6450 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6451 to avoid confusion with `diff-added' that now uses green colors.
6452 (diff-removed): Use shades of red.
6453 (diff-added): Use shades of green.
6454 (diff-changed): Leave just the yellow color.
6455 (diff-use-changed-face): New variable.
6456 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6457 how to highlight context diff changes.
6458 (diff-refine-change): Use shades of yellow.
6459 (diff-refine-removed): New face that uses shades of red.
6460 (diff-refine-added): New face that uses shades of green.
6461 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6462 `diff-refine-removed' in the call to `smerge-refine-subst'
6463 depending on the value of `diff-use-changed-face'.
6464
6465 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6466 (smerge-other): Use shades of green.
6467 (smerge-base): Use shades of yellow.
6468 (smerge-refined-change): Empty face.
6469 (smerge-refined-removed): New face that uses shades of red.
6470 (smerge-refined-added): New face that uses shades of green.
6471 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6472 args `props-r' and `props-a', and use them. Doc fix.
6473 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6474 on its value use different faces `smerge-refined-change',
6475 `smerge-refined-removed', `smerge-refined-added' in the call to
6476 `smerge-refine-subst'.
6477
6478 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6479 Add face condition `min-colors 88' with shades of red.
6480 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6481 `min-colors 88' with shades of green.
6482 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6483 `min-colors 88' with shades of yellow.
6484
6485 2012-05-24 Glenn Morris <rgm@gnu.org>
6486
6487 * paths.el (prune-directory-list, remote-shell-program): Move to...
6488 * files.el (prune-directory-list, remote-shell-program): ...here.
6489 For the latter, delay initialization, prefer ssh, just search PATH.
6490
6491 * paths.el (term-file-prefix): Move to faces.el (the only user).
6492 * faces.el (term-file-prefix): Move here, make it a defcustom.
6493
6494 * paths.el (news-directory, news-path, news-inews-program):
6495 Move to gnus/nnspool.el.
6496
6497 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6498
6499 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6500 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6501 Make the latter a defcustom, with a delayed initialization.
6502
6503 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6504 These were deleted from Gnus itself late 2010.
6505
6506 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6507
6508 * progmodes/which-func.el (which-func-ff-hook):
6509 Check against user-error, not error.
6510
6511 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6512 cl-specs.el, which no longer exists.
6513
6514 2012-05-22 Glenn Morris <rgm@gnu.org>
6515
6516 * info.el (info-emacs-bug): New command.
6517 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6518 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6519
6520 2012-05-21 Glenn Morris <rgm@gnu.org>
6521
6522 * makefile.w32-in (update-subdirs-SH):
6523 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6524
6525 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6528
6529 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6530 Simplify Maven regexp, and make sure the file can't start with a space
6531 (bug#11517).
6532
6533 2012-05-21 Glenn Morris <rgm@gnu.org>
6534
6535 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6536 Scrap superfluous subshells.
6537
6538 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6541 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6542
6543 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6544
6545 * calc/calc.el (calc-ensure-consistent-units): New variable.
6546
6547 * calc/calc-units.el (math-consistent-units-p)
6548 (math-check-unit-consistency): New functions.
6549 (calc-quick-units, calc-convert-units):
6550 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6551 is non-nil.
6552 (calc-extract-units): Fix typo.
6553
6554 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6557
6558 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6559 (flyspell-default-deplacement-commands): Don't spell check after
6560 repeated window/frame switches (e.g. triggered by mouse-movement).
6561 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6562 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6563 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6564 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6565 Remove unused vars.
6566 (flyspell-get-casechars, flyspell-get-not-casechars):
6567 Simplify; Don't bother removing a ] just to add it back.
6568 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6569
6570 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6571
6572 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6573 New functions.
6574 (math-function-table): Add support for more C functions.
6575
6576 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6577
6578 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6579 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6580 Protect delay handling for otherchars against empty otherchars.
6581
6582 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6585 their respective macro declarations.
6586 * skeleton.el (define-skeleton):
6587 * progmodes/compile.el (define-compilation-mode):
6588 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6589 (define-ibuffer-filter):
6590 * emacs-lisp/generic.el (define-generic-mode):
6591 * emacs-lisp/easy-mmode.el (define-minor-mode)
6592 (define-globalized-minor-mode):
6593 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6594 * emacs-lisp/byte-run.el (defsubst):
6595 * custom.el (deftheme): Add doc-string metadata.
6596
6597 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6600
6601 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6604
6605 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6606 * emacs-lisp/cl-macs.el: Idem.
6607 * emacs-lisp/cl-specs.el: Remove.
6608
6609 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 Minor renaming of internal CL functions and variables.
6612 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6613 (cl--position): Rename from cl-position.
6614 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6615 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6616 (cl--random-state): Rename from *random-state*.
6617
6618 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6621 parens around the arg list (bug#11499).
6622
6623 2012-05-17 Juri Linkov <juri@jurta.org>
6624
6625 * isearch.el (word-search-regexp, word-search-backward)
6626 (word-search-forward, word-search-backward-lax)
6627 (word-search-forward-lax): Move functions from search.c
6628 (bug#10145, bug#11381).
6629
6630 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6631
6632 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6633 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6634 Delay for otherchars as for normal word components.
6635
6636 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * minibuffer.el (completion--sifn-requote): Fix last change.
6639 (minibuffer-local-must-match-filename-map):
6640 Move define-obsolete-variable-alias before its var.
6641
6642 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6643
6644 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6645
6646 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6647 behavior.
6648 (completion--string-equal-p): New function.
6649 (completion--twq-all): Use it to get better assertion failure data.
6650
6651 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6652 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6653 (shell--requote-argument): New functions.
6654 (shell-completion-vars): Use them.
6655 (shell--parse-pcomplete-arguments): Rename from
6656 shell-parse-pcomplete-arguments.
6657 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6658 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6659 Obey comint-file-name-quote-list.
6660
6661 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6662 (smie-indent-keyword): Use it.
6663
6664 2012-05-14 Stefan Merten <smerten@oekonux.de>
6665
6666 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6667
6668 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * net/rlogin.el (rlogin-mode-map): Fix last change.
6671
6672 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6673
6674 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6675 the following \r\n using a single `process-send-string', since the
6676 Lotus SMTP server refuses to accept any commands if they are sent
6677 with two `process-send-string's (Bug#11444).
6678
6679 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * shell.el (shell-parse-pcomplete-arguments):
6682 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6683
6684 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6685
6686 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6687 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6688 (image-transform-width, image-transform-fit-width): New functions.
6689 (image-transform-properties): Use them.
6690 (image-transform-check-size): New function.
6691 (image-toggle-display-image): Use it (for testing).
6692 (image-transform-set-rotation): Reduce angle mod 360.
6693 Delete obsolete comment.
6694
6695 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6696
6697 * image-mode.el: Fix scaling (bug#11399).
6698 (image-transform-resize): Doc fix.
6699 (image-transform-properties): Default scale is 1 and height should
6700 be an integer.
6701
6702 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6703
6704 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6705 than hard-coding `car', to fix misbehavior when moving forward.
6706
6707 2012-05-13 Chong Yidong <cyd@gnu.org>
6708
6709 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6710 (tabulated-list-entries, tabulated-list-padding)
6711 (tabulated-list-sort-key): Make permanent-local.
6712
6713 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6714 (electric-buffer-list): Put electric buffer menu
6715 command descriptions in this docstring, instead of the docstring
6716 of electric-buffer-menu-mode. Code cleanups.
6717 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6718 Electric-buffer-menu-mode.
6719 (electric-buffer-update-highlight): Minor code cleanup.
6720
6721 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6724 (Bug#11447)
6725
6726 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 Move define-obsolete-variable-alias before the var's definition.
6729 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6730 * tooltip.el (tooltip-hook):
6731 * textmodes/reftex-toc.el (reftex-toc-map):
6732 * textmodes/reftex-sel.el (reftex-select-label-map)
6733 (reftex-select-bib-map):
6734 * textmodes/reftex-index.el (reftex-index-map)
6735 (reftex-index-phrases-map):
6736 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6737 * progmodes/meta-mode.el (meta-mode-map):
6738 * novice.el (disabled-command-hook):
6739 * loadhist.el (unload-hook-features-list):
6740 * frame.el (blink-cursor):
6741 * files.el (find-file-not-found-hooks, write-file-hooks)
6742 (write-contents-hooks):
6743 * emulation/tpu-edt.el (GOLD-map):
6744 * emacs-lock.el (emacs-lock-from-exiting):
6745 * emacs-lisp/generic.el (generic-font-lock-defaults):
6746 * emacs-lisp/chart.el (chart-map):
6747 * dos-fns.el (register-name-alist):
6748 * dired-x.el (dired-omit-files-p):
6749 * desktop.el (desktop-enable):
6750 * cus-edit.el (custom-mode-hook):
6751 * buff-menu.el (buffer-menu-mode-hook):
6752 * bookmark.el (bookmark-read-annotation-text-func)
6753 (bookmark-exit-hooks):
6754 * allout.el (allout-mode-deactivate-hook)
6755 (allout-exposure-change-hook, allout-structure-added-hook)
6756 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6757 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6758 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6759 comes before the corresponding variable's definition.
6760
6761 2012-05-12 Chong Yidong <cyd@gnu.org>
6762
6763 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6764 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6765 (Buffer-menu-mode-map): Bind it.
6766 (Buffer-menu--pretty-name): Add a mouse-face property.
6767
6768 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6771 (prolog-upper-case-string, prolog-lower-case-string)
6772 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6773 (prolog-use-smie, prolog-smie-grammar): New vars.
6774 (prolog-smie-forward-token, prolog-smie-backward-token)
6775 (prolog-smie-rules): New funs.
6776 (prolog-comment-indent): Remove.
6777 (prolog-mode-variables): Use default comment indentation instead.
6778 Setup SMIE.
6779 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6780 (prolog-mode): Don't call them any more.
6781 (prolog-electric-colon, prolog-electric-dash)
6782 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6783
6784 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6785
6786 * minibuffer.el (completion--twq-all): Again, allow case differences.
6787
6788 * term.el: Move keymap initialization code to be more idiomatic.
6789 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6790 (term-terminal-menu): Move initialization into declaration.
6791 (term-escape-char): Let the user set it in her .emacs.
6792
6793 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6794 Provide SMIE-based indentation (not enabled by default yet).
6795 (sh-mode-map): Don't bind electric keys.
6796 Use electric-pair-mode instead of skeleton-pair.
6797 (sh-assignment-regexp): Fit within 80 columns.
6798 (sh-indent-supported): Specify actual shell name instead of boolean.
6799 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6800 (sh-maybe-here-document): Use it. Make obsolete.
6801 (sh-electric-here-document-mode) New minor mode.
6802 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6803 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6804 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6805 (sh-smie-rc-grammar, sh-use-smie): New vars.
6806 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6807 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6808 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6809 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6810 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6811 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6812 (sh-set-shell): Use smie-setup if requested.
6813
6814 * term.el (term-set-escape-char): Properly set term-escape-char.
6815 See http://stackoverflow.com/questions/10524656.
6816
6817 2012-05-10 Chong Yidong <cyd@gnu.org>
6818
6819 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6820 Use url-generic-parse-url, and handle host names and Windows
6821 filenames properly.
6822 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6823 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6824 URL schemes to work on.
6825 (ffap--toggle-read-only): New function.
6826 (ffap-read-only, ffap-read-only-other-window)
6827 (ffap-read-only-other-frame): Use it.
6828 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6829 necessary for ffap-url-unwrap-remote.
6830
6831 2012-05-10 Dave Abrahams <dave@boostpro.com>
6832
6833 * cus-start.el (create-lockfiles): Add it.
6834
6835 2012-05-09 Chong Yidong <cyd@gnu.org>
6836
6837 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6838 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6839
6840 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6843
6844 2012-05-09 Chong Yidong <cyd@gnu.org>
6845
6846 * ansi-color.el (ansi-color-process-output): Check for validity of
6847 comint-last-output-start before using it. This avoids a bad
6848 interaction with gdb-mi's input/output buffer.
6849
6850 2012-05-09 Glenn Morris <rgm@gnu.org>
6851
6852 * files.el (dir-locals-read-from-file):
6853 Mention dir-locals in any error message.
6854
6855 2012-05-09 Chong Yidong <cyd@gnu.org>
6856
6857 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6858 package (Bug#11410).
6859
6860 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6861 variables into description.
6862
6863 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6866 shell-delimiter-argument-list (bug#11348).
6867 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6868
6869 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * textmodes/rst.el: Silence byte-compiler warnings.
6872 (rst-re-alist, rst-reset-section-caches): Move around.
6873 (rst-re): Use `characterp', not `char-valid-p'.
6874 (font-lock-beg, font-lock-end): Declare.
6875
6876 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6877 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6878
6879 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6880
6881 2012-05-08 Glenn Morris <rgm@gnu.org>
6882
6883 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6884
6885 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * vc/log-edit.el: Add GNU coding standards highlighting.
6888 (log-edit-font-lock-gnu-style)
6889 (log-edit-font-lock-gnu-keywords): New vars.
6890 (log-edit-font-lock-keywords): New fun.
6891 (log-edit-mode): Don't fold case in font-lock.
6892 (log-edit-font-lock-keywords): Do not assume case-folding.
6893
6894 * imenu.el: Misc cleanup. Make docstrings out of comments.
6895 Use lexical-binding.
6896 (imenu--index-alist, imenu--last-menubar-index-alist)
6897 (imenu-menubar-modified-tick): Use defvar-local.
6898 (imenu--split-menu): Remove unused var.
6899 (imenu--cleanup-seen): Declare as global.
6900 (imenu--cleanup): Use dolist.
6901
6902 * subr.el (defvar-local): Add debug spec and doc-string position.
6903
6904 2012-05-08 Glenn Morris <rgm@gnu.org>
6905
6906 * language/burmese.el, language/cham.el, language/czech.el:
6907 * language/english.el, language/georgian.el, language/greek.el:
6908 * language/japanese.el, language/khmer.el, language/korean.el:
6909 * language/lao.el, language/misc-lang.el, language/romanian.el:
6910 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6911 * language/thai.el, language/utf-8-lang.el:
6912 Remove no-byte-compile setting.
6913
6914 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6915
6916 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6917
6918 * progmodes/make-mode.el (makefile-browse):
6919 Remove unnecessary interactive. (Bug#11324)
6920
6921 2012-05-07 Glenn Morris <rgm@gnu.org>
6922
6923 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6924
6925 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6926
6927 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * loadup.el: Preload newcomment.el.
6930 * newcomment.el: Move autoload-only code to toplevel.
6931
6932 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6933 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6934 Handle new :right-align column property.
6935 (tabulated-list-print-col): Idem, plus use `display' text-property to
6936 try and preserve alignment for variable pitch fonts.
6937
6938 2012-05-07 Chong Yidong <cyd@gnu.org>
6939
6940 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6941 (tabulated-list-use-header-line): New var.
6942 (tabulated-list-init-header): Use it.
6943 (tabulated-list-print-fake-header): New function.
6944 (tabulated-list-print): Use it.
6945 (tabulated-list-sort-button-map): Add non-header-line commands.
6946 (tabulated-list-init-header): Add column name property to basic
6947 labels as well.
6948 (tabulated-list-col-sort): Handle non-header-line button case.
6949 (tabulated-list--sort-by-column-name): Fix a corner case.
6950
6951 * buff-menu.el (list-buffers--refresh):
6952 Handle Buffer-menu-use-header-line.
6953
6954 2012-05-06 Chong Yidong <cyd@gnu.org>
6955
6956 * buff-menu.el: Convert to Tabulated List mode.
6957 (Buffer-menu-buffer+size-width): Make obsolete.
6958 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6959 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6960 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6961 documentation into docstring of buffer-menu.
6962 (Buffer-menu-toggle-files-only): Add an informative message.
6963 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6964 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6965 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6966 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6967 (Buffer-menu-execute, Buffer-menu-select)
6968 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6969 (Buffer-menu-bury): Use Tabulated List machinery.
6970 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6971 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6972 Delete.
6973 (list-buffers--refresh): New function.
6974 (list-buffers-noselect): Use it.
6975 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6976 (Buffer-menu--pretty-file-name): New helper functions.
6977
6978 * loadup.el: Preload tabulated-list.
6979
6980 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6981 tabulated-list-sort-column.
6982 (tabulated-list-init-header): Add the initial aligning space even
6983 if tabulated-list-padding is zero.
6984
6985 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6986
6987 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6988 whose cdr is not a cons cell correctly (bug#11038).
6989
6990 2012-05-06 Chong Yidong <cyd@gnu.org>
6991
6992 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6993 Accept additional plist in column descriptors.
6994 (tabulated-list-init-header): Obey it.
6995 (tabulated-list-get-entry): New function.
6996 (tabulated-list-put-tag): Use it. Use string-width instead of
6997 length.
6998 (tabulated-list--column-number): New function.
6999 (tabulated-list-print): Use it.
7000 (tabulated-list-print-col): New function.
7001 Set `tabulated-list-column-name' property on each column's text.
7002 (tabulated-list-print-entry): Use it.
7003 (tabulated-list-delete-entry, tabulated-list-set-col):
7004 New functions.
7005 (tabulated-list-sort-column): New command (Bug#11337).
7006
7007 * buff-menu.el (list-buffers): Move C-x C-b binding from
7008 buff-menu.el to bindings.el.
7009
7010 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7011 :advertised-binding feature.
7012
7013 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7014
7015 * progmodes/compile.el (compilation-internal-error-properties):
7016 Calculate start position correctly when end-col is set but
7017 end-line is not (Bug#11382).
7018
7019 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7020
7021 * man.el (Man-unindent): Use text-property-default-nonsticky to
7022 prevent untabify from inheriting face properties (Bug#11408).
7023
7024 2012-05-05 Stefan Merten <smerten@oekonux.de>
7025
7026 * textmodes/rst.el: Major merge with upstream development up to
7027 Docutils SVN r7399 / rst.el V1.2.1.
7028
7029 Clarify maintainership and authors.
7030
7031 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7032 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7033 (rst-official-version, rst-official-cvs-rev, rst-version)
7034 (rst-package-emacs-version-alist): New functions and variables
7035 for version information.
7036
7037 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7038 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7039 (rst-mode-syntax-table, rst-mode): New and corrected functions
7040 and variables representing reStructuredText features.
7041
7042 (rst-re): New function for reStructuredText regexes. Use in
7043 many places.
7044
7045 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7046 (rst-mode-map): Rebind keys.
7047
7048 (rst-mode-lazy, rst-font-lock-keywords)
7049 (rst-font-lock-extend-region)
7050 (rst-font-lock-extend-region-internal)
7051 (rst-font-lock-extend-region-extend)
7052 (rst-font-lock-find-unindented-line-limit)
7053 (rst-font-lock-find-unindented-line-match)
7054 (rst-adornment-level, rst-font-lock-adornment-level)
7055 (rst-font-lock-adornment-match)
7056 (rst-font-lock-handle-adornment-pre-match-form)
7057 (rst-font-lock-handle-adornment-matcher): Major revision of
7058 font-locking. Integrate with other code. Use `jit-lock-mode'.
7059
7060 (rst-preferred-adornments, rst-adjust-hook)
7061 (rst-new-adornment-down, rst-preferred-bullets)
7062 (rst-preferred-bullets, rst-indent, rst-indent-width)
7063 (rst-indent-field, rst-indent-literal-normal)
7064 (rst-indent-literal-minimized, rst-indent-comment): Change,
7065 extend and improve customization.
7066
7067 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7068 (rst-normalize-cursor-position, rst-get-decoration)
7069 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7070 (rst-rstrip, rst-toc-insert-find-delete-contents)
7071 (rst-shift-fill-region, rst-compute-bullet-tabs)
7072 (rst-debug-print-tabs, rst-debug-mark-found)
7073 (rst-shift-region-guts, rst-shift-region-right)
7074 (rst-shift-region-left, rst-use-char-classes)
7075 (rst-font-lock-keywords-function)
7076 (rst-font-lock-indentation-point)
7077 (rst-font-lock-find-unindented-line-begin)
7078 (rst-font-lock-find-unindented-line-end)
7079 (rst-font-lock-find-unindented-line)
7080 (rst-font-lock-adornment-point, rst-font-lock-level)
7081 (rst-adornment-level-alist): Remove functions and variables.
7082
7083 (rst-compare-adornments, rst-get-adornment-match)
7084 (rst-suggest-new-adornment, rst-get-adornments-around)
7085 (rst-adornment-complete-p, rst-get-next-adornment)
7086 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7087 (rst-straighten-adornments): Standardize function names to
7088 use "adornment" instead of "decoration". Correct callers.
7089 Similar standardizing in many places.
7090
7091 (rst-update-section, rst-adjust, rst-promote-region)
7092 (rst-enumerate-region, rst-bullet-list-region)
7093 (rst-repeat-last-character): Correct use of `interactive'.
7094
7095 (rst-classify-adornment, rst-find-all-adornments)
7096 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7097 (rst-find-leftmost-column, rst-repeat-last-character):
7098 Refactor functions.
7099
7100 (rst-find-title-line, rst-reset-section-caches)
7101 (rst-get-adornments-around, rst-adjust-adornment-work)
7102 (rst-arabic-to-roman, rst-roman-to-arabic)
7103 (rst-insert-list-pos, rst-insert-list-new-item)
7104 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7105 New functions.
7106
7107 (rst-all-sections, rst-section-hierarchy)
7108 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7109 New variables.
7110
7111 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7112 configuration instead of only buffer. Change where necessary.
7113
7114 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7115 (rst-shift-region, rst-adaptive-fill): New functions for
7116 indentation and filling.
7117
7118 (rst-comment-line-break, rst-comment-indent)
7119 (rst-comment-insert-comment, rst-comment-region)
7120 (rst-uncomment-region): New functions for handling comments.
7121
7122 (rst-compile): Quote shell arguments.
7123
7124 (rst-compile-pdf-preview, rst-compile-slides-preview):
7125 Delete temporary files after use.
7126
7127 2012-05-05 Glenn Morris <rgm@gnu.org>
7128
7129 * calendar/cal-html.el: Optionally include holidays in the output.
7130 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7131 (cal-html-holidays): New option.
7132 (cal-html-css-default): Add holiday entry.
7133 (holiday-in-range): Autoload it.
7134 (cal-html-htmlify-entry): Add optional class argument.
7135 (cal-html-htmlify-list): Add optional holidays argument.
7136 (cal-html-insert-agenda-days): Include holidays in the output.
7137 (cal-html-one-month): Maybe include holidays.
7138
7139 * calendar/holidays.el (holiday-in-range):
7140 Move here from cal-tex-list-holidays.
7141 * calendar/cal-tex.el (cal-tex-list-holidays):
7142 Make it an obsolete alias for holiday-in-range. Update all callers.
7143
7144 2012-05-05 Chong Yidong <cyd@gnu.org>
7145
7146 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7147 Nextstep.
7148
7149 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7150
7151 * files.el (file-auto-mode-skip): New var.
7152 (set-auto-mode-1): Use it.
7153
7154 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * repeat.el: Use lexical-binding.
7157 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7158 (repeat-undo-count): Remove.
7159 (repeat):
7160 * progmodes/octave-mod.el (octave-abbrev-start):
7161 * progmodes/f90.el (f90-abbrev-start):
7162 * face-remap.el (text-scale-adjust):
7163 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7164
7165 * emacs-lisp/pcase.el (pcase--let*): New function.
7166 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7167 a bit more.
7168 (pcase--split-pred): Be more clever about ruling out overlap between
7169 a predicate and some constant pattern.
7170 (pcase--q1): Use `null' instead of (eq foo nil).
7171
7172 * subr.el (setq-local, defvar-local): New macros.
7173 (kbd): Redefine as an alias.
7174 (with-selected-window): Leave unrelated frames alone.
7175 (set-temporary-overlay-map): New function.
7176
7177 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * subr.el (user-error): New function.
7180 * window.el (switch-to-buffer):
7181 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7182 (smerge-match-conflict):
7183 * simple.el (previous-matching-history-element)
7184 (next-matching-history-element, goto-history-element, undo-more)
7185 (undo-start):
7186 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7187 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7188 (next-file, tags-loop-scan, list-tags, complete-tag):
7189 * progmodes/compile.el (compilation-loop):
7190 * mouse.el (mouse-minibuffer-check):
7191 * man.el (Man-bgproc-sentinel, Man-goto-page):
7192 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7193 (Info-history-forward, Info-follow-reference, Info-menu)
7194 (Info-extract-menu-item, Info-extract-menu-counting)
7195 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7196 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7197 (Info-next-reference, Info-prev-reference, Info-index)
7198 (Info-index-next, Info-follow-nearest-node)
7199 (Info-copy-current-node-name):
7200 * imenu.el (imenu--make-index-alist)
7201 (imenu-default-create-index-function, imenu-add-to-menubar):
7202 * files.el (basic-save-buffer, recover-file):
7203 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7204 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7205 (checkdoc-message-text, checkdoc-defun):
7206 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7207 * cus-edit.el (customize-changed-options, customize-rogue)
7208 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7209 (custom-variable-mark-to-reset-standard)
7210 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7211 (custom-file):
7212 * completion.el (check-completion-length):
7213 * comint.el (comint-search-arg)
7214 (comint-previous-matching-input-string-position)
7215 (comint-previous-matching-input)
7216 (comint-replace-by-expanded-history-before-point, comint-send-input)
7217 (comint-copy-old-input, comint-backward-matching-input)
7218 (comint-goto-process-mark, comint-set-process-mark):
7219 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7220 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7221
7222 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * dabbrev.el (dabbrev--ignore-case-p): New function.
7225 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7226 Use it.
7227
7228 * files.el (automount-dir-prefix): Mark as obsolete.
7229
7230 2012-05-04 Glenn Morris <rgm@gnu.org>
7231
7232 * patcomp.el, play/bruce.el: Move to obsolete/.
7233
7234 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7235
7236 Fix minor Y10k bugs.
7237 * arc-mode.el (archive-unixdate):
7238 * autoinsert.el (auto-insert-alist):
7239 * calc/calc-forms.el (math-this-year):
7240 * emacs-lisp/copyright.el (copyright-current-year)
7241 (copyright-update-year, copyright):
7242 * tar-mode.el (tar-clip-time-string):
7243 * time.el (display-time-update):
7244 Don't assume years have 4 digits.
7245
7246 2012-05-04 Chong Yidong <cyd@gnu.org>
7247
7248 * dos-w32.el (file-name-buffer-file-type-alist)
7249 (direct-print-region-use-command-dot-com):
7250 * ffap.el (ffap-menu-regexp):
7251 * find-file.el (ff-special-constructs):
7252 * follow.el (follow-debug):
7253 * forms.el (forms--debug):
7254 * iswitchb.el (iswitchb-all-frames):
7255 * ido.el (ido-all-frames):
7256 * emacs-lisp/timer.el (timer-max-repeats):
7257 * mail/feedmail.el (feedmail-mail-send-hook)
7258 (feedmail-mail-send-hook-queued):
7259 * mail/footnote.el (footnote-signature-separator):
7260 * mail/mailabbrev.el (mail-alias-separator-string)
7261 (mail-abbrev-mode-regexp):
7262 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7263 * progmodes/idlwave.el (idlwave-libinfo-file)
7264 (idlwave-default-completion-case-is-down)
7265 (idlwave-library-routines): Convert defvars to defcustoms.
7266
7267 * mail/rmail.el (rmail-decode-mime-charset):
7268 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7269 (idlwave-shell-fix-inserted-breaks)
7270 (idlwave-shell-activate-alt-keybindings)
7271 (idlwave-shell-use-breakpoint-glyph):
7272 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7273
7274 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7277
7278 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7279
7280 * progmodes/verilog-mode.el (font-lock-keywords):
7281 Fix mis-highligting auto. Reported by Craig Barner.
7282 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7283 defines from global name space. Reported by Dan Dever.
7284 (verilog-auto-reset, verilog-auto-reset-widths)
7285 (verilog-auto-tieoff): Support using unbased numbers for
7286 AUTORESET and AUTOTIEOFF.
7287 (verilog-submit-bug-report): Update variable list.
7288 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7289 parenthesis from not matching. Reported by Michael Rytting.
7290 (verilog-auto-template-lint): Fix hash error when linting modules
7291 with no used templates.
7292 (verilog-warn, verilog-warn-error)
7293 (verilog-warn-fatal): When non-interactive report multiple
7294 warnings before exiting. Suggested by Brad Dobbie.
7295 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7296 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7297 to report unused template errors. Reported by Brad Dobbie.
7298 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7299 nets, bug438. Reported by Vns Blore.
7300 (verilog-auto-inout-module, verilog-auto-reg)
7301 (verilog-read-decls, verilog-read-sub-decls-sig)
7302 (verilog-signals-edit-wire-reg, verilog-signals-with):
7303 Fix passing of Verilog data types in ANSI input/output ports
7304 such as "output logic" into the AUTOs. Special case "wire" and
7305 "reg" for backwards compatibility presuming Verilog 2001.
7306 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7307 (verilog-preprocess): Fix replication of preprocess output.
7308 Reported by Brad Dobbie.
7309 (verilog-auto-inst-interfaced-ports):
7310 Create verilog-auto-inst-interfaced-ports, bug429.
7311 Reported by Julian Gorfajn.
7312 (verilog-after-save-font-hook)
7313 (verilog-before-save-font-hook): New variable.
7314 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7315 (verilog-save-font-mods): Wrap disabling fontification, reported
7316 by David Rogoff.
7317 (verilog-do-indent, verilog-pretty-declarations-auto)
7318 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7319 Reported by Pierre-David Pfister.
7320 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7321 of class declarations, bug292. Reported by Kevin Heilman.
7322 (verilog-read-decls): Fix 'parameter type' not appearing in
7323 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7324 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7325 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7326 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7327 Reported by David Kravitz.
7328
7329 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7330
7331 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7332 assignment with tests in ifs and for loops.
7333 (verilog-extended-complete-re, verilog-complete-reg): Change so
7334 that DPI inport functions don't look like fuction declarations.
7335 (verilog-pretty-expr): Don't line up assignment
7336 operations to the test and increment in if and for loops
7337 (verilog-extended-complete-re, verilog-complete-reg): Change so
7338 that DPI inport functions don't look like fuction declarations.
7339
7340 2012-05-03 Kenichi Handa <handa@m17n.org>
7341
7342 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7343 decoding, and show a warning message without signaling an error
7344 (Bug#11282).
7345
7346 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * emacs-lisp/bytecomp.el
7349 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7350 since cconv.el might have introduced :fun-body, internal-make-closure,
7351 and friends for bytecomp to handle (bug#11391).
7352 * custom.el (defcustom): Avoid ((λ ..) ..).
7353
7354 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7357
7358 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7359
7360 * notifications.el (dbus-debug):
7361 * term/linux.el (gpm-mouse-enable):
7362 * term/screen.el (xterm-register-default-colors): Declare.
7363
7364 2012-05-02 Chong Yidong <cyd@gnu.org>
7365
7366 * cus-start.el (gc-cons-percentage, exec-suffixes)
7367 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7368 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7369 (make-cursor-line-fully-visible, void-text-area-pointer)
7370 (font-list-limit): Add customization data.
7371
7372 * allout.el (allout-exposure-change-functions)
7373 (allout-structure-added-functions)
7374 (allout-structure-deleted-functions)
7375 (allout-structure-shifted-functions): Rename abnormal hooks from
7376 *-hook, and convert to defcustoms.
7377 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7378 Convert to defcustoms.
7379 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7380
7381 * allout-widgets.el: Hook callers changed.
7382
7383 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7384
7385 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7386 the yanked message in preference to the default value of
7387 buffer-file-coding-system.
7388
7389 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7390
7391 * window.el (display-buffer--action-function-custom-type):
7392 Fix entry.
7393
7394 2012-05-02 Alan Mackenzie <acm@muc.de>
7395
7396 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7397
7398 2012-05-01 Glenn Morris <rgm@gnu.org>
7399
7400 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7401
7402 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7403
7404 * cus-edit.el (custom-variable-documentation): Simplify with format.
7405
7406 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7407 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * simple.el (suggest-key-bindings, execute-extended-command):
7410 Move from keyboard.c.
7411
7412 2012-05-01 Chong Yidong <cyd@gnu.org>
7413
7414 * follow.el: Eliminate advice.
7415 (set-process-filter, process-filter, sit-for): Advice deleted.
7416 (follow-mode-off-hook): Obsolete hook removed.
7417 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7418 Vars deleted.
7419 (follow-auto): Use a :set function.
7420 (follow-mode): Rewritten. Don't advise process filters.
7421 (follow-switch-to-current-buffer-all, follow-scroll-up)
7422 (follow-scroll-down): Assume follow-mode is bound.
7423 (follow-comint-scroll-to-bottom)
7424 (follow-align-compilation-windows): New functions.
7425 (follow--window-sorter): New function.
7426 (follow-all-followers): Use it to explicitly sort windows by their
7427 positions; don't make assumptions about next-window order.
7428 (follow-windows-start-end, follow-delete-other-windows-and-split)
7429 (follow-calc-win-start): Doc fix.
7430 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7431 vertical-motion unnecessarily.
7432 (follow-adjust-window): New function.
7433 (follow-post-command-hook): Use it.
7434 (follow-call-set-process-filter, follow-call-process-filter)
7435 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7436 (follow-stop-intercept-process-output, follow-generic-filter):
7437 Functions deleted.
7438 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7439 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7440 New functions, replacing advice on scroll-bar-* commands.
7441 (follow-mwheel-scroll): New function (Bug#4112).
7442
7443 * comint.el (comint-adjust-point): New function.
7444 (comint-postoutput-scroll-to-bottom): Use it.
7445 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7446
7447 2012-05-01 Glenn Morris <rgm@gnu.org>
7448
7449 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7450 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7451 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7452 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7453 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7454 Remove no-byte-compile setting.
7455
7456 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7459 all-completions code to not return a number in the last cdr.
7460
7461 2012-04-30 Leo Liu <sdl.web@gmail.com>
7462
7463 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7464 read-only error.
7465
7466 2012-04-29 Chong Yidong <cyd@gnu.org>
7467
7468 * follow.el (follow-calc-win-end): Rewrite to handle partial
7469 screen lines correctly (Bug#8390).
7470 (follow-avoid-tail-recenter): Minor cleanup.
7471
7472 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 Avoid the obsolete `assoc' package.
7475 * speedbar.el (speedbar-refresh): Avoid adelete.
7476 (speedbar-file-lists): Simplify and avoid aput.
7477 * man.el (Man--sections, Man--refpages): New vars, replacing
7478 Man-sections-alist and Man-refpages-alist.
7479 (Man-build-section-alist, Man-build-references-alist):
7480 Use them; avoid aput.
7481 (Man--last-section, Man--last-refpage): New vars.
7482 (Man-follow-manual-reference): Use them.
7483 Use the `default' arg of completing-read.
7484 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7485
7486 2012-04-27 Chong Yidong <cyd@gnu.org>
7487
7488 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7489
7490 * startup.el (x-apply-session-resources): New function.
7491
7492 * term/ns-win.el (ns-initialize-window-system):
7493 * term/w32-win.el (w32-initialize-window-system):
7494 * term/x-win.el (x-initialize-window-system): Use it to properly
7495 set menu-bar-mode and other vars from X resources, even if the
7496 initial frame is not a window-system frame (Bug#2299).
7497
7498 * subr.el (read-key): Avoid running filter function when setting
7499 up temporary tool bar entries (Bug#9922).
7500
7501 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7502
7503 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7504 (Bug#11344)
7505
7506 2012-04-27 Chong Yidong <cyd@gnu.org>
7507
7508 * select.el (xselect--encode-string): New function, split from
7509 xselect-convert-to-string.
7510 (xselect-convert-to-string): Use it.
7511 (xselect-convert-to-filename, xselect-convert-to-os)
7512 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7513 returned strings are properly encoded (Bug#11315).
7514
7515 2012-04-27 Chong Yidong <cyd@gnu.org>
7516
7517 * simple.el (delete-active-region): Move to killing custom group.
7518
7519 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * progmodes/which-func.el (which-func-current): Quote %
7522 characters for mode-line processing.
7523
7524 2012-04-27 Chong Yidong <cyd@gnu.org>
7525
7526 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7527 reaching eob (Bug#11286).
7528
7529 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7530
7531 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7532 (gdb): Make it buffer-local and init to zero.
7533 (gdb-control-commands-regexp): New variable.
7534 (gdb-send): Don't wrap in "-interpreter-exec console" if
7535 gdb-control-level is positive. Increment gdb-control-level
7536 whenever the command matches gdb-control-commands-regexp, and
7537 decrement it each time the command is "end". (Bug#11279)
7538
7539 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (adjust-window-trailing-edge, enlarge-window)
7542 (shrink-window, window-resize):
7543 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7544 windows (Bug#11276).
7545
7546 2012-04-27 Chong Yidong <cyd@gnu.org>
7547
7548 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7549 fix "missing prefix" warning. All callers changed.
7550
7551 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * emacs-lisp/assoc.el: Move to obsolete/.
7554
7555 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7558
7559 * term/ns-win.el (ns-define-service):
7560 * progmodes/pascal.el (pascal-goto-defun):
7561 * progmodes/js.el (js--read-tab):
7562 * progmodes/etags.el (tags-lazy-completion-table):
7563 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7564 * emacs-lisp/ewoc.el (ewoc--wrap):
7565 * emacs-lisp/assoc.el (aput, adelete, amake):
7566 * doc-view.el (doc-view-convert-current-doc):
7567 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7568
7569 2012-04-26 Chong Yidong <cyd@gnu.org>
7570
7571 * image.el (image-type-from-buffer): Only return supported image
7572 type (Bug#9045).
7573
7574 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7575 value, for symmetry with diff-end-of-hunk.
7576 (diff-split-hunk, diff-find-source-location)
7577 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7578 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7579 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7580 compute the relevant hunk or file properly (Bug#6005).
7581 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7582
7583 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * vc/vc-mtn.el:
7586 * vc/vc-hg.el:
7587 * vc/vc-git.el:
7588 * vc/vc-dir.el:
7589 * vc/vc-cvs.el:
7590 * vc/vc-bzr.el:
7591 * vc/vc-arch.el:
7592 * vc/vc.el: Replace lexical-let by lexical-binding.
7593 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7594 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7595 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7596
7597 2012-04-26 Chong Yidong <cyd@gnu.org>
7598
7599 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7600 (diff-mode-shared-map): Bind it to / and [remap undo].
7601
7602 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7603 (ediff-window-setup-function): Use it as the default, to set up
7604 windows based on whether the current frame is graphical (Bug#2138).
7605 (ediff-choose-window-setup-function-automatically): Make obsolete.
7606
7607 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7608
7609 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * ffap.el: Remove old code for obsolete package.
7612 (ffap-complete-as-file-p): Remove.
7613
7614 Use completion-table-with-quoting for comint and pcomplete.
7615 * comint.el (comint--unquote&requote-argument)
7616 (comint--unquote-argument, comint--requote-argument): New functions.
7617 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7618 (comint-quote-filename): Use regexp-opt-charset.
7619 (comint--common-suffix, comint--common-quoted-suffix)
7620 (comint--table-subvert): Remove.
7621 (comint-unquote-function, comint-requote-function): New vars.
7622 (comint--complete-file-name-data): Use them with
7623 completion-table-with-quoting.
7624 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7625 * pcomplete.el (pcomplete-arg-quote-list)
7626 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7627 (pcomplete-unquote-argument-function): Default to non-nil.
7628 (pcomplete-unquote-argument): Simplify.
7629 (pcomplete--common-quoted-suffix): Remove.
7630 (pcomplete-requote-argument-function): New var.
7631 (pcomplete--common-suffix): New function.
7632 (pcomplete-completions-at-point): Use completion-table-with-quoting
7633 and completion-table-subvert.
7634
7635 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7636 (minibuffer--double-dollars): Preserve properties.
7637 (completion--sifn-requote): New function.
7638 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7639
7640 * minibuffer.el: Add support for completion of quoted/escaped data.
7641 (completion-table-with-quoting, completion-table-subvert): New funs.
7642 (completion--twq-try, completion--twq-all): New functions.
7643 (completion--nth-completion): New function.
7644 (completion-try-completion, completion-all-completions): Use it.
7645
7646 2012-04-25 Leo Liu <sdl.web@gmail.com>
7647
7648 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7649 Use compilation-message if available to find real filename.
7650
7651 2012-04-25 Chong Yidong <cyd@gnu.org>
7652
7653 * vc/diff-mode.el (diff-setup-whitespace): New function.
7654 (diff-mode): Use it.
7655
7656 * vc/diff.el (diff-sentinel):
7657 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7658 Whitespace mode variables based on diff style (Bug#8612).
7659
7660 2012-04-25 Leo Liu <sdl.web@gmail.com>
7661
7662 * progmodes/python.el (python-send-region): Add suffix .py to the
7663 temp file.
7664
7665 * files.el (auto-mode-alist): Use javascript-mode instead.
7666
7667 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7668
7669 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7670
7671 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7672 (soap-resolve-references-for-array-type): Hack to prevent self
7673 references, see Bug#9.
7674 (soap-parse-envelope): Report the contents of the 'detail' node
7675 when receiving a fault reply.
7676 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7677
7678 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7679 (soap-inspect-simple-type): New function.
7680
7681 * net/soap-client.el (soap-simple-type): New struct.
7682 (soap-default-xsd-types, soap-default-soapenc-types)
7683 (soap-decode-basic-type, soap-encode-basic-type):
7684 support unsignedInt and double basic types.
7685 (soap-resolve-references-for-simple-type)
7686 (soap-parse-simple-type, soap-encode-simple-type): New function.
7687 (soap-parse-schema): Parse xsd:simpleType declarations.
7688
7689 * net/soap-client.el (soap-default-xsd-types)
7690 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7691 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7692 the local name of "soapenc:Array".
7693 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7694 decoding integer, byte and anyURI xsd types.
7695
7696 2012-04-25 Chong Yidong <cyd@gnu.org>
7697
7698 * cus-edit.el (custom-buffer-create-internal): Update header text.
7699
7700 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7701
7702 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7703 settings on 'system-type', not on 'window-system'. On MS-Windows,
7704 set interactive-mode on in GDB.
7705
7706 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7709 (ruby-syntax-propertize-regexp): Remove.
7710 (ruby-syntax-propertize-function): Split regexp into chunks.
7711 Match following code directly.
7712
7713 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7714
7715 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7716 (ruby-syntax-propertize-regexp): New function.
7717 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7718 by a special keyword.
7719
7720 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7721 (ruby-syntax-general-delimiters-goto-beg)
7722 (ruby-syntax-propertize-general-delimiters): New functions.
7723 (ruby-syntax-propertize-function): Use them to handle GDL.
7724 (ruby-font-lock-keywords): Move old handling of GDL...
7725 (ruby-font-lock-syntactic-keywords): .. to here.
7726 (ruby-calculate-indent): Adjust indentation for GDL.
7727
7728 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7729
7730 * notifications.el (top): Remove unneeded declarations.
7731 (notifications-specification-version): Change to "1.2".
7732 (notifications-interface, notifications-notify-method)
7733 (notifications-close-notification-method): Fix docstring.
7734 (notifications-get-capabilities-method): New defconst.
7735 (notifications-notify): Add :action-items, :resident and
7736 :transient hints. Change "image_data" to "image-data" and
7737 "image_path" to "image-path".
7738 (notifications-get-capabilities): New defun.
7739
7740 2012-04-24 Leo Liu <sdl.web@gmail.com>
7741
7742 * progmodes/python.el: Move hideshow setup to the end.
7743
7744 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7745
7746 * window.el (handle-select-window): Clear echo area since this is
7747 no more done by read_char (Bug#11304).
7748
7749 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7752 and `/ M' to filter-derived-mode.
7753 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7754 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7755 (ibuffer-mark-by-mode): Use default rather than initial-input.
7756 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7757
7758 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7759
7760 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7761 (ibuffer-filter-by-derived-mode): New filter.
7762 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7763
7764 2012-04-23 Andreas Politz <politza@fh-trier.de>
7765
7766 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7767
7768 2012-04-23 Chong Yidong <cyd@gnu.org>
7769
7770 * cus-edit.el (customize-apropos, customize-apropos-options):
7771 Disable matching of non-option variables (Bug#11176).
7772 (customize-option, customize-option-other-window)
7773 (customize-changed-options): Doc fix.
7774 (customize-apropos-options, customize-apropos-faces)
7775 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7776
7777 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7778 Fix word list splitting (Bug#11132).
7779 (apropos-symbol, apropos-keybinding, apropos-label)
7780 (apropos-property, apropos-function-button)
7781 (apropos-variable-button, apropos-misc-button): New faces.
7782 (apropos-symbol-face, apropos-keybinding-face)
7783 (apropos-label-face, apropos-property-face, apropos-match-face):
7784 Variables removed (Bug#8396).
7785 (apropos-library-button, apropos-format-plist, apropos-print)
7786 (apropos-print-doc, apropos-describe-plist): Callers changed.
7787
7788 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7789
7790 * net/xesam.el (xesam-mode-map): Use let-bound map in
7791 initialization. (Bug#11292)
7792
7793 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7794
7795 Preserve ispell session localwords when switching back to
7796 original buffer.
7797
7798 * textmodes/ispell.el (ispell-buffer-session-localwords):
7799 New buffer-local variable to hold buffer session localwords.
7800 (ispell-kill-ispell): Add option 'clear to delete session
7801 localwords.
7802 (ispell-command-loop, ispell-change-dictionary)
7803 (ispell-buffer-local-words): Preserve session localwords when
7804 needed.
7805
7806 * textmodes/flyspell.el (flyspell-process-localwords)
7807 (flyspell-do-correct): Preserve session localwords when needed.
7808
7809 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7810
7811 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7812 using obsolete `translation-table-for-input'.
7813 (ispell-word, ispell-process-line, ispell-complete-word):
7814 Use plain `insert' instead of removed `ispell-insert-word'.
7815
7816 2012-04-22 Chong Yidong <cyd@gnu.org>
7817
7818 * cus-edit.el (custom-variable-menu)
7819 (custom-variable-reset-saved, custom-face-menu)
7820 (custom-face-reset-saved): If there is no saved value, make the
7821 "reset-saved" operation bring back the default (Bug#9509).
7822 (custom-face-state): Properly detect themed faces.
7823
7824 * faces.el (face-spec-set): Stop supporting deprecated form of
7825 third arg.
7826
7827 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7828
7829 Move functions from C to Lisp. Make non-blocking method calls
7830 the default. Implement further D-Bus standard interfaces.
7831
7832 * net/dbus.el (dbus-message-internal): Declare function.
7833 Remove unneeded function declarations.
7834 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7835 (dbus-message-type-method-return, dbus-message-type-error)
7836 (dbus-message-type-signal): Declare variables. Remove local
7837 definitions.
7838 (dbus-interface-dbus, dbus-interface-peer)
7839 (dbus-interface-introspectable, dbus-interface-properties)
7840 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7841 Adapt docstring.
7842 (dbus-interface-objectmanager): New defconst.
7843 (dbus-call-method, dbus-call-method-asynchronously)
7844 (dbus-send-signal, dbus-method-return-internal)
7845 (dbus-method-error-internal, dbus-register-service)
7846 (dbus-register-signal, dbus-register-method): New defuns, moved
7847 from dbusbind.c
7848 (dbus-call-method-handler, dbus-setenv)
7849 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7850 New defuns.
7851 (dbus-call-method-non-blocking): Make it an obsolete function.
7852 (dbus-unregister-object, dbus-unregister-service)
7853 (dbus-handle-event, dbus-register-property)
7854 (dbus-property-handler): Obey the new structure of
7855 `bus-registered-objects'.
7856 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7857 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7858 Use `dbus-call-method'.
7859
7860 2012-04-22 Chong Yidong <cyd@gnu.org>
7861
7862 * cus-edit.el (custom-commands, custom-reset-menu)
7863 (Custom-reset-standard): Tweak labels.
7864 (custom-reset-button-menu): Change default to t.
7865 (custom-buffer-create-internal): For the custom-reset-button-menu
7866 case, put the revert button first.
7867 (custom-group-subtitle): New face.
7868 (custom-group-value-create): Align docstring to a specific column.
7869
7870 * wid-edit.el (widget-documentation-link-add): Don't handle
7871 indentation in this function.
7872 (widget-documentation-string-indent-to): New function.
7873 (widget-documentation-string-value-create): Use it.
7874
7875 * autorevert.el (auto-revert):
7876 * epg-config.el (epg):
7877 * ibuffer.el (ibuffer):
7878 * mpc.el (mpc):
7879 * ses.el (ses):
7880 * eshell/eshell.el (eshell):
7881 * net/ange-ftp.el (ange-ftp):
7882 * progmodes/ebnf2ps.el (postscript):
7883 * progmodes/flymake.el (flymake):
7884 * progmodes/prolog.el (prolog):
7885 * progmodes/verilog-mode.el (verilog-mode):
7886 * progmodes/which-func.el (which-func):
7887 * term/xterm.el (xterm):
7888 * textmodes/picture.el (picture):
7889 * textmodes/tildify.el (tildify):
7890 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7891 customization buffers.
7892
7893 2012-04-22 Alan Mackenzie <acm@muc.de>
7894
7895 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7896 Adding a ) can hide the resulting (..) from searches. Fix it.
7897 Bound the backward search to the position of the existing (.
7898
7899 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * progmodes/verilog-mode.el (verilog-mode): Check whether
7902 which-func-modes is t before adding verilog-mode.
7903 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7904
7905 2012-04-21 Leo Liu <sdl.web@gmail.com>
7906
7907 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7908
7909 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7910
7911 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7912 filling of the last column of a table (Bug#5635).
7913 (woman-find-next-control-line): New arg, specifying an additional
7914 regexp component for the control line.
7915 (woman2-roff-buffer): Use it.
7916 (woman-break-table): New function.
7917 (woman2-TS): Use it.
7918
7919 2012-04-21 Chong Yidong <cyd@gnu.org>
7920
7921 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7922 (woman-horizontal-escapes, woman-negative-vertical-space)
7923 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7924 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7925
7926 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * minibuffer.el (completion-file-name-table): Complete user names.
7929
7930 2012-04-20 Leo Liu <sdl.web@gmail.com>
7931
7932 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7933 and pcase-let*.
7934
7935 2012-04-20 Chong Yidong <cyd@gnu.org>
7936
7937 * server.el (server-execute): Respect initial-buffer-choice if it
7938 is a string and there are no files to open (Bug#2825).
7939 (server-create-window-system-frame, server-create-tty-frame):
7940 Don't switch buffers here.
7941 (server-process-filter): Only try to open a window system frame if
7942 compiled with graphical support (Bug#8314).
7943
7944 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7945
7946 * battery.el (battery-echo-area-format): Display remaining time
7947 for sysfs backend too (Bug#11269).
7948 (battery-linux-sysfs): Fix conditional for the charge.
7949
7950 2012-04-20 Chong Yidong <cyd@gnu.org>
7951
7952 * progmodes/gdb-mi.el (gdb): Revert previous change.
7953 (gdb-inferior-io--init-proc): New function.
7954 (gdb-init-1): Use it.
7955 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7956 responsible for allocating a new pty and hooking it to gdb when
7957 the old pty gets an EIO due to process exit.
7958 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7959 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7960 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7961
7962 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7963
7964 * window.el (window-min-size, window-sizable, window-min-delta)
7965 (window-max-delta, window--resizable, window-resizable)
7966 (window-total-size, window-full-height-p, window-full-width-p)
7967 (window-in-direction, window--resize-mini-window, window-resize)
7968 (window--resize-child-windows-normal)
7969 (window--resize-child-windows, window--resize-siblings)
7970 (window--resize-this-window, adjust-window-trailing-edge)
7971 (enlarge-window, shrink-window): Doc fixes.
7972
7973 2012-04-20 Chong Yidong <cyd@gnu.org>
7974
7975 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7976 New function to call delete-process on the gdb-inferior buffer's pty.
7977 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7978 pty process (Bug#11273).
7979 (gdb-update): New arg to suppress talking to the gdb process.
7980 (gdb-done-or-error): Use it.
7981 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7982 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7983 sentinel not being called.
7984
7985 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7986
7987 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7988
7989 2012-04-20 Glenn Morris <rgm@gnu.org>
7990
7991 * net/network-stream.el (open-network-stream): Doc fix.
7992
7993 2012-04-20 Chong Yidong <cyd@gnu.org>
7994
7995 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7996
7997 2012-04-20 Alan Mackenzie <acm@muc.de>
7998
7999 Ensure searching for keywords is case sensitive.
8000
8001 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8002 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8003 (c-defun-name, c-mark-function, c-cpp-define-name)
8004 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8005 (c-context-line-break): Bind case-fold-search to nil.
8006
8007 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8008 Bind case-fold-search to nil.
8009
8010 2012-04-20 Chong Yidong <cyd@gnu.org>
8011
8012 * mail/sendmail.el (mail-bury): Call return action with the right
8013 Rmail buffer (Bug#11242).
8014
8015 * server.el (server-process-filter): Handle corner case where both
8016 tty and nowait options are present (Bug#11102).
8017
8018 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8019
8020 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8021 (top level): Put into the executable the ident-style '$Id:' tag on
8022 windows-nt as well.
8023
8024 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * electric.el (electric-indent-post-self-insert-function): Check that
8027 electric-indent-mode is enabled in current buffer.
8028
8029 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * imenu.el (imenu-progress-message): Restore; it is "used" in
8032 erc/erc-imenu.el and net/snmp-mode.el.
8033
8034 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8035
8036 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8037 (mouse-avoidance-nudge-mouse): Remove unused binding.
8038
8039 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8040
8041 * descr-text.el (describe-char):
8042 * progmodes/python.el (python-describe-symbol):
8043 Don't call `toggle-read-only', set `buffer-read-only'.
8044
8045 * imenu.el (imenu-default-goto-function): Mark unused args.
8046 (imenu-progress-message): Remove obsolete macro; all callers changed.
8047
8048 * subr.el (keymap-canonicalize): Remove unused binding.
8049 (read-passwd): Mark unused arg.
8050
8051 * tutorial.el (tutorial--display-changes): Remove unused binding.
8052 (tutorial--save-tutorial-to): Remove unused variable.
8053
8054 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8055 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8056 (package-generate-autoloads, package-menu--generate)
8057 (package-menu--find-upgrades): Remove unused bindings.
8058
8059 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8060 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8061 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8062 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8063 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8064 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8065 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8066 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8067 (cua-delete-char-rectangle): Mark unused args.
8068 (cua-align-rectangle): Remove unused binding.
8069
8070 * mail/rmail.el (compilation--message->loc)
8071 (epa--find-coding-system-for-mime-charset): Declare.
8072
8073 * net/dbus.el (dbus-register-service): Declare.
8074 (dbus-name-owner-changed-handler): Remove unused binding.
8075
8076 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8077 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8078 (nxml-scan-backward-within): Mark unused arg.
8079 (nxml-dynamic-markup-word): Remove unused binding.
8080
8081 * mouse.el (mouse-menu-major-mode-map):
8082 * emacs-lisp/authors.el (authors-scan-change-log)
8083 (authors-add-to-author-list):
8084 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8085 * emacs-lisp/smie.el (smie-auto-fill):
8086 * mail/sendmail.el (mail-bury):
8087 * mail/unrmail.el (unrmail):
8088 * net/tls.el (open-tls-stream):
8089 * textmodes/picture.el (picture-mouse-set-point):
8090 Remove unused bindings.
8091
8092 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * net/tramp.el (tramp-action-password): Let-bind
8095 `enable-recursive-minibuffers' to t.
8096
8097 2012-04-18 Sam Steingold <sds@gnu.org>
8098
8099 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8100 instead of 'string to accommodate values like [f11].
8101 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8102 * progmodes/gdb-mi.el: Likewise.
8103
8104 2012-04-18 Leo Liu <sdl.web@gmail.com>
8105
8106 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8107 current buffer.
8108 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8109 LOCAL is nil.
8110
8111 2012-04-18 Chong Yidong <cyd@gnu.org>
8112
8113 * simple.el (line-move): Use forward-line if in batch mode
8114 (Bug#11053).
8115
8116 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8117
8118 * files.el (after-find-file): Do not try to add a final newline if
8119 the buffer is read-only (Bug#11156).
8120
8121 2012-04-17 Richard Stallman <rms@gnu.org>
8122
8123 * mail/rmail.el (rmail-start-mail):
8124 Pass (rmail-mail-return...) for the return-action.
8125 Pass (rmail-yank-current-message...) for the yank-action.
8126 (rmail-yank-current-message): New function.
8127 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8128 (rmail-reply): Likewise.
8129 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8130
8131 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8132 buffer, not the last. Reject temp buffers. Use the rmail-mode
8133 buffer, not newbuf.
8134
8135 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8136
8137 * server.el (server-ensure-safe-dir): Simplify.
8138
8139 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * emacs-lisp/smie.el: Provide smarter auto-filling.
8142 (smie-auto-fill): New function.
8143 (smie-setup): Use it.
8144
8145 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8146
8147 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8148
8149 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8150 (comment-indent): Use it.
8151
8152 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8153
8154 * ses.el: The overall change is to add cell renaming, that is
8155 setting fancy names for cell symbols other than name matching
8156 "\\`[A-Z]+[0-9]+\\'" regexp .
8157 (ses-localvars): Add ses--renamed-cell-symb-list.
8158 (ses-create-cell-variable): New defun.
8159 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8160 (ses-relocate-formula): Relocate formulas only for cells the
8161 symbols of which are not renamed, i.e. symbols whose names do not
8162 match regexp "\\`[A-Z]+[0-9]+\\'".
8163 (ses-relocate-all): Relocate values only for cells the symbols of
8164 which are not renamed.
8165 (ses-load): Create cells variables as the (ses-cell ...) are read,
8166 in order to check row col consistency with cell symbol name only
8167 for cells that are not renamed.
8168 (ses-replace-name-in-formula): New defun.
8169 (ses-rename-cell): New defun.
8170
8171 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8172
8173 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8174 New option (bug#11118).
8175 (perl-calculate-indent): Respect it.
8176
8177 2012-04-17 Glenn Morris <rgm@gnu.org>
8178
8179 * dired-aux.el (dired-mark-read-string): Doc fix.
8180
8181 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8182
8183 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8184 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8185
8186 2012-04-17 Glenn Morris <rgm@gnu.org>
8187
8188 * mouse.el (mouse-drag-track):
8189 * speedbar.el (speedbar-frame-mode):
8190 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8191
8192 2012-04-16 Leo Liu <sdl.web@gmail.com>
8193
8194 * progmodes/python.el: Trivial cleanup.
8195
8196 2012-04-16 Glenn Morris <rgm@gnu.org>
8197
8198 * vc/vc.el (vc-string-prefix-p):
8199 * vc/pcvs-util.el (cvs-string-prefix-p):
8200 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8201 * mpc.el (mpc-string-prefix-p):
8202 Make all of these into obsolete aliases for string-prefix-p.
8203 Update callers.
8204 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8205
8206 * textmodes/two-column.el: Move custom options to the start.
8207 (frame-width): Remove compat definition.
8208 (2C-associate-buffer, 2C-dissociate):
8209 Use with-current-buffer rather than save-excursion.
8210 (2C-dissociate): Force a mode-line update.
8211 (2C-autoscroll): Use ignore-errors.
8212
8213 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8214 Autoload trivia.
8215
8216 * emacs-lisp/cl-extra.el (*random-state*):
8217 Remove unnecessary declaration.
8218
8219 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8220
8221 * play/cookie1.el (cookie-snarf):
8222 Give an explicit error if input file cannot be read.
8223
8224 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8225
8226 * progmodes/perl-mode.el (c-macro-expand):
8227 Remove unnecessary autoload (it is in loaddefs.el).
8228
8229 * textmodes/picture.el (picture-desired-column)
8230 (picture-update-desired-column): Convert comments to doc-strings.
8231 (picture-substitute): Remove function.
8232 (picture-mode-map): Initialize in the defvar.
8233
8234 * woman.el: Remove eval-after-load for tar-mode.
8235 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8236 (woman-tar-extract-file): Autoload it.
8237
8238 * frame.el (automatic-hscrolling): Make this alias obsolete.
8239
8240 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8241
8242 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8243 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8244 (ispell-dictionary-base-alist): Revert to original XEmacs
8245 friendly version for default. [:alpha:] will be added in
8246 `ispell-set-spellchecker-params' if needed.
8247
8248 2012-04-16 Chong Yidong <cyd@gnu.org>
8249
8250 * image.el (imagemagick--file-regexp): New variable.
8251 (imagemagick-register-types): Use it.
8252 (imagemagick-types-inhibit): Add :set function. Allow new value
8253 of t to inhibit all types.
8254
8255 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8256 so we can preload it.
8257
8258 * loadup.el (fboundp): Preload regexp-opt, needed by
8259 imagemagick-register-types.
8260
8261 2012-04-15 Chong Yidong <cyd@gnu.org>
8262
8263 * frame.el (scrolling): Remove nearly unused customization group.
8264
8265 * scroll-all.el (scroll-all-mode): Move to windows group.
8266
8267 2012-04-15 Chong Yidong <cyd@gnu.org>
8268
8269 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8270
8271 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8274 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8275
8276 2012-04-15 Glenn Morris <rgm@gnu.org>
8277
8278 * simple.el (process-file-side-effects): Doc fix.
8279
8280 2012-04-15 Glenn Morris <rgm@gnu.org>
8281
8282 * international/mule-cmds.el (set-language-environment): Doc fix.
8283
8284 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * server.el (server-auth-key, server-generate-key): Doc fixes.
8287 (server-get-auth-key): Doc fix. Use `string-match-p'.
8288 (server-start): Reflow docstring.
8289
8290 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8291
8292 * server.el (server-generate-key): `called-interactively-p'
8293 requires a parameter.
8294
8295 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8296
8297 * server.el (server-auth-key): New variable.
8298 (server-generate-key, server-get-auth-key): New function.
8299 (server-start): Use the new variable and functions to allow
8300 setting a permanent server key (bug#9423).
8301
8302 2012-04-14 Leo Liu <sdl.web@gmail.com>
8303
8304 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8305
8306 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8307
8308 Spelling fixes.
8309 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8310 Emacs uses American spelling.
8311
8312 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8315 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8316 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8317 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8318
8319 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * progmodes/which-func.el (which-func-modes): Change default.
8322
8323 2012-04-14 Kim F. Storm <storm@cua.dk>
8324
8325 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8326 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8327
8328 2012-04-14 Chong Yidong <cyd@gnu.org>
8329
8330 * custom.el (custom-theme-set-variables): Doc fix.
8331
8332 2012-04-14 Glenn Morris <rgm@gnu.org>
8333
8334 * international/mule.el (set-auto-coding-for-load): Doc fix.
8335
8336 2012-04-14 Alan Mackenzie <acm@muc.de>
8337
8338 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8339 imenu work again for Objective C Mode. Correct the *-index values,
8340 these having been disturbed by a previous change in 2011-08.
8341
8342 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8343 Correct two search limits.
8344
8345 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8348
8349 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8350
8351 * international/characters.el: Fix sorting.
8352
8353 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8354
8355 * international/characters.el: Add more missing Latin case pairs.
8356
8357 2012-04-14 Glenn Morris <rgm@gnu.org>
8358
8359 * files.el (dir-locals-set-class-variables): Doc fix.
8360
8361 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8362
8363 * international/characters.el: Add set-case-syntax-pair call for
8364 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8365 counterpart. (Bug#11209)
8366
8367 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8368
8369 2012-04-14 Glenn Morris <rgm@gnu.org>
8370
8371 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8372
8373 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8374
8375 * textmodes/ispell.el (ispell-dictionary-base-alist):
8376 Add data for Hebrew.
8377
8378 2012-04-14 Chong Yidong <cyd@gnu.org>
8379
8380 * net/rcirc.el (rcirc-cmd-quit):
8381 Revert 2012-03-18 change (Bug#11192).
8382
8383 2012-04-14 Glenn Morris <rgm@gnu.org>
8384
8385 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8386
8387 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8388
8389 * minibuffer.el (completion-in-region-mode-map):
8390 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8391
8392 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8393
8394 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8395
8396 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8397
8398 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8399 to allow `C-M-f' and `C-M-b' to move to the nearest path
8400 separator (bug#9511).
8401
8402 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8403
8404 * avoid.el: Require cl when compiling. And also move the
8405 `provide' to the end.
8406
8407 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8408
8409 * avoid.el (mouse-avoidance-banish-position): New variable.
8410 (mouse-avoidance-banish-destination): Use it (bug#10165).
8411
8412 2012-04-13 Leo Liu <sdl.web@gmail.com>
8413
8414 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8415
8416 2012-04-13 Ken Brown <kbrown@cornell.edu>
8417
8418 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8419 this is no longer needed now that cygstart understands file:// URLs.
8420 (browse-url-filename-alist): For the same reason, don't modify
8421 file:// URLs on Cygwin.
8422
8423 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8426 the region on shift if the binding is already shifted (bug#11221).
8427
8428 2012-04-12 Glenn Morris <rgm@gnu.org>
8429
8430 * mail/mailpost.el: Move to obsolete/.
8431
8432 2012-04-12 Drew Adams <drew.adams@oracle.com>
8433
8434 * imenu.el (imenu--generic-function): Ignore invisible definitions
8435 (bug#10123).
8436
8437 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8438
8439 * hexl.el (hexl-bits): New variable.
8440 (hexl-options): Mention the variable in the doc string.
8441 (hexl-rulerise, hexl-line-displen): New functions.
8442 (hexl-mode): Mention the new variable.
8443 (hexl-mode, hexl-current-address, hexl-current-address):
8444 Use the displen.
8445 (hexl-ascii-start-column): New function.
8446 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8447 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8448
8449 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8450
8451 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8452 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8453 the encoding, as expected by hunspell.
8454
8455 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * battery.el (battery--linux-sysfs-regexp): New const.
8458 (battery-status-function): Use it. Remove yeeloong special case.
8459 (battery-yeeloong-sysfs): Remove.
8460 (battery-echo-area-format): Remove yeeloong special case.
8461
8462 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8465 Reported by Noah Friedman.
8466
8467 * subr.el (read-passwd): Use read-string.
8468
8469 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8470
8471 * vcursor.el (vcursor-move): Increase the priority of the overlay
8472 (bug#9663).
8473
8474 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8475
8476 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8477 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8478
8479 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8480
8481 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8482 define-minor-mode (bug#10760).
8483
8484 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8485
8486 * progmodes/grep.el (rgrep): Tweak the find command line so
8487 that directories matching `grep-find-ignored-files' won't be
8488 pruned (bug#10351).
8489
8490 2012-04-11 Chong Yidong <cyd@gnu.org>
8491
8492 * startup.el (command-line): Remove support for long-obsolete
8493 variable font-lock-face-attributes.
8494
8495 2012-04-11 Glenn Morris <rgm@gnu.org>
8496
8497 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8498
8499 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * window.el (window--state-get-1): Obey window-point-insertion-type.
8502
8503 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8504
8505 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8506 to previous function when point is on the first character of a
8507 function. Take care of that in `narrow-to-defun' (bug#6157).
8508
8509 2012-04-11 Glenn Morris <rgm@gnu.org>
8510
8511 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8512 not just file-errors.
8513
8514 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8515 (vc-bzr-sha1): Use internal sha1.
8516
8517 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8520
8521 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8522
8523 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8524 that start in the middle of the line (bug#10496).
8525
8526 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8527
8528 * battery.el (battery-linux-proc-acpi): Only one battery is
8529 discharged at a time, but that seems to confuse battery.el when
8530 computing `rate-type' for the battery not being discharged
8531 (bug#10332).
8532
8533 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8536
8537 * international/quail.el: Use dolist and simplify.
8538 (quail-define-package, quail-update-keyboard-layout)
8539 (quail-define-rules): Use dolist.
8540 (quail-insert-kbd-layout, quail-get-translation): CSE.
8541
8542 * tmm.el: Use dolist, remove left over hook.
8543 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8544 Use dolist.
8545 (calendar-load-hook): Don't mess with it.
8546
8547 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8548 Use derived-mode-p. Run the diff asynchronously.
8549
8550 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8551
8552 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8553
8554 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8555
8556 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8557 (list-dynamic-libraries--loaded): New function.
8558 (list-dynamic-libraries--refresh): Use it.
8559
8560 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8561
8562 * progmodes/python.el (python-fill-paragraph):
8563 Make python-fill-region in a multiline string work when font-lock is
8564 disabled (bug#7018).
8565
8566 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8567
8568 * language/european.el (cp775): Add oem/legacy (en)coding on
8569 DOS/MS Windows for the Baltic languages. There are still plenty
8570 of texts written in this encoding/codepage (bug#6519).
8571
8572 2012-04-10 Glenn Morris <rgm@gnu.org>
8573
8574 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8575 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8576
8577 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8578
8579 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8580 next-line "n" and previous-line "p" in order to make recentf more
8581 consistent with ibuffer, dired or org-mode (bug#9387).
8582
8583 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8584
8585 * image.el (put-image): Return the overlay created instead of the
8586 optional input string (bug#7834). Note that this may break code
8587 that is (for some reason or other) depending on `put-image'
8588 returning the string.
8589
8590 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8591
8592 * simple.el (zap-to-char): Allow zapping using input methods
8593 (bug#1580).
8594
8595 * textmodes/fill.el (fill-region): Leave point and mark where they
8596 were before filling (bug#5399).
8597
8598 2012-04-09 Glenn Morris <rgm@gnu.org>
8599
8600 * version.el (emacs-bzr-get-version):
8601 Handle lightweight checkouts of local branches.
8602
8603 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8604
8605 * international/characters.el: Recover lost case pairs. (Bug#11209)
8606
8607 2012-04-09 Chong Yidong <cyd@gnu.org>
8608
8609 * custom.el (custom-variable-p): Return nil for non-symbol
8610 arguments instead of signaling an error.
8611 (user-variable-p): Obsolete alias for custom-variable-p.
8612
8613 * apropos.el (apropos-variable):
8614 * files-x.el (read-file-local-variable):
8615 * simple.el (set-variable):
8616 * woman.el (woman-mini-help):
8617 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8618
8619 2012-04-09 Glenn Morris <rgm@gnu.org>
8620
8621 * startup.el (normal-top-level): Don't look for leim-list.el
8622 in places where it will not be found. (Bug#910)
8623
8624 * international/mule-cmds.el (set-default-coding-systems):
8625 * files.el (normal-mode):
8626 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8627 This function was removed with ucs-tables.el in 2008.
8628
8629 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8630
8631 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8632 ispell-encoding8-command to "-i", without a trailing space.
8633 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8634 separate command-line arguments, to specify the encoding, since
8635 that's how hunspell expects it.
8636
8637 2012-04-08 Glenn Morris <rgm@gnu.org>
8638
8639 * loadup.el: Load bindings before cus-start.
8640 This reduces somewhat the number of "rogue" settings in emacs -Q.
8641
8642 2012-04-07 Glenn Morris <rgm@gnu.org>
8643
8644 * version.el (emacs-bzr-get-version): New function.
8645 (emacs-bzr-version): New variable.
8646 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8647 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8648
8649 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8650
8651 * international/uni-bidi.el, international/uni-category.el:
8652 * international/uni-combining.el, international/uni-decimal.el:
8653 * international/uni-decomposition.el, international/uni-digit.el:
8654 * international/uni-lowercase.el, international/uni-mirrored.el:
8655 * international/uni-name.el, international/uni-numeric.el:
8656 * international/uni-titlecase.el, international/uni-uppercase.el:
8657 Update for Unicode 6.1.
8658
8659 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8660
8661 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8662
8663 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8664
8665 * window.el (shrink-window): Mention the `window-min-height'
8666 variable in the doc string.
8667
8668 2012-04-05 Bastien Guerry <bzg@altern.org>
8669
8670 * color.el (color-lighten-name): Fix typo.
8671
8672 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * server.el (server--on-display-p): New function.
8675 (server--on-display-p): Use it.
8676
8677 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8678
8679 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8680 (bug#11145).
8681
8682 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * comint.el (comint--common-quoted-suffix): Check string boundary
8685 before comparing (bug#11158).
8686 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8687
8688 2012-04-04 Chong Yidong <cyd@gnu.org>
8689
8690 * minibuffer.el (completion-extra-properties): Doc fix.
8691
8692 * subr.el (delayed-warnings-hook): Doc fix.
8693
8694 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8695
8696 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8697 selection (Bug#11159).
8698 (epa-insert-keys): Inform that the default public key will be
8699 exported if no key is selected.
8700
8701 2012-04-04 Richard Stallman <rms@gnu.org>
8702
8703 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8704
8705 2012-04-03 Chong Yidong <cyd@gnu.org>
8706
8707 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8708 mail-insert-file, not its obsolete alias mail-attach-file.
8709
8710 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8711
8712 * notifications.el (notifications-notify): Fix docstring.
8713
8714 2012-04-02 Glenn Morris <rgm@gnu.org>
8715
8716 * emacs-lisp/authors.el (authors-aliases): Another addition.
8717
8718 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8719
8720 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8721 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8722 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8723
8724 2012-04-01 Chong Yidong <cyd@gnu.org>
8725
8726 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8727 Handle root directory properly.
8728 (copy-directory): Caller changed.
8729
8730 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8731 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8732
8733 2012-03-31 Glenn Morris <rgm@gnu.org>
8734
8735 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8736
8737 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8738
8739 * calendar/calendar.el (calendar-window-list)
8740 (calendar-hide-window): Restore. (Bug#11140)
8741 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8742
8743 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8744
8745 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8746
8747 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8748 Check if file is a symlink (Bug#10489).
8749
8750 * files.el (copy-directory): Likewise.
8751
8752 2012-03-30 Chong Yidong <cyd@gnu.org>
8753
8754 * image.el (imagemagick-types-inhibit)
8755 (imagemagick-register-types): Doc fix.
8756
8757 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8758
8759 * textmodes/ispell.el (ispell-get-extended-character-mode):
8760 Disable extended-char-mode for hunspell. hunspell does not support it
8761 and treats ~word as ordinary words in pipe mode.
8762
8763 2012-03-30 Glenn Morris <rgm@gnu.org>
8764
8765 * tutorial.el (help-with-tutorial): Ensure local variables don't
8766 happen to make the buffer read-only. (Bug#11127)
8767
8768 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8771 (perl-calculate-indent): Return `noindent' in strings.
8772
8773 2012-03-28 Sam Steingold <sds@gnu.org>
8774
8775 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8776 instead of the broken adhockery which does not prevent calendar
8777 buffers from being displayed at random after exit.
8778 (calendar-window-list, calendar-hide-window): Remove the broken
8779 adhockery.
8780
8781 2012-03-28 Glenn Morris <rgm@gnu.org>
8782
8783 * replace.el (query-replace-map): Doc fix.
8784
8785 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8786
8787 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8788 contents. (Bug#11109)
8789
8790 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8793 (bug#11077).
8794 (avl-tree--check, avl-tree--check-node): New funs.
8795
8796 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8797
8798 * window.el (switch-to-visible-buffer): New option.
8799 (switch-to-prev-buffer, switch-to-next-buffer):
8800 Observe switch-to-visible-buffer. Make sure that checking for a window
8801 showing a buffer already is done on the same frame.
8802
8803 2012-03-27 Glenn Morris <rgm@gnu.org>
8804
8805 * startup.el (mail-host-address): Doc fix.
8806
8807 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8810 than 197 variables.
8811
8812 2012-03-26 Ami Fischman <ami@fischman.org>
8813
8814 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8815
8816 2012-03-26 Glenn Morris <rgm@gnu.org>
8817
8818 * files.el (save-buffers-kill-emacs): Doc fix.
8819
8820 * startup.el (normal-top-level, command-line, command-line-1):
8821 Give them doc strings.
8822
8823 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8824
8825 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8826 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8827
8828 2012-03-25 Chong Yidong <cyd@gnu.org>
8829
8830 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8831 theme if it was previously enabled before (Bug#11031).
8832
8833 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8834 spec with custom-face-get-current-spec if its :shown-value is not
8835 determined yet (Bug#9337).
8836 (customize-create-theme, custom-theme-revert): Doc fixes.
8837
8838 * button.el (button-at): Minor addition to docstring.
8839
8840 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8841
8842 * vc/vc.el (vc-merge): Fix a prompt.
8843
8844 2012-03-24 Chong Yidong <cyd@gnu.org>
8845
8846 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8847 point (Bug#9623).
8848
8849 * button.el (button-at): Minor addition to docstring.
8850
8851 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * newcomment.el (comment-choose-indent): No space after BOL.
8854
8855 2012-03-22 Sam Steingold <sds@gnu.org>
8856
8857 * window.el (switch-to-prev-buffer): Revert last patch because the
8858 bug turned out to be an advertised feature (Elisp manual 28.14).
8859
8860 2012-03-22 Glenn Morris <rgm@gnu.org>
8861
8862 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8863 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8864
8865 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
8867 * net/network-stream.el (network-stream-open-starttls): Make error
8868 message under Windows be less misleading.
8869
8870 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8871
8872 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8873 understands (bug#9942).
8874
8875 2012-03-22 Chong Yidong <cyd@gnu.org>
8876
8877 * simple.el (end-of-visible-line): Handle return value of
8878 next-single-property-change properly (Bug#9371).
8879
8880 2012-03-22 Kenichi Handa <handa@m17n.org>
8881
8882 * international/quail.el (quail-insert-kbd-layout): Fix previous
8883 change. To avoid unwanted bidi reordering, use
8884 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8885
8886 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8887
8888 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8889 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8890 (ruby-beginning-of-indent): Be more careful with the difference
8891 between word-boundary and symbol boundary.
8892 (ruby-mode-syntax-table): Make : a symbol constituent.
8893
8894 2012-03-21 Andreas Politz <politza@fh-trier.de>
8895
8896 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8897
8898 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * progmodes/etags.el (tags-completion-at-point-function):
8901 Improve last fix.
8902
8903 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8904
8905 2012-03-21 Sam Steingold <sds@gnu.org>
8906
8907 * progmodes/etags.el (tags-completion-at-point-function):
8908 Avoid the error when point is inside the pattern.
8909
8910 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8911
8912 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8913 line (Bug#10855).
8914
8915 2012-03-21 Drew Adams <drew.adams@oracle.com>
8916
8917 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8918
8919 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8920
8921 * ido.el (ido-set-current-directory, ido-read-internal)
8922 (ido-choose-completion-string, ido-completion-help): Handle nil
8923 value of ido-completion-buffer (Bug#11008).
8924
8925 2012-03-21 Sam Steingold <sds@gnu.org>
8926
8927 * window.el (switch-to-prev-buffer): Do not switch to a visible
8928 window previous buffer, just like with the frame previous buffers.
8929
8930 2012-03-21 Chong Yidong <cyd@gnu.org>
8931
8932 * faces.el (make-face, make-empty-face, copy-face):
8933 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8934 Doc fixes.
8935
8936 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8939 (widget-complete): Remove broken use of it.
8940
8941 2012-03-20 Chong Yidong <cyd@gnu.org>
8942
8943 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8944 Use string-width and truncate-string-width to handle arbitrary
8945 characters.
8946
8947 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8948
8949 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8950 to draw rectangles, not squares. (Regression introduced by revno
8951 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8952
8953 2012-03-18 Chong Yidong <cyd@gnu.org>
8954
8955 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8956 it is not yet defined (for temacs).
8957
8958 2012-03-18 Leo Liu <sdl.web@gmail.com>
8959
8960 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8961 prefix.
8962
8963 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8964
8965 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8966 (ispell-choices-win-default-height, ispell-silently-savep)
8967 (ispell-dictionary-alist, ispell-encoding8-command)
8968 (ispell-check-version, ispell-aspell-find-dictionary)
8969 (ispell-valid-dictionary-list, ispell-words-keyword)
8970 (ispell-get-word, ispell-internal-change-dictionary)
8971 (ispell-region, ispell-skip-region-list)
8972 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8973 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8974 (ispell-message-text-end, ispell-message)
8975 (ispell-buffer-local-parsing): Doc fix.
8976
8977 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8978
8979 * htmlfontify.el: Add support for code block fontification for ODT
8980 export (Bug #9914).
8981 (hfy-optimisations): Define new option
8982 `body-text-only'
8983 (hfy-fontify-buffer): Honor above setting.
8984 (hfy-begin-span, hfy-end-span): New routines factored out form
8985 `hfy-fontify-buffer'.
8986 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8987 that permit insertion of custom tags.
8988 (hfy-fontify-buffer): Use above handlers.
8989 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8990 (hfy-face-to-css): Re-defined to be a variable.
8991 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8992 over multiple runs. This is made possible by having the caller let
8993 bind a special variable `hfy-user-sheet-assoc'.
8994 (htmlfontify-string): New defun.
8995 (hfy-compile-face-map): Make sure that the last char in the
8996 buffer is correctly fontified.
8997 (hfy-face-resolve-face): Whitespace only change.
8998
8999 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9000
9001 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9002 message more clear.
9003
9004 2012-03-16 Leo Liu <sdl.web@gmail.com>
9005
9006 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9007
9008 2012-03-16 Alan Mackenzie <acm@muc.de>
9009
9010 Further optimise the handling of large macros.
9011
9012 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9013 limit to a call of `c-literal-limits'.
9014 (c-determine-+ve-limit): New function.
9015 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9016 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9017 In CASE 5B, restrict a search limit to 500.
9018 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9019
9020 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9021 Restrict macro bounds to +-500 from after-change's BEG END.
9022
9023 2012-03-16 Leo Liu <sdl.web@gmail.com>
9024
9025 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9026
9027 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9028
9029 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9030 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9031
9032 2012-03-16 Glenn Morris <rgm@gnu.org>
9033
9034 * view.el (view-buffer, view-buffer-other-window)
9035 (view-buffer-other-frame): Doc fixes re special mode-class.
9036
9037 * subr.el (eval-after-load): If named feature is provided not from
9038 a file, run after-load forms. (Bug#10946)
9039
9040 * calendar/calendar.el (calendar-insert-at-column):
9041 Handle non-unit-width characters a bit better. (Bug#10978)
9042
9043 2012-03-15 Chong Yidong <cyd@gnu.org>
9044
9045 * emacs-lisp/ring.el (ring-extend): New function.
9046 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9047
9048 * comint.el (comint-read-input-ring)
9049 (comint-add-to-input-history): Grow comint-input-ring lazily.
9050
9051 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9054 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9055
9056 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9057 (imenu-add-to-menubar): Don't add a redundant index.
9058 (imenu-update-menubar): Handle a dynamically composed keymap.
9059
9060 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9061
9062 * mail/sendmail.el (mail-encode-header):
9063 Bind rfc2047-encode-encoded-words to nil.
9064
9065 2012-03-13 Glenn Morris <rgm@gnu.org>
9066
9067 * calendar/calendar.el (calendar-string-spread):
9068 Handle non-unit-width characters a bit better. (Bug#10978)
9069
9070 2012-03-13 Leo Liu <sdl.web@gmail.com>
9071
9072 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9073 directory and file as argument (Bug#10822).
9074
9075 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9076
9077 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9078 For dynamically generated code, follow $PC.
9079 (gdb-disassembly-handler-custom): Handle no function name case.
9080
9081 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9082
9083 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9084 * emulation/ws-mode.el (ws-query-replace):
9085 * sort.el (sort-regexp-fields):
9086 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9087
9088 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * dabbrev.el: Fix cycle completion order (bug#10963).
9091 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9092 (dabbrev-completion): Don't use an obarray; provide
9093 a cycle-sort-function.
9094
9095 2012-03-12 Leo Liu <sdl.web@gmail.com>
9096
9097 * simple.el (kill-new): Use equal-including-properties for comparison.
9098 (kill-do-not-save-duplicates): Doc fix.
9099
9100 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * dabbrev.el: Fix cycle completion (bug#10963).
9103 Use lexical binding and wrap to 80 columns.
9104 (dabbrev-completion): Delay computing the list of completions.
9105
9106 2012-03-12 Kenichi Handa <handa@m17n.org>
9107
9108 * international/quail.el (quail-insert-kbd-layout): Surround each
9109 row by LRO and PDF instead of inserting many LRMs. Pad the left
9110 and right of each non-spacing marks. Insert invisible space
9111 between lower and upper characters to prevent composition.
9112
9113 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * minibuffer.el (minibuffer-complete): Don't get confused when the
9116 function is run twice via different commands (bug#10958).
9117 (complete-with-action): Fix docstring.
9118
9119 2012-03-12 Chong Yidong <cyd@gnu.org>
9120
9121 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9122 (nxml-completion-at-point-function): New function.
9123 (nxml-mode): Use it.
9124 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9125
9126 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9127 Load generated autoloads file before byte compiling (Bug#10970).
9128 (package--make-autoloads-and-compile): New helper fun.
9129
9130 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9131
9132 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9133
9134 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9135
9136 * autorevert.el (auto-revert-handler): Ensure, that
9137 file-readable-p is applied only for local files or in
9138 auto-revert-tail-mode.
9139
9140 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9141
9142 * server.el (server-eval-at): Handle non-tcp connections.
9143 Decode result string.
9144
9145 * server.el (server-msg-size): New constant.
9146 (server-reply-print): New function.
9147 (server-eval-and-print): Use it.
9148 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9149 Handle -print-nonl.
9150
9151 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9152
9153 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9154 (Bug#10987).
9155
9156 2012-03-11 Chong Yidong <cyd@gnu.org>
9157
9158 * simple.el (goto-line): Doc fix (Bug#9938).
9159
9160 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9161
9162 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9163 when finished (Bug#10963).
9164
9165 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9166
9167 * window.el (split-window-below): Fix bug in case where
9168 split-window-keep-point is nil (Bug#10971).
9169
9170 2012-03-11 Juri Linkov <juri@jurta.org>
9171
9172 * replace.el (replace-highlight): Set isearch-word to nil
9173 unconditionally. (Bug#10887)
9174
9175 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9176
9177 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9178 mairix-replace-illegal-chars; all callers changed. Don't remove
9179 ^, ~, and = characters: they are meaningful in mairix search specs.
9180 (mairix-widget-create-query): Add usage information about mairix
9181 search forms: negating words, searching for substrings, etc.
9182
9183 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9184
9185 * international/fontset.el (font-encoding-alist): Add an entry for
9186 ksx1001 (Bug#5667).
9187
9188 2012-03-10 Richard Stallman <rms@gnu.org>
9189
9190 * mail/sendmail.el (mail-encode-header):
9191 Set rfc2047-encode-encoded-words.
9192
9193 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9194
9195 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9196 view buffer means not swapped.
9197 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9198 (rmail-write-region-annotate): Error if real text has disappeared.
9199
9200 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9201
9202 2012-03-10 Chong Yidong <cyd@gnu.org>
9203
9204 * emulation/cua-rect.el (cua--init-rectangles):
9205 * emulation/cua-base.el (cua--init-keymaps):
9206 Add delete-forward-char to remappings (Bug#9666).
9207
9208 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9209
9210 * speedbar.el (speedbar-unhighlight-one-tag-line):
9211 Avoid unhighlighting due to frame switching (Bug#10275).
9212
9213 2012-03-10 Chong Yidong <cyd@gnu.org>
9214
9215 * minibuffer.el (completion-in-region, completion-help-at-point):
9216 Give the completion field overlay a high priority (Bug#6830).
9217
9218 * dired.el (dired-goto-file): Recognize absolute file name
9219 listings (Bug#7126).
9220 (dired-goto-file-1): New helper function.
9221 (dired-toggle-read-only): Inhibit warnings.
9222
9223 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9224
9225 * net/dbus.el (dbus-property-handler): Return empty array if
9226 there are no properties.
9227
9228 2012-03-09 Leo Liu <sdl.web@gmail.com>
9229
9230 * savehist.el (savehist-printable): Stricter check for string
9231 value (Bug#10937).
9232
9233 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9234
9235 * mail/smtpmail.el (smtpmail-send-it):
9236 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9237 valid mbox format.
9238
9239 2012-03-09 Glenn Morris <rgm@gnu.org>
9240
9241 * files.el (dir-locals-find-file):
9242 Don't check result is regular, readable.
9243 (dir-locals-read-from-file): Demote errors.
9244
9245 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9246
9247 * international/quail.el (quail-insert-kbd-layout):
9248 Insert invisible LRM characters before each character in a keyboard
9249 layout cell, to prevent their reordering by bidi display engine.
9250 For details, see the discussion in
9251 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9252
9253 2012-03-08 Alan Mackenzie <acm@muc.de>
9254
9255 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9256 the starting position; make it extend the marked region when
9257 invoked repeatedly - all under appropriate circumstances.
9258 Fixes bugs #5525, #10906.
9259
9260 2012-03-08 Glenn Morris <rgm@gnu.org>
9261
9262 * files.el (locate-dominating-file, dir-locals-find-file):
9263 Undo 2012-03-06 change.
9264
9265 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9266
9267 * international/quail.el (quail-help):
9268 Force bidi-paragraph-direction be left-to-right. See discussion in
9269 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9270 for the reason.
9271
9272 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9273
9274 Avoid superfluous registering of signals. (Bug#10807)
9275
9276 * notifications.el (notifications-on-action-object)
9277 (notifications-on-close-object): New defvars.
9278 (notifications-on-action-signal, notifications-on-closed-signal):
9279 Unregister the signal if not needed any longer.
9280 (notifications-notify): Register `notifications-action-signal' or
9281 `notifications-closed-signal', if :on-action or :on-close has been
9282 passed as argument.
9283
9284 2012-03-07 Chong Yidong <cyd@gnu.org>
9285
9286 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9287 non-X platforms.
9288
9289 2012-03-06 Glenn Morris <rgm@gnu.org>
9290
9291 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9292 (x-disown-selection-internal, x-get-selection-internal):
9293 Doc fix (add arglist signatures). (Bug#10783)
9294
9295 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9296
9297 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9298 Handle breakpoints with no "type".
9299
9300 2012-03-06 Glenn Morris <rgm@gnu.org>
9301
9302 * files.el (locate-dominating-file): Add optional predicate argument.
9303 (dir-locals-find-file): Make use of above change.
9304
9305 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9306
9307 * info.el (Info-insert-dir): Also try "dir.gz".
9308
9309 2012-03-06 Glenn Morris <rgm@gnu.org>
9310
9311 * files.el (dir-locals-find-file):
9312 Ignore non-readable or non-regular files. (Bug#10928)
9313
9314 * files.el (locate-dominating-file): Doc fix.
9315
9316 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9317
9318 * calendar/calendar.el (calendar-set-mode-line):
9319 `getenv' returns a string. (Bug#10951)
9320
9321 2012-03-05 Leo Liu <sdl.web@gmail.com>
9322
9323 * simple.el (backward-delete-char-untabify): Constrain point to
9324 field (Bug#10939).
9325
9326 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9327
9328 2012-03-05 Chong Yidong <cyd@gnu.org>
9329
9330 * simple.el (count-words): If called from Lisp, return the word
9331 count, for symmetry with `count-lines'. Arglist changed.
9332 (count-words--message): Args changed. Consolidate counting code
9333 from count-words and count-words-region.
9334 (count-words-region): Caller changed.
9335 (count-lines-region): Make it an obsolete alias.
9336
9337 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9338
9339 * saveplace.el (save-place-to-alist)
9340 (save-place-ignore-files-regexp): Allow value nil to disable this
9341 feature.
9342
9343 2012-03-04 Chong Yidong <cyd@gnu.org>
9344
9345 * faces.el (face-spec-reset-face): For the default face, reset the
9346 attributes to default values (Bug#10748).
9347
9348 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9349
9350 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9351 previous patch: Check `message-send-mail-function', and not the
9352 default function (bug#10897).
9353
9354 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9355
9356 * notifications.el (notifications-on-action-signal)
9357 (notifications-on-closed-signal): Check for unique service name of
9358 incoming event. Fix error in removing entry.
9359 (top): Register for signals with wildcard service name.
9360 (notifications-notify): Use daemon unique service name for map entries.
9361
9362 2012-03-04 Chong Yidong <cyd@gnu.org>
9363
9364 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9365
9366 2012-03-04 Glenn Morris <rgm@gnu.org>
9367
9368 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9369 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9370 (expand-abbrev, define-abbrev-table): Doc fixes.
9371
9372 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9373
9374 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9375 `message-default-send-mail-function' and not `send-mail-function'
9376 when doing the prompting for `sendmail-query-once' before sending
9377 in Message buffers (bug#10897).
9378
9379 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9380 This is inconsistent with all the other stream functions, which leave
9381 the setting up to the higher levels (if so wanted) (bug#10931).
9382
9383 2012-03-02 Alan Mackenzie <acm@muc.de>
9384
9385 Depessimize the handling of very large macros.
9386
9387 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9388 (c-macro-cache-syntactic): New variables to implement a one
9389 element macro cache.
9390 (c-invalidate-macro-cache): New function.
9391 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9392 Adapt to use the new cache.
9393 (c-state-safe-place): Use better the cache of safe positions.
9394 (c-state-semi-nonlit-pos-cache)
9395 (c-state-semi-nonlit-pos-cache-limit):
9396 New variables for...
9397 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9398 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9399 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9400 Use c-state-semi-safe-place.
9401
9402 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9403 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9404
9405 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9406
9407 * jka-compr.el (jka-compr-call-process):
9408 Apply `file-accessible-directory-p' only when the default directory is
9409 not remote.
9410
9411 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9414 access of FILE2, if FILE1 does not exist.
9415
9416 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9417 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9418
9419 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9420 Add "PAGER=" to `process-environment'.
9421
9422 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9423
9424 * progmodes/sql.el: Bug fix
9425 (sql-get-login-ext): Save login values in globals.
9426 (sql-get-login): Use new version of `sql-get-login-ext'.
9427 (sql-interactive-mode): Set global `sql-connection' to nil.
9428 (sql-connect): Set global values for connection.
9429 (sql-product-interactive): Save global values as buffer local.
9430
9431 2012-02-29 Leo Liu <sdl.web@gmail.com>
9432
9433 * abbrev.el (define-abbrevs): Reset sys to nil.
9434
9435 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9436
9437 * files.el (file-equal-p): Rename from `files-equal-p'.
9438 Return nil when one or both files don't exist.
9439 (file-subdir-of-p): Now only top directory must exists,
9440 return nil if it doesn't.
9441 (copy-directory): No need to test with `file-subdir-of-p' after
9442 creating dir.
9443 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9444 to `file-equal-p'.
9445
9446 2012-02-28 Glenn Morris <rgm@gnu.org>
9447
9448 * shell.el (shell-mode):
9449 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9450 * play/landmark.el (landmark-font-lock-face-O):
9451 * play/handwrite.el (handwrite):
9452 * play/gomoku.el (gomoku-O):
9453 * net/browse-url.el (browse-url-browser-display):
9454 * international/mule.el (define-charset):
9455 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9456 * filesets.el (filesets-find-file-delay):
9457 * eshell/em-xtra.el (eshell-xtra):
9458 * eshell/em-unix.el (eshell-grep):
9459 * emulation/viper.el (viper-mode):
9460 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9461 * emacs-lisp/easymenu.el (easy-menu-define):
9462 * calendar/timeclock.el (timeclock-use-display-time):
9463 * bs.el (bs-mode):
9464 * bookmark.el (bookmark-save-flag):
9465 Doc fix (standardize possessive apostrophe usage).
9466
9467 2012-02-27 Chong Yidong <cyd@gnu.org>
9468
9469 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9470 Fix key-binding lookup for ESC key (Bug#9146).
9471
9472 * font-lock.el (font-lock-specified-p): Rename from
9473 font-lock-spec-present. Callers changed.
9474
9475 2012-02-27 Daniel Hackney <dan@haxney.org>
9476
9477 * emacs-lisp/package.el (package-compute-transaction):
9478 Handle holding a package version to t in package-load-list.
9479
9480 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9481
9482 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9483 (tramp-get-inode, tramp-get-device): Use cached values.
9484
9485 2012-02-26 Alan Mackenzie <acm@muc.de>
9486
9487 Check there is a font-lock specification before doing initial
9488 fontification.
9489
9490 * font-core.el (font-lock-mode): Move the conditional from
9491 :after-hook to font-lock-initial-fontify.
9492 (font-lock-default-function): Move the check for a specification
9493 to font-lock-spec-present.
9494
9495 * font-lock.el (font-lock-initial-fontify): Call ...
9496 (font-lock-spec-present): New function.
9497
9498 2012-02-26 Jim Blandy <jimb@red-bean.com>
9499
9500 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9501 (gdb-send): Apply it to the operand of the '-interpreter-exec
9502 console' command, so that we can pass arguments with (say) quotes
9503 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9504
9505 2012-02-26 Chong Yidong <cyd@gnu.org>
9506
9507 * help-fns.el (describe-function-1): Clarify description of
9508 remapping (Bug#10844).
9509
9510 * files.el (files-equal-p): Doc fix.
9511 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9512 and quit the loop once a mismatch is found.
9513
9514 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9515
9516 * bs.el (bs--show-with-configuration): Don't throw an error
9517 if the window cannot be split; otherwise, subsequent calls to
9518 bs-show fail, restoring a stale window config. (Bug#10882)
9519
9520 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9521
9522 * term/ns-win.el (global-map): Bind ns-drag-file to
9523 ns-find-file (Bug#5855, Bug#10050).
9524
9525 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9526
9527 * calendar/parse-time.el (parse-time-string): Allow extractor to
9528 return nil.
9529
9530 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9531
9532 * net/tramp.el (tramp-file-name-for-operation):
9533 Add `files-equal-p' and `file-subdir-of-p'.
9534
9535 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9536 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9537 Add COPY-CONTENTS argument.
9538
9539 2012-02-25 Chong Yidong <cyd@gnu.org>
9540
9541 Add custom groups for VC backends, for consistency with vc-bzr.
9542
9543 * vc/vc-arch.el (vc-arch):
9544 * vc/vc-cvs.el (vc-cvs):
9545 * vc/vc-git.el (vc-git):
9546 * vc/vc-hg.el (vc-hg):
9547 * vc/vc-mtn.el (vc-mtn):
9548 * vc/vc-rcs.el (vc-rcs):
9549 * vc/vc-sccs.el (vc-sccs):
9550 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9551 All relevant defcustoms reassigned.
9552
9553 2012-02-25 Chong Yidong <cyd@gnu.org>
9554
9555 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9556
9557 * term/x-win.el (x-initialize-window-system): Reduce default for
9558 x-selection-timeout to 5 seconds (Bug#8869).
9559
9560 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9561
9562 * files.el (files-equal-p, file-subdir-of-p): New functions.
9563 (copy-directory): Error when trying to copy a directory on itself.
9564 Add missing copy-contents arg to tramp handler.
9565 * dired-aux.el (dired-copy-file-recursive): Same.
9566 (dired-create-files): Modify destination when source is equal to
9567 dest when copying files.
9568 Return also when dest is a subdir of source. (Bug#10489)
9569
9570 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9571
9572 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9573 (Bug#10874)
9574
9575 2012-02-23 Alan Mackenzie <acm@muc.de>
9576
9577 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9578 parameter "after-hook:" to allow the expansion to run code after
9579 the execution of the mode hooks.
9580
9581 * font-lock.el (font-lock-initial-fontify): New function extracted
9582 from font-lock-mode-internal.
9583
9584 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9585 :after-hook.
9586
9587 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9588
9589 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9590 (completion--cache-all-sorted-completions): New function.
9591 (completion-all-sorted-completions): Use it.
9592 (completion--do-completion, minibuffer-force-complete):
9593 Use it to re-instate the flush hook.
9594
9595 * icomplete.el (icomplete-completions): Replace last fix with a better
9596 one (bug#10850).
9597
9598 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9599
9600 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9601 when it might call us back infinitely (bug#10797).
9602
9603 2012-02-23 Glenn Morris <rgm@gnu.org>
9604
9605 * minibuffer.el (completion-category-overrides): Doc fix.
9606
9607 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9610 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9611
9612 2012-02-23 Glenn Morris <rgm@gnu.org>
9613
9614 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9615 (authors-obsolete-files-regexps, authors-ignored-files)
9616 (authors-ambiguous-files, authors-renamed-files-alist):
9617 Add more entries.
9618
9619 2012-02-23 Juri Linkov <juri@jurta.org>
9620
9621 * isearch.el (isearch-occur): Sync interactive spec with occur's
9622 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9623
9624 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9625
9626 2012-02-22 Juri Linkov <juri@jurta.org>
9627
9628 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9629 (ucs-insert): Doc fix. Check for hex digits in the string.
9630 Don't display `nil' in the error message. (Bug#10857)
9631
9632 2012-02-22 Alan Mackenzie <acm@muc.de>
9633
9634 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9635
9636 2012-02-22 Glenn Morris <rgm@gnu.org>
9637
9638 * ffap.el (ffap-c-path):
9639 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9640
9641 2012-02-22 Chong Yidong <cyd@gnu.org>
9642
9643 * custom.el (load-theme): Doc fix.
9644
9645 2012-02-22 Glenn Morris <rgm@gnu.org>
9646
9647 * dired-x.el (dired-guess-shell-alist-default):
9648 Remove escape sequences from nroff output. (Bug#172)
9649
9650 2012-02-21 Glenn Morris <rgm@gnu.org>
9651
9652 * vc/emerge.el (emerge-defvar-local):
9653 Set `permanent-local' property rather than unused `preserved'.
9654
9655 * textmodes/picture.el (picture-delete-char): New alias.
9656 (picture-mode-map): Use it. (Bug#10860)
9657 (picture-mode): Doc fix.
9658
9659 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * newcomment.el (uncomment-region-default): Remove unused binding.
9662
9663 2012-02-21 Glenn Morris <rgm@gnu.org>
9664
9665 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9666 (picture-self-insert, picture-tab-chars): Doc fix.
9667 (picture-mode-map): Fix C-a, C-e.
9668
9669 2012-02-20 Glenn Morris <rgm@gnu.org>
9670
9671 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9672
9673 2012-02-20 Leo Liu <sdl.web@gmail.com>
9674
9675 * icomplete.el (icomplete-completions): Check FROM arg before
9676 passing to substring (Bug#10850).
9677
9678 2012-02-19 Chong Yidong <cyd@gnu.org>
9679
9680 * comint.el: Require ansi-color.
9681 (comint-output-filter-functions): Add ansi-color-process-output.
9682
9683 * ansi-color.el: Don't set comint-output-filter-functions; it is
9684 now in the initial value defined in comint.el.
9685 (ansi-color-apply-face-function): New variable.
9686 (ansi-color-apply-on-region): Use it.
9687 (ansi-color-apply-overlay-face): New function.
9688
9689 * shell.el (shell): No need to require ansi-color.
9690 (shell-mode): Use ansi-color-apply-face-function to highlight
9691 color escapes using font-lock-face property (Bug#10835).
9692
9693 2012-02-19 Chong Yidong <cyd@gnu.org>
9694
9695 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9696 mode-line formats (Bug#10839).
9697
9698 2012-02-18 Glenn Morris <rgm@gnu.org>
9699
9700 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9701
9702 * mail/undigest.el (unforward-rmail-message): Doc fix.
9703
9704 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9705
9706 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9707
9708 * international/characters.el (script-list): Sync with the latest
9709 Unicode Character Database.
9710
9711 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9712
9713 * international/titdic-cnv.el: Remove duplicate coding tag.
9714 * language/cham.el: Likewise.
9715 * language/tai-viet.el: Likewise.
9716
9717 2012-02-18 Glenn Morris <rgm@gnu.org>
9718
9719 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9720 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9721 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9722 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9723 * calendar/holidays.el (holiday-bahai-holidays)
9724 (calendar-holidays, list-holidays):
9725 Use utf-8 Bahá'í in doc-strings, menus, etc.
9726
9727 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9728
9729 * saveplace.el (save-place-ignore-files-regexp): New variable
9730 allowing for excluding files from saving their location of point.
9731 The default value matches the temporary commit message editing
9732 files from Git, SVN, Bazaar, and Mercurial.
9733 (save-place-to-alist): Use it.
9734
9735 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9736 Stefan Monnier <monnier@iro.umontreal.ca>
9737
9738 * newcomment.el (uncomment-region-default): Don't leave extra space
9739 when an arg is provided (bug#8150).
9740
9741 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9742
9743 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9744
9745 2012-02-17 Glenn Morris <rgm@gnu.org>
9746
9747 * net/socks.el: Require network-stream. (Bug#10599)
9748
9749 2012-02-17 Kenichi Handa <handa@m17n.org>
9750
9751 * international/charprop.el:
9752 * international/uni-name.el:
9753 * international/uni-old-name.el:
9754 * international/uni-comment.el: Regenerate.
9755
9756 2012-02-16 Glenn Morris <rgm@gnu.org>
9757
9758 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9759 Interactively in calendar buffer, give an error if not on a date.
9760
9761 2012-02-15 Glenn Morris <rgm@gnu.org>
9762
9763 * shell.el (shell-delimiter-argument-list):
9764 Revert 2011-02-17 change. (Bug#8027)
9765
9766 2012-02-15 Chong Yidong <cyd@gnu.org>
9767
9768 * minibuffer.el (completion-at-point-functions): Doc fix.
9769
9770 * custom.el (defcustom): Doc fix; note use of defvar.
9771
9772 2012-02-15 Glenn Morris <rgm@gnu.org>
9773
9774 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9775 Doc fixes.
9776
9777 2012-02-14 Glenn Morris <rgm@gnu.org>
9778
9779 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9780
9781 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9782
9783 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9784 way the ports list is computed.
9785 (smtpmail-query-smtp-server): Prompt the user for a port number if
9786 we can't connect to any of the standard ports (bug#10810).
9787
9788 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9789
9790 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9791
9792 2012-02-13 Glenn Morris <rgm@gnu.org>
9793
9794 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9795
9796 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9797
9798 * net/gnutls.el (gnutls-trustfiles): New variable.
9799 (gnutls-negotiate): Use it.
9800
9801 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9802
9803 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9804 does its stuff if Gnus is running.
9805
9806 2012-02-13 Alan Mackenzie <acm@muc.de>
9807
9808 Fix a loop in c-set-fl-decl-start.
9809
9810 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9811 c-backward-syntactic-ws actually moves backwards.
9812
9813 2012-02-13 Leo Liu <sdl.web@gmail.com>
9814
9815 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9816 beginning so that all \C-o chars are removed.
9817
9818 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9819
9820 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9821
9822 2012-02-12 Alan Mackenzie <acm@muc.de>
9823
9824 Fix infinite loop with long macros.
9825 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9826
9827 2012-02-12 Chong Yidong <cyd@gnu.org>
9828
9829 * window.el (display-buffer): Doc fix (Bug#10785).
9830
9831 2012-02-12 Glenn Morris <rgm@gnu.org>
9832
9833 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9834 (x-disown-selection-internal, x-get-selection-internal):
9835 Sync docs with the xselect.c versions.
9836
9837 * allout-widgets.el: Add missing license notice.
9838
9839 2012-02-11 Glenn Morris <rgm@gnu.org>
9840
9841 * select.el (x-get-selection-internal, x-own-selection-internal)
9842 (x-disown-selection-internal):
9843 * x-dnd.el (x-get-selection-internal): Update declarations.
9844
9845 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9846
9847 * window.el (window-sides-slots):
9848 * tool-bar.el (tool-bar-position):
9849 * term/xterm.el (xterm-extra-capabilities):
9850 * ses.el (ses-self-reference-early-detection):
9851 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9852 (verilog-auto-wire-type)
9853 (verilog-auto-delete-trailing-whitespace)
9854 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9855 (verilog-auto-tieoff-declaration):
9856 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9857 (sql-oracle-statement-starters, sql-oracle-scan-on):
9858 * progmodes/prolog.el (prolog-align-comments-flag)
9859 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9860 (prolog-left-indent-regexp, prolog-paren-indent-p)
9861 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9862 (prolog-types, prolog-mode-specificators)
9863 (prolog-determinism-specificators, prolog-directives)
9864 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9865 (prolog-electric-dot-flag)
9866 (prolog-electric-dot-full-predicate-template)
9867 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9868 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9869 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9870 (prolog-program-switches, prolog-prompt-regexp)
9871 (prolog-debug-on-string, prolog-debug-off-string)
9872 (prolog-trace-on-string, prolog-trace-off-string)
9873 (prolog-zip-on-string, prolog-zip-off-string)
9874 (prolog-use-standard-consult-compile-method-flag)
9875 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9876 (prolog-imenu-max-lines, prolog-info-predicate-index)
9877 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9878 (prolog-char-quote-workaround):
9879 * progmodes/cc-vars.el (c-defun-tactic):
9880 * net/tramp.el (tramp-encoding-command-interactive)
9881 (tramp-local-end-of-line):
9882 * net/soap-client.el (soap-client):
9883 * net/netrc.el (netrc-file):
9884 * net/gnutls.el (gnutls):
9885 * minibuffer.el (completion-category-overrides)
9886 (completion-cycle-threshold)
9887 (completion-pcm-complete-word-inserts-delimiters):
9888 * man.el (Man-name-local-regexp):
9889 * mail/feedmail.el (feedmail-display-full-frame):
9890 * international/characters.el (glyphless-char-display-control):
9891 * eshell/em-ls.el (eshell-ls-date-format):
9892 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9893 (lisp-lambda-list-keyword-parameter-indentation)
9894 (lisp-lambda-list-keyword-parameter-alignment):
9895 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9896 * dired-x.el (dired-omit-verbose):
9897 * cus-theme.el (custom-theme-allow-multiple-selections):
9898 * calc/calc.el (calc-highlight-selections-with-faces)
9899 (calc-lu-field-reference, calc-lu-power-reference)
9900 (calc-note-threshold):
9901 * battery.el (battery-mode-line-limit):
9902 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9903 (archive-7z-update):
9904 * allout.el (allout-prefixed-keybindings)
9905 (allout-unprefixed-keybindings)
9906 (allout-inhibit-auto-fill-on-headline)
9907 (allout-flattened-numbering-abbreviation):
9908 * allout-widgets.el (allout-widgets-auto-activation)
9909 (allout-widgets-icons-dark-subdir)
9910 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9911 (allout-widgets-theme-dark-background)
9912 (allout-widgets-theme-light-background)
9913 (allout-widgets-item-image-properties-emacs)
9914 (allout-widgets-item-image-properties-xemacs)
9915 (allout-widgets-run-unit-tests-on-load)
9916 (allout-widgets-time-decoration-activity)
9917 (allout-widgets-hook-error-post-time)
9918 (allout-widgets-track-decoration):
9919 Add missing :version tags to new defcustoms and defgroups.
9920
9921 * progmodes/sql.el (sql-ansi-statement-starters)
9922 (sql-oracle-statement-starters): Add custom type.
9923
9924 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9925 (prolog-system-version): Give it a type.
9926
9927 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9928
9929 * term/pc-win.el (x-select-text, x-selection-owner-p)
9930 (x-own-selection-internal, x-disown-selection-internal)
9931 (x-get-selection-internal): Sync doc strings and argument lists
9932 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9933
9934 2012-02-11 Leo Liu <sdl.web@gmail.com>
9935
9936 * progmodes/python.el (python-end-of-statement): Fix infinite
9937 loop. (Bug#10788)
9938
9939 2012-02-10 Glenn Morris <rgm@gnu.org>
9940
9941 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9942 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9943
9944 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9945
9946 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9947 about SMTP before checking the From header.
9948
9949 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9950 into own function for reuse by emacsbug.el.
9951
9952 2012-02-10 Leo Liu <sdl.web@gmail.com>
9953
9954 * subr.el (condition-case-unless-debug): Rename from
9955 condition-case-no-debug. All callers changed.
9956 (with-demoted-errors): Fix caller.
9957
9958 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9959 * nxml/rng-valid.el (rng-do-some-validation):
9960 * emacs-lisp/package.el (package-refresh-contents)
9961 (package-menu-execute):
9962 * desktop.el (desktop-create-buffer):
9963 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9964
9965 2012-02-10 Glenn Morris <rgm@gnu.org>
9966
9967 * textmodes/bibtex.el:
9968 Add missing :version tags for new/changed defcustoms.
9969
9970 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9971
9972 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9973
9974 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9975 (smtpmail-via-smtp): Use it, or fall back on the From address.
9976 (smtpmail-send-it): Ditto.
9977
9978 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9981 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9982 (byte-compile-tmp-var): New const.
9983 (byte-compile-defvar): Use it to minimize .elc size.
9984 Just use `defvar' rather than simulate it (bug#10761).
9985
9986 2012-02-09 Glenn Morris <rgm@gnu.org>
9987
9988 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9989
9990 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9991 Add :version tags.
9992
9993 * progmodes/compile.el (compilation-error-screen-columns)
9994 (compilation-first-column, compilation-filter-start): Doc fixes.
9995
9996 * vc/log-view.el (log-view-toggle-entry-display):
9997 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9998
9999 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10000 (report-emacs-bug-can-use-xdg-email):
10001 (report-emacs-bug-insert-to-mailer): Doc fixes.
10002 (report-emacs-bug): Message fix.
10003
10004 * net/browse-url.el (browse-url-can-use-xdg-open)
10005 (browse-url-xdg-open): Doc fixes.
10006
10007 * electric.el (electric-indent-mode, electric-pair-mode)
10008 (electric-layout-rules, electric-layout-mode): Doc fixes.
10009 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10010
10011 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10012
10013 * server.el (server-unselect-display): Don't inadvertently kill
10014 the current buffer. (Bug#10729)
10015
10016 2012-02-08 Glenn Morris <rgm@gnu.org>
10017
10018 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10019 (sql-list-table): Doc fixes.
10020
10021 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10022 Comment out (does nothing).
10023
10024 * completion.el (dynamic-completion-mode):
10025 * dirtrack.el (dirtrack-debug-mode):
10026 * electric.el (electric-layout-mode):
10027 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10028 * face-remap.el (text-scale-mode, buffer-face-mode):
10029 * iimage.el (iimage-mode):
10030 * image-mode.el (image-transform-mode):
10031 * minibuffer.el (completion-in-region-mode):
10032 * scroll-lock.el (scroll-lock-mode):
10033 * simple.el (next-error-follow-minor-mode):
10034 * tar-mode.el (tar-subfile-mode):
10035 * tooltip.el (tooltip-mode):
10036 * vcursor.el (vcursor-use-vcursor-map):
10037 * wid-browse.el (widget-minor-mode):
10038 * emulation/tpu-edt.el (tpu-edt-mode):
10039 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10040 * international/iso-ascii.el (iso-ascii-mode):
10041 * language/thai-util.el (thai-word-mode):
10042 * mail/supercite.el (sc-minor-mode):
10043 * net/goto-addr.el (goto-address-mode):
10044 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10045 * progmodes/cwarn.el (cwarn-mode):
10046 * progmodes/flymake.el (flymake-mode):
10047 * progmodes/glasses.el (glasses-mode):
10048 * progmodes/hideshow.el (hs-minor-mode):
10049 * progmodes/pascal.el (pascal-outline-mode):
10050 * textmodes/enriched.el (enriched-mode):
10051 * vc/smerge-mode.el (smerge-mode):
10052 Doc fixes (minor mode argument).
10053
10054 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10055
10056 * ls-lisp.el (ls-lisp-sanitize): New function.
10057 (ls-lisp-insert-directory): Use it to fix or remove any elements
10058 in file-alist with missing attributes. (Bug#4673)
10059
10060 2012-02-07 Alan Mackenzie <acm@muc.de>
10061
10062 Fix spurious recognition of c-in-knr-argdecl.
10063
10064 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10065 putative K&R region.
10066
10067 2012-02-07 Alan Mackenzie <acm@muc.de>
10068
10069 * progmodes/cc-engine.el (c-forward-objc-directive):
10070 Prevent looping in "#pragma mark @implementation".
10071
10072 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10073
10074 * notifications.el (notifications-on-closed-signal): Make `reason'
10075 optional. (Bug#10744)
10076
10077 2012-02-07 Glenn Morris <rgm@gnu.org>
10078
10079 * emacs-lisp/easy-mmode.el (define-minor-mode):
10080 Doc fixes for the macro and the mode it defines.
10081
10082 * image.el (imagemagick-types-inhibit): Doc fix.
10083
10084 * cus-start.el (imagemagick-render-type): Add it.
10085
10086 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10087
10088 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10089 Set the default at load time, too, so that `font-lock-fontify-buffer'
10090 can be called without setting up the entire mode first. This fixes
10091 a bug in `mm-inline-text' with C MIME parts.
10092
10093 2012-02-06 Chong Yidong <cyd@gnu.org>
10094
10095 * simple.el (list-processes--refresh): Delete exited processes
10096 (Bug#8094).
10097
10098 * comint.el (comint-next-prompt): next-single-char-property-change
10099 and prev-single-char-property-change never return nil (Bug#8657).
10100
10101 * custom.el (defcustom): Doc fix (Bug#9711).
10102
10103 2012-02-05 Chong Yidong <cyd@gnu.org>
10104
10105 * cus-edit.el (custom-variable-reset-backup): Quote the value
10106 before storing it in the customized-value property (Bug#6712).
10107 (custom-display): Add a customization type tag.
10108 (custom-buffer-create-internal): Improve tooltip message.
10109
10110 * wid-edit.el (widget-field-value-get): New optional arg to
10111 suppress trailing whitespace truncation.
10112 (character): Use it (Bug#2689).
10113
10114 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10115
10116 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10117 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10118
10119 2012-02-05 Chong Yidong <cyd@gnu.org>
10120
10121 * cus-edit.el (custom-variable-value-create): For mismatched
10122 types, show the current value (Bug#7600).
10123
10124 * custom.el (defcustom): Doc fix.
10125
10126 2012-02-05 Glenn Morris <rgm@gnu.org>
10127
10128 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10129
10130 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10133 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10134 (pp-last-sexp): Use `looking-at-p'.
10135
10136 2012-02-04 Glenn Morris <rgm@gnu.org>
10137
10138 * files.el (revert-buffer):
10139 Doc fix (mention revert-buffer-in-progress-p).
10140
10141 * emacs-lisp/ert-x.el (ert-simulate-command):
10142 Check deferred-action-list (which is obsolete) is bound.
10143
10144 * subr.el (with-wrapper-hook): Doc fixes.
10145
10146 * simple.el (filter-buffer-substring-functions)
10147 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10148
10149 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10150
10151 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10152 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10153
10154 2012-02-04 Leo Liu <sdl.web@gmail.com>
10155
10156 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10157
10158 2012-02-04 Glenn Morris <rgm@gnu.org>
10159
10160 * image.el (image-extension-data): Add obsolete alias.
10161
10162 * isearch.el (isearch-update): Doc fix.
10163
10164 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10165
10166 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10167
10168 2012-02-03 Glenn Morris <rgm@gnu.org>
10169
10170 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10171 (image-animate-timeout): Doc fix.
10172
10173 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10174
10175 2012-02-02 Glenn Morris <rgm@gnu.org>
10176
10177 * server.el (server-auth-dir): Doc fix.
10178 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10179
10180 * subr.el (run-mode-hooks): Doc fix.
10181
10182 2012-02-02 Juri Linkov <juri@jurta.org>
10183
10184 * image-mode.el (image-toggle-display-image): Remove tautological
10185 `major-mode' from the `derived-mode-p' test.
10186
10187 2012-02-02 Kenichi Handa <handa@m17n.org>
10188
10189 * composite.el (compose-region): Cancel previous change.
10190
10191 2012-02-02 Kenichi Handa <handa@m17n.org>
10192
10193 * composite.el (compose-region, compose-string): Signal error for
10194 a null string component (Bug#6988).
10195
10196 2012-02-01 Chong Yidong <cyd@gnu.org>
10197
10198 * view.el (view-buffer-other-window, view-buffer-other-frame):
10199 Handle special modes like view-buffer (Bug#10650).
10200 (view-buffer): Simplify.
10201
10202 * frame.el (set-frame-font): Tweak meaning of third argument.
10203
10204 * dynamic-setting.el (font-setting-change-default-font):
10205 Use set-frame-font (Bug#9982).
10206
10207 2012-02-01 Glenn Morris <rgm@gnu.org>
10208
10209 * progmodes/compile.el (compilation-internal-error-properties):
10210 Respect compilation-first-column in the "*compilation*" buffer.
10211
10212 * emacs-lisp/easy-mmode.el (define-minor-mode):
10213 Relax :variable's test for a named function.
10214
10215 2012-01-31 Alan Mackenzie <acm@muc.de>
10216
10217 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10218 off by one error.
10219
10220 2012-01-31 Chong Yidong <cyd@gnu.org>
10221
10222 * frame.el (set-frame-font): New arg ALL-FRAMES.
10223
10224 * menu-bar.el (menu-set-font): Use set-frame-font.
10225
10226 * faces.el (face-spec-reset-face): Don't apply unspecified
10227 attribute values to the default face.
10228
10229 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10230
10231 * progmodes/cwarn.el (cwarn): Remove dead link.
10232 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10233 Remove * from defcustom docstrings.
10234 (turn-on-cwarn-mode): Make obsolete.
10235 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10236 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10237
10238 2012-01-31 Glenn Morris <rgm@gnu.org>
10239
10240 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10241 Fix :variable handling of mode a symbol not equal to modefun.
10242 Allow named functions to be used as the cdr of :variable.
10243
10244 2012-01-30 Glenn Morris <rgm@gnu.org>
10245
10246 * emacs-lisp/authors.el (authors-fixed-entries):
10247 Remove reference to deleted file rnewspost.el.
10248
10249 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10250
10251 * window.el (window-with-parameter): Remove unused variable `windows'.
10252 (window--side-check): Remove unused variable `code'.
10253 (window--resize-siblings): Remove unused variable `first'.
10254 (adjust-window-trailing-edge): Remove unused variable `failed'.
10255 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10256 Use `let', not `let*'.
10257 (balance-windows-2): Remove unused variable `found'.
10258 (window--state-put-2): Remove unused variable `splits'.
10259 (window-state-put): Remove unused variable `selected'.
10260 (same-window-p): Use `string-match-p'.
10261 (display-buffer-assq-regexp): Remove unused variable `value'.
10262 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10263 Mark argument ALIST as ignored.
10264 (pop-to-buffer): Remove unused variable `old-window'.
10265
10266 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10267
10268 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10269 and .lzma compressed files.
10270
10271 2012-01-29 Chong Yidong <cyd@gnu.org>
10272
10273 * frame.el (window-system-default-frame-alist): Doc fix.
10274
10275 * dynamic-setting.el (font-setting-change-default-font): Don't
10276 change the default face if SET-FONT argument is non-nil (Bug#9982).
10277
10278 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10279
10280 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10281
10282 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10283
10284 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10285 breakpoints in files outside current directory (Bug#6098).
10286
10287 2012-01-29 Chong Yidong <cyd@gnu.org>
10288
10289 * progmodes/python.el: Require ansi-color at top-level.
10290
10291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10292 Define and use in Emacs Lisp mode (Bug#9360).
10293 (lisp-mode-abbrev-table): Add doc.
10294 (lisp-mode-variables): Don't set local-abbrev-table.
10295 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10296
10297 2012-01-28 Roland Winkler <winkler@gnu.org>
10298
10299 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10300
10301 2012-01-28 Roland Winkler <winkler@gnu.org>
10302
10303 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10304 (bibtex-set-dialect): Use it. Either set global values of
10305 dialect-dependent variables or bind these variables buffer-locally
10306 (Bug#10254).
10307 (bibtex-mode): Call bibtex-set-dialect via
10308 hack-local-variables-hook.
10309 (bibtex-dialect): Update docstring.
10310 Add safe-local-variable predicate.
10311 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10312 bibtex-set-dialect.
10313 (bibtex-mode-map): Define menu for each dialect.
10314 (bibtex-entry): Fix docstring.
10315
10316 2012-01-28 Chong Yidong <cyd@gnu.org>
10317
10318 * eshell/esh-arg.el (eshell-quote-argument): New function.
10319
10320 * eshell/esh-ext.el (eshell-invoke-batch-file):
10321 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10322 first arg to eshell-parse-command (Bug#10523).
10323
10324 2012-01-28 Drew Adams <drew.adams@oracle.com>
10325
10326 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10327 `default-directory' is non-nil.
10328
10329 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10330
10331 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10332 line that displays system-configuration-options. (Bug#9924)
10333
10334 2012-01-28 Drew Adams <drew.adams@oracle.com>
10335
10336 * descr-text.el (describe-char): Show information about POS, in
10337 addition to information about the character at POS. Improve and
10338 update the doc string. Change "code point" to "code point in
10339 charset", to avoid confusion with the character's Unicode code
10340 point shown above that. (Bug#10129)
10341
10342 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10343
10344 * descr-text.el (describe-char): Show the raw character, not only
10345 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10346 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10347 for the reasons.
10348
10349 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10350
10351 * emacs-lisp/package.el (package-install):
10352 Run package-refresh-contents if there is no archive yet (Bug#9798).
10353
10354 2012-01-28 Chong Yidong <cyd@gnu.org>
10355
10356 * emacs-lisp/package.el (package-maybe-load-descriptor):
10357 New function, split from package-maybe-load-descriptor.
10358 (package-maybe-load-descriptor): Use it.
10359 (package-download-transaction): Fully load required packages
10360 inside the loop, so that `require' calls work (Bug#10593).
10361 (package-install): No need to call package-initialize now.
10362
10363 2012-01-28 Chong Yidong <cyd@gnu.org>
10364
10365 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10366
10367 * tooltip.el (tooltip-mode): Doc fix.
10368 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10369
10370 * frame.el (set-cursor-color): Doc fix (Bug#352).
10371
10372 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10373 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10374
10375 * cus-edit.el (custom-buffer-create-internal): Fix search button
10376 action (Bug#10542).
10377 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10378
10379 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10380
10381 * dired.el (dired-mark-files-regexp):
10382 Include any subdirectory components. (Bug#10445)
10383
10384 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10385
10386 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10387 Handle [host]:port syntax. (Bug#10533)
10388
10389 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10390
10391 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10392
10393 2012-01-26 Glenn Morris <rgm@gnu.org>
10394
10395 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10396 * term.el (term-raw-escape-map): Use Control-X-prefix.
10397 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10398
10399 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10400
10401 * window.el (window-state-get, window--state-get-1): Don't deal
10402 with fixed-sizeness of windows. Simplify code.
10403
10404 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10405
10406 * window.el (window--state-get-1, window--state-put-2):
10407 Don't save and restore the mark.
10408
10409 2012-01-25 Chong Yidong <cyd@gnu.org>
10410
10411 * custom.el (custom-variable-p): Doc fix.
10412
10413 2012-01-25 Glenn Morris <rgm@gnu.org>
10414
10415 * dired.el (dired-goto-file): Handle some of the more common
10416 characters that `ls -b' escapes. (Bug#10596)
10417
10418 * progmodes/compile.el (compilation-next-error-function):
10419 Respect compilation-first-column in the "*compilation*" buffer.
10420 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10421
10422 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10423
10424 2012-01-24 Glenn Morris <rgm@gnu.org>
10425
10426 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10427
10428 2012-01-24 Julien Danjou <julien@danjou.info>
10429
10430 * color.el (color-rgb-to-hsl): Fix value computing.
10431 (color-hue-to-rgb): New function.
10432 (color-hsl-to-rgb): New function.
10433 (color-clamp, color-saturate-hsl, color-saturate-name)
10434 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10435 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10436
10437 2012-01-24 Glenn Morris <rgm@gnu.org>
10438
10439 * vc/vc-rcs.el (vc-rcs-create-tag):
10440 * vc/vc-sccs.el (vc-sccs-create-tag):
10441 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10442
10443 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10444
10445 * eshell/esh-util.el (eshell-read-hosts-file):
10446 Skip comment lines. (Bug#10549)
10447
10448 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10449
10450 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10451
10452 * subr.el (display-delayed-warnings): Doc fix.
10453 (collapse-delayed-warnings): New function to collapse identical
10454 adjacent warnings.
10455 (delayed-warnings-hook): Add it.
10456
10457 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10460
10461 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10462 (tramp-default-user-alist): Don't add "pscp".
10463 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10464 property "login-as", if set. (Bug#10530)
10465
10466 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10467
10468 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10469 "plink1" and "psftp". (Bug#10530)
10470
10471 2012-01-21 Kenichi Handa <handa@m17n.org>
10472
10473 * international/mule-cmds.el (prefer-coding-system): Show a
10474 warning message if the default value of file-name-coding-system
10475 was not changed.
10476
10477 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10478
10479 * windmove.el (windmove-reference-loc):
10480 Fix windmove-reference-loc miscalculation.
10481
10482 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10483
10484 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10485 default unit.
10486
10487 2012-01-21 Glenn Morris <rgm@gnu.org>
10488
10489 * international/mule.el (auto-coding-alist): Add .tbz.
10490
10491 * files.el (local-enable-local-variables): Doc fix.
10492 (inhibit-local-variables-regexps): Rename from
10493 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10494 Doc fix. Add some extensions from auto-coding-alist.
10495 (inhibit-local-variables-suffixes):
10496 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10497 (inhibit-local-variables-p):
10498 New function, extracted from set-auto-mode-1.
10499 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10500 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10501 (hack-local-variables): Doc fix. Make the mode-only case
10502 respect enable-local-variables and friends.
10503 Respect inhibit-local-variables-regexps for file-locals, but
10504 not for directory-locals.
10505 (set-visited-file-name):
10506 Take account of inhibit-local-variables-regexps.
10507 Whether it applies may change as the file name is changed.
10508 * jka-cmpr-hook.el (jka-compr-install):
10509 * jka-compr.el (jka-compr-uninstall):
10510 Update for inhibit-first-line-modes-suffixes name change.
10511
10512 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10513
10514 * help-macro.el (make-help-screen): Temporarily restore original
10515 binding for minor-mode-map-alist (Bug#10454).
10516
10517 2012-01-19 Julien Danjou <julien@danjou.info>
10518
10519 * color.el (color-name-to-rgb): Use the white color to find the max
10520 color component value and return correctly computed values.
10521 (color-name-to-rgb): Add missing float conversion for max value.
10522
10523 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10524
10525 * window.el (window--state-get-1, window-state-get): Do not use
10526 special state value for window-persistent-parameters.
10527 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10528 (window--state-put-2): Reset all window parameters to nil before
10529 assigning values of persistent parameters.
10530
10531 2012-01-18 Alan Mackenzie <acm@muc.de>
10532
10533 Eliminate sluggishness and hangs in fontification of "semicolon
10534 deserts".
10535
10536 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10537 Change value 10000 -> 3000.
10538 (c-state-safe-place): Reformulate so it doesn't stack up an
10539 infinite number of wrong entries in c-state-nonlit-pos-cache.
10540 (c-determine-limit-get-base, c-determine-limit): New functions to
10541 determine backward search limits disregarding literals.
10542 (c-find-decl-spots): Amend commenting.
10543 (c-cheap-inside-bracelist-p): New function which detects "={".
10544
10545 * progmodes/cc-fonts.el
10546 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10547 backward search.
10548 (c-font-lock-declarations): Fix an occurrence of point being
10549 undefined. Check additionally for point being in a bracelist or
10550 near a macro invocation without a semicolon so as to avoid a
10551 fruitless time consuming search for a declarator. Give a more
10552 precise search limit for declarators using the new
10553 c-determine-limit.
10554
10555 2012-01-18 Glenn Morris <rgm@gnu.org>
10556
10557 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10558 (set-auto-mode): Doc fixes.
10559
10560 2012-01-17 Glenn Morris <rgm@gnu.org>
10561
10562 * isearch.el (search-nonincremental-instead): Fix doc typo.
10563
10564 * dired.el (dired-insert-directory): Handle newlines in directory name.
10565 (dired-build-subdir-alist): Unescape newlines in directory name.
10566
10567 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10568
10569 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10570 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10571 (tramp-action-terminal): Use it. (Bug#10530)
10572
10573 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10576
10577 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10578
10579 * window.el (window-state-ignored-parameters): Remove variable.
10580 (window--state-get-1): Rename argument MARKERS to IGNORE.
10581 Handle persistent window parameters. Make copy of clone-of
10582 parameter only if requested. (Bug#10348)
10583 (window--state-put-2): Install a window parameter only if it has
10584 a non-nil value or an existing parameter shall be overwritten.
10585
10586 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10587
10588 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10589
10590 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10591
10592 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10593 don't pass the (nil) value of `upnode' to string-match.
10594
10595 2012-01-14 Chong Yidong <cyd@gnu.org>
10596
10597 * startup.el (command-line): Fix X resource class for cursorColor.
10598 Fix values recognized by the cursorBlink resource.
10599
10600 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10601
10602 * epg.el (epg--make-temp-file): Avoid permission race condition
10603 when running on old Emacs versions (bug#10403).
10604
10605 2012-01-14 Glenn Morris <rgm@gnu.org>
10606
10607 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10608
10609 2012-01-13 Alan Mackenzie <acm@muc.de>
10610
10611 Fix filling for when filladapt mode is enabled.
10612
10613 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10614 c-mask-paragraph, pass in `fill-paragraph' rather than
10615 `fill-region-as-paragraph'. (This is a reversion of a previous
10616 change.)
10617 * progmodes/cc-mode.el (c-basic-common-init):
10618 Make fill-paragraph-handle-comment buffer local and set it to nil.
10619
10620 2012-01-13 Glenn Morris <rgm@gnu.org>
10621
10622 * dired.el (dired-switches-escape-p): New function.
10623 (dired-insert-directory): Use dired-switches-escape-p.
10624 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10625
10626 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10627
10628 2012-01-12 Glenn Morris <rgm@gnu.org>
10629
10630 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10631 changes in adaptive-fill-regexp. (Bug#10276)
10632
10633 2012-01-11 Alan Mackenzie <acm@muc.de>
10634
10635 Fix Emacs bug #10463 - put `widen's around the critical spots.
10636
10637 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10638 widen around each invocation of c-state-pp-to-literal. Remove an
10639 unused let variable.
10640
10641 2012-01-11 Glenn Morris <rgm@gnu.org>
10642
10643 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10644 Doc fix.
10645
10646 2012-01-10 Chong Yidong <cyd@gnu.org>
10647
10648 * net/network-stream.el (network-stream-open-starttls):
10649 Avoid emitting a confusing error message when the server gives a bad
10650 response to the capability command.
10651
10652 2012-01-10 Glenn Morris <rgm@gnu.org>
10653
10654 * mail/unrmail.el (unrmail): Tweak previous change.
10655
10656 2012-01-09 Chong Yidong <cyd@gnu.org>
10657
10658 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10659
10660 2012-01-08 Alan Mackenzie <acm@muc.de>
10661
10662 Optimise font locking in long enum definitions.
10663
10664 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10665 arm to a cond form to handle enums.
10666 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10667 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10668
10669 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10670
10671 * files.el (move-file-to-trash): Preserve default file modes on error.
10672 (Bug#10401)
10673
10674 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10675
10676 * faces.el (set-face-attribute): Clarify the meaning of the nil
10677 frame (bug#10294).
10678
10679 * subr.el (with-selected-frame): Mention that the selected frame
10680 is restored (bug#9980).
10681
10682 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10683 (bug#9759).
10684
10685 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10686 (password-read): Don't autoload unused function.
10687
10688 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10689
10690 * progmodes/which-func.el (which-func-mode): Turn into a
10691 non-interactive function and mark as obsolete (bug#10428).
10692
10693 2012-01-06 Chong Yidong <cyd@gnu.org>
10694
10695 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10696 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10697 functions, along with 1 and -1.
10698
10699 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10700
10701 * time.el (display-time-load-average)
10702 (display-time-default-load-average): Doc fixes. See the thread
10703 starting at
10704 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10705 for the details.
10706
10707 2012-01-06 Glenn Morris <rgm@gnu.org>
10708
10709 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10710 has no messages. (Bug#10377)
10711
10712 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10713 than Info-edit. (Bug#10385)
10714
10715 * time.el (display-time-load-average, display-time-next-load-average):
10716 Doc fixes.
10717
10718 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10719 local setting of buffer-read-only to the input buffer. (Bug#10419)
10720
10721 * calendar/calendar.el (calendar-mode):
10722 Locally set scroll-margin to 0. (Bug#10379)
10723
10724 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10725
10726 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10727
10728 2012-01-05 Glenn Morris <rgm@gnu.org>
10729
10730 * eshell/em-unix.el (diff-no-select): Autoload it.
10731 (eshell/diff): Use diff-no-select. (Bug#10420)
10732
10733 2012-01-05 Chong Yidong <cyd@gnu.org>
10734
10735 * shell.el (shell-dynamic-complete-functions): Revert last change.
10736 (shell-command-completion-function): New function.
10737 (shell-completion-vars): Use it to implement
10738 shell-completion-execonly (Bug#10417).
10739
10740 * custom.el (enable-theme): Don't set custom-safe-themes.
10741
10742 * cus-theme.el (custom-theme-merge-theme):
10743 Ignore custom-enabled-themes and custom-safe-themes.
10744
10745 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10746
10747 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10748 first prompt in `sql-interacive-mode'.
10749 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10750 keywords.
10751 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10752 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10753 context of original buffer. Invoke `sql-login-hook'.
10754
10755 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10756
10757 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10758 letters in cite-prefix.
10759
10760 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10761
10762 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10763
10764 2012-01-03 Chong Yidong <cyd@gnu.org>
10765
10766 * shell.el (shell-dynamic-complete-functions):
10767 Put pcomplete-completions-at-point, so as to try
10768 comint-filename-completion first (Bug#10417).
10769
10770 2012-01-02 Richard Stallman <rms@gnu.org>
10771
10772 * battery.el (battery-status-function):
10773 Detect when to use battery-yeeloong-sysfs.
10774 (battery-echo-area-format): Add string for Yeeloong.
10775 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10776 (battery-yeeloong-sysfs): New function.
10777
10778 2012-01-02 Chong Yidong <cyd@gnu.org>
10779
10780 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10781 (dirtrack): Merge code for handling relative filenames in prompt
10782 from shell-dir-cookie-watcher.
10783 (dirtrack-debug-message): New arg to avoid excess format calls.
10784
10785 * shell.el (shell-dir-cookie-re): Variable deleted.
10786 (shell-dir-cookie-watcher): Function deleted.
10787 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10788 with dirtrack-mode.
10789
10790 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10791
10792 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10793 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10794 libgnutls-26.dll.
10795
10796 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10797
10798 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10799
10800 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10801
10802 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10803 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10804
10805 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10806
10807 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10808 also for alternative shells.
10809 (tramp-open-connection-setup-interactive-shell): Check, whether
10810 the shell is a busybox.
10811 (tramp-send-command): Don't suppress multiple prompts for
10812 busyboxes, it hurts.
10813
10814 2011-12-28 Chong Yidong <cyd@gnu.org>
10815
10816 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10817 (gdb-get-source-file): Move mode line update to
10818 gdb-get-source-file (Bug#10087).
10819
10820 2011-12-25 Chong Yidong <cyd@gnu.org>
10821
10822 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10823 gud-gdb-marker-filter without taking it as an argument.
10824 (gud-gdb-run-command-fetch-lines): Caller changed.
10825 (gud-gdb-completion-function): New variable.
10826 (gud-gdb-completion-at-point): Use it.
10827 (gud-gdb-completions-1): Split from gud-gdb-completions.
10828
10829 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10830 function as separate arguments.
10831 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10832 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10833 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10834 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10835 (gdb-stopped, def-gdb-auto-update-trigger)
10836 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10837 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10838 Callers changed.
10839 (gud-gdbmi-completions): New function.
10840 (gdb): Use it for generating the completion table.
10841
10842 2011-12-24 Alan Mackenzie <acm@muc.de>
10843
10844 Introduce a mechanism to widen the region used in context font
10845 locking. Use this to protect declarations from losing their contexts.
10846
10847 * progmodes/cc-langs.el (c-before-font-lock-functions):
10848 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10849 (c-before-context-fontification-functions): New defvar, a list of
10850 functions to be run just before context (etc.) font locking.
10851
10852 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10853 New, functionality extracted from
10854 c-neutralize-syntax-in-and-mark-CPP.
10855 (c-in-after-change-fontification): New variable.
10856 (c-after-change): Set c-in-after-change-fontification.
10857 (c-set-fl-decl-start): Rejig its interface, so it can be called
10858 from both after-change and context fontifying.
10859 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10860 New functions.
10861 (c-standard-font-lock-fontify-region-function): New variable.
10862 (c-font-lock-fontify-region): New function.
10863
10864 2011-12-24 Juri Linkov <juri@jurta.org>
10865
10866 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10867 (Bug#10348)
10868
10869 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10870
10871 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10872 existence of source file. (Bug#10325)
10873
10874 2011-12-23 Alan Mackenzie <acm@muc.de>
10875
10876 Fix unstable fontification inside templates.
10877
10878 * progmodes/cc-langs.el (c-before-font-lock-functions):
10879 Newly created from the singular version. The (c c++ objc) entry now
10880 additionally has c-set-fl-decl-start. The other languages (apart
10881 from AWK) have that as a single entry.
10882
10883 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10884 The functionality for "local" declarations has been extracted to
10885 c-set-fl-decl-start.
10886
10887 * progmodes/cc-mode.el (c-common-init, c-after-change):
10888 Changes due to pluralisation of c-before-font-lock-functions.
10889 (c-set-fl-decl-start): New function, extracted from
10890 c-font-lock-enclosing-decls and enhanced.
10891
10892 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10895
10896 2011-12-22 Juri Linkov <juri@jurta.org>
10897
10898 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10899
10900 2011-12-22 Chong Yidong <cyd@gnu.org>
10901
10902 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10903
10904 2011-12-21 Drew Adams <drew.adams@oracle.com>
10905
10906 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10907
10908 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10909
10910 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10911
10912 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10913
10914 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10915 highlighting and support. Fix up comments for capitalization.
10916 (cfengine-mode-debug): New var.
10917 (cfengine3-mode): Change the modeline indicator to "CFE3".
10918 (cfengine3-font-lock-keywords): Improve defun highlighting.
10919 (cfengine2-actions): Rename from `cfengine-actions'.
10920 (cfengine2-font-lock-keywords): Rename from
10921 `cfengine-font-lock-keywords'.
10922 (cfengine2-imenu-expression): Rename from
10923 `cfengine-imenu-expression'.
10924 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10925 (cfengine2-beginning-of-defun): Rename from
10926 `cfengine-beginning-of-defun'.
10927 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10928 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10929 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10930 modeline indicator to "CFE2".
10931 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10932 (cfengine-mode-abbrevs): Mark obsolete.
10933
10934 2011-12-21 Chong Yidong <cyd@gnu.org>
10935
10936 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10937 filename argument.
10938
10939 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10940
10941 * window.el (window-normalize-buffer-to-display): Remove.
10942 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10943
10944 2011-12-19 Chong Yidong <cyd@gnu.org>
10945
10946 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10947 Don't signal an error in a predicate function; return non-nil.
10948 (vc-dir-mark-file): Move the error here.
10949 (vc-dir-mark-unmark): If acting on the region, keep going if one
10950 of the entries cannot be marked/unmarked.
10951 (vc-dir-mark-all-files): If current entry is a directory, mark
10952 only child files, as documented.
10953
10954 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10955
10956 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10957 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10958 addition.
10959
10960 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10961
10962 * term/ns-win.el (ns-get-selection-internal)
10963 (ns-store-selection-internal): Declare.
10964 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10965 Declare as obsolete.
10966 (ns-get-pasteboard, ns-paste-secondary):
10967 Use ns-get-selection-internal.
10968 (ns-set-pasteboard, ns-copy-including-secondary):
10969 Use ns-store-selection-internal.
10970
10971 2011-12-17 Chong Yidong <cyd@gnu.org>
10972
10973 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10974 (vc-deduce-fileset): Doc fix.
10975
10976 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10977
10978 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10979
10980 2011-12-13 Sam Steingold <sds@gnu.org>
10981
10982 * man.el (Man-getpage-in-background): When running under a
10983 window-system, ignore $MANWIDTH and $COLUMNS.
10984
10985 2011-12-15 Kenichi Handa <handa@m17n.org>
10986
10987 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10988 (setup-ethiopic-environment-internal): Comment out key-binding for
10989 ethio-toggle-punctuation.
10990
10991 2011-12-13 Alan Mackenzie <acm@muc.de>
10992
10993 Add the switch statement to AWK Mode.
10994
10995 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10996 "default" to the keywords regexp.
10997
10998 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10999 expression as the rest.
11000 (c-nonlabel-token-key): Allow string literals for AWK.
11001 Refactor for the other modes.
11002
11003 Large brace-block initialisation makes CC Mode slow: Fix.
11004 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11005 routines. Limit backward searching in c-font-lock-enclosing.decl.
11006
11007 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11008 pp-state and literal type in addition to the limits.
11009 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11010 (c-state-literal-at): Use the above new defun.
11011 (c-slow-in-literal, c-fast-in-literal): Remove.
11012 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11013
11014 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11015 being in a literal. Add a limit for backward searching.
11016
11017 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11018 c-slow-in-literal.
11019
11020 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11023
11024 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11025
11026 * window.el (delete-other-windows): Use correct frame in call to
11027 window-with-parameter.
11028
11029 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11030
11031 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11032 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11033 (makefile-gmake-statements, makefile-makepp-statements):
11034 Use it and add new makepp keywords.
11035 (makefile-makepp-font-lock-keywords): Add new patterns.
11036 (makefile-match-function-end): Match new [...] and [[...]].
11037
11038 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11039
11040 * ses.el (ses-call-printer-return, ses-cell-property-get)
11041 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11042 (ses-create-cell-variable, ses-reset-header-string)
11043 (ses-cell-set-formula, ses-repair-cell-reference-all)
11044 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11045 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11046 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11047 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11048 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11049 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11050 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11051 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11052 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11053 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11054 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11055 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11056
11057 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11058
11059 * ses.el: The overall change is to add cell renaming, that is
11060 setting fancy names for cell symbols other than name matching
11061 "\\`[A-Z]+[0-9]+\\'" regexp .
11062 (ses-create-cell-variable): New defun.
11063 (ses-relocate-formula): Relocate formulas only for cells the
11064 symbols of which are not renamed, i.e. symbols whose names do not
11065 match regexp "\\`[A-Z]+[0-9]+\\'".
11066 (ses-relocate-all): Relocate values only for cells the symbols of
11067 which are not renamed.
11068 (ses-load): Create cells variables as the (ses-cell ...) are read,
11069 in order to check row col consistency with cell symbol name only
11070 for cells that are not renamed.
11071 (ses-replace-name-in-formula): New defun.
11072 (ses-rename-cell): New defun.
11073
11074 2011-12-11 Chong Yidong <cyd@gnu.org>
11075
11076 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11077 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11078
11079 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11080
11081 * window.el (other-window): Fix docstring.
11082
11083 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11084
11085 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11086 `from' or `to' address before taking its substring.
11087 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11088 encoded name is chopped in the middle of the encoded string, and
11089 thus displayed encoded.
11090
11091 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11092
11093 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11094
11095 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11096
11097 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11098 to use texinfo-update-node and commands that call it if the
11099 Texinfo file uses @node lines without next/prev/up pointers.
11100 Correct outdated description about texinfo-master-menu.
11101 (texinfo-all-menus-update, texinfo-master-menu)
11102 (texinfo-update-node, texinfo-every-node-update)
11103 (texinfo-multiple-files-update): Doc fix. Warn against updating
11104 all the @node lines.
11105 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11106 argument is numeric. Explain better in the doc string what the
11107 function really does.
11108 (texinfo-insert-master-menu-list): Improve the error message
11109 displayed if there's no menu in the Top node.
11110 (Bug#2975) See also this thread:
11111 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11112
11113 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11114
11115 * speedbar.el (speedbar-supported-extension-expressions):
11116 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11117
11118 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11119
11120 * printing.el (pr-mode-alist):
11121 * simple.el (filter-buffer-substring-functions)
11122 (completion-list-insert-choice-function):
11123 * window.el (window-with-parameter, window-atom-root)
11124 (window-sides-slots, window-size-fixed, window-min-delta)
11125 (window-max-delta, window--resize-mini-window)
11126 (window--resize-child-windows-normal, window-tree)
11127 (delete-other-windows, quit-window, split-window)
11128 (display-buffer-record-window, special-display-buffer-names)
11129 (special-display-regexps, special-display-popup-frame)
11130 (same-window-p, split-window-sensibly)
11131 (display-buffer-overriding-action, display-buffer-alist)
11132 (display-buffer-base-action, display-buffer, switch-to-buffer)
11133 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11134 (fit-window-to-buffer, recenter-positions)
11135 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11136 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11137 and remove unneeded backslashes in docstrings.
11138
11139 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11140
11141 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11142
11143 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11144 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11145 end in ".mk".
11146 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11147 when reading the makefile (bug#10116).
11148
11149 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11152 (bug#10116).
11153
11154 2011-12-06 Glenn Morris <rgm@gnu.org>
11155
11156 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11157
11158 2011-12-06 Chong Yidong <cyd@gnu.org>
11159
11160 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11161
11162 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11163
11164 * textmodes/table.el (table-shorten-cell): Fix typo.
11165
11166 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11167
11168 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11169
11170 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11171
11172 * descr-text.el (describe-char): Fix display of strong
11173 right-to-left characters and directional embeddings and overrides.
11174
11175 * simple.el (what-cursor-position): Fix display of codepoints of
11176 strong right-to-left characters.
11177
11178 2011-12-05 Chong Yidong <cyd@gnu.org>
11179
11180 * faces.el (read-color): Doc fix.
11181
11182 2011-12-05 Glenn Morris <rgm@gnu.org>
11183
11184 * align.el (align--set-marker): Add doc-string.
11185 Don't try to move something that is not a marker. (Bug#10216)
11186
11187 2011-12-04 Glenn Morris <rgm@gnu.org>
11188
11189 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11190 overly zealous deletion of trailing whitespace.
11191
11192 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11193
11194 * server.el (server-delete-client): On Windows, do not try to delete
11195 the only terminal.
11196 (server-process-filter): On Windows, treat requests for a tty frame as
11197 if they were for a GUI frame if the running server is in GUI mode.
11198
11199 2011-12-03 Glenn Morris <rgm@gnu.org>
11200
11201 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11202
11203 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * electric.el: Streamline electric-indent's hook.
11206 (electric-indent-chars): Revert to simple list.
11207 (electric-indent-functions): New var.
11208 (electric-indent-post-self-insert-function): Use it.
11209
11210 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11211 there's no inferior buffer (bug#10196).
11212 (prolog-consult-compile): Don't use toggle-read-only.
11213
11214 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11215
11216 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11217 interrupt. (Bug#10187)
11218
11219 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11222 (bug#9160).
11223
11224 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11225 (bug#10191).
11226
11227 2011-12-02 Juri Linkov <juri@jurta.org>
11228
11229 * info.el (Info-search): Display "end of manual" when Isearch
11230 reaches the end of single-file Info manual. (Bug#9918)
11231
11232 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11233
11234 * isearch.el (isearch-message-prefix): Run the input method part
11235 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11236
11237 2011-12-02 Juri Linkov <juri@jurta.org>
11238
11239 * isearch.el (isearch-occur): Use `word-search-regexp' for
11240 `isearch-word'.
11241 (isearch-search-and-update): Add condition for `isearch-word' and
11242 call `word-search-regexp'. (Bug#10145)
11243
11244 2011-12-01 Glenn Morris <rgm@gnu.org>
11245
11246 * eshell/em-hist.el (eshell-hist-initialize):
11247 Handle eshell-history-size nil and HISTSIZE set or unset.
11248 (eshell-history-file-name, eshell-history-size): Fix custom type.
11249
11250 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11253
11254 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11255
11256 * progmodes/verilog-mode.el (verilog-pretty-expr):
11257 Rework verilog-pretty-expr to handle new assignment operators in system
11258 verilog, such as += *= and the like.
11259 (verilog-assignment-operator-re): Regular expression to find the
11260 assigment operator in a verilog assignment.
11261 (verilog-assignment-operation-re): Regular expression to find an
11262 assignment statement for pretty-expr.
11263 (verilog-in-attribute-p): Query returns true if point is in an
11264 attribute context; used to skip these for expression line up from
11265 pretty-expr.
11266 (verilog-in-parameter-p): Query returns true if point is in an
11267 parameter definition context; used to skip these for expression
11268 line up from pretty-expr.
11269 (verilog-in-parenthesis-p): Query returns true if point is in a
11270 parenthetical expression, specifically ( ) but not [ ] or { };
11271 used by pretty-expr.
11272 (verilog-just-one-space): If there is no space, don't add one.
11273 (verilog-get-lineup-indent-2): Specifically skip just attribute
11274 contexts for expression lineup, rather than skipping all
11275 parenthetical expressions.
11276 (verilog-calculate-indent): Fix comment, and fix indent.
11277 (verilog-do-indent): Indent declarations in lists (suggested by
11278 Joachim Lechner).
11279 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11280 skeleton items.
11281 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11282 by Alain Mellan).
11283
11284 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11285
11286 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11287 parameters with embedded comments. Reported by Ray Stevens.
11288 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11289 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11290 Reported by Tim Holt.
11291 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11292 instantiated by upper module causing wrong expansion until AUTOed a
11293 second time. Reported by K C Buckenmaier.
11294 (verilog-diff-auto): Fix showing .* as a difference when
11295 `verilog-auto-star-save' off. Reported by Dan Dever.
11296 (verilog-auto-reset, verilog-read-always-signals)
11297 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11298 temporary signals in reset list if
11299 verilog-auto-reset-blocking-in-non is nil, and match assignment
11300 style to each signal's assignment type, bug381.
11301 Reported by Thomas Esposito.
11302 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11303 (verilog-uvm-statement-re): Support UVM indentation and
11304 highlighting, with old OVM keywords only.
11305 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11306 Support AUTOTIEOFF creating non-wire data types.
11307 Suggested by Jonathan Greenlaw.
11308 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11309 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11310 (verilog-inject-sense, verilog-read-inst-pins)
11311 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11312 Fix mismatching parenthesis inside commented out code when deleting
11313 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11314 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11315 non-numeric vector width. Reported by Alex Reed.
11316 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11317 detecting signals with parameter widths. Reported by Alex Reed.
11318 (verilog-auto-delete-trailing-whitespace):
11319 With `verilog-auto-delete-trailing-whitespace' remove trailing
11320 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11321 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11322 Fix verilog-scan-cache corruption when running user AUTO expansion
11323 hooks that call indentation routines.
11324 (verilog-simplify-range-expression): Fix typo ignoring lower case
11325 identifiers.
11326 (verilog-delete-auto): Fix delete-autos to also remove user created
11327 automatics, as long as they start with AUTO.
11328 (verilog-batch-diff-auto, verilog-diff-auto)
11329 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11330 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11331 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11332 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11333 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11334 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11335 is disabled and its cache will get corrupt, causing AUTOS not to
11336 expand. Instead use only -quick functions.
11337 (verilog-scan-region): Fix scanning over escaped quotes.
11338 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11339 (verilog-re-search-backward-quick)
11340 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11341 related functions now ignore strings, to fix misparsing of strings
11342 with magic comments embedded in them.
11343 (verilog-read-auto-template):
11344 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11345 Reported by Brad Dobbie.
11346 (verilog-read-auto-template):
11347 Fix 'verilog-auto-inst-template-numbers' with comments.
11348 Reported by Brad Dobbie.
11349 (verilog-auto-inst, verilog-auto-inst-param)
11350 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11351 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11352 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11353 debugging templates without merge conflicts, bug357.
11354 Reported by Brad Dobbie.
11355 (verilog-read-auto-template):
11356 Fix verilog-auto-inst-template-numbers with multiple templates.
11357 Reported by Brad Dobbie.
11358 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11359 abbrevs so user won't be asked to save.
11360 (verilog-read-auto-lisp-present): Fix to start at beginning of
11361 buffer in case called outside of verilog-auto.
11362 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11363 to "X-2". Reported by Matthew Myers.
11364 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11365 all inputs from module templates. Reported by Leith Johnson.
11366 (verilog-module-inside-filename-p): Fix locating programs as with
11367 modules.
11368 (verilog-auto-inst-port): Fix vl-width expressions when using
11369 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11370 (verilog-decls-get-regs, verilog-decls-get-signals,
11371 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11372 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11373 verilog-read-decls): Combine reg and wire structures into one var
11374 structure to represent SystemVerilog concepts.
11375 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11376 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11377 (verilog-auto-wire-type, verilog-insert-definition):
11378 Add verilog-auto-wire-type and AUTOLOGIC to support using
11379 SystemVerilog "logic" keyword instead of "wire"/"reg".
11380 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11381 to declares outputs that also have assignments (presumably in an
11382 ifdef or generate if so there's not a driver conflict).
11383 Reported by Matthew Myers.
11384 (verilog-auto-declare-nettype, verilog-insert-definition):
11385 Add verilog-auto-declare-nettype to fix declarations using
11386 `default_nettype none. Reported by Julian Gorfajn.
11387 (verilog-read-always-signals-recurse, verilog-read-decls)
11388 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11389 malformed end statement, bug325. Reported by Joshua Wise and
11390 Andrew Drake.
11391 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11392 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11393 when expanding .* in interfaces, bug320.
11394 Reported by Pierre-David Pfister.
11395 (verilog-read-module-name): Fix import statements between module
11396 name and open parenthesis, bug317.
11397 Reported by Pierre-David Pfister.
11398 (verilog-simplify-range-expression): Fix simplification of
11399 multiplications inside AUTOWIRE connections, bug303.
11400 (verilog-auto-inst-port): Support parameter expansion in
11401 multidimensional arrays.
11402 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11403 after "assert property". Reported by Julian Gorfajn.
11404 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11405 with multiplication, bug303.
11406 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11407 Reported by Jan Frode Lonnum.
11408
11409 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11410
11411 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11412 (hfy-shell-file-name, hfy-shell):
11413 * international/fontset.el (x-decompose-font-name): Fix typos.
11414
11415 2011-11-29 Ken Brown <kbrown@cornell.edu>
11416
11417 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11418 (gdb-version): Remove defvar.
11419 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11420 (gdb-gud-context-command, gdb-non-stop-handler)
11421 (gdb-current-context-command, gdb-stopped): Use it.
11422 (gdb-init-1): Enable pretty printing here.
11423 (gdb-non-stop-handler): Don't enable pretty-printing here.
11424 Check to see if the target supports non-stop mode; if not, turn off
11425 non-stop mode. Use the following.
11426 (gdb-check-target-async): New defun.
11427 (gud-watch, gdb-stopped): Fix whitespace.
11428 (gdb-get-source-file): Don't try to display the source file if
11429 `gdb-main-file' is nil.
11430
11431 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * align.el: Try to generate fewer markers (bug#10047).
11434 (align--set-marker): New macro.
11435 (align-region): Use it.
11436
11437 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11440
11441 2011-11-29 Chong Yidong <cyd@gnu.org>
11442
11443 * indent.el (indent-for-tab-command, indent-according-to-mode):
11444 Doc fix.
11445 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11446
11447 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11450 aware of remote file names. (Bug#10124)
11451
11452 2011-11-29 Chong Yidong <cyd@gnu.org>
11453
11454 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11455
11456 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * files.el (find-file): Don't use force-same-window (bug#10144).
11459 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11460 use pop-to-buffer if the selected window can't be used.
11461 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11462
11463 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11464
11465 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11466 special-mode-map.
11467
11468 2011-11-28 Chong Yidong <cyd@gnu.org>
11469
11470 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11471
11472 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11473
11474 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11475 gdb-get-source-file-list on gdb-create-source-file-list.
11476
11477 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11478
11479 * whitespace.el (whitespace-newline): Use a different foreground
11480 color for 16-color light-background displays.
11481
11482 2011-11-24 Chong Yidong <cyd@gnu.org>
11483
11484 * window.el (display-buffer--special-action): Doc fix.
11485
11486 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11487
11488 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11489 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11490 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11491 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11492 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11493 (avl-tree-stack-first):
11494 * emacs-lisp/cconv.el (cconv--analyse-use):
11495 * net/gnutls.el (gnutls-negotiate): Fix typos.
11496
11497 2011-11-24 Glenn Morris <rgm@gnu.org>
11498
11499 * lpr.el (lpr-windows-system, lpr-lp-system):
11500 * mail/binhex.el (binhex-begin-line):
11501 * progmodes/grep.el (grep-history, grep-find-history):
11502 * textmodes/flyspell.el:
11503 * vc/pcvs-defs.el (cvs-global-menu):
11504 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11505 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11506 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11507
11508 * net/tls.el: Fix case of "GnuTLS".
11509
11510 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11511
11512 * version.el (emacs-build-system): Give it a doc-string.
11513
11514 2011-11-24 Juri Linkov <juri@jurta.org>
11515
11516 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11517
11518 2011-11-24 Glenn Morris <rgm@gnu.org>
11519
11520 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11521 if called on a non-mime message just toggle the headers. (Bug#8006)
11522
11523 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11526 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11527 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11528 (allout-rebullet-heading, allout-open-sibtopic)
11529 (allout-toggle-current-subtree-encryption)
11530 (allout-toggle-subtree-encryption, allout-encrypt-string)
11531 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11532 (allout-distinctive-bullets-string, allout-auto-activation):
11533 * window.el (window-normalize-buffer-to-display):
11534 * progmodes/verilog-mode.el (verilog-batch-indent):
11535 * textmodes/bibtex.el (bibtex-field-braces-opt)
11536 (bibtex-field-strings-opt):
11537 * vc/cvs-status.el (cvs-tree-merge):
11538 Fix typos.
11539
11540 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11541
11542 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11543 `non-essential' to t, in order to avoid remote connections.
11544
11545 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11546
11547 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11548 On MS-DOS and MS-Windows, compare with loaddefs.el
11549 case-insensitively.
11550
11551 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11552
11553 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11554
11555 2011-11-23 Glenn Morris <rgm@gnu.org>
11556
11557 * paths.el (rmail-file-name): Reformat the doc-string so that it
11558 is picked up.
11559
11560 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11561 (rmail-auto-file): Ignore case in the "special" field names,
11562 as mail-fetch-field does for all others.
11563
11564 * mail/rmail.el (rmail-forward):
11565 * mail/rmailkwd.el (rmail-set-label):
11566 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11567 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11568
11569 * mail/rmail.el (rmail-current-message): Doc fix.
11570
11571 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11572
11573 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11574
11575 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11576
11577 2011-11-22 Glenn Morris <rgm@gnu.org>
11578
11579 * mail/rmailmm.el (test-rmail-mime-handler)
11580 (test-rmail-mime-bulk-handler)
11581 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11582
11583 2011-11-21 Juri Linkov <juri@jurta.org>
11584
11585 * calc/calc.el (calc-read-key-sequence):
11586 Let-bind `input-method-function' to nil. (Bug#10018)
11587
11588 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11589
11590 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11591 Tell the caller that the next line needs recomputation, even
11592 though it doesn't start a sexp (bug#10094).
11593
11594 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11595
11596 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11597
11598 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11601 Use force-same-window.
11602
11603 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11604
11605 * descr-text.el (describe-char-unicode-data):
11606 * json.el (json-string-escape):
11607 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11608 (Footnote-unicode, Footnote-style-p):
11609 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11610
11611 2011-11-20 Chong Yidong <cyd@gnu.org>
11612
11613 * window.el (replace-buffer-in-windows): Restore interactive spec.
11614
11615 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11618
11619 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11620 (byte-compile-global-not-obsolete-vars): New var.
11621 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11622 Use it.
11623 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11624
11625 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11628 * progmodes/pascal.el (electric-pascal-equal):
11629 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11630 * xml.el (xml-substitute-special): Fix typos.
11631
11632 2011-11-20 Glenn Morris <rgm@gnu.org>
11633
11634 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11635 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11636 Doc fixes.
11637 (rmail-decode-mime-charset): Mark as obsolete.
11638
11639 * mail/rmailsum.el (rmail-message-regexp-p-1):
11640 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11641 Before using mime functions, check they are set. (Bug#10077)
11642
11643 2011-11-19 Juri Linkov <juri@jurta.org>
11644
11645 * info.el (Info-finder-find-node): Use `package--builtins' instead
11646 of `package-alist'. Use node names formed by the pattern "Keyword "
11647 and the keyword name.
11648
11649 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11650
11651 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11652
11653 2011-11-19 Juri Linkov <juri@jurta.org>
11654
11655 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11656 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11657 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11658 `old-history', `old-history-forward'. Add let-binding
11659 `window-selected'. Remove calls to `kill-buffer',
11660 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11661 before calling `Info-find-node', so `Info-find-node-2' will reread
11662 the Info file. Restore window positions only when `window-selected'
11663 is non-nil.
11664
11665 2011-11-19 Juri Linkov <juri@jurta.org>
11666
11667 * isearch.el (isearch-lazy-highlight-new-loop):
11668 Remove condition `(not isearch-error)'. (Bug#9918)
11669
11670 * misearch.el (multi-isearch-search-fun): Add condition
11671 `(not bound)' to ignore lazy-highlighting search.
11672 Add the search-failed message "end of multi" when the end of
11673 multi-sequence is reached. Uncapitalize the search-failed
11674 message "Repeat for next buffer".
11675
11676 * info.el (Info-search): Add the search-failed message
11677 "end of the manual" when the end of the manual is reached
11678 in Isearch mode.
11679
11680 2011-11-19 Juri Linkov <juri@jurta.org>
11681
11682 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11683 Use non-destructive `remove' instead of `delete' because
11684 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11685 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11686
11687 2011-11-19 Juri Linkov <juri@jurta.org>
11688
11689 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11690 to nil instead of binding `search-ring' and `regexp-search-ring'.
11691 (Bug#9185)
11692
11693 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11694
11695 * simple.el (line-move): Force movement by logical lines for any
11696 hscrolled window, not only when auto-hscroll-mode is on.
11697 (line-move-visual): Update doc string to that effect. (Bug#10076)
11698
11699 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11700
11701 * language/european.el (macintosh): Define as alias for mac-roman.
11702
11703 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11704
11705 * mail/rmailmm.el (rmail-mime-display-header)
11706 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11707 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11708 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11709 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11710 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11711 of a raw aref.
11712 (rmail-mime-entity-segment): To get past the tagline, move forward
11713 2 more lines, to account for the 2 empty lines that precede and
11714 follow the line with the buttons.
11715 (rmail-mime-update-tagline): Move one more line, to get past the
11716 empty line that follows the buttons in the tagline. (Bug#9520)
11717
11718 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11719
11720 * window.el (window-max-delta-1, window-min-delta-1)
11721 (window-min-size-1, window-state-get-1, window-state-put-1)
11722 (window-state-put-2): Use "window--" prefix.
11723
11724 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11727 (smie-warning-count): New var.
11728 (smie-set-prec2tab): Use it.
11729 (smie-bnf->prec2): Improve warnings. Add docstring.
11730 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11731 (smie-bnf--set-class): New function.
11732 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11733 corner case.
11734
11735 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11736 (compilation-error-properties, compilation-move-to-column):
11737 Handle compilation-first-column while in the target buffer.
11738
11739 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11740 Don't hardcode point-min==1.
11741
11742 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11743 (eshell-rewrite-for-command): Remove workaround.
11744 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11745 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11746 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11747
11748 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11749
11750 2011-11-17 Glenn Morris <rgm@gnu.org>
11751
11752 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11753 Ignore buffer-local generated-autoload-file if it is the same
11754 as the global value. (Bug#10049)
11755
11756 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11757
11758 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11759 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11760 (reftex-toc-previous-heading, reftex-toc-max-level)
11761 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11762 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11763 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11764 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11765 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11766 (reftex-toc-rename-label, reftex-toc-visit-location)
11767 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11768 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11769 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11770 leaving "*toc*" only for references to the buffer.
11771
11772 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11773
11774 * window.el (window-resize, delete-window, split-window):
11775 Replace window-splits by window-combination-resize.
11776 * cus-start.el (window-splits): Replace by window-combination-resize.
11777
11778 2011-11-17 Glenn Morris <rgm@gnu.org>
11779
11780 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11781 Make bash entry derive from sh entry, not shell entry.
11782
11783 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11784
11785 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11786 local file name.
11787
11788 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * menu-bar.el (menu-bar-file-menu):
11791 * printing.el (pr-ps-utility):
11792 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11793 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11794 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11795 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11796 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11797 (icalendar--convert-cyclic-to-ical)
11798 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11799 (icalendar--convert-ical-to-diary)
11800 (icalendar--convert-recurring-to-diary)
11801 (icalendar--convert-non-recurring-all-day-to-diary)
11802 (icalendar-import-format-sample):
11803 * progmodes/idlw-shell.el (idlwave-shell-mode):
11804 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11805 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11806 (vhdl-ps-print-init): Fix typos.
11807
11808 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11809
11810 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11811 FSF and collapse date sequence, obscure author/maintainer email address
11812 better, remove extra version line, track relocation of author's webpage.
11813
11814 * progmodes/python.el (python-pdbtrack-input-prompt)
11815 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11816 regular python pdb prompts. Adjustments shamelessly taken exactly as
11817 suggested in EmacsWiki page (tiny change):
11818 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11819
11820 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * expand.el (expand-pos, expand-index, expand-point):
11823 Remove redundant info from docstring.
11824 (expand-add-abbrevs): Doc fix.
11825 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11826 (expand-sample-perl-mode-expand-list): Fix typos.
11827
11828 * net/dbus.el (dbus-event-member-name):
11829 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11830 * term/pc-win.el (msdos-create-frame-with-faces):
11831 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11832
11833 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11834
11835 * window.el (split-window, window-state-get-1)
11836 (window-state-put-1, window-state-put-2): Rename occurrences of
11837 window-nest to window-combination-limit.
11838 * cus-start.el (window-nest): Rename to window-combination-limit.
11839
11840 2011-11-16 Chong Yidong <cyd@gnu.org>
11841
11842 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11843 regexp (Bug#10033).
11844
11845 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11848 `completing-read' will remove *Completions* and will preserve
11849 current-buffer for us.
11850 (tmm-add-prompt): Users of *Completions* will always (re)set its
11851 major mode.
11852 (tmm-old-comp-map): Remove.
11853
11854 2011-11-16 Glenn Morris <rgm@gnu.org>
11855
11856 * mail/rmailedit.el: Require rmailmm when compiling.
11857 (rmail-old-mime-state): New declaration.
11858 (rmail-edit-current-message): If editing a mime message,
11859 edit the "raw" message from the mbox buffer.
11860 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11861
11862 2011-11-15 Glenn Morris <rgm@gnu.org>
11863
11864 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11865 which wasn't being used. Add optional arg to force given state.
11866 (rmail-mime): Add optional arg to force given state.
11867
11868 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11869
11870 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11871 * frame.el (display-mm-dimensions-alist):
11872 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11873 (outline-move-subtree-down):
11874 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11875 (newsticker--treeview-do-get-node):
11876 * net/quickurl.el (quickurl-list-buffer-name):
11877 * progmodes/dcl-mode.el (dcl-mode):
11878 * progmodes/gdb-mi.el (gdb-mapcar*):
11879 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11880
11881 2011-11-15 Glenn Morris <rgm@gnu.org>
11882
11883 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11884 in a boolean sense, so just make it a boolean, and fix the doc.
11885 (rmail-show-mime-function, rmail-mime-feature)
11886 (rmail-require-mime-maybe): Doc fixes.
11887 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11888
11889 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11890
11891 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11894 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11895 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11896 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11897
11898 2011-11-15 Glenn Morris <rgm@gnu.org>
11899
11900 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11901 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11902 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11903 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11904 (rmail-mime, rmail-show-mime): Doc fixes.
11905
11906 * term/ns-win.el (mode-line-frame-identification):
11907 Leave it alone. (Bug#10051)
11908
11909 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11910
11911 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11912 Handle empty buffers. (Bug#9978)
11913
11914 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11915
11916 * international/mule.el (define-charset):
11917 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11918 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11919 * progmodes/verilog-mode.el (verilog-backward-token):
11920 * textmodes/ispell.el (lookup-words):
11921 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11922
11923 2011-11-14 Glenn Morris <rgm@gnu.org>
11924
11925 * progmodes/executable.el
11926 (executable-make-buffer-file-executable-if-script-p):
11927 Handle file-modes returning nil.
11928
11929 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11930 message - not necessary, and causes problems. (Bug#9831)
11931
11932 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11933
11934 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11935
11936 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11937 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11938 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11939
11940 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11941
11942 * window.el (window-resize, delete-window): Use window-splits
11943 variable instead of function.
11944 (window-state-get-1, window-state-put-2, window-state-put):
11945 Don't deal with windows' splits status.
11946
11947 2011-11-12 Glenn Morris <rgm@gnu.org>
11948
11949 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11950 (apropos-documentation): Doc fixes.
11951
11952 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11953
11954 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11955 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11956
11957 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11958
11959 * electric.el (electric-indent-post-self-insert-function): Make it
11960 possible for a char to only indent in some circumstances.
11961 (electric-indent-mode): Simplify.
11962
11963 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11964
11965 * window.el (windows-with-parameter): Remove unused function.
11966 (windows-at-side): Rename to window-at-side-list.
11967 (window-check, window-atom-check, window-atom-check-1)
11968 (window-side-check, window-size-ignore, window-size-fixed-1)
11969 (window-in-direction-2): Prefix with "window--".
11970 (window-tree-1): Rename to window--subtree, fix doc-string.
11971
11972 2011-11-11 Glenn Morris <rgm@gnu.org>
11973
11974 * subr.el (eval-after-load): If FILE is already loaded,
11975 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11976
11977 2011-11-10 Glenn Morris <rgm@gnu.org>
11978
11979 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11980 Call svn via vc-svn-command rather than vc-do-command.
11981 (vc-svn-command): Add --non-interactive. (Bug#9993)
11982 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11983
11984 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11985 Add toggle-read-only. (Bug#7292)
11986 * files.el (toggle-read-only): Mention that it should only
11987 be used interactively. (Bug#10006)
11988
11989 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11992 Adjust regexp for OCaml warnings.
11993
11994 * electric.el (electric-pair-post-self-insert-function): Let user
11995 turn it off buffer-locally (bug#9932).
11996
11997 * progmodes/python.el (python-beginning-of-statement):
11998 Rewrite (bug#2703).
11999
12000 * progmodes/compile.el: Better handle TABs (bug#9749).
12001 (compilation-internal-error-properties)
12002 (compilation-next-error-function): Obey the target buffer's
12003 compilation-error-screen-columns.
12004
12005 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12006
12007 * progmodes/meta-mode.el: Remove obsolete comments.
12008 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12009 Fix typos in docstrings.
12010
12011 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12012
12013 * window.el (window-size-fixed-p): Rewrite doc-string.
12014 (window-resizable-p): Rename to window--resizable-p. Update callers.
12015 (window--resizable): New function. Make all callers of
12016 window-resizable call window--resizable instead.
12017 (window-resizable): Rewrite in terms of window--resizable.
12018
12019 2011-11-08 Glenn Morris <rgm@gnu.org>
12020
12021 * progmodes/delphi.el (delphi-mode-syntax-table):
12022 Let define-derived-mode define a proper syntax table. (Bug#9994)
12023
12024 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * window.el: Stay away from defsubst.
12027 (window-list-no-nils): Remove.
12028 (window-state-get-1, window-state-get): Use backquote instead.
12029
12030 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12031
12032 * emacs-lisp/find-func.el (find-function-read):
12033 Fix incorrect use of default argument in `completing-read'.
12034
12035 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12036
12037 * window.el (display-buffer-function, special-display-function):
12038 Mention display-buffer-record-window but do not mention
12039 help-setup parameter in doc-strings.
12040 (window-min-delta): Fix doc-string typo.
12041
12042 2011-11-08 Chong Yidong <cyd@gnu.org>
12043
12044 * window.el (window-total-height, window-total-width): Doc fix.
12045 (window-body-size): Move from C.
12046 (window-body-height, window-body-width): Move to C.
12047
12048 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * window.el: Make special-display like display-buffer-alist (bug#9532).
12051 (display-buffer--special-action): New function, morphed
12052 from display-buffer--special.
12053 (display-buffer): Use it to handle special-display-buffers at higher
12054 priority (just after display-buffer-alist).
12055 (display-buffer-fallback-action, display-buffer--other-frame-action)
12056 (pop-to-buffer-same-window): Remove display-buffer--special.
12057
12058 2011-11-07 Glenn Morris <rgm@gnu.org>
12059
12060 * calendar/cal-menu.el (cal-menu-set-date-title):
12061 Do nothing if not in a calendar. (Bug#9976)
12062
12063 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * files.el (find-file): Always use selected-window.
12066
12067 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12068
12069 * window.el (window-combinations): Make WINDOW argument
12070 mandatory. Rewrite doc-string.
12071 (walk-window-subtree, window-atom-check, window-min-delta)
12072 (window-max-delta, window--resize-this-window)
12073 (window--resize-root-window-vertically, window-tree)
12074 (balance-windows, window-state-put): Rewrite doc-strings as to
12075 not mention the term "subwindow".
12076 (window--resize-subwindows-skip-p): Rename to
12077 window--resize-child-windows-skip-p.
12078 (window--resize-subwindows-normal): Rename to
12079 window--resize-child-windows-normal.
12080 (window--resize-subwindows): Rename to
12081 window--resize-child-windows.
12082 (window-or-subwindow-p): Rename to window--in-subtree-p.
12083
12084 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12085
12086 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12087 Ensure that mbox format messages end in two newlines (Bug#9974).
12088
12089 2011-11-06 Chong Yidong <cyd@gnu.org>
12090
12091 * window.el (window-combination-p): Function deleted; its
12092 side-effect is not used in any existing code.
12093 (window-combinations, window-combined-p): Call window-*-child
12094 directly.
12095
12096 2011-11-05 Chong Yidong <cyd@gnu.org>
12097
12098 * window.el (window-valid-p): Rename from window-any-p.
12099 (window-size-ignore, window-state-get): Callers changed.
12100 (window-normalize-window): Rename from window-normalize-any-window.
12101 New arg LIVE-ONLY, replacing window-normalize-live-window.
12102 (window-normalize-live-window): Delete.
12103 (window-combination-p, window-combined-p, window-combinations)
12104 (walk-window-subtree, window-atom-root, window-min-size)
12105 (window-sizable, window-sizable-p, window-size-fixed-p)
12106 (window-min-delta, window-max-delta, window-resizable)
12107 (window-resizable-p, window-full-height-p, window-full-width-p)
12108 (window-current-scroll-bars, window-point-1, set-window-point-1)
12109 (window-at-side-p, window-in-direction, window-resize)
12110 (adjust-window-trailing-edge, maximize-window, minimize-window)
12111 (window-deletable-p, delete-window, delete-other-windows)
12112 (record-window-buffer, unrecord-window-buffer)
12113 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12114 (quit-window, split-window, window-state-put)
12115 (set-window-text-height, fit-window-to-buffer)
12116 (shrink-window-if-larger-than-buffer): Callers changed.
12117
12118 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12119
12120 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12121 rfc2047-decode-string.
12122 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12123 warnings.
12124
12125 * window.el (window-body-height, window-body-width): Mention in
12126 the doc string that the return values are in frame's canonical
12127 units. (Bug#9949)
12128
12129 2011-11-03 Alan Mackenzie <acm@muc.de>
12130
12131 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12132 change in cc-engine.el.
12133
12134 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12137
12138 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12139
12140 * window.el (quit-window): Call unrecord-window-buffer after
12141 showing another buffer in the window. (Bug#9937)
12142 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12143
12144 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12145
12146 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12147 Accept status with more than 9 shelves. (Bug#9935)
12148 Reported by Colin D Bennett <colin@gibibit.com>.
12149
12150 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12151
12152 * help.el (with-help-window): Don't reference
12153 temp-buffer-show-specifiers in doc-string.
12154
12155 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12156
12157 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12158 menu-item.
12159
12160 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12161
12162 * whitespace.el: New version 13.2.2.
12163 (whitespace-newline-mode): Disable properly. Reported by Sarah
12164 <EmacsWiki>.
12165
12166 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12167
12168 * net/newst-treeview.el: Remove "Time-stamp".
12169 (newsticker--group-manage-orphan-feeds): Do not call
12170 newsticker--treeview-tree-update.
12171 (newsticker-treeview-update, newsticker-treeview):
12172 Call newsticker--treeview-tree-update if necessary.
12173
12174 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12175
12176 * window.el (window-iso-combination-p, window-iso-combined-p)
12177 (window-iso-combinations): Remove "iso-" infix.
12178 Suggested by Chong Yidong.
12179 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12180 (window-max-delta-1, window-resize, window--resize-siblings)
12181 (window--resize-this-window, adjust-window-trailing-edge)
12182 (split-window, balance-windows-1)
12183 (shrink-window-if-larger-than-buffer):
12184 * calendar/calendar.el (calendar-generate-window):
12185 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12186
12187 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12190 in place (bug#9907).
12191 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12192 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12193 (eshell-structure-basic-command, eshell-rewrite-while-command)
12194 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12195 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12196 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12197 (eshell-do-pipelines-synchronously, eshell-eval-command):
12198 Use backquotes and prefer setq to set.
12199 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12200 (eshell-macrop): Use functionp.
12201 (eshell-do-eval): Handle multiple expressions in `while' body.
12202
12203 2011-10-30 Chong Yidong <cyd@gnu.org>
12204
12205 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12206 instead of set-mark (Bug#9810).
12207
12208 2011-10-30 Chong Yidong <cyd@gnu.org>
12209
12210 * window.el (split-window-below, split-window-right): Rename from
12211 split-window-above-each-other and split-window-side-by-side
12212 respectively. All callers changed.
12213 (split-window-sensibly, split-window-sensibly): Use them.
12214 (split-window-keep-point): Doc fix.
12215
12216 * isearch.el: Add isearch-scroll property to split-window-below
12217 and split-window-right.
12218
12219 * follow.el (follow-mode):
12220 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12221 * progmodes/ada-xref.el (ada-gdb-application):
12222 * emulation/vip.el (vip-buffer-in-two-windows):
12223 * image-dired.el (image-dired-dired-with-window-configuration):
12224 * dired-x.el (dired-do-find-marked-files):
12225 * dired.el (dired-pop-to-buffer):
12226 * bs.el (bs--show-with-configuration):
12227 * vc/emerge.el (emerge-setup-windows):
12228 * textmodes/two-column.el (2C-two-columns):
12229 * textmodes/reftex-toc.el (reftex-toc):
12230 * progmodes/gdb-mi.el (gdb-setup-windows):
12231 * progmodes/fortran.el (fortran-window-create):
12232 * net/newst-treeview.el (newsticker--treeview-window-init):
12233 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12234 * emulation/tpu-edt.el (tpu-gold-map):
12235 * emulation/crisp.el (crisp-mode-map):
12236 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12237
12238 2011-10-29 Chong Yidong <cyd@gnu.org>
12239
12240 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12241
12242 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12243
12244 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12245 forged Ispell output (Bug#7904).
12246
12247 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12248
12249 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * doc-view.el: Avoid ugly errors about not finding nil.
12252 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12253 (doc-view-dvipdf-program, doc-view-unoconv-program)
12254 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12255 Avoid nil or absolute file name as default value.
12256 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12257
12258 2011-10-28 Alan Mackenzie <acm@muc.de>
12259
12260 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12261
12262 2011-10-28 Alan Mackenzie <acm@muc.de>
12263
12264 Amend the handling of c-beginning/end-of-defun in nested declaration
12265 scopes.
12266
12267 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12268 cc-langs.el. Change it to a defcustom.
12269
12270 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12271 cc-vars.el.
12272
12273 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12274 Prevent "class foo : bar" being spuriously recognized as a label.
12275
12276 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12277 Add parameter `inclusive' (to include enclosing braces in the region).
12278 (c-widen-to-enclosing-decl-scope): New function.
12279 (c-while-widening-to-decl-block): New macro.
12280 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12281 outward for defun boundaries, and correspondingly change symbol
12282 `respect-enclosure' to `go-outward'.
12283 (c-declaration-limits): Change algorithm to report only the "innermost"
12284 defun's boundaries.
12285
12286 2011-10-28 Deniz Dogan <deniz@dogan.se>
12287
12288 * net/rcirc.el (rcirc-mode): Use hard newlines.
12289
12290 2011-10-28 Alan Mackenzie <acm@muc.de>
12291
12292 Amend to indent and fontify macros "which include their own semicolon"
12293 correctly, using the "virtual semicolon" mechanism.
12294
12295 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12296
12297 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12298 Recode to scan one line at a time rather than having \n and \r
12299 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12300 (c-forward-label): Amend for virtual semicolons.
12301 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12302
12303 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12304 of the new C macros.
12305
12306 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12307 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12308 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12309 (c-opt-cpp-macro-define): Make into a full language variable.
12310 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12311 AWK Mode (including \n, \r) removed, no longer needed.
12312
12313 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12314 Invoke c-make-macro-with-semi-re.
12315
12316 * progmodes/cc-vars.el (c-macro-with-semi-re):
12317 (c-macro-names-with-semicolon): New variables.
12318 (c-make-macro-with-semi-re): New function.
12319
12320 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * vc/log-edit.el: Fill empty field rather than adding new one.
12323 (log-edit-add-field): New function.
12324 (log-edit-insert-changelog): Use it.
12325
12326 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12327
12328 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12329
12330 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12333 (gdb--check-interpreter): New function.
12334 (gdb): Use it.
12335
12336 2011-10-27 Glenn Morris <rgm@gnu.org>
12337
12338 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12339 (least-positive-float, least-negative-float)
12340 (least-positive-normalized-float, least-negative-normalized-float)
12341 (float-epsilon, float-negative-epsilon):
12342 Remove unnecessary declarations.
12343
12344 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12345 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12346 (least-positive-float, least-negative-float)
12347 (least-positive-normalized-float, least-negative-normalized-float)
12348 (float-epsilon, float-negative-epsilon): Add doc-strings,
12349 based on those in cl.texi.
12350
12351 * files.el (set-visited-file-name): If the major-mode changed,
12352 reload the local variables. (Bug#9796)
12353
12354 2011-10-27 Chong Yidong <cyd@gnu.org>
12355
12356 * subr.el (change-major-mode-after-body-hook): New hook.
12357 (run-mode-hooks): Run it.
12358
12359 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12360 Use change-major-mode-before-body-hook.
12361
12362 * simple.el (fundamental-mode):
12363 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12364 change introducing fundamental-mode-hook.
12365
12366 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12369
12370 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12371
12372 * ido.el (ido-file-name-all-completions-1): Do not require
12373 tramp.el explicitly. (Bug#7583)
12374
12375 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * progmodes/octave-mod.el:
12378 * progmodes/octave-inf.el: Update maintainer.
12379
12380 2011-10-26 Chong Yidong <cyd@gnu.org>
12381
12382 * subr.el (with-wrapper-hook): Rewrite doc.
12383
12384 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12385
12386 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12387 filenames "/method:foo:". (Bug#9793)
12388
12389 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12390
12391 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12392 (bug#9865).
12393
12394 2011-10-24 Glenn Morris <rgm@gnu.org>
12395
12396 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12397
12398 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12399
12400 * notifications.el: Add the requirement of a running D-Bus session
12401 bus to the Commentary.
12402
12403 2011-10-24 Juri Linkov <juri@jurta.org>
12404
12405 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12406 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12407 (Bug#9364)
12408
12409 2011-10-24 Juri Linkov <juri@jurta.org>
12410
12411 * info.el (Info-following-node-name-re): Add newline to the list
12412 of allowed characters for leading space. (Bug#9824)
12413
12414 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * progmodes/octave-inf.el (inferior-octave-mode-map):
12417 Fix C-c C-h binding.
12418 * progmodes/octave-mod.el (octave-help): Remove.
12419
12420 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12421
12422 Sync with Tramp 2.2.3.
12423
12424 * net/tramp-cache.el (top): Pacify byte-compiler using
12425 `init-file-user' and `site-run-file'.
12426
12427 * net/trampver.el: Update release number.
12428
12429 2011-10-23 Chong Yidong <cyd@gnu.org>
12430
12431 * files.el (toggle-read-only): Remove obsolete comment about
12432 version control.
12433
12434 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12435 for toggle-read-only. Note that this hasn't called vc-next-action
12436 since 2008-05-02, though it wasn't documented at the time.
12437
12438 * vc/ediff-init.el (ediff-toggle-read-only-function):
12439 Use toggle-read-only.
12440
12441 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12442
12443 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12444 of c-parse-state.
12445
12446 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12447 correct faulty logical expression.
12448 (c-parse-state-state, c-record-parse-state-state):
12449 (c-replay-parse-state-state): New defvar/defuns.
12450 (c-debug-parse-state): Use new functions.
12451
12452 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12453
12454 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12455 last fix. Use window-in-direction correctly.
12456
12457 2011-10-21 Chong Yidong <cyd@gnu.org>
12458
12459 * progmodes/idlwave.el (idlwave-mode):
12460 * progmodes/vera-mode.el (vera-mode): No need to set
12461 require-final-newline; that's done in prog-mode.
12462 Suggested by Stefan Monnier.
12463
12464 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12465
12466 * mouse.el (mouse-drag-window-above)
12467 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12468 (mouse-drag-mode-line-1, mouse-drag-header-line)
12469 (mouse-drag-vertical-line-rightward-window): Remove.
12470 (mouse-drag-line): New function.
12471 (mouse-drag-mode-line, mouse-drag-header-line)
12472 (mouse-drag-vertical-line): Call mouse-drag-line.
12473 * window.el (window-at-side-p, windows-at-side): New functions.
12474
12475 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12476
12477 * tar-mode.el (tar-grind-file-mode):
12478 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12479
12480 2011-10-21 Chong Yidong <cyd@gnu.org>
12481
12482 * progmodes/idlwave.el (idlwave-mode):
12483 * progmodes/vera-mode.el (vera-mode):
12484 Use mode-require-final-newline.
12485
12486 2011-10-20 Glenn Morris <rgm@gnu.org>
12487
12488 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12489
12490 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12491
12492 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12493
12494 2011-10-20 Chong Yidong <cyd@gnu.org>
12495
12496 * emulation/cua-base.el (cua-mode):
12497 * mail/footnote.el (footnote-mode):
12498 * mail/mailabbrev.el (mail-abbrevs-mode):
12499 * net/xesam.el (xesam-minor-mode):
12500 * progmodes/bug-reference.el (bug-reference-mode):
12501 * progmodes/cap-words.el (capitalized-words-mode):
12502 * progmodes/compile.el (compilation-minor-mode)
12503 (compilation-shell-minor-mode):
12504 * progmodes/gud.el (gud-tooltip-mode):
12505 * progmodes/hideif.el (hide-ifdef-mode):
12506 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12507 * progmodes/subword.el (subword-mode):
12508 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12509 * progmodes/which-func.el (which-function-mode):
12510 * term/tvi970.el (tvi970-set-keypad-mode):
12511 * term/vt100.el (vt100-wide-mode):
12512 * textmodes/flyspell.el (flyspell-mode):
12513 * textmodes/ispell.el (ispell-minor-mode):
12514 * textmodes/nroff-mode.el (nroff-electric-mode):
12515 * textmodes/paragraphs.el (use-hard-newlines):
12516 * textmodes/refill.el (refill-mode):
12517 * textmodes/reftex.el (reftex-mode):
12518 * textmodes/rst.el (rst-minor-mode):
12519 * textmodes/sgml-mode.el (html-autoview-mode)
12520 (sgml-electric-tag-pair-mode):
12521 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12522 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12523 * emulation/crisp.el (crisp-mode):
12524 * emacs-lisp/eldoc.el (eldoc-mode):
12525 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12526 minor mode behavior.
12527
12528 2011-10-19 Juri Linkov <juri@jurta.org>
12529
12530 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12531 the list of hard-coded chars with escape-glyph face.
12532
12533 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12536
12537 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12538
12539 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12540 running process.
12541
12542 2011-10-19 Glenn Morris <rgm@gnu.org>
12543
12544 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12545 Ignore ignored files. (Bug#9726)
12546
12547 2011-10-19 Chong Yidong <cyd@gnu.org>
12548
12549 Doc fix for minor modes, stating that an omitted argument enables
12550 the mode unconditionally when called from Lisp.
12551
12552 * abbrev.el (abbrev-mode):
12553 * allout.el (allout-mode):
12554 * autoinsert.el (auto-insert-mode):
12555 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12556 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12557 (global-auto-revert-mode):
12558 * battery.el (display-battery-mode):
12559 * composite.el (global-auto-composition-mode)
12560 (auto-composition-mode):
12561 * delsel.el (delete-selection-mode):
12562 * desktop.el (desktop-save-mode):
12563 * dired-x.el (dired-omit-mode):
12564 * dirtrack.el (dirtrack-mode):
12565 * doc-view.el (doc-view-minor-mode):
12566 * double.el (double-mode):
12567 * electric.el (electric-indent-mode, electric-pair-mode):
12568 * emacs-lock.el (emacs-lock-mode):
12569 * epa-hook.el (auto-encryption-mode):
12570 * follow.el (follow-mode):
12571 * font-core.el (font-lock-mode):
12572 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12573 * help.el (temp-buffer-resize-mode):
12574 * hilit-chg.el (highlight-changes-mode)
12575 (highlight-changes-visible-mode):
12576 * hi-lock.el (hi-lock-mode):
12577 * hl-line.el (hl-line-mode, global-hl-line-mode):
12578 * icomplete.el (icomplete-mode):
12579 * ido.el (ido-everywhere):
12580 * image-file.el (auto-image-file-mode):
12581 * image-mode.el (image-minor-mode):
12582 * iswitchb.el (iswitchb-mode):
12583 * jka-cmpr-hook.el (auto-compression-mode):
12584 * linum.el (linum-mode):
12585 * longlines.el (longlines-mode):
12586 * master.el (master-mode):
12587 * mb-depth.el (minibuffer-depth-indicate-mode):
12588 * menu-bar.el (menu-bar-mode):
12589 * minibuf-eldef.el (minibuffer-electric-default-mode):
12590 * mouse-sel.el (mouse-sel-mode):
12591 * msb.el (msb-mode):
12592 * mwheel.el (mouse-wheel-mode):
12593 * outline.el (outline-minor-mode):
12594 * paren.el (show-paren-mode):
12595 * recentf.el (recentf-mode):
12596 * reveal.el (reveal-mode, global-reveal-mode):
12597 * rfn-eshadow.el (file-name-shadow-mode):
12598 * ruler-mode.el (ruler-mode):
12599 * savehist.el (savehist-mode):
12600 * scroll-all.el (scroll-all-mode):
12601 * scroll-bar.el (scroll-bar-mode):
12602 * server.el (server-mode):
12603 * shell.el (shell-dirtrack-mode):
12604 * simple.el (auto-fill-mode, transient-mark-mode)
12605 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12606 (line-number-mode, column-number-mode, size-indication-mode)
12607 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12608 * strokes.el (strokes-mode):
12609 * time.el (display-time-mode):
12610 * t-mouse.el (gpm-mouse-mode):
12611 * tool-bar.el (tool-bar-mode):
12612 * tooltip.el (tooltip-mode):
12613 * type-break.el (type-break-mode-line-message-mode)
12614 (type-break-query-mode):
12615 * view.el (view-mode):
12616 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12617 (global-whitespace-mode, global-whitespace-newline-mode):
12618 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12619
12620 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12621 Fix autogenerated docstring.
12622
12623 2011-10-19 Juri Linkov <juri@jurta.org>
12624
12625 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12626 by checking environment variables "DESKTOP_SESSION" and
12627 "XDG_CURRENT_DESKTOP". (Bug#9779)
12628
12629 2011-10-19 Juri Linkov <juri@jurta.org>
12630
12631 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12632 (browse-url-chromium-program, browse-url-chromium-arguments):
12633 New defcustoms.
12634 (browse-url-default-browser): Check for `browse-url-chromium' and
12635 call `browse-url-chromium-program'.
12636 (browse-url-chromium): New command. (Bug#9779)
12637
12638 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12639
12640 * facemenu.el (list-colors-duplicates): On Windows, detect more
12641 duplicates by assuming that only colors matching "^System" are
12642 special "system colors". (Bug#9722)
12643
12644 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12647 to distinguish the author from the committer.
12648
12649 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12650
12651 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12652
12653 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12654
12655 * international/mule.el (sgml-html-meta-auto-coding-function):
12656 Add support for detecting encoding in HTML5 specified only as
12657 <meta charset="UTF-8">. Implementation just makes http-equiv and
12658 content-type parts from HTML4 encoding string optional. (Bug#9716)
12659
12660 2011-10-18 Glenn Morris <rgm@gnu.org>
12661
12662 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12663
12664 2011-10-18 Chong Yidong <cyd@gnu.org>
12665
12666 * faces.el (cursor): Doc fix.
12667
12668 2011-10-17 Chong Yidong <cyd@gnu.org>
12669
12670 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12671
12672 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12673
12674 * dirtrack.el (dirtrack): Support shell buffers with path
12675 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12676
12677 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12678
12679 * json.el: Bump version to 1.3 and note change in History.
12680 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12681
12682 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * comint.el (comint-insert-input, comint-send-input)
12685 (comint-get-old-input-default, comint-backward-matching-input)
12686 (comint-next-prompt): Use nil instead of `input' for field property of
12687 past user input (bug#114).
12688
12689 * minibuffer.el (completion--replace): Inherit surrounding properties
12690 (bug#114).
12691 (minibuffer-complete-and-exit): Use it.
12692
12693 * comint.el (comint--table-subvert): Quote the all-completions output
12694 (bug#9160).
12695
12696 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12697
12698 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12699
12700 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12701 window on right of selected. (Bug#9350) Reword other window
12702 entries and separate them from frame entries.
12703
12704 2011-10-15 Glenn Morris <rgm@gnu.org>
12705
12706 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12707 Doc fixes.
12708
12709 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12710
12711 * net/network-stream.el (network-stream-open-starttls):
12712 Improve detection of failure due to lack of TLS support.
12713
12714 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12715 putting the input text in front and in bold.
12716
12717 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12720
12721 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12722 empty buffer.
12723
12724 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12725 unread-command-events rather than pushing yet-another event.
12726
12727 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12728
12729 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12730 the explanation of the possible choices. Make the options passed
12731 to completing-read shorter.
12732
12733 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12734
12735 * textmodes/flyspell.el (flyspell-large-region): Make sure
12736 extended character mode is used if defined (Bug#1339).
12737
12738 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12739
12740 * simple.el (what-cursor-position): Fix the display of the
12741 character info for LRE, LRO, RLE, and RLO characters by appending
12742 an invisible PDF.
12743
12744 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12747 even in case of error; add debug spec; simplify data flow.
12748 (with-timeout-handler): Remove.
12749
12750 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12751
12752 Fix Bug#6019, Bug#9315.
12753
12754 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12755 complete `buffer-file-name', the local file name part could look
12756 remotely (for example on VMS).
12757
12758 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12759 `tramp-run-real-handler'.
12760 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12761 already quoted by '"'.
12762
12763 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12764 Let `file-name-handler-alist' be nil, the local file name part
12765 could look remotely (for example on VMS).
12766
12767 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12770 from here...
12771 (flyspell-post-command-hook): ...to here.
12772
12773 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12776 if not needed.
12777 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12778 using completion. Protect against "slow" callers.
12779 Remove the "message hack".
12780
12781 2011-10-11 Juri Linkov <juri@jurta.org>
12782
12783 * isearch.el (isearch-lazy-highlight-word): New variable.
12784 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12785 Use it. (Bug#9727)
12786
12787 2011-10-11 Glenn Morris <rgm@gnu.org>
12788
12789 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12790 like f90-previous-statement does.
12791
12792 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12793
12794 * eshell/eshell.el (eshell-command): History should be saved
12795 only in interactive use, to avoid error.
12796
12797 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * minibuffer.el (completion-file-name-table): Fix last change,
12800 i.e. ignore normal errors but not the other ones.
12801
12802 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (special-display-buffer-names)
12805 (special-display-regexps): Remove some remnants of earlier
12806 changes from doc-strings.
12807 (quit-windows-on): New function.
12808
12809 * vc/vc.el (vc-revert, vc-rollback):
12810 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12811 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12812 (Bug#6183) (Bug#7074) (Bug#7447)
12813
12814 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12815
12816 * window.el (frame-auto-hide-function): Add version tag.
12817 (Bug#9699)
12818
12819 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12822 condition.
12823
12824 2011-10-09 Leo Liu <sdl.web@gmail.com>
12825
12826 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12827 (Bug#9701)
12828
12829 2011-10-08 Glenn Morris <rgm@gnu.org>
12830
12831 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12832 before the first code statement zero indent. (Bug#9690)
12833
12834 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12835
12836 * simple.el (count-words-region): Always count in the region.
12837 Report the number of lines and characters too.
12838 (count-words): New command, which counts in the buffer if the
12839 region is inactive, as count-words-region used to.
12840 (count-words--message): New function. Handle plurals.
12841 (count-lines-region): Make it an alias for count-words-region.
12842
12843 * bindings.el (esc-map): Replace count-lines-region with
12844 count-words-region.
12845
12846 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12847
12848 * window.el (window--delete): Delete dedicated frame
12849 unconditionally when argument KILL is non-nil. (Bug#9699)
12850 (switch-to-buffer): Fix doc-string typo.
12851
12852 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12853
12854 * eshell/eshell.el (eshell-command): Avoid using hooks.
12855
12856 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12857
12858 * bindings.el ([M-left],[M-right]): Bind to left-word and
12859 right-word respectively.
12860
12861 2011-10-07 Glenn Morris <rgm@gnu.org>
12862
12863 * cus-start.el (debug-on-quit): Fix custom type.
12864
12865 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12866
12867 * subr.el (define-key-after): Clarify that the function is not
12868 useful for non-menu keymaps.
12869
12870 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12871
12872 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12873
12874 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12875 in current minibuffer (Fix bug with recursive minibuffers).
12876
12877 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12878
12879 * progmodes/gdb-mi.el (gdb): Doc fix.
12880
12881 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12882
12883 * window.el (frame-auto-hide-function): New option replacing
12884 frame-auto-delete. Suggested by Stefan Monnier.
12885 (window--delete): Call frame-auto-hide-function instead of
12886 investigating frame-auto-delete.
12887 (window-point-1, set-window-point-1): New functions.
12888 (window-in-direction, record-window-buffer, window-state-get-1)
12889 (display-buffer-record-window): Use window-point-1 instead of
12890 window-point.
12891 (set-window-buffer-start-and-point): Use set-window-point-1.
12892
12893 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12896
12897 2011-10-05 Glenn Morris <rgm@gnu.org>
12898
12899 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12900 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12901
12902 2011-10-05 Leo Liu <sdl.web@gmail.com>
12903
12904 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12905 works with buffer object.
12906
12907 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12908
12909 * mpc.el (mpc-tool-bar-map): Add labels.
12910
12911 2011-10-04 Glenn Morris <rgm@gnu.org>
12912
12913 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12914
12915 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12916
12917 * window.el (window--delete): New function.
12918 (frame-auto-delete): Resuscitate option.
12919 (bury-buffer, replace-buffer-in-windows)
12920 (quit-window): Rewrite using window--delete.
12921 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12922 Pass display-buffer-mark-dedicated to window--display-buffer-2
12923 (Bug#9639).
12924
12925 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12928 returns a list (bug#9554). Add remote file name completion.
12929 * comint.el (comint--table-subvert): Curry and get quote&unquote
12930 functions as arguments.
12931 (comint--complete-file-name-data): Adjust call accordingly.
12932 * pcomplete.el (pcomplete--table-subvert): Remove.
12933 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12934
12935 * minibuffer.el (completion-table-case-fold): Use currying.
12936 (completion--styles-type, completion--cycling-threshold-type):
12937 New constants.
12938 (completion-styles, completion-category-overrides)
12939 (completion-cycle-threshold): Use them.
12940 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12941 completion-table-case-fold.
12942
12943 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12944
12945 * minibuffer.el (completion-category-overrides): Fix type of styles
12946 and add more user friendly tags (bug#9660).
12947
12948 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12951 (mule-input-method-string): New widget.
12952 (default-input-method, language-info-custom-alist): Use it.
12953
12954 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12955
12956 * pcomplete.el: Require comint.
12957 (pcomplete--common-suffix): Remove.
12958 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12959 (pcomplete--table-subvert): Sync with comint--table-subvert.
12960 (pcomplete--entries): Use comint-completion-file-name-table.
12961 * comint.el (comint-unquote-filename): Simplify.
12962 (comint-completion-file-name-table): New function (bug#9616).
12963 (comint--complete-file-name-data): Use it.
12964
12965 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12966 (pcmpl-gnu-tar-buffer): Remove.
12967 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12968 around. Make sure pcomplete-suffix-list is only changed temporarily.
12969 Don't look inside the tar's file if it's too large.
12970
12971 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12972
12973 * cus-edit.el (custom-mode-map):
12974 * epa.el (epa-key-list-mode-map):
12975 * man.el (Man-mode-map):
12976 * startup.el (splash-screen-keymap):
12977 * simple.el (special-mode-map): Use scroll-up-command and
12978 scroll-down-command.
12979
12980 * progmodes/idlw-help.el (idlwave-help-mode-map):
12981 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12982 * net/newst-plainview.el (newsticker-mode-map):
12983 * emulation/ws-mode.el (wordstar-mode-map):
12984 * emulation/vi.el (vi-com-map):
12985 * calc/calc-graph.el (calc-graph-show-dumb):
12986 * term/sun.el (terminal-init-sun):
12987 * term/ns-win.el (global-map):
12988 * progmodes/grep.el (grep-mode-map):
12989 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12990 * mail/rmail.el (rmail-mode-map):
12991 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12992
12993 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12994 custom-safe-themes as special.
12995
12996 2011-10-01 Julien Danjou <julien@danjou.info>
12997
12998 * notifications.el (notifications-notify): Fix docstring.
12999
13000 2011-10-01 Per Starbäck <per@starback.se>
13001
13002 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13003
13004 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13005
13006 * startup.el (command-line-1): Fix last fix by inserting
13007 initial-scratch-message into *scratch* before displaying it.
13008 (Bug#9605) and (Bug#9636)
13009
13010 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13011
13012 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13013 window is hscrolled, move by logical lines. (Bug#9607)
13014 (line-move-visual): Update the doc string to the above effect.
13015
13016 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13017
13018 * window.el (display-buffer-record-window): When WINDOW is the
13019 selected window use `point' instead of `window-point'. (Bug#9626)
13020
13021 * startup.el (command-line-1): Use insert-before-markers when
13022 inserting initial-scratch-message. (Bug#9605)
13023
13024 * help.el (help-window): Remove variable.
13025
13026 2011-09-29 Glenn Morris <rgm@gnu.org>
13027
13028 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13029
13030 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * descr-text.el (describe-char-categories): Accept category
13033 descriptions more than one line long.
13034
13035 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * simple.el (delete-trailing-whitespace): Fix last change.
13038
13039 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13040 Don't confuse "y => 3" as the beginning of a `y' operation.
13041
13042 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13043 object has more than 4 slots (bug#9613).
13044
13045 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13046
13047 * subr.el (with-output-to-temp-buffer):
13048 * net/quickurl.el (quickurl, quickurl-browse-url):
13049 Fix typos in docstrings.
13050
13051 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13052
13053 * minibuffer.el (completion-styles)
13054 (completion-category-overrides): Cross reference each other in doc
13055 strings.
13056
13057 2011-09-27 Glenn Morris <rgm@gnu.org>
13058
13059 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13060 to split-string. (Bug#9606)
13061
13062 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13063
13064 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13065 (bug#9615).
13066
13067 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13068
13069 * emacs-lisp/package.el (list-packages): Fix echo area message.
13070
13071 2011-09-27 Leo Liu <sdl.web@gmail.com>
13072
13073 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13074
13075 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13076
13077 * net/dbus.el (dbus-unregister-object): Don't release services for
13078 registered signals. (Bug#9581)
13079
13080 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13081
13082 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13083 function that picks between cfengine 2 and 3 support
13084 automatically. Update docs accordingly.
13085
13086 2011-09-22 Kenichi Handa <handa@m17n.org>
13087
13088 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13089 ZERO.
13090 (indian-itrans-v5-table-for-tamil): New variable.
13091 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13092
13093 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13094
13095 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13096 that's true if the current command involved collapsing of text.
13097 It's reset to false at the beginning of the next command.
13098 (allout-post-command-business): Move the cursor to the beginning
13099 of entry if the cursor is hidden and collapsing activity just
13100 happened.
13101
13102 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13103
13104 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13105 tracking (Bug#9541).
13106
13107 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13108
13109 * net/newst-reader.el (newsticker-html-renderer)
13110 (newsticker-show-news): Automatically load html rendering package
13111 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13112 because w3m-fill-column is let-bound" and the error "Symbol's value
13113 as variable is void: w3m-fill-column".
13114
13115 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13116
13117 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13118 Release services only if they are defined. (Bug#9581)
13119
13120 2011-09-23 Richard Stallman <rms@gnu.org>
13121
13122 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13123 distinguish start of paragraph from start of its text.
13124
13125 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13126
13127 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13128 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13129 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13130
13131 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13132
13133 * international/mule-diag.el (mule-diag): Insert a newline after
13134 each fontset description.
13135
13136 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13137
13138 * simple.el (delete-trailing-whitespace):
13139 Document last change; simplify.
13140
13141 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13142
13143 * simple.el (delete-trailing-whitespace): Also delete
13144 extra newlines at the end of the buffer.
13145
13146 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13147 (picture-newline): Use forward-line so as to ignore fields.
13148
13149 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * subr.el (with-wrapper-hook): Fix edebug spec.
13152
13153 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13154
13155 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13156 (bug#4538).
13157
13158 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13159
13160 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13161 Fix nasty bug using wrong cached values.
13162
13163 2011-09-23 Alan Mackenzie <acm@muc.de>
13164
13165 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13166
13167 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13168
13169 * window.el (pop-to-buffer): Ensure right window is selected if we
13170 chose another frame.
13171
13172 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13173
13174 * simple.el (what-cursor-position): Use get-char-property-change
13175 and next-single-char-property-change, to be able to show display
13176 properties that come from overlays as well as text properties.
13177
13178 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13181
13182 * cmuscheme.el (run-scheme, switch-to-scheme):
13183 * cus-edit.el (customize-group, custom-buffer-create)
13184 (customize-browse):
13185 * info.el (info):
13186 * shell.el (shell):
13187 * mail/sendmail.el (mail):
13188 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13189
13190 2011-09-22 Richard Stallman <rms@gnu.org>
13191
13192 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13193 move back only to line beg, don't move back over blank lines.
13194
13195 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13196
13197 * files.el (copy-directory): Set directory attributes only in case
13198 they could be retrieved from the source directory. (Bug#9565)
13199
13200 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13201
13202 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13203 (hs-find-block-beginning, hs-hide-level-recursive):
13204 Ignore strings as well as comments. (Bug#9502)
13205
13206 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13207
13208 * progmodes/sql.el (sql-comint-postgres):
13209 Convert port number to a string. (Bug#9566)
13210
13211 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13212
13213 * window.el (quit-window): Undedicate window when switching to
13214 previous buffer. Reported by Thierry Volpiatto
13215 <thierry.volpiatto@gmail.com>.
13216 (special-display-popup-frame): When popping up a new frame reset
13217 its previous buffers to nil. Simplify code.
13218
13219 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13220
13221 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13222 and process filter, as done also in `shell-command'.
13223
13224 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13225
13226 * window.el (set-window-buffer-start-and-point):
13227 Call set-window-start with NOFORCE argument t.
13228 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13229 (quit-window): Reword doc-string. Handle new format of
13230 quit-restore parameter. Don't delete window if it has a
13231 previous buffer we can show instead of the present one.
13232 (display-buffer-record-window): Rewrite using a new format for
13233 the quit-restore window parameter
13234 (special-display-popup-frame, display-buffer-same-window)
13235 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13236 (display-buffer-pop-up-window, display-buffer-use-some-window):
13237 Adapt symbol passed to display-buffer-record-window.
13238 * help.el (help-window-setup): Handle new format of quit-restore
13239 parameter.
13240
13241 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * faces.el (face-list): Fix docstring (bug#9564).
13244
13245 * window.el (display-buffer--action-function-custom-type):
13246 Don't include internal functions in the Custom interface.
13247
13248 2011-09-20 Juri Linkov <juri@jurta.org>
13249
13250 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13251 (Info-forward-node, Info-backward-node, Info-next-preorder)
13252 (Info-last-preorder): Use it. (Bug#9528)
13253
13254 2011-09-20 Juri Linkov <juri@jurta.org>
13255
13256 * info.el (Info-last-preorder): Visit last menu item only when
13257 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13258
13259 2011-09-20 Julien Danjou <julien@danjou.info>
13260
13261 * password-cache.el (password-cache-remove): Remove entries even if the
13262 value is nil, so that password with a nil value (negative caching) is
13263 possible to invalidate.
13264
13265 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13266
13267 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13268 all whitespace around breakpoint. (Bug#9553)
13269 (f90-find-breakpoint): Only break at whitespace inside a comment.
13270
13271 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13272
13273 * minibuffer.el (completion-file-name-table): Keep track of errors.
13274 (completion-table-with-predicate): Handle the case where pred1 is nil.
13275 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13276
13277 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13278
13279 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13280 (debugger-return-value): Signal an error if the debugging context does
13281 not await any return value.
13282
13283 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13284 * image-mode.el (image-toggle-display-text)
13285 (image-toggle-display-image): Stay away from evil `intangible'.
13286
13287 2011-09-19 Leo Liu <sdl.web@gmail.com>
13288
13289 * replace.el (occur-revert-arguments): Make it permanent-local.
13290 (occur-mode): Don't call font-lock-defontify.
13291
13292 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13293
13294 * net/ldap.el (ldap-search-internal): Don't push empty search
13295 result (Bug#9508).
13296
13297 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13300
13301 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13302
13303 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13304 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13305
13306 2011-09-18 Juri Linkov <juri@jurta.org>
13307
13308 * buff-menu.el (Buffer-menu-mode-map):
13309 * dired.el (dired-mode-map):
13310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13311 (lisp-interaction-mode-map):
13312 * emacs-lisp/package.el (package-menu-mode-map):
13313 * epa.el (epa-key-list-mode-map):
13314 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13315 (menu-bar-options-menu):
13316 * outline.el (outline-mode-menu-bar-map):
13317 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13318 * vc/vc-dir.el (vc-dir-menu-map):
13319 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13320 Capitalize non-function content words in menu item strings.
13321
13322 * dired.el (dired-mode-map): Add menu item for
13323 `image-dired-dired-toggle-marked-thumbs'.
13324
13325 2011-09-18 Juri Linkov <juri@jurta.org>
13326
13327 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13328 to `isearch-case-fold-search' and restore its original value
13329 after the `isearch-mode' call.
13330
13331 2011-09-18 Juri Linkov <juri@jurta.org>
13332
13333 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13334 because `zgrep' returns 1 for successful matches (bug#9226).
13335
13336 2011-09-18 Juri Linkov <juri@jurta.org>
13337
13338 * info.el (Info-extract-menu-node-name): Check the second match
13339 for empty string (second test-case of bug#9528).
13340 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13341 intermediate nodes to the history (first test-case of bug#9528).
13342
13343 2011-09-18 Juri Linkov <juri@jurta.org>
13344
13345 * info.el (Info-mode-syntax-table): New variable.
13346 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13347
13348 2011-09-18 Juri Linkov <juri@jurta.org>
13349
13350 * info.el (Info-file-supports-index-cookies):
13351 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13352 outputs one more line for long file names (bug#4142).
13353
13354 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13355
13356 * newcomment.el (comment-normalize-vars): If prompting for
13357 comment-start, set comment-start-skip too (Bug#8424).
13358
13359 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13360
13361 * icomplete.el: Fix previous fix of Bug#5849.
13362 (icomplete-mode): Don't set completion-show-inline-help.
13363 (icomplete-minibuffer-setup): Set completion-show-inline-help
13364 locally during icompletion.
13365
13366 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13367
13368 * woman.el (woman2-process-escapes): Don't delete unrecognized
13369 escapes (Bug#7843).
13370
13371 * files.el (inhibit-first-line-modes-regexps): Add image files.
13372 (hack-local-variables-prop-line): Return nil for malformed
13373 prop-lines (Bug#9044).
13374
13375 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13376
13377 * net/tramp.el (top): Don't require 'shell.
13378 (tramp-methods): Fix docstring.
13379 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13380 Return complete remote file name. Handle "smb" case.
13381 Use `tramp-tmpdir', if defined for the respective method.
13382 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13383
13384 * net/tramp-compat.el (top): Require 'shell.
13385
13386 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13387 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13388 `tramp-current-host'.
13389 (tramp-get-remote-tmpdir): Remove.
13390
13391 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13392 `tramp-tmpdir' entries.
13393 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13394 (tramp-smb-handle-file-attributes): Ignore errors.
13395 (tramp-smb-wait-for-output): Check also for process end.
13396
13397 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13398
13399 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13400 when sending QUIT (bug#9312).
13401
13402 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13403
13404 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13405 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13406 occur-mode-display-occurrence.
13407 (occur-edit-mode): Add usage message.
13408 (occur-cease-edit): New command.
13409 (occur-after-change-function): Use text properties to find the
13410 position of the prefix text.
13411 (occur-engine): Set stickiness of prefix text properties.
13412
13413 2011-09-17 Glenn Morris <rgm@gnu.org>
13414
13415 * progmodes/etags.el (complete-tag):
13416 Fix call to completion-in-region. (Bug#9526)
13417
13418 2011-09-17 Juri Linkov <juri@jurta.org>
13419
13420 * textmodes/ispell.el (ispell-word): Add to the error message
13421 the word, ispell program name and current dictionary (bug#9121).
13422 (ispell-tex-arg-end): Capitalize "error" in the error message.
13423
13424 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13425
13426 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13427 check. (Bug#4251)
13428
13429 2011-09-17 Juri Linkov <juri@jurta.org>
13430
13431 * window.el (window-safe-min-height, window-safe-min-width):
13432 Fix typos (followup to bug#9522).
13433
13434 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13435
13436 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13437
13438 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13439
13440 * simple.el (line-move): If goal-column is set, move by logical
13441 lines, not by display lines. (Bug#971)
13442 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13443 to reflect the above change.
13444
13445 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * image.el (imagemagick-register-types): Use regexp-opt.
13448
13449 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13450
13451 * window.el (display-buffer-base-action): Rename from
13452 display-buffer-default-action. Make default value empty.
13453 (display-buffer-overriding-action): Convert to defvar.
13454 (display-buffer-fallback-action): New var.
13455
13456 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13457
13458 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13459 declaration.
13460 (package--add-to-archive-contents): If there is a duplicate entry
13461 with an older version, remove it.
13462 (package-menu-mark-delete, package-menu-mark-install)
13463 (package-menu-mark-unmark): Make unused args optional.
13464 (package-menu-mark-obsolete-for-deletion):
13465 Use package-menu-get-status instead of a regexp search.
13466 (package-menu-get-status): Use tabulated-list-entry.
13467 (package-menu-mark-upgrades): New command.
13468 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13469 (package-menu-execute): Do installation before deletion.
13470 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13471 instead of checking major-mode.
13472 (package-menu--find-upgrades): New function.
13473
13474 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13475
13476 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13477 passwords in the log buffer.
13478 (smtpmail-process-filter): Update the process marker so that the
13479 "broken by peer" status message is inserted in the right place.
13480
13481 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13484 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13485 bibtex-completion-at-point-function.
13486 (bibtex-completion-at-point-function): Use them.
13487
13488 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13489
13490 * mpc.el (mpc-constraints-tag-lookup): New function.
13491 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13492 also to browser "album|playlist".
13493
13494 2011-09-14 Juri Linkov <juri@jurta.org>
13495
13496 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13497 (isearch-edit-string): Use length of `isearch-string' when
13498 `isearch-fail-pos' returns nil.
13499 (isearch-message): Remove duplicate code and call
13500 `isearch-fail-pos' with arg `t'.
13501
13502 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13503
13504 * replace.el (occur-mode-goto-occurrence): Don't force using other
13505 window (Bug#9499).
13506
13507 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13508
13509 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13510
13511 * window.el (display-buffer-window): Remove.
13512 (display-buffer-record-window): Use help-setup window parameter
13513 instead of variable display-buffer-window.
13514 (display-buffer-function, special-display-buffer-names)
13515 (special-display-function): Mention help-setup parameter instead
13516 of display-buffer-window in doc-string.
13517 * help.el (help-window-setup): New argument help-window.
13518 Use help-window-setup parameter instead of display-buffer-window.
13519 Reword some messages.
13520 (with-help-window): Pass window used for displaying the buffer
13521 to help-window-setup. Don't set display-buffer-window.
13522
13523 2011-09-13 Glenn Morris <rgm@gnu.org>
13524
13525 * emacs-lisp/debug.el (debugger-make-xrefs):
13526 Preserve point. (Bug#9462)
13527
13528 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13529
13530 * window.el (window-deletable-p): Use next-frame.
13531
13532 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13533
13534 * window.el (window-auto-delete): Remove.
13535 (window-deletable-p): Remove argument FORCE. Don't deal with
13536 dedication and previous buffers.
13537 (switch-to-prev-buffer): Don't delete window.
13538 (delete-windows-on): Delete a window's frame if and only if the
13539 window is dedicated.
13540 (replace-buffer-in-windows): Delete buffer's window or frame if
13541 and only if window is dedicated.
13542 (quit-window): Handle quit-restore as before last change.
13543 (bury-buffer): Delete window only if window-deletable-p returns t.
13544
13545 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13546
13547 * window.el (window-deletable-p): Never delete the last frame on a
13548 given terminal.
13549
13550 2011-09-13 Glenn Morris <rgm@gnu.org>
13551
13552 * help.el (describe-key-briefly): Copy previous standard-output change.
13553
13554 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13555
13556 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13557
13558 2011-09-13 Glenn Morris <rgm@gnu.org>
13559
13560 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13561 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13562
13563 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13564
13565 * dired-aux.el (dired-mark-read-string): Don't return default
13566 value on empty input (Bug#9361).
13567 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13568 Omit initial minibuffer contents.
13569 (dired-do-chmod): Signal an error on empty input.
13570 (dired-mark-read-string): Don't return default on empty input.
13571
13572 * files.el (file-modes-symbolic-to-number): Doc fix.
13573
13574 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * international/mule-cmds.el (ucs-completions): Remove.
13577 (read-char-by-name): Use complete-with-action instead; add metadata.
13578
13579 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13580
13581 * window.el (display-buffer--action-function-custom-type)
13582 (display-buffer--action-custom-type): New vars.
13583 (display-buffer-alist, display-buffer-default-action)
13584 (display-buffer-overriding-action): Add defcustom types.
13585
13586 * frame.el (delete-other-frames): Doc fix (Bug#276).
13587
13588 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13589
13590 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13591
13592 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13593
13594 Change modes that used same-window-* vars to use switch-to-buffer.
13595
13596 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13597 Use switch-to-buffer.
13598
13599 * cus-edit.el (customize-group, custom-buffer-create)
13600 (customize-browse, custom-buffer-create-other-window):
13601 Use switch-to-buffer or switch-to-buffer-other-window.
13602
13603 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13604 (Info-prev, Info-up, Info-speedbar-goto-node)
13605 (info-display-manual): Use switch-to-buffer.
13606 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13607
13608 * mail/sendmail.el (mail): Use switch-to-buffer.
13609 (mail-recover): Use switch-to-buffer-other-window.
13610
13611 * cmuscheme.el (run-scheme, switch-to-scheme):
13612 * ielm.el (ielm):
13613 * shell.el (shell):
13614 * net/rlogin.el (rlogin):
13615 * net/telnet.el (telnet, rsh):
13616 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13617
13618 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13619
13620 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13621
13622 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13623
13624 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13625 so don't mention it (bug#9301).
13626 (dired-sort-toggle-or-edit): Clarify string further.
13627
13628 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13629 match `x', `w32' and `ns', like the manual says (bug#9029).
13630
13631 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13632 (process-kill-buffer-query-function): Mention the buffer name in
13633 the query.
13634
13635 * image-mode.el (image-next-line): The line parameter is mandatory
13636 (bug#9258).
13637
13638 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13639 which can be useful (bug#9301).
13640
13641 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13642
13643 * subr.el (match-string): Mention that the current buffer should
13644 be the same as the search was done in (bug#9282).
13645
13646 * facemenu.el: Disable the remove-* commands if the mark isn't
13647 active (bug#9162).
13648
13649 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13650
13651 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13652 of display-buffer.
13653 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13654
13655 * replace.el (occur-mode-goto-occurrence)
13656 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13657 and display-buffer.
13658
13659 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13660 display-buffer.
13661
13662 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13663 special-display and same-window variables.
13664 (mail-other-window): Use switch-to-buffer-other-window.
13665 (mail-other-frame): USe switch-to-buffer-other-frame.
13666
13667 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13668 Use display-buffer-other-frame.
13669 (gdb-display-gdb-buffer): Use pop-to-buffer.
13670
13671 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13672
13673 * progmodes/python.el: Don't set same-window-buffer-names.
13674
13675 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13676
13677 * window.el (display-buffer-alist): Add *Python*.
13678
13679 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13680
13681 * window.el (display-buffer-alist): Add entry for buffers
13682 previously handled same-window-*.
13683 (display-buffer-alist, display-buffer-default-action)
13684 (display-buffer-overriding-action): Mark as risky.
13685 (display-buffer-alist): Document action function changes.
13686 (display-buffer--same-window-action)
13687 (display-buffer--other-frame-action): New variables.
13688 (switch-to-buffer, display-buffer-other-frame): Use them.
13689 (display-buffer): Rename reuse-frame entry to reusable-frames.
13690 (display-buffer-reuse-selected-window): Function deleted.
13691 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13692 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13693 (display-buffer-special): New function.
13694 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13695 display-buffer-reuse-or-pop-window. Split off special-display
13696 part into display-buffer-special.
13697 (display-buffer-use-some-window): Don't perform any special
13698 pop-up-frames handling.
13699 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13700 (display-buffer--maybe-same-window): Rename from
13701 display-buffer-maybe-same-window.
13702
13703 * info.el: Don't set same-window-regexps.
13704 (info-setup): New function.
13705 (info-other-window, info): Call it.
13706
13707 * cus-edit.el: Don't set same-window-regexps.
13708 (customize-group): New argument.
13709 (customize-group-other-window): Use it.
13710 (customize-face, customize-face-other-window): Likewise.
13711 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13712
13713 * net/rlogin.el:
13714 * net/telnet.el:
13715 * progmodes/gud.el: Don't set same-window-regexps.
13716
13717 * cmuscheme.el:
13718 * ielm.el:
13719 * shell.el:
13720 * mail/sendmail.el:
13721 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13722
13723 2011-09-10 Juri Linkov <juri@jurta.org>
13724
13725 * isearch.el (isearch-edit-string): Remove obsolete mention of
13726 `C-w' (`isearch-yank-word-or-char') from docstring.
13727 (isearch-query-replace): Fix typo in docstring (bug#9466).
13728
13729 2011-09-10 Juri Linkov <juri@jurta.org>
13730
13731 * paren.el (show-paren-function): Don't show escaped parens.
13732 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13733
13734 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13735
13736 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13737 (mm-default-file-encoding): Remove autoload forms, they are
13738 replaced with autoload cookies in mml.el and mm-encode.el.
13739 (mail-add-attachment): New command.
13740 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13741 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13742 the doc string.
13743 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13744
13745 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13746
13747 * simple.el (count-words-region): Use buffer if there's no region
13748 (bug#9429).
13749
13750 2011-09-09 Juri Linkov <juri@jurta.org>
13751
13752 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13753 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13754 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13755
13756 2011-09-09 Alan Mackenzie <acm@muc.de>
13757
13758 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13759 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13760
13761 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13762
13763 Fix for Savannah bug#9392.
13764 * simple.el (mail-encode-mml): New defvar.
13765
13766 * mail/rmail.el (mail-encode-mml): Add a defvar.
13767 (rmail-enable-mime-composing): Default to t.
13768 (rmail-forward): Use MIME method of forwarding only if both
13769 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13770 Set mail-encode-mml non-nil if the MIME method was used.
13771
13772 * mail/sendmail.el (mml-to-mime): Add autoload form.
13773 (mail-encode-mml): Add a defvar.
13774 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13775 to nil.
13776 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13777 message through mml-to-mime, and reset mail-encode-mml to nil.
13778
13779 2011-09-09 Glenn Morris <rgm@gnu.org>
13780
13781 * woman.el (woman-if-body): When processing an .el block,
13782 do not delete the next .el block as well. (Bug#9447)
13783 (woman-special-characters): Add oq, cq, and hy characters.
13784
13785 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13786
13787 * window.el (window-deletable-p): Make sure window is live before
13788 invoking window-prev-buffers.
13789
13790 2011-09-08 Leo Liu <sdl.web@gmail.com>
13791
13792 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13793
13794 2011-09-08 Juri Linkov <juri@jurta.org>
13795
13796 * progmodes/compile.el (compilation-environment): Make it
13797 a defcustom (bug#8340).
13798
13799 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13800
13801 * window.el (frame-auto-delete): Rename to window-auto-delete.
13802 Make it control auto-deletion of windows and/or frames.
13803 (window-deletable-p): New argument FORCE. Rewrite conditions
13804 for deleting window/frame. (Bug#9419)
13805 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13806 Rewrite handling of case when window/frame can be deleted.
13807 (delete-windows-on): Call window-deletable-p with new FORCE
13808 argument t. (Bug#9456)
13809
13810 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13811
13812 * help-mode.el (help-mode): Restore autoload.
13813
13814 2011-09-07 Juri Linkov <juri@jurta.org>
13815
13816 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13817 `compilation-environment'. Set buffer-local
13818 `compilation-environment' to `thisenv' later after (funcall mode).
13819 (Bug#8340)
13820
13821 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13822 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13823 instead of replacing its value. (Bug#8340)
13824
13825 2011-09-07 Juri Linkov <juri@jurta.org>
13826
13827 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13828 based on text properties put by `grep-filter' instead of matching
13829 escape sequences.
13830 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13831 to the value of `grep-error-screen-columns' (bug#9438).
13832
13833 2011-09-07 Juri Linkov <juri@jurta.org>
13834
13835 * simple.el (next-error-highlight, next-error-highlight-no-select):
13836 Doc fix (bug#9432).
13837
13838 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13839
13840 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13841 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13842
13843 2011-09-07 Leo Liu <sdl.web@gmail.com>
13844
13845 * net/rcirc.el (rcirc-mode): Conditionally initialize
13846 rcirc-input-ring.
13847
13848 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * emacs-lisp/find-func.el (find-function-C-source): Only set
13851 find-function-C-source-directory after checking that we found a source
13852 file there (bug#9440).
13853
13854 2011-09-06 Alan Mackenzie <acm@muc.de>
13855
13856 * isearch.el (isearch-other-meta-char): Wherever a key list is
13857 unread, "unread" the prefix arg, too. This fixes bug #8901.
13858
13859 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13860
13861 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13862
13863 2011-09-05 Juri Linkov <juri@jurta.org>
13864
13865 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13866
13867 2011-09-05 Juri Linkov <juri@jurta.org>
13868
13869 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13870 keeping point where processing of grep matches begins, and
13871 continue to delete remaining escape sequences from the same point.
13872 (grep-filter): Make leading zero optional in "0?1;31m" because
13873 git-grep emits "\033[1;31m" escape sequences unlike expected
13874 "\033[01;31m" as GNU Grep does (bug#9408).
13875 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13876
13877 2011-09-05 Juri Linkov <juri@jurta.org>
13878
13879 * subr.el (y-or-n-p): Capitalize "yes".
13880
13881 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13882
13883 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13884 `tramp-cache-unload-hook' where appropriate.
13885 (tramp-methods): Rename `tramp-remote-sh' to
13886 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13887 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13888
13889 * net/tramp-sh.el (top): Don't require 'shell.
13890 (tramp-methods): Add `tramp-remote-shell' and
13891 `tramp-remote-shell-args' entries.
13892 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13893 (tramp-sh-handle-shell-command): Remove.
13894 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13895 Use `tramp-remote-shell'.
13896
13897 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13898
13899 * mail/sendmail.el (sendmail-query-once-function): Delete.
13900 (sendmail-query-once): Save directly to send-mail-function.
13901 Update message-send-mail-function too.
13902
13903 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13904
13905 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13906
13907 * progmodes/python.el (python-mode-map): Use correct function to
13908 start python interpreter from menu-bar (as reported by Geert
13909 Kloosterman).
13910 (inferior-python-mode-map): Fix typo.
13911 (python-shell-map): Remove.
13912
13913 2011-09-03 Deniz Dogan <deniz@dogan.se>
13914
13915 * net/rcirc.el (rcirc-print): Simplify code for
13916 rcirc-scroll-show-maximum-output. There is no need to walk
13917 through all windows to find the right one.
13918
13919 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13920
13921 * help.el (help-return-method): Doc fix.
13922
13923 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13924
13925 * window.el (window-deletable-p): Don't return a non-nil value
13926 when there's a buffer that was shown in the window before.
13927 (Bug#9419)
13928 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13929 Set window's previous buffers to nil.
13930
13931 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13932
13933 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13934 newline before and after the tag line, so it doesn't interfere
13935 with determining the paragraph direction of bidirectional text.
13936
13937 2011-09-03 Leo Liu <sdl.web@gmail.com>
13938
13939 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13940
13941 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13942
13943 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13944 (pop-to-buffer): Change interactive spec. Pass second argument
13945 directly to display-buffer.
13946 (display-buffer): Fix interactive spec. Use functionp to
13947 distinguish between a function and a list of functions.
13948
13949 * abbrev.el (edit-abbrevs):
13950 * arc-mode.el (archive-extract):
13951 * autoinsert.el (auto-insert):
13952 * bookmark.el (bookmark-bmenu-list):
13953 * files.el (find-file):
13954 * view.el (view-buffer):
13955 * progmodes/compile.el (compilation-goto-locus):
13956 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13957
13958 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13959
13960 * window.el (display-buffer-alist): Doc fix.
13961 (display-buffer): Add docstring. Don't treat
13962 display-buffer-default specially.
13963 (display-buffer-reuse-selected-window)
13964 (display-buffer-same-window, display-buffer-maybe-same-window)
13965 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13966 (display-buffer-pop-up-window)
13967 (display-buffer-reuse-or-pop-window)
13968 (display-buffer-use-some-window): New functions.
13969 (display-buffer-default-action): Use them.
13970 (display-buffer-default): Delete.
13971 (pop-to-buffer-1): Fix choice of actions.
13972
13973 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * minibuffer.el (completion--insert-strings): Don't get confused by
13976 completion entries that end with an LF char.
13977
13978 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13979
13980 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13981
13982 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13983
13984 * window.el (display-buffer): Restore interactive spec.
13985 (display-buffer-same-window, display-buffer-other-window):
13986 New functions.
13987 (pop-to-buffer-1): New function. Use the above.
13988 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13989 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13990
13991 * view.el (view-buffer-other-window, view-buffer-other-frame):
13992 Just use pop-to-buffer.
13993
13994 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13995
13996 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13997
13998 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13999
14000 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14001
14002 2011-08-31 Richard Stallman <rms@gnu.org>
14003
14004 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14005 of the separation of rmail-view-buffer from rmail-buffer.
14006 If you say no to "replace original", the decrypt is in the
14007 view buffer. If you say yes, the decrypt goes into the
14008 rmail buffer also.
14009
14010 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14011
14012 * window.el (display-buffer-window): Rewrite doc-string.
14013 (display-buffer-record-window): New function.
14014 (display-buffer-macro-specifiers)
14015 (display-buffer-even-window-sizes, display-buffer-set-height)
14016 (display-buffer-set-width, display-buffer-in-window)
14017 (display-buffer-reuse-window, display-buffer-split-specifiers)
14018 (display-buffer-side-specifiers, display-buffer-split-window-1)
14019 (display-buffer-split-window, display-buffer-split-atom-window)
14020 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14021 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14022 (display-buffer-other-window-means-other-frame)
14023 (display-buffer-normalize-special)
14024 (display-buffer-normalize-default)
14025 (display-buffer-normalize-argument)
14026 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14027 (display-buffer-normalize-specifiers, display-buffer-frame)
14028 (display-buffer-same-window, display-buffer-same-frame)
14029 (display-buffer-other-window)
14030 (display-buffer-same-frame-other-window)
14031 (display-buffer-other-frame, pop-to-buffer-same-window)
14032 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14033 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14034 (switch-to-buffer-same-frame)
14035 (switch-to-buffer-other-window-same-frame)
14036 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14037 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14038 (display-buffer-alist-set): Remove.
14039 (display-buffer-function, special-display-buffer-names)
14040 (special-display-regexps, special-display-function):
14041 In doc-string refer to display-buffer-window and quit-restore
14042 parameter.
14043 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14044 (special-display-frame-alist, special-display-popup-frame)
14045 (same-window-buffer-names, same-window-regexps, same-window-p)
14046 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14047 (split-window-preferred-function, split-height-threshold)
14048 (split-width-threshold, window-splittable-p)
14049 (split-window-sensibly, window--try-to-split-window)
14050 (window--frame-usable-p, even-window-heights)
14051 (window--even-window-heights, window--display-buffer-1)
14052 (window--display-buffer-2, display-buffer-other-frame):
14053 Restore old Emacs 23 code, order and doc-strings where applicable.
14054 (display-buffer-default, display-buffer-assq-regexp): New functions.
14055 (display-buffer-alist): Rewrite doc-string.
14056 (display-buffer-default-action)
14057 (display-buffer-overriding-action): New variables.
14058 (display-buffer, switch-to-buffer): Rewrite.
14059 (pop-to-buffer): Restore Emacs 23 behavior but use
14060 window-normalize-buffer-to-display.
14061 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14062 Restore Emacs 23 behavior but use
14063 window-normalize-buffer-to-switch-to.
14064 (pop-to-buffer-same-window): Rewrite.
14065 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14066 Rewrite using Emacs 23 options.
14067
14068 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14069
14070 * net/tramp.el (tramp-root-regexp): Remove.
14071 (tramp-completion-file-name-regexp-unified)
14072 (tramp-completion-file-name-regexp-separate)
14073 (tramp-completion-file-name-regexp-url): Don't use leading volume
14074 letter on w32 systems. (Bug#5303, Bug#9311)
14075 (tramp-drop-volume-letter): Simplify definition.
14076 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14077
14078 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14081 (bug#9356).
14082
14083 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14084
14085 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14086
14087 2011-08-29 Juri Linkov <juri@jurta.org>
14088
14089 * isearch.el (isearch-done): Don't display message "Mark saved"
14090 when arg `edit' is non-nil to prevent its flicker in the echo area.
14091
14092 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14093
14094 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14095 obsolete packages for deletion.
14096
14097 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14098
14099 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14100 (help-mode): Derive help-mode from special-mode. Don't invoke
14101 view-mode from help-mode.
14102 (help-xref-override-view-map): Remove.
14103 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14104 view-mode is not used anymore.
14105
14106 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14107
14108 * server.el (server-port): Doc fix.
14109
14110 * cus-theme.el (custom-theme-choose-mode): Inherit from
14111 special-mode (Bug#9124).
14112 (custom-theme-choose-mode-map): Add special-mode to parent.
14113
14114 2011-08-28 Alan Mackenzie <acm@muc.de>
14115
14116 * progmodes/cc-fonts.el
14117 (c-make-font-lock-BO-decl-search-function): New function.
14118 (c-basic-matchers-after - "Fontify the clauses after various
14119 keywords"): Extract the three keyword lists for the 3 erroneous
14120 constructs from the list of four, and use the new function above
14121 in place of an old one.
14122
14123 2011-08-28 Deniz Dogan <deniz@dogan.se>
14124
14125 * net/rcirc.el (rcirc-insert-prev-input)
14126 (rcirc-insert-next-input): Remove unused argument.
14127
14128 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14131
14132 2011-08-27 Alan Mackenzie <acm@muc.de>
14133
14134 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14135 handle function pointer parameters properly.
14136
14137 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14138
14139 * window.el (display-buffer-reuse-window): Fix case where
14140 selected window was reused with non-nil OTHER-WINDOW argument.
14141 (Bug#9381)
14142
14143 2011-08-27 Deniz Dogan <deniz@dogan.se>
14144
14145 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14146 oftc's NickServ messages.
14147
14148 2011-08-27 Glenn Morris <rgm@gnu.org>
14149
14150 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14151
14152 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14153
14154 * emacs-lisp/package.el (package-install): Call package-initialize
14155 if called interactively.
14156
14157 2011-08-26 Leo Liu <sdl.web@gmail.com>
14158
14159 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14160
14161 2011-08-25 Juri Linkov <juri@jurta.org>
14162
14163 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14164 `search-whitespace-regexp' (bug#9364).
14165
14166 2011-08-25 Juri Linkov <juri@jurta.org>
14167
14168 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14169 `regexp-search-ring' to their global values to protect from
14170 updating by `read-from-minibuffer' (bug#9185).
14171
14172 2011-08-25 Juri Linkov <juri@jurta.org>
14173
14174 * textmodes/ispell.el (ispell-command-loop): Add newline
14175 at the end of the "Use option `i'..." line.
14176
14177 2011-08-25 Juri Linkov <juri@jurta.org>
14178
14179 * battery.el (display-battery-mode): If `battery-status-function'
14180 or `battery-mode-line-format' is nil, display the message and set
14181 `display-battery-mode' to nil (bug#9363).
14182
14183 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14184
14185 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14186 bidi-string-mark-left-to-right; they are unnecessary now.
14187
14188 2011-08-25 Deniz Dogan <deniz@dogan.se>
14189
14190 * net/quickurl.el: Documentation typo fixes.
14191
14192 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14193
14194 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14195
14196 2011-08-25 Glenn Morris <rgm@gnu.org>
14197
14198 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14199
14200 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14201 (smtpmail-via-smtp): Handle nil response from smtp.
14202
14203 2011-08-24 Juri Linkov <juri@jurta.org>
14204
14205 * proced.el (proced-marked): Inherit from `error' instead of
14206 `font-lock-warning-face'.
14207
14208 * ibuffer.el (ibuffer-marked-face): Change default face from
14209 `font-lock-warning-face' to `warning'.
14210 (ibuffer-deletion-face): Change default face from
14211 `font-lock-type-face' to `error'.
14212
14213 * battery.el (battery-update): Use the face `error' instead of
14214 `font-lock-warning-face' (bug#6117).
14215
14216 2011-08-24 Juri Linkov <juri@jurta.org>
14217
14218 * faces.el (success): Change face color from "Green3" to
14219 "ForestGreen" on light background (bug#9353).
14220
14221 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14222
14223 * window.el (quit-window): Rename from quit-restore-window.
14224 Use same arglist as old quit-window.
14225 (frame-auto-delete): Doc fix.
14226
14227 * view.el (view-mode-exit): Use quit-window.
14228
14229 2011-08-24 Juri Linkov <juri@jurta.org>
14230
14231 * isearch.el (isearch-ring-adjust1): Start visiting previous
14232 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14233 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14234 for empty search string (when the last search string is reused
14235 automatically) to adjust the isearch ring to the last element and
14236 prepare the correct index for further M-p commands (bug#9185).
14237
14238 2011-08-24 Kenichi Handa <handa@m17n.org>
14239
14240 * international/ucs-normalize.el: If decomposition property of
14241 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14242 nil.
14243 (nfd, nfkd): Likewise.
14244
14245 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14248 from process filters aren't reliably transmitted to the surrounding
14249 accept-process-output.
14250 (mpc-proc-check): New function.
14251 (mpc-proc-sync): Use it (bug#8293)
14252
14253 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14254
14255 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14256 Add compatibility functions (bug#9313).
14257
14258 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14259
14260 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14261
14262 * international/uni-bidi.el: Regenerate.
14263
14264 2011-08-23 Kenichi Handa <handa@m17n.org>
14265
14266 * international/charprop.el:
14267 * international/uni-bidi.el:
14268 * international/uni-category.el:
14269 * international/uni-combining.el:
14270 * international/uni-comment.el:
14271 * international/uni-decimal.el:
14272 * international/uni-decomposition.el:
14273 * international/uni-digit.el:
14274 * international/uni-lowercase.el:
14275 * international/uni-mirrored.el:
14276 * international/uni-name.el:
14277 * international/uni-numeric.el:
14278 * international/uni-old-name.el:
14279 * international/uni-titlecase.el:
14280 * international/uni-uppercase.el: Regenerate.
14281
14282 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14283
14284 * help.el (help-window-setup): Fix message displayed when other
14285 window is reused. (Bug#9341)
14286
14287 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14288
14289 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14290 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14291
14292 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14293 Mark obsolete.
14294 * shell.el (shell-parse-pcomplete-arguments): New function.
14295 (shell-completion-vars): Use it instead (bug#9160).
14296
14297 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14300 strings and comments (bug#9333).
14301
14302 * emacs-lisp/debug.el (debug-arglist): New function.
14303 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14304 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14305
14306 2011-08-22 Juri Linkov <juri@jurta.org>
14307
14308 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14309 Revert regexp that highlights output switches to its old
14310 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14311
14312 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14313 to check for empty output (bug#9226).
14314
14315 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14316
14317 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14318 symbol-constituent as the default, as that stops font-lock from
14319 working properly (Bug#8843).
14320
14321 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14322
14323 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14324 `coding-system-for-*' around the process open call to avoid
14325 auth-source side effects.
14326 (smtpmail-try-auth-methods): Expand the secret password.
14327 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14328 probe hangs.
14329
14330 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14331
14332 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14333
14334 * emacs-lisp/find-func.el (find-function-noselect): New arg
14335 lisp-only.
14336
14337 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14338 signal an error for built-in functions (Bug#6664).
14339
14340 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14341
14342 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14343 (smtpmail-try-auth-methods): Use it.
14344
14345 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14346
14347 * font-lock.el (font-lock-fontify-region)
14348 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14349 (font-lock-default-unfontify-buffer)
14350 (font-lock-default-fontify-region)
14351 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14352
14353 * progmodes/compile.el (compilation-error-properties):
14354 Fix confusion between file struct and message struct (Bug#9319).
14355 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14356 `ant' regexp.
14357
14358 * net/browse-url.el (browse-url-firefox): Don't call
14359 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14360
14361 2011-08-20 Glenn Morris <rgm@gnu.org>
14362
14363 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14364
14365 * tutorial.el (tutorial--default-keys): Update some default bindings.
14366
14367 * files.el (hack-local-variables): Fully ignore case for "mode:".
14368
14369 2011-08-20 Alan Mackenzie <acm@muc.de>
14370
14371 Resolve invalid use of a regexp in regexp-opt.
14372
14373 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14374 detection for a java annotation.
14375
14376 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14377 detection for a java annotation.
14378
14379 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14380 handling for java.
14381 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14382
14383 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14384
14385 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14386 (Bug#9274).
14387
14388 2011-08-20 Alan Mackenzie <acm@muc.de>
14389
14390 Fontify CPP expressions correctly when starting in the middle of
14391 such a construct. Mainly for when jit-lock etc. starts a chunk
14392 here.
14393
14394 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14395 variable.
14396 (c-make-font-lock-search-form): New function, extracted from
14397 c-make-font-lock-search-function.
14398 (c-make-font-lock-search-function): Use the above function.
14399 (c-make-font-lock-context-search-function): New function.
14400 (c-cpp-matchers): Enhance the preprocessor expression case with
14401 the above function
14402 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14403 which takes an expression.
14404
14405 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14406
14407 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14408
14409 * window.el (display-buffer-reuse-window)
14410 (display-buffer-pop-up-window): Don't reuse or split a side
14411 window.
14412
14413 2011-08-19 Glenn Morris <rgm@gnu.org>
14414
14415 * files.el (hack-local-variables-prop-line, hack-local-variables):
14416 Downcase "Mode:". (Bug#9331)
14417
14418 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14419
14420 * international/characters.el: Add L and R categories.
14421
14422 * subr.el (bidi-string-mark-left-to-right): Rename from
14423 string-mark-left-to-right. Use category search.
14424
14425 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14426
14427 2011-08-18 Juri Linkov <juri@jurta.org>
14428
14429 * faces.el (error, warning, success): New faces with definitions
14430 copied from old default values of `font-lock-warning-face',
14431 `compilation-warning', `compilation-info' (bug#6117).
14432
14433 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14434
14435 * progmodes/compile.el (compilation-error): Inherit from `error'.
14436 (compilation-warning): Inherit from `warning'.
14437 (compilation-info): Inherit from `success'.
14438
14439 * dired.el (dired-marked): Inherit from `warning'.
14440 (dired-flagged): Inherit from `error'.
14441
14442 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14443
14444 * mail/smtpmail.el (auth-source): Require to avoid problems with
14445 binding variables (bug#9298). Also clean up some unused
14446 autoloads.
14447
14448 * net/network-stream.el (network-stream-open-starttls):
14449 Support using starttls.el without using gnutls-cli.
14450
14451 2011-08-17 Juri Linkov <juri@jurta.org>
14452
14453 * progmodes/grep.el (rgrep): Handle the case when
14454 `grep-find-command' is a cons cell (bug#9278).
14455
14456 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14457
14458 * window.el (display-buffer-pop-up-frame): Run frame creation
14459 function with BUFFER current (as special-display-popup-frame
14460 does). Reported by Drew Adams.
14461
14462 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14463
14464 * epa-mail.el: Simplify GnuPG group expansion using
14465 epg-expand-group.
14466 (epa-mail-group-alist, epa-mail-group-modtime)
14467 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14468 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14469 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14470 Remove.
14471
14472 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14473
14474 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14475
14476 2011-08-16 Alan Mackenzie <acm@muc.de>
14477
14478 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14479 Correct, to avoid the inside of macros.
14480
14481 2011-08-16 Richard Stallman <rms@gnu.org>
14482
14483 * epa-mail.el: Handle GnuPG group definitions.
14484 (epa-mail-group-alist, epa-mail-group-modtime)
14485 (epa-mail-gnupg-conf-file): New variables.
14486 (epa-mail-parse-groups, epa-mail-sync-groups)
14487 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14488 (epa-mail-expand-recipients): New functions.
14489 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14490
14491 * mail/rmail.el (rmail-epa-decrypt): New command.
14492
14493 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14494 Don't bind buffer-read-only, just inhibit-read-only.
14495 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14496 (epa-decrypt-armor-in-region): Make error message clearer.
14497
14498 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14499
14500 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14501 and "a2b" to "ab" for `prefix'.
14502
14503 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14504
14505 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14506 filter groups.
14507 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14508 Fourquet (Bug#8804).
14509
14510 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14511
14512 * startup.el (argi): Declare as global variable (bug#9275).
14513
14514 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14515
14516 * subr.el (string-mark-left-to-right): Search the entire string
14517 for RTL script, not just the terminating character. Doc fix.
14518
14519 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14522 New function.
14523 (js--regexp-literal, js-syntax-propertize-function): Remove.
14524 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14525 (js-mode-map): Don't rebind electric keys.
14526 (js-insert-and-indent): Remove.
14527 (js-mode): Setup electric-layout and electric-indent instead.
14528
14529 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14530
14531 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14532
14533 * epa.el (epa-progress-callback-function): Fix the logic of
14534 displaying progress.
14535 * epa-file.el (epa-file-insert-file-contents): Make progress
14536 display more user-friendly.
14537 (epa-file-write-region): Ditto.
14538
14539 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14540
14541 * subr.el (string-mark-left-to-right): New function.
14542
14543 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14544 Use string-mark-left-to-right.
14545 (list-buffers-noselect): Caller changed.
14546
14547 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14548 Use string-mark-left-to-right.
14549 (tabulated-list-print): Recenter after moving point.
14550
14551 2011-08-10 Juri Linkov <juri@jurta.org>
14552
14553 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14554 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14555 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14556
14557 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14558
14559 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14560 (Bug#7554).
14561
14562 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14563
14564 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14565 character. (Bug#6594)
14566
14567 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14568
14569 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14570 (image-dired--with-db-file): New macro.
14571 (image-dired-write-tags, image-dired-remove-tag)
14572 (image-dired-create-gallery-lists, image-dired-write-comments)
14573 (image-dired-get-comment, image-dired-mark-tagged-files)
14574 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14575 (image-dired-gallery-generate): Use insert-file-contents.
14576
14577 * time.el (display-time-world-list, display-time-world-display):
14578 * time-stamp.el (time-stamp-string):
14579 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14580 set-time-zone-rule (Bug#7337).
14581
14582 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14583
14584 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14585 (epg-error-to-string, epg-errors-to-string): New function.
14586 (epg-wait-for-completion): Reverse errors list.
14587 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14588 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14589 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14590 (epg-sign-keys, epg-generate-key-from-file)
14591 (epg-generate-key-from-string): Format errors by using
14592 epg-errors-to-string (bug#9255).
14593 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14594
14595 2011-08-07 Juri Linkov <juri@jurta.org>
14596
14597 * faces.el (list-faces-display): Remove extra angle bracket
14598 from `help-mode-map'.
14599
14600 * info.el (Info-history-toc-nodes): Doc fix.
14601
14602 * longlines.el (longlines-mode): Doc fix.
14603
14604 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14607 of statements and in a few more cases (bug#9183).
14608
14609 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14610 New functions.
14611 (cl-transform-lambda): Use them (bug#9239).
14612
14613 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14614
14615 * window.el (display-buffer-same-window)
14616 (display-buffer-same-frame, display-buffer-other-window)
14617 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14618 (pop-to-buffer-other-window)
14619 (pop-to-buffer-same-frame-other-window)
14620 (pop-to-buffer-other-frame): Make them defuns.
14621 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14622
14623 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14624
14625 * subr.el (make-composed-keymap): Move from C. Change calling
14626 convention, and improve docstring to bring attention to a subtle point.
14627 * minibuffer.el (completing-read-default): Adjust accordingly.
14628
14629 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14630
14631 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14632 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14633
14634 * net/trampver.el: Update release number.
14635
14636 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14639 "in" (bug#9190).
14640
14641 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14642
14643 * mail/sendmail.el (sendmail-query-once): Restore the current
14644 buffer after querying (bug#9074).
14645
14646 * dired.el (dired-flagged): Use different faces for marked and
14647 flagged files (bug#6117).
14648
14649 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14650 (bug#4433).
14651
14652 * ido.el (ido-mode): Switch off the message if called
14653 non-interactively.
14654
14655 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14656 before 587, since it appears that that's more likely to work for
14657 more people.
14658
14659 * cus-edit.el (custom-file): When running under emacs -q, always
14660 refuse to save the customizations, even if the .emacs file doesn't
14661 exist.
14662
14663 * info.el: Remove the `Info-beginning-of-buffer' function
14664 (bug#8325).
14665
14666 * net/network-stream.el (network-stream-open-starttls):
14667 Use `starttls-available-p' to see whether starttls.el can be used.
14668
14669 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14670
14671 * window.el (display-buffer-in-window): Don't set dedicated status
14672 of window here (Bug#9215).
14673 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14674 (display-buffer-pop-up-side-window)
14675 (display-buffer-in-side-window): Set dedicated status of window here.
14676
14677 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14678
14679 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14680 before binding generated-autoload-file.
14681
14682 2011-08-01 Deniz Dogan <deniz@dogan.se>
14683
14684 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14685
14686 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14687
14688 Sync with Tramp 2.2.2.
14689
14690 * net/trampver.el: Update release number.
14691
14692 2011-07-30 Juri Linkov <juri@jurta.org>
14693
14694 * dired-aux.el (dired-touch-initial): Remove function.
14695 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14696 current time, and `default' to the last modification time of the
14697 current marked file (bug#6887).
14698
14699 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14700
14701 * simple.el (goto-line): Use string-to-number to provide a
14702 numeric argument to read-number (bug#9163).
14703
14704 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14705
14706 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14707 connection process, it could be nil.
14708
14709 2011-07-27 Leo Liu <sdl.web@gmail.com>
14710
14711 Simplify url handling in rcirc-mode.
14712
14713 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14714 (rcirc-browse-url-at-mouse): Remove.
14715 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14716
14717 2011-07-26 Alan Mackenzie <acm@muc.de>
14718
14719 Fontify bitfield declarations properly.
14720
14721 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14722 (c-symbol-chars): Now exported as a lang variable.
14723 (c-not-primitive-type-keywords): New lang variable.
14724
14725 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14726 QT keyword "more" to prevent "more slots: ...." being spuriously
14727 parsed as a bitfield declaration.
14728
14729 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14730 Refactor and enhance to handle bitfield declarations.
14731 (c-punctuation-in): New function.
14732 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14733 declarations properly.
14734
14735 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14736
14737 * calendar/icalendar.el (icalendar--all-events): Take care of
14738 multiple vcalendars in a single file.
14739 (icalendar--convert-float-to-ical): Checkdoc fixes.
14740
14741 2011-07-25 Deniz Dogan <deniz@dogan.se>
14742
14743 * image.el (insert-image): Clarifying docstring.
14744
14745 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14746
14747 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14748 `tramp-send-command-and-check' if there is no error.
14749 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14750
14751 2011-07-22 Alan Mackenzie <acm@muc.de>
14752
14753 Prevent cc-langs.elc being loaded at run time.
14754
14755 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14756 cc-langs.
14757
14758 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14759 "(require 'cc-langs)". Quote a form so it will evaluate at
14760 (cc-mode's) compilation time.
14761
14762 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14763
14764 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14765 loading. (Bug#9114)
14766
14767 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14768
14769 * window.el (display-buffer-pop-up-window)
14770 (display-buffer-pop-up-side-window)
14771 (display-buffer-in-side-window): Call display-buffer-set-height
14772 and display-buffer-set-width after setting the new window's
14773 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14774
14775 2011-07-20 Sam Steingold <sds@gnu.org>
14776
14777 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14778 (etags-tags-included-tables): Call `convert-standard-filename' on
14779 the file names contained in TAGS so that windows Emacs can handle
14780 TAGS files created by cygwin ctags.
14781
14782 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14783
14784 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14785 which apparently didn't work.
14786
14787 2011-07-19 Roland Winkler <winkler@gnu.org>
14788
14789 * proced.el (proced-send-signal): For *Marked Processes* buffer
14790 put point at beginning of buffer.
14791
14792 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14793
14794 * proced.el (proced-format): Make header lines align with the text
14795 (bug#1779).
14796
14797 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14798
14799 * view.el (view-buffer): Allow running in `special' modes if we're
14800 visiting a file (bug#8615).
14801
14802 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14803
14804 * window.el (display-buffer-alist-of-strings-p)
14805 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14806 New functions.
14807 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14808 more accurately.
14809
14810 2011-07-18 Alan Mackenzie <acm@muc.de>
14811
14812 Fontify declarators properly when, e.g., a jit-lock chunk begins
14813 inside a declaration.
14814
14815 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14816
14817 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14818 New function.
14819 (c-complex-decl-matchers): Insert reference to
14820 c-font-lock-enclosing-decls.
14821
14822 * progmodes/cc-engine.el (c-backward-single-comment):
14823 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14824 to nil around calls to (forward-comment -1).
14825
14826 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14827
14828 * image.el (put-image): Doc typo fix.
14829
14830 * progmodes/etags.el (tags-search): Doc typo fix.
14831
14832 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14833 password if we get errors 550 to 554.
14834
14835 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14836
14837 * net/gnutls.el (gnutls-log-level): Remove.
14838
14839 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14840 indentation character (bug#6380).
14841
14842 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14843
14844 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14845 to clarify what the problem is (bug#4291).
14846
14847 * simple.el (current-kill): Clarify what
14848 `interprogram-paste-function' does (bug#7500).
14849 (auto-fill-mode): Document `auto-fill-function' in relation to
14850 `auto-fill-mode' (bug#2470).
14851
14852 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14853
14854 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14855 method if slot is read-only (bug#9035).
14856
14857 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14858
14859 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14860 * window.el (pop-to-buffer): Select window used even if it was
14861 selected before, see discussion of (Bug#8615), (Bug#6954).
14862 Pass argument NORECORD on to select-frame-set-input-focus.
14863
14864 2011-07-15 Glenn Morris <rgm@gnu.org>
14865
14866 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14867 Respect help-form.
14868
14869 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14870
14871 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14872 (gnutls-negotiate): Use it.
14873
14874 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14875
14876 * net/gnutls.el (gnutls-negotiate):
14877 Upcase `gnutls-algorithm-priority'.
14878
14879 2011-07-15 Glenn Morris <rgm@gnu.org>
14880
14881 * jka-compr.el (jka-compr-verbose): Move from here...
14882 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14883 Add missing :version tag.
14884 * info.el: No need to require jka-compr when compiling.
14885
14886 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14887
14888 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14889 (gnutls-negotiate): Use it.
14890
14891 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14892
14893 * info.el (Info-beginning-of-buffer): New command.
14894 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14895 announcing `b' as the key (bug#8325).
14896 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14897
14898 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14899
14900 * international/mule-cmds.el
14901 (describe-specified-language-support): Make the error message
14902 clearer (bug#8905).
14903
14904 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14905
14906 * isearch.el (isearch-barrier): Add a doc string, since it's
14907 mentioned in a function doc string (bug#8678).
14908
14909 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14910
14911 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14912 buffer argument (Bug#9083) and self-identifying label argument.
14913
14914 2011-07-15 Glenn Morris <rgm@gnu.org>
14915
14916 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14917
14918 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919
14920 * man.el (Man-fontify-manpage): Fix message when formatting the
14921 man page (bug#7929).
14922
14923 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14924
14925 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14926 argument LRM; if non-nil, append an invisible LRM character to the
14927 buffer name.
14928 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14929 last argument non-nil, when formatting buffer names.
14930 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14931 paragraph direction.
14932
14933 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14936 the man page name (bug#7929).
14937
14938 * image.el (put-image): Mention the `put-image' overlay property
14939 (bug#7834).
14940
14941 * scroll-bar.el (set-scroll-bar-mode): Mention that
14942 `scroll-bar-mode' lists the values (bug#7772).
14943
14944 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14945 command (bug#7729).
14946
14947 * rect.el (apply-on-rectangle): Return the point after the last
14948 operation.
14949 (string-rectangle): Go to the point after the last operation
14950 (bug#7522).
14951
14952 * printing.el (pr-toggle-region): Clarify the documentation
14953 slightly (bug#7493).
14954
14955 * time.el (display-time-update):
14956 Allow `display-time-mail-function' to return nil (bug#7158).
14957 Fix suggested by Detlev Zundel.
14958
14959 * vc/diff.el (diff): Clarify the order the file names are read
14960 (bug#7111).
14961
14962 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14963 the doc string (bug#7015).
14964
14965 * font-lock.el (font-lock-maximum-decoration): Mention what
14966 numeric levels mean (bug#6935).
14967
14968 * startup.el (initial-buffer-choice): Don't mention the `none'
14969 selection, which is against policy.
14970
14971 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14972
14973 * window.el (display-buffer-normalize-special):
14974 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14975
14976 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14977
14978 * subr.el (version<, version<=, version=): Mention "-CVS" and
14979 "-12345" alpha version numbers.
14980
14981 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14982
14983 * bindings.el: Add advertised binding for set-mark-command
14984 (Bug#5772).
14985
14986 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14987
14988 * bindings.el (mode-line-other-buffer):
14989 * bookmark.el (bookmark-bmenu-2-window):
14990 * bs.el (bs-cycle-next, bs-cycle-previous):
14991 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14992 switch-to-buffer.
14993
14994 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14995 Delete.
14996
14997 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14998
14999 * follow.el (follow-debug-message, follow-redisplay):
15000 * jka-cmpr-hook.el (with-auto-compression-mode):
15001 Fix typos in docstrings.
15002
15003 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
15005 * subr.el (with-silent-modifications): Clarify somewhat what the
15006 macro inhibits (bug#6525).
15007
15008 * simple.el (eval-expression): Note what it does if called
15009 interactively (bug#6495).
15010
15011 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15012
15013 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15014 Use pop-to-buffer buffer-or-name if it is nil.
15015
15016 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15017 Remove switch-to-buffer.
15018
15019 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15020
15021 * files.el (make-directory): Clarify that an error will be raised
15022 if there's an error (bug#6397).
15023
15024 * startup.el (initial-buffer-choice): Add `none' as a choice
15025 (bug#6234).
15026
15027 * subr.el (add-hook): Clarify section about buffer-local hooks
15028 (bug#6218).
15029
15030 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15031
15032 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15033
15034 * tabify.el (untabify): Preserve the current column so that point
15035 doesn't move (bug#6032).
15036
15037 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15038
15039 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15040 Rewrite to avoid awkward possessive "s" (bug#5986).
15041
15042 2011-07-13 Glenn Morris <rgm@gnu.org>
15043
15044 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15045 (dired-insert-directory): Give a message the first time
15046 if ls is found not to support --dired.
15047
15048 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15049
15050 * simple.el (toggle-truncate-lines): Clarify what is toggled
15051 (bug#5580). Text by Drew Adams.
15052
15053 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * simple.el (blink-matching-open): Make the error message from the
15056 last change less verbose.
15057
15058 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15059
15060 * font-lock.el (font-lock-comment-face): Use the high contrast
15061 "yellow" color for font-lock-comment-face on low color terminals
15062 using a dark background color (bug#4221).
15063
15064 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15065
15066 * dired.el (dired-insert-set-properties): Make the doc string
15067 reflect what it does now (bug#5325).
15068
15069 * simple.el (blink-matching-open): Say that we were unable to find
15070 the match within the limit, if we're limited (bug#5122).
15071
15072 * international/mule-cmds.el (prefer-coding-system): Add an
15073 example (bug#4869).
15074
15075 * progmodes/etags.el (tags-search): Document `file-list-form'
15076 (bug#4731).
15077
15078 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15079
15080 * net/browse-url.el (browse-url-default-browser)
15081 (browse-url-browser-function): Make the default browser choice a
15082 bit more logical (bug#4300). Also clean up the doc string.
15083
15084 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15085
15086 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15087 binary endings (bug#4440).
15088
15089 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15090
15091 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15092 which can be pretty annoying (bug#8971).
15093
15094 * jka-compr.el (jka-compr-verbose): New variable, and use
15095 throughout (bug#8971).
15096
15097 * info.el (Info-find-file): Fall back on the installation
15098 directory if we can't find the info node anywhere else.
15099
15100 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15101
15102 * vc/vc.el (vc-revert-file):
15103 Don't set file time-stamp in the past. (Bug#5181)
15104
15105 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15106
15107 * files.el (after-find-file): Give a better error message when
15108 trying to find a symlink that points to a file that doesn't exist
15109 (bug#4398).
15110
15111 * progmodes/cc-vars.el: Remove (probably) misleading comment
15112 (bug#4396).
15113
15114 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15115
15116 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15117
15118 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15119
15120 * mouse-sel.el: Hack restoring functionality, while keeping
15121 compatibility with 2010-07-03 changes to mouse selection.
15122 (mouse-sel-primary-overlay): New var.
15123 (mouse-sel-selection-alist): Use it.
15124 (mouse-sel-mode): Doc fix; remove points that are default features
15125 of mouse.el.
15126
15127 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15128
15129 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15130 Fix previous fix (bug#2490).
15131
15132 2011-07-12 Roland Winkler <winkler@gnu.org>
15133
15134 * textmodes/bibtex.el (bibtex-initialize):
15135 Use pop-to-buffer-same-window.
15136 (bibtex-search-entries): Fix interactive call.
15137
15138 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15139
15140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15141 Fontise bytecomp Error lines more correctly (bug#2490).
15142 Fix suggested by Johan Bockgård.
15143
15144 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15145
15146 * dired-x.el (dired-guess-default): Use `delete-dups'.
15147
15148 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15149
15150 * dired.el (dired-mark-prompt):
15151 * dired-aux.el (dired-read-shell-command): Doc fix.
15152
15153 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15154
15155 * mail/sendmail.el (sendmail-query-once):
15156 Use `customize-save-variable' unconditionally, now that it works under
15157 emacs -Q.
15158
15159 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15160
15161 * cus-edit.el (custom-file): Take an optional no-error variable.
15162 (customize-save-variable): Set the variable, and give a warning if
15163 running under "emacs -q".
15164
15165 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15166
15167 * loadhist.el (unload-feature-special-hooks):
15168 Add `auto-coding-functions', `fill-nobreak-predicate' and
15169 `find-directory-functions' (bug#5327).
15170
15171 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172
15173 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15174
15175 * cus-edit.el (custom-guess-name-alist): -alist variables should
15176 use the `alist' type (bug#3120). Suggested by Drew Adams.
15177
15178 * printing.el: Add documentation to all the `pr-toggle-' commands.
15179
15180 2011-07-11 Leo Liu <sdl.web@gmail.com>
15181
15182 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15183 backends where it makes sense (bug#2623).
15184
15185 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15186
15187 * dired-x.el (dired-guess-default): Remove duplicate shell command
15188 entries (bug#2028).
15189 (dired-guess-default): Fix grammar in doc string (bug#2028).
15190 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15191
15192 * subr.el (remove-duplicates): New conveniency function.
15193
15194 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15195
15196 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15197 (bug#1526).
15198
15199 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15200
15201 * window.el (display-buffer-normalize-default): Don't invert
15202 meaning of even-window-heights. Reported by Eli Zaretskii
15203 <eliz@gnu.org>.
15204
15205 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15206
15207 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15208
15209 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15210
15211 * window.el (display-buffer): Fix arguments to
15212 display-buffer-reuse-window in last change.
15213
15214 * faces.el (link): Use a less saturated blue on light backgrounds.
15215
15216 * startup.el (fancy-startup-text, fancy-about-text)
15217 (fancy-startup-tail): Use font-lock faces, for background safety.
15218
15219 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15220
15221 * emulation/viper-cmd.el (viper-change-state-to-vi):
15222 Limit triggering of abbrev expansion (Bug#9038).
15223
15224 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15225
15226 * window.el (display-buffer-default-specifiers): Remove.
15227 (display-buffer-macro-specifiers): Remove default specifiers.
15228 (display-buffer-alist): Default to nil.
15229 (display-buffer-reuse-window): New optional argument other-window.
15230 (display-buffer-pop-up-window): Allow splitting internal
15231 windows. Check whether a live window was created.
15232 (display-buffer-other-window-means-other-frame)
15233 (display-buffer-normalize-arguments): Rename to
15234 display-buffer-normalize-argument and rewrite. Set the
15235 other-window specifier.
15236 (display-buffer-normalize-special): New function.
15237 (display-buffer-normalize-options): Rename to
15238 display-buffer-normalize-default and rewrite.
15239 (display-buffer-normalize-options-inhibit): Remove.
15240 (display-buffer-normalize-specifiers): Rewrite.
15241 (display-buffer): Process other-window specifier and call
15242 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15243 more faithfully.
15244 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15245 (display-buffer-alist-set): Don't handle 'unset default values.
15246 (display-buffer-in-window, display-buffer-alist-set):
15247 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15248 <tassilo@member.fsf.org>.
15249
15250 2011-07-09 Leo Liu <sdl.web@gmail.com>
15251
15252 * register.el (insert-register): Restore accidental change on
15253 2011-06-26. (Bug#9028)
15254
15255 2011-07-09 Glenn Morris <rgm@gnu.org>
15256
15257 * subr.el (remq): Handle the empty list. (Bug#9024)
15258
15259 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15260
15261 * mail/sendmail.el (send-mail-function): No longer delay custom
15262 initialization.
15263 * custom.el (custom-initialize-delay): Doc fix.
15264
15265 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15268
15269 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15270
15271 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15272 human-friendly prompt.
15273
15274 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15277 provided by a particular plugin.
15278
15279 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15280
15281 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15282 save customizations (with "emacs -Q"), just set the variable
15283 instead of erroring out.
15284
15285 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15286
15287 2011-07-08 Juri Linkov <juri@jurta.org>
15288
15289 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15290 (archive-zip-update-case): Use 7z if found by `executable-find'.
15291 The order of searching the available programs is the same as in
15292 `archive-zip-extract' (bug#8968).
15293
15294 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15295
15296 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15297 (menu-bar-options-menu): Tweak descriptions.
15298
15299 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15300
15301 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15302 menu items into verb phrases (bug#1421). Also refill to fit under
15303 80 columns.
15304
15305 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15306
15307 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15308 (Info-read-node-name): Doc fix (Bug#1084).
15309
15310 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15311 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15312 (end-of-sexp, beginning-of-sexp)
15313 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15314 (forward-symbol, forward-same-syntax, word-at-point)
15315 (sentence-at-point): Doc fix (Bug#1144).
15316
15317 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15318
15319 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15320 should cover it (bug#1281).
15321
15322 * cus-edit.el (custom-show): Mark as obsolete.
15323
15324 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15325 negotiation fails, then possibly try again with a non-encrypted
15326 connection (bug#9017).
15327
15328 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15329 be used.
15330
15331 2011-07-07 Richard Stallman <rms@gnu.org>
15332
15333 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15334 property, and handle its changed format.
15335 Look for the correct line number.
15336 Use file's line contents (but not past first =) to find
15337 correct line in message.
15338
15339 2011-07-07 Kenichi Handa <handa@m17n.org>
15340
15341 * international/characters.el (build-unicode-category-table):
15342 Delete it.
15343 (unicode-category-table): Set it by unicode-property-table-internal.
15344
15345 * international/mule-cmds.el (char-code-property-alist): Move to
15346 to src/chartab.c.
15347 (get-char-code-property): Call unicode-property-table-internal to
15348 load a file. Call get-unicode-property-internal where necessary.
15349 (put-char-code-property): Call unicode-property-table-internal to
15350 load a file. Call put-unicode-property-internal where necessary.
15351 put-unicode-property-internal where necessary.
15352 (char-code-property-description):
15353 Call unicode-property-table-internal to load a file.
15354
15355 * international/charprop.el:
15356 * international/uni-bidi.el:
15357 * international/uni-category.el:
15358 * international/uni-combining.el:
15359 * international/uni-comment.el:
15360 * international/uni-decimal.el:
15361 * international/uni-decomposition.el:
15362 * international/uni-digit.el:
15363 * international/uni-lowercase.el:
15364 * international/uni-mirrored.el:
15365 * international/uni-name.el:
15366 * international/uni-numeric.el:
15367 * international/uni-old-name.el:
15368 * international/uni-titlecase.el:
15369 * international/uni-uppercase.el: Regenerate.
15370
15371 * loadup.el: Load international/charprop.el before
15372 international/characters.
15373
15374 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * window.el (next-buffer, previous-buffer): Signal an error if
15377 called from a minibuffer window.
15378
15379 * bindings.el: Revert 2011-07-04 change.
15380
15381 2011-07-06 Richard Stallman <rms@gnu.org>
15382
15383 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15384 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15385 Treat markers like ints.
15386 (rmail-mime-entity): Doc fix.
15387
15388 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15389
15390 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15391 defcustom again for backwards compatibility.
15392
15393 * simple.el (shell-command-on-region): Fill.
15394
15395 * dired-aux.el (dired-kill-line): Add a doc string.
15396
15397 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15398 to "\\sw\\|\\s_" (bug#358).
15399
15400 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15401 (dired-unmark-backward): Ditto.
15402 (dired-flag-backup-files): Ditto.
15403
15404 * dired-x.el (dired-mark-sexp): Ditto.
15405
15406 2011-07-06 Richard Stallman <rms@gnu.org>
15407
15408 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15409 (rmail-mime-entity): New arg TRUNCATED.
15410 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15411 New functions.
15412 (rmail-mime-save): Warn if entity is truncated.
15413 (rmail-mime-toggle-hidden): Likewise, for showing.
15414 (rmail-mime-process-multipart): Record when an entity is truncated.
15415
15416 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15417 if ENTITY is a string.
15418
15419 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15420
15421 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15422 of faces when `M-C-x'-ing their definitions (bug#8378).
15423 Also clean up the code slightly.
15424
15425 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15426 because that makes the colors go away.
15427
15428 * mail/sendmail.el (send-mail-function): Change the default to
15429 `sendmail-query-once'.
15430 (sendmail-query-once): Add an autoload cookie.
15431
15432 * net/network-stream.el (network-stream-open-starttls): Try using
15433 a plain connection even if the server offered STARTTLS, and we
15434 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15435 capability. This should make smtpmail.el work in slightly more
15436 configurations.
15437
15438 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15439
15440 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15441 New defun.
15442 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15443
15444 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15445
15446 * progmodes/sql.el: Version 3.0
15447 (sql-product-alist): Add product :completion-object,
15448 :completion-column, and :statement attributes.
15449 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15450 (sql-mode-syntax-table): Mark all punctuation.
15451 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15452 ansi keywords.
15453 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15454 (sql-mode-oracle-font-lock-keywords): Improve.
15455 (sql-oracle-show-reserved-words): New function for development.
15456 (sql-product-font-lock): Simplify for source code buffers.
15457 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15458 New functions.
15459 (sql-highlight-product): Set product specific syntax table.
15460 (sql-mode-map): Add statement movement functions.
15461 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15462 New variable.
15463 (sql-statement-regexp, sql-beginning-of-statement)
15464 (sql-end-of-statement, sql-signum): New functions.
15465 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15466 (sql-show-sqli-buffer): Bug fix.
15467 (sql-interactive-mode): Store connection data as buffer local.
15468 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15469 with sql-interactive-mode.
15470 (sql-save-connection): Save buffer local settings.
15471 (sql-connection-menu-filter): Change menu entry name.
15472 (sql-product-interactive): Bug fix.
15473 (sql-preoutput-hold): New variable.
15474 (sql-interactive-remove-continuation-prompt): Bug fixes.
15475 (sql-debug-redirect): New variable.
15476 (sql-str-literal): New function.
15477 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15478 Redesign.
15479 (sql-oracle-save-settings, sql-oracle-restore-settings)
15480 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15481 (sql-completion-object, sql-completion-column)
15482 (sql-completion-sqlbuf): New variables.
15483 (sql-build-completions-1, sql-build-completions)
15484 (sql-try-completion): New functions.
15485 (sql-read-table-name): Use them.
15486 (sql-contains-names): New buffer local variable.
15487 (sql-list-all, sql-list-table): Use it.
15488 (sql-oracle-completion-types): New variable.
15489 (sql-oracle-completion-object, sql-sqlite-completion-object)
15490 (sql-postgres-completion-object): New functions.
15491
15492 2011-07-06 Glenn Morris <rgm@gnu.org>
15493
15494 * window.el (pop-to-buffer): Doc fix.
15495
15496 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15497
15498 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15499
15500 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15501
15502 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15503
15504 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15505
15506 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15507
15508 * button.el (button): Inherit from link face. Suggested by Dan
15509 Nicolaescu.
15510
15511 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * progmodes/gdb-mi.el: Fit in 80 columns.
15514 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15515 switch-to-buffer.
15516
15517 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15518 if imenu is simply not configured (bug#8941).
15519
15520 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15521
15522 * allout.el (allout-post-undo-hook): New allout outline-change
15523 event hook to signal undo activity.
15524 (allout-post-command-business): Run allout-post-undo-hook if an
15525 undo just occurred.
15526 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15527 * allout-widgets.el (allout-widgets-after-undo-function):
15528 Ensure the integrity of the current item's decoration after it has been
15529 in the vicinity of an undo.
15530 (allout-widgets-mode): Include allout-widgets-after-undo-function
15531 on the new allout-post-undo-hook.
15532
15533 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15534
15535 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15536 Let define-derived-mode define it.
15537 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15538 cycles of abbrev-table inheritance (bug#8998).
15539
15540 2011-07-05 Roland Winkler <winkler@gnu.org>
15541
15542 * textmodes/bibtex.el: Add support for biblatex.
15543 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15544 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15545 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15546 (bibtex-entry-alist, bibtex-field-alist): New variables.
15547 (bibtex-entry-field-alist): Obsolete alias for
15548 bibtex-BibTeX-entry-alist.
15549 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15550 (bibtex-set-dialect): New command.
15551 (bibtex-entry-type, bibtex-entry-head)
15552 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15553 Bind via bibtex-set-dialect.
15554 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15555 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15556 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15557 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15558 Define via bibtex-set-dialect.
15559 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15560 Obey bibtex-no-opt-remove-re.
15561 (bibtex-vec-push, bibtex-vec-incr): New functions.
15562 (bibtex-format-entry, bibtex-field-list)
15563 (bibtex-print-help-message, bibtex-validate)
15564 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15565
15566 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15567
15568 * progmodes/compile.el (compilation-goto-locus):
15569 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15570 * bs.el (bs-cycle-next, bs-cycle-previous):
15571 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15572 * bindings.el (mode-line-other-buffer):
15573 * autoinsert.el (auto-insert):
15574 * arc-mode.el (archive-extract):
15575 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15576
15577 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15578
15579 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15580 Fix check of `emacs-lock-unlockable-modes'.
15581 Coerce true values of `emacs-lock--try-unlocking' to t.
15582
15583 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15584
15585 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15586 * emacs-lock.el: New file.
15587
15588 2011-07-05 Julien Danjou <julien@danjou.info>
15589
15590 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15591 than `boundp' to check if face is set.
15592
15593 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15594
15595 * register.el (registerv-make):
15596 * window.el (window-min-height): Fix typos in docstrings.
15597
15598 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15599
15600 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15601 Update doc string.
15602
15603 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15604
15605 * server.el (server-execute): Catch quit and call
15606 `server-return-error' to pass the error back to emacsclient and
15607 close the connection (bug#8942).
15608
15609 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15610
15611 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15612 insecure exception for current topic. Also note that auto-saves
15613 are handled differently.
15614
15615 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15616 State variables for tracking auto-save inhibition situation.
15617
15618 (allout-write-contents-hook-handler): Rename from
15619 'allout-write-file-hook-handler', and describe how it depends on
15620 write-contents-functions sensitivity to non-nil value to prevent
15621 file write.
15622
15623 (allout-auto-save-hook-handler): Remove. auto-save does not check
15624 this in individual buffers, only in the starting buffer, so this
15625 is not the right way for us to inhibit auto-save in a buffer
15626 according to its condition.
15627
15628 (allout-mode): Use new allout-write-contents-hook-handler, and
15629 only with write-contents-functions. Remove auto-save provisions -
15630 they're implemented elsewhere.
15631
15632 (allout-before-change-handler): If undo is in progress, note that
15633 for attention of allout-post-command-business.
15634
15635 (allout-post-command-business): If the command we're following was
15636 an undo, check for change in the status of encrypted items and
15637 adjust auto-save inhibitions accordingly.
15638
15639 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15640 according to whether there are or aren't any plain-text topics
15641 pending encryption.
15642
15643 (allout-inhibit-auto-save-info-for-decryption):
15644 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15645 if there are plain-text topics pending encryption.
15646
15647 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15648 buffer-saved-size and some allout state to not inhibit auto-saves
15649 if there are no longer any plain-text topics pending encryption.
15650
15651 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15652 No longer provide for exemption of the current topic.
15653
15654 2011-07-04 Juri Linkov <juri@jurta.org>
15655
15656 Add 7z operations to delete and save changed members (bug#8968).
15657 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15658 New defcustoms.
15659 (archive-7z-write-file-member): New function.
15660 (archive-7z-summarize): Fix the number of dashes in the
15661 listing output.
15662
15663 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15666 (bug#8958).
15667
15668 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15669
15670 * bindings.el: Ignore next-buffer and previous-buffer in
15671 minibuffer-local-map.
15672
15673 * font-lock.el (font-lock-builtin-face): Change light background
15674 color to dark slate blue (Bug#6693).
15675
15676 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15677
15678 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15679
15680 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15681
15682 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15683 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15684 Add switch-to-buffer.
15685
15686 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15687
15688 * isearch.el (isearch-search-fun-function): Clarify further the
15689 meaning of the function returned.
15690
15691 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15692
15693 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15694
15695 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15696 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15697 Use it.
15698 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15699 `tramp-default-remote-path' does not exist.
15700 (tramp-send-command-and-read): New optional argument NOERROR.
15701 (tramp-open-connection-setup-interactive-shell)
15702 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15703 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15704 (tramp-process-sentinel): Flush also process' connection property.
15705 (tramp-sh-handle-start-file-process): Do not set process
15706 sentinel. It is done now ...
15707 (tramp-maybe-open-connection): ... here. (Bug#8929)
15708
15709 2011-07-04 MON KEY <monkey@sandpframing.com>
15710
15711 * play/animate.el (animate-string): Doc fixes and allow changing
15712 the buffer name (bug#5417).
15713
15714 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15715
15716 * play/animate.el (animation-buffer-name): Rename from *animate*.
15717
15718 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15719
15720 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15721 This is simpler and helps future-proof the code.
15722 (timer-until): Use time-subtract and float-time.
15723 (timer--time-less-p): Use time-less-p.
15724
15725 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15726
15727 * type-break.el (timep): Use the value of `float-time' to avoid a
15728 byte-compiler warning.
15729
15730 * server.el (server-eval-and-print): Return any result, even nil.
15731
15732 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15733
15734 * type-break.el: Accept time formats that the builtins accept.
15735 (timep, type-break-time-difference): Accept any format that
15736 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15737 This is simpler and helps future-proof the code.
15738 (type-break-time-difference): Round rather than ignoring
15739 subseconds components.
15740
15741 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15742
15743 * info.el (Info-apropos-matches): Make non-interactive, since it
15744 doesn't seem to do anything useful as a command (bug#8829).
15745
15746 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15747
15748 * frame.el (frame-background-mode, frame-set-background-mode):
15749 Move from faces.el.
15750 (frame-default-terminal-background): New function.
15751
15752 * custom.el (custom-push-theme): Don't record faces in `changed'
15753 theme; this doesn't work correctly for per-frame face settings.
15754 (disable-theme): Use face-set-after-frame-default to reset faces.
15755 (custom--frame-color-default): New function.
15756
15757 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15758
15759 * dired.el (dired-flagging-regexp): Remove unused variable
15760 (bug#8769).
15761
15762 2011-03-29 Kevin Ryde <user42@zip.com.au>
15763
15764 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15765 `perl-Test2' extend to match possible "fail #N" rep count
15766 (bug#8377).
15767
15768 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15769
15770 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15771 `smtpmail-via-smtp' now returns the error instead of nil.
15772
15773 * isearch.el (isearch-search-fun-function): Clarify the doc string
15774 (bug#8101).
15775
15776 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15777
15778 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15779 unnecessary spaces (bug#8987).
15780
15781 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15782
15783 * net/network-stream.el (open-network-stream): Use the
15784 :end-of-capability command thoughout.
15785
15786 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15787
15788 * net/network-stream.el (open-network-stream): Add the
15789 :end-of-capability command parameter, used by pop3.el.
15790
15791 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15792
15793 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15794
15795 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15796 for list)" (bug#6475).
15797
15798 * files.el (file-expand-wildcards): Ignore non-readable
15799 sub-directories while trying to find matches instead of signaling
15800 an error (bug#6297).
15801
15802 * man.el (Man-reference-regexp): Allow matching possible
15803 word-wrapped references (bug#6289).
15804
15805 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15806 for consistency with the other vc buffers (bug#6197).
15807 (vc-checkin): Ditto.
15808
15809 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15810
15811 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15812
15813 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15814
15815 * custom.el (defcustom): Clarify that :set is only used in the
15816 Customize user interface (bug#6089).
15817
15818 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15819 associated with a file, refuse to run instead of erroring out
15820 (bug#6084).
15821
15822 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15823 the doc string, since it appears that using `fill-column' always
15824 controls the width (bug#7845).
15825
15826 * simple.el (shell-command-on-region): Say where the error output
15827 went if `shell-command-default-error-buffer' is set (bug#6857).
15828
15829 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15830
15831 * allout.el (allout-yank-processing): Adjust cursor position for
15832 backwards-deleted space.
15833
15834 (allout-rebullet-heading): Register changes with
15835 allout-exposure-changed-hook, so the modified topic is properly
15836 decorated.
15837
15838 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15839
15840 * minibuffer.el (completion-in-region): Document PREDICATE
15841 (bug#7136).
15842
15843 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15844 of keyword/argument pairs (bug#6904).
15845
15846 * replace.el (multi-occur):
15847 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15848
15849 2011-07-02 Drew Adams <drew.adams@oracle.com>
15850
15851 * dired.el (dired-mark-if): Make the message about whether it's
15852 marking or unmarking clearer (bug#8523).
15853
15854 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15855
15856 * disp-table.el (display-table-print-array): New function.
15857 (describe-display-table): Use it to print the vectors more pretty
15858 (Bug#8859).
15859
15860 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15861
15862 * window.el (window-state-get-1): Don't assign clone numbers.
15863 Add clone-of item to list of window parameters.
15864 (window-state-put-2): Don't process clone numbers.
15865 (display-buffer-alist): Fix doc-string.
15866
15867 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15868
15869 * subr.el (remq): Don't allocate if it's not needed.
15870 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15871 (keymap--merge-bindings): New functions.
15872 (keymap-canonicalize): Use them to refine the canonicalization.
15873 * minibuffer.el (minibuffer-local-completion-map)
15874 (minibuffer-local-must-match-map): Move initialization from C.
15875 (minibuffer-local-filename-completion-map): Move initialization from C;
15876 don't inherit from anything here.
15877 (minibuffer-local-filename-must-match-map): Make obsolete.
15878 (completing-read-default): Use make-composed-keymap to combine
15879 minibuffer-local-filename-completion-map with either
15880 minibuffer-local-must-match-map or
15881 minibuffer-local-filename-completion-map.
15882
15883 2011-07-01 Glenn Morris <rgm@gnu.org>
15884
15885 * type-break.el (type-break-time-sum): Use dolist.
15886
15887 * textmodes/flyspell.el (flyspell-word-search-backward):
15888 Replace CL function.
15889
15890 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15891
15892 * mouse.el (mouse--strip-first-event): New function.
15893 (function-key-map): Use it to map fringe clicks to normal clicks
15894 by default.
15895
15896 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15897 (vc-bzr-revision-completion-table): Add support for annotate and date.
15898
15899 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15900 inherit from parent.
15901
15902 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15903
15904 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15905 (dired-show-file-type): Doc fixup (bug#8818).
15906
15907 * dired.el (dired-mode): Fix up the doc string as suggested by
15908 Drew Adams (bug#8817).
15909
15910 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15911 cookie, since the manual says that it should be possible to add
15912 this function to `find-file-hook' (bug#8709).
15913
15914 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15915
15916 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15917 here. Noted Ted Zlatanov as the maintainer.
15918 (cfengine-common-settings, cfengine-common-syntax): New functions
15919 to set up common things between `cfengine-mode' and
15920 `cfengine3-mode'.
15921 (cfengine3-mode): New mode.
15922 (cfengine3-defuns cfengine3-defuns-regex
15923 (cfengine3-class-selector-regex cfengine3-category-regex)
15924 (cfengine3-vartypes cfengine3-font-lock-keywords)
15925 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15926 (cfengine3-indent-line): Add from cfengine3.el.
15927
15928 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15929
15930 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15931
15932 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15933
15934 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15935
15936 * window.el (same-window-buffer-names, same-window-regexps)
15937 (same-window-p, special-display-frame-alist)
15938 (special-display-popup-frame, special-display-function)
15939 (special-display-buffer-names, special-display-regexps)
15940 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15941 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15942 (split-window-preferred-function, split-height-threshold)
15943 (split-width-threshold, even-window-heights)
15944 (display-buffer-mark-dedicated, window-splittable-p)
15945 (split-window-sensibly, window-safely-shrinkable-p):
15946 Un-obsolete.
15947 (display-buffer): Don't spread args with function specifier
15948 because special-display-popup-frame won't like it.
15949
15950 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15951
15952 Time-stamp simplifications and fixes.
15953 These improve accuracy slightly, and future-proof the code
15954 against some potential changes to current-time format.
15955
15956 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15957 by using time-since and float-time.
15958
15959 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15960 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15961 + NNN microseconds".
15962
15963 * type-break.el (type-break-time-sum): Rewrite using time-add.
15964
15965 * play/hanoi.el (hanoi-current-time-float): Remove.
15966 All uses replaced by float-time.
15967
15968 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15969 This yields a more-accurate answer.
15970 (rng-time-to-float): Remove; no longer needed.
15971
15972 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15973
15974 * calendar/timeclock.el (timeclock-seconds-to-time):
15975 Defalias to seconds-to-time, since they're the same thing.
15976
15977 * emacs-lisp/elp.el (elp-elapsed-time):
15978 * emacs-lisp/benchmark.el (benchmark-elapse):
15979 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15980
15981 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * window.el (bury-buffer): Don't iconify the only frame.
15984 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15985 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15986
15987 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15988
15989 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15990 Add mouse-yank-primary.
15991
15992 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15993
15994 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15995
15996 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15999 (find-library-name): Use it to find relative load names when provided
16000 absolute file name (bug#8803).
16001
16002 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16003
16004 * textmodes/flyspell.el (flyspell-word): Consider words that
16005 differ only in case as potential doublons (bug#5687).
16006
16007 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16008 Remove two rather uninteresting debugging-like messages to make
16009 debbugs.el more silent.
16010
16011 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16012 a password-like phrase.
16013
16014 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16015
16016 * progmodes/cc-guess.el: New file.
16017
16018 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16019
16020 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16021 derived from `c-basic-common-init'.
16022
16023 * progmodes/cc-mode.el (top-level): Require cc-guess.
16024 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16025
16026 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16027
16028 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16029
16030 2011-06-30 Alan Mackenzie <acm@muc.de>
16031
16032 * progmodes/cc-engine.el (c-guess-continued-construct):
16033 Correct the handling of template-args-cont, particularly for when font
16034 lock is disabled. Name this case as "CASE G".
16035
16036 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16037
16038 * allout.el (allout-yank-processing): Fix injection of extra space
16039 between bullet and non-whitespace character in first topic when
16040 pasting, ensuring that the actual spacing in the pasted topic
16041 following the bullet char is preserved. This extra space was
16042 causing pasted encrypted topics to get a decrypted status even
16043 when the content was actually still encrypted. Now the decryption
16044 status from before the paste is preserved.
16045
16046 (allout-flag-region): Set all allout overlays so they evaporate
16047 when reduced to zero length (evanescent), to prevent overlay
16048 leakage.
16049
16050 2011-06-30 Glenn Morris <rgm@gnu.org>
16051
16052 * w32-fns.el (w32-charset-info-alist): Declare.
16053
16054 * find-dired.el (find-grep-options): Simplify.
16055
16056 * term/ns-win.el (ns-set-resource): Declare.
16057
16058 * ses.el (row, col): Declare dynamic variables honestly.
16059
16060 * textmodes/reftex-parse.el (index-tags): Declare.
16061
16062 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16063
16064 * cus-edit.el (customize-push-and-save): New function.
16065
16066 * files.el (hack-local-variables-confirm): Use it.
16067
16068 * custom.el (load-theme): New arg NO-CONFIRM.
16069 Use customize-push-and-save (Bug#8720).
16070 (custom-enabled-themes): Doc fix.
16071
16072 * cus-theme.el (customize-create-theme)
16073 (custom-theme-merge-theme): Callers to load-theme changed.
16074
16075 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16076
16077 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16078 short URLs have at least one dot in them (bug #7614).
16079
16080 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16081 nil, because using a pty is apparently too slow (bug #895).
16082
16083 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16084
16085 * mail/sendmail.el (sendmail-query-once): New function.
16086 (sendmail-query-once-function): New variable.
16087
16088 2011-06-29 Glenn Morris <rgm@gnu.org>
16089
16090 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16091
16092 * ses.el (top-level): Require cl when compiling.
16093 (ses-set-localvars): Fix error statement.
16094 Call it at compile time to silence a storm of warnings.
16095
16096 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16097
16098 * window.el (normalize-live-buffer): Rename to
16099 window-normalize-buffer.
16100 (normalize-live-frame): Rename to window-normalize-frame.
16101 (normalize-any-window): Rename to window-normalize-any-window.
16102 (normalize-live-window): Rename to window-normalize-live-window.
16103 (make-window-atom): Rename to window-make-atom.
16104 (window-resize-reset): Rename to window--resize-reset.
16105 (window-resize-reset-1): Rename to window--resize-reset-1.
16106 (resize-mini-window): Rename to window--resize-mini-window.
16107 (resize-subwindows-skip-p): Rename to
16108 window--resize-subwindows-skip-p.
16109 (resize-subwindows-normal): Rename to
16110 window--resize-subwindows-normal.
16111 (resize-subwindows): Rename to window--resize-subwindows.
16112 (resize-other-windows): Rename to window--resize-siblings.
16113 (resize-this-window): Rename to window--resize-this-window.
16114 (resize-root-window): Rename to window--resize-root-window.
16115 (resize-root-window-vertically): Rename to
16116 window--resize-root-window-vertically.
16117 (normalize-buffer-to-display): Rename to
16118 window-normalize-buffer-to-display.
16119 (normalize-buffer-to-switch-to): Rename to
16120 window-normalize-buffer-to-switch-to.
16121 Correspondingly update all callers of the functions listed
16122 above.
16123 (display-buffer-alist, display-buffer-normalize-arguments)
16124 (display-buffer-normalize-options, display-buffer)
16125 (display-buffer-alist-set): Use "function" instead of
16126 "fun-with-args".
16127
16128 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16129
16130 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16131 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16132 debbugs.gnu.org. Mention acknowledgment email.
16133
16134 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16137 buffer multibyteness, since it shouldn't matter.
16138
16139 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16140
16141 * window.el (display-buffer-in-side-window): Handle dedicated
16142 windows as in display-buffer-reuse-window.
16143 (display-buffer-normalize-alist): Use value of override
16144 specifier.
16145 (display-buffer-normalize-specifiers): Use value of
16146 other-window-means-other-frame specifier.
16147 (display-buffer-alist): Rewrite some texts in widgets.
16148 (display-buffer): Spread arguments when calling function
16149 specified by fun-with-args.
16150
16151 2011-06-28 Deniz Dogan <deniz@dogan.se>
16152
16153 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16154 Unnest `let'.
16155
16156 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16157 selectors (Bug#5732).
16158 (css-proprietary-nmstart-re): Use `regexp-opt'.
16159
16160 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16161
16162 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16163 (eshell-ls-date-format): New defcustom.
16164 (eshell-ls-file): Use it.
16165
16166 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16167
16168 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16169
16170 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16171
16172 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16173 (ange-ftp-make-tmp-name): New arg.
16174 (ange-ftp-file-local-copy): Use it.
16175
16176 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16177
16178 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16179 no-conversion (Bug#8870).
16180
16181 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16182
16183 * window.el (window-right, window-left, window-child)
16184 (window-child-count, window-last-child)
16185 (window-iso-combination-p, walk-window-tree-1)
16186 (window-atom-check-1, window-tree-1, delete-window)
16187 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16188 new naming conventions - window-vchild, window-hchild,
16189 window-next and window-prev are now called window-top-child,
16190 window-left-child, window-next-sibling and window-prev-sibling
16191 respectively.
16192 (resize-window-reset): Rename to window-resize-reset.
16193 (resize-window-reset-1): Rename to window-resize-reset-1.
16194 (resize-window): Rename to window-resize.
16195 (window-min-height, window-min-width)
16196 (resize-mini-window, resize-this-window, resize-root-window)
16197 (resize-root-window-vertically, adjust-window-trailing-edge)
16198 (enlarge-window, shrink-window, maximize-window)
16199 (minimize-window, delete-window, quit-restore-window)
16200 (split-window, balance-windows, balance-windows-area-adjust)
16201 (balance-windows-area, window-state-put-2)
16202 (display-buffer-even-window-sizes, display-buffer-set-height)
16203 (display-buffer-set-width, set-window-text-height)
16204 (fit-window-to-buffer): Rename all "resize-window" prefixed
16205 calls to use the "window-resize" prefix convention.
16206 (display-buffer-alist): Fix symbol for label specifier.
16207 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16208 corresponding specifier.
16209 Reported by Juanma Barranquero <lekktu@gmail.com>.
16210
16211 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16212
16213 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16214 convention.
16215 (ses-call-printer): Does not pass an empty string to formatter when the
16216 cell is empty to keep from barking printer Calc math-format-value.
16217
16218 2011-06-27 Richard Stallman <rms@gnu.org>
16219
16220 * battery.el (battery-mode-line-limit): New variable.
16221 (battery-update): Handle it.
16222
16223 * mail/rmailmm.el (rmail-mime-process-multipart):
16224 Handle truncated messages.
16225
16226 2011-06-27 Glenn Morris <rgm@gnu.org>
16227
16228 * progmodes/flymake.el (flymake-err-line-patterns):
16229 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16230
16231 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16232
16233 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16234 (ses--clean-!, ses--clean-_): New functions.
16235 (ses-range): Add configurability of readout order, and conversion
16236 to Calc vector.
16237
16238 * ses.el (ses-repair-cell-reference-all): New function.
16239 (ses-cell-symbol): Set macro as safe, so that it can be used in
16240 formulas.
16241
16242 * ses.el: Update cycle detection algorithm.
16243 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16244 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16245 (ses-set-localvars): New function.
16246 (ses-make-cell): Add property-list as a cell element.
16247 (ses-cell-property-get-fun, ses-cell-property-get)
16248 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16249 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16250 New functions.
16251 (ses-cell-property-set, ses-cell-property-pop)
16252 (ses-cell-property-get-handle): New macro.
16253 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16254 New aliases, used for code readability.
16255 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16256 cycle detection.
16257 (ses-self-reference-early-detection): New defcustom.
16258 (ses-formula-references): Robustify against self-referring cells.
16259 (ses-mode): Use ses-set-localvars.
16260 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16261 before lauching the update processing.
16262 (ses-initialize-Dijkstra-attempt): New function.
16263 (ses-recalculate-cell): Update for cycle detection based on
16264 Dijkstra algorithm.
16265
16266 * ses.el: Fix commenting and indenting convention.
16267
16268 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * bs.el (bs-cycle-next): Complete last change.
16271
16272 2011-06-27 Drew Adams <drew.adams@oracle.com>
16273
16274 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16275
16276 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16277
16278 * net/network-stream.el (network-stream-open-starttls):
16279 Don't re-get capabilities unless we've reestablished connection.
16280 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16281
16282 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16283 to binary to possibly avoid line encoding issues on Windows (among
16284 other things).
16285
16286 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16287
16288 * net/network-stream.el (open-network-stream): Return an :error
16289 saying what the problem was, if possible.
16290
16291 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16292 server.
16293
16294 * net/network-stream.el (network-stream-open-starttls): If we
16295 wanted to use STARTTLS, and the server offered it, but we weren't
16296 able to because we had no STARTTLS support, then close the connection.
16297 (open-network-stream): Return an :error element, if present.
16298
16299 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * hl-line.el (hl-line-sticky-flag): Doc fix.
16302 (global-hl-line-sticky-flag): New option (Bug#8323).
16303 (global-hl-line-highlight): Obey it.
16304
16305 * vc/vc.el (vc-revert-show-diff): Default to t.
16306
16307 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16308
16309 * allout-widgets.el (allout-widgets-post-command-business):
16310 Stop decorating intermediate isearch matches. They're not being
16311 undecorated when an isearch is continued past, and isearch
16312 automatically collapses them. This leads to "widget leaks", where
16313 decorated items accumulate in collapsed areas. Lines with lots of
16314 hidden widgets can slow down cursor travel, substantially.
16315 Too much complicated machinery would be needed to ensure undecoration,
16316 so we're doing without this nicety.
16317
16318 (allout-widgets-tally-string): Don't try to do a hash-table-count
16319 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16320 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16321 *Messages* when allout-widgets-maintain-tally is t.
16322
16323 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16324
16325 * window.el (display-buffer-normalize-argument): Rename to
16326 display-buffer-normalize-arguments. Handle special meaning of
16327 LABEL argument. Respect special-display-function when popping up
16328 a new frame. Fix code searching for a window showing the buffer
16329 on another frame.
16330 (display-buffer-normalize-specifiers):
16331 Call display-buffer-normalize-arguments.
16332 (display-buffer-in-window): Don't undedicate the window if its
16333 buffer remains the same.
16334 Reported by Drew Adams <drew.adams@oracle.com>.
16335 (display-buffer-alist): Add choice for same-window macro
16336 specfier.
16337 (display-buffer): Mention special meaning of LABEL argument in
16338 doc-string. Fix quoting. Don't pop up a new frame even as
16339 fallback.
16340
16341 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16342
16343 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16344 avoid deleting the current window in some cases (bug#8911).
16345
16346 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16347
16348 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16349 (Bug#8934)
16350
16351 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16352
16353 * net/network-stream.el (network-stream-open-starttls):
16354 Use built-in TLS support if `gnutls-available-p' is true.
16355 (network-stream-open-tls): Ditto.
16356
16357 2011-06-26 Leo Liu <sdl.web@gmail.com>
16358
16359 * register.el (registerv): New struct.
16360 (registerv-make): New function.
16361 (jump-to-register, describe-register-1, insert-register):
16362 Support the jump-func, print-func and insert-func slot of a registerv
16363 struct. (Bug#8415)
16364
16365 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16366
16367 * vc/vc.el (vc-revert-show-diff): New defcustom.
16368 (vc-diff-internal): New arg specifying diff buffer.
16369 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16370 reuse an existing *vc-diff* buffer (Bug#8927).
16371
16372 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16373
16374 2011-06-26 Glenn Morris <rgm@gnu.org>
16375
16376 * progmodes/f90.el (f90-critical-indent): New option.
16377 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16378 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16379 (f90-mode): Doc fix.
16380 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16381 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16382 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16383 (f90-match-end): Handle block, critical.
16384
16385 2011-06-25 Glenn Morris <rgm@gnu.org>
16386
16387 * calendar/diary-lib.el (diary-included-files): Doc fix.
16388 (diary-include-files): New function, extracted from
16389 diary-include-other-diary-files and diary-mark-included-diary-files.
16390 (diary-include-other-diary-files, diary-mark-included-diary-files):
16391 Just call diary-include-files.
16392 (diary-mark-entries): Reset diary-included-files on first call.
16393
16394 * calendar/diary-lib.el (diary-mark-entries)
16395 (diary-mark-included-diary-files):
16396 Visit included diary-files in temp buffers.
16397
16398 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16399 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16400 (f90-start-block-re, f90-imenu-generic-expression)
16401 (f90-looking-at-program-block-start, f90-no-block-limit):
16402 Add support for submodules.
16403
16404 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16405 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16406
16407 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16408
16409 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16410 buffer-file-type before setting its value, to avoid disastrous
16411 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16412
16413 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16416
16417 * ses.el (ses-unload-function):
16418 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16419
16420 * proced.el (proced-unload-function):
16421 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16422
16423 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16424
16425 * server.el (server-create-window-system-frame): Add parameters arg.
16426 (server-process-filter): Doc fix. Handle frame-parameters.
16427
16428 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16429
16430 Fix bug#8730, bug#8781.
16431
16432 * loadhist.el (unload--set-major-mode): New function.
16433 (unload-feature): Use it.
16434
16435 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16436 (python-unload-function): New function.
16437
16438 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16439
16440 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16441
16442 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16443
16444 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16445 the candidates list.
16446
16447 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16448
16449 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16450
16451 2011-06-23 Richard Stallman <rms@gnu.org>
16452
16453 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16454 (rmail-variables): Set next-error-move-function.
16455 (rmail-what-message): Take argument POS.
16456 (rmail-next-error-move): New function.
16457
16458 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16461 messages for adjacent non-terminals.
16462
16463 2011-06-23 Richard Stallman <rms@gnu.org>
16464
16465 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16466 (rmail-show-message-1): Preserve buffer modified flag.
16467 (rmail-start-mail): Don't specify use of rmail-mail-return;
16468 that's done by mail-bury now.
16469 (rmail-mail-return): Handle arg NEWBUF.
16470
16471 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16472
16473 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16474 SIZE is a number.
16475
16476 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16477
16478 * window.el (get-lru-window, get-mru-window)
16479 (get-largest-window): Never return a minibuffer window.
16480 (display-buffer-pop-up-window): Fix a bug that could lead to
16481 reusing the minibuffer window.
16482 (display-buffer): Pass original specifier argument to
16483 display-buffer-function instead of the normalized one.
16484 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16485
16486 2011-06-22 Leo Liu <sdl.web@gmail.com>
16487
16488 * minibuffer.el (completing-read-function)
16489 (completing-read-default): Move from minibuf.c.
16490
16491 2011-06-22 Richard Stallman <rms@gnu.org>
16492
16493 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16494 to Rmail even if not started by a special Rmail command.
16495
16496 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16497 Copy the buffer currently showing just one message.
16498
16499 2011-06-22 Roland Winkler <winkler@gnu.org>
16500
16501 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16502 (bibtex-clean-entry): First delete the old key so that a
16503 customized algorithm for generating the new key does not get
16504 confused by the old key.
16505 (bibtex-url): Obey regexp of first step.
16506 (bibtex-search-entries): Do not use add-to-list with local
16507 list-var.
16508
16509 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16510
16511 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16512 stored a user name, then query for the password first, instead of
16513 waiting for SMTP to give an error message and the trying again.
16514
16515 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16516
16517 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16518 BUFFER in call-process.
16519
16520 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16521
16522 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16523 QUIT twice.
16524 (smtpmail-try-auth-methods): Require user name and password from
16525 auth-source.
16526
16527 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16528
16529 * window.el (display-buffer-default-specifiers)
16530 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16531 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16532 (split-window): Normalize SIDE argument (Bug#8916).
16533
16534 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16535 (special-display-frame-alist, special-display-popup-frame):
16536 Remove duplicate declarations. These are now in window.el.
16537
16538 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16539
16540 * mail/smtpmail.el (smtpmail-via-smtp):
16541 Set :use-starttls-if-possible so that we always use STARTTLS if the
16542 server supports it. SMTP servers that support STARTTLS commonly
16543 require it.
16544
16545 * net/network-stream.el (network-stream-open-starttls): Support
16546 upgrading to STARTTLS always, even if we don't have built-in support.
16547 (open-network-stream): Add the :always-query-capabilities keyword.
16548
16549 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16550 upgrades with `open-network-stream', and rely solely on
16551 auth-source for all credentials. Big changes throughout the file,
16552 but in particular:
16553 (smtpmail-auth-credentials): Remove.
16554 (smtpmail-starttls-credentials): Remove.
16555 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16556 MAIL FROM, too.
16557
16558 * net/network-stream.el (network-stream-open-starttls):
16559 Provide support for client certificates both for external and built-in
16560 STARTTLS.
16561 (auth-source): Require.
16562 (open-network-stream): Document the :client-certificate keyword.
16563 (network-stream-certificate): Change cert-cert to cert and
16564 cert-key to key.
16565
16566 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16567
16568 * net/tramp-cache.el (top): Don't load the persistency file when
16569 "emacs -Q" has been called.
16570
16571 2011-06-21 Tim Harper <timcharper@gmail.com>
16572
16573 * term/ns-win.el (ns-initialize-window-system):
16574 Set application-specific `ApplePressAndHoldEnabled' system
16575 resource to NO as it is not yet supported by the NS port.
16576
16577 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16578
16579 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16580 (list-dynamic-libraries): ...not here.
16581
16582 2011-06-21 Leo Liu <sdl.web@gmail.com>
16583
16584 * subr.el (sha1): Implement sha1 using secure-hash.
16585
16586 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16587
16588 * window.el (display-buffer-alist): In default value do not
16589 enforce searching a window on any but the selected frame.
16590 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16591 (display-buffer-select-window): Remove function.
16592 (display-buffer-in-window): When a window on another frame gets
16593 reused, do not select it any more but just raise its frame if
16594 necessary (Bug#8851) and (Bug#8856).
16595 (display-buffer-normalize-options): Handle pop-up-frames related
16596 options more faithfully.
16597 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16598 window if it is on another frame.
16599 (display-buffer-alist, display-buffer-default-specifiers):
16600 Don't make new frame unsplittable by default.
16601 (display-buffer-normalize-argument): Fix doc-string typo and use
16602 'same-frame-other-window instead of 'other-window when associating
16603 with display-buffer-macro-specifiers.
16604
16605 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16606
16607 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16608 New functions.
16609 (5x5-mode-map, 5x5-mode-menu): Bind them.
16610 (5x5-draw-grid): Tweak the solver's rendering.
16611
16612 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16613
16614 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16615 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16616
16617 2011-06-21 Drew Adams <drew.adams@oracle.com>
16618
16619 * menu-bar.el: Use function variable instead of switch-to-buffer.
16620 (menu-bar-select-buffer-function): New variable.
16621 (menu-bar-update-buffers): Use it (bug#8876).
16622
16623 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16626 variable's status.
16627
16628 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16629
16630 * x-dnd.el (x-dnd-version-from-flags)
16631 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16632 and long as number (Bug#8899).
16633 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16634
16635 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16636
16637 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16638 (completion-try-completion, completion-all-completions): Compute the
16639 metadata argument if it's missing; make it optional (bug#8795).
16640
16641 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16642 (widget-complete): Use new :completion-function property.
16643 (widget-completions-at-point): New function.
16644 (default): Use :completion-function instead of :complete.
16645 (widget-default-completions): Rename from widget-default-complete;
16646 Rewrite.
16647 (widget-string-complete, widget-file-complete, widget-color-complete):
16648 Remove functions.
16649 (file, symbol, function, variable, coding-system, color):
16650 * international/mule-cmds.el (default-input-method, charset)
16651 (language-info-custom-alist):
16652 * cus-edit.el (face): Use new property :completions.
16653
16654 * progmodes/pascal.el (pascal-completions-at-point): New function.
16655 (pascal-mode): Use it.
16656 (pascal-mode-map): Use completion-at-point.
16657 (pascal-toggle-completions): Make obsolete.
16658 (pascal-complete-word, pascal-show-completions):
16659 * progmodes/octave-mod.el (octave-complete-symbol):
16660 Redefine as obsolete alias.
16661 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16662 Signal absence of completion info for old Octave,
16663 (inferior-octave-complete): Redefine as obsolete alias.
16664 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16665 (meta-completions-at-point): Rename from meta-complete-symbol and
16666 adapt it for use on completion-at-point-functions.
16667 (meta-common-mode): Use it.
16668 (meta-looking-at-backward, meta-match-buffer): Remove.
16669 (meta-complete-symbol): Redefine as obsolete alias.
16670 (meta-common-mode-map): Use completion-at-point.
16671 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16672 (makefile-mode-map): Use completion-at-point.
16673 (makefile-completions-at-point): Rename from makefile-complete and
16674 adapt it for use on completion-at-point-functions.
16675 (makefile-mode): Use it.
16676 (makefile-complete): Redefine as obsolete alias.
16677
16678 2011-06-20 Deniz Dogan <deniz@dogan.se>
16679
16680 * net/rcirc.el: Delete trailing whitespaces once and for all.
16681
16682 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16683
16684 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16685
16686 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16687
16688 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16689
16690 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16691
16692 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16693
16694 * window.el (display-buffer-other-window-means-other-frame):
16695 Call display-buffer-normalize-alist.
16696 (display-buffer-normalize-specifiers-1): Rename to
16697 display-buffer-normalize-argument. New argument other-frame.
16698 Rewrite.
16699 (display-buffer-normalize-specifiers-2): Rename to
16700 display-buffer-normalize-options.
16701 (display-buffer-normalize-alist-1): New function.
16702 (display-buffer-normalize-specifiers-3): Rename to
16703 display-buffer-normalize-alist.
16704 Call display-buffer-normalize-alist-1.
16705 (display-buffer-normalize-options-inhibit): New variable.
16706 (display-buffer-normalize-specifiers): Rewrite calling
16707 display-buffer-normalize-alist,
16708 display-buffer-normalize-argument, and
16709 display-buffer-normalize-options. Don't call the latter if
16710 display-buffer-normalize-options-inhibit is non-nil.
16711 (frame-auto-delete): New option.
16712 (window-deletable-p): Use frame-auto-delete.
16713 (window-list-no-nils, window-state-ignored-parameters)
16714 (window-state-get-1, window-state-get, window-state-put-list)
16715 (window-state-put-1, window-state-put-2, window-state-put):
16716 New functions.
16717 (display-buffer-normalize-options): Move special-display-p group
16718 after pop-up-frame group (Bug#8851) and (Bug#8856).
16719
16720 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16721
16722 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16723 groups (Bug#8776).
16724 (rx-submatch-n): New function.
16725 (rx): Document it.
16726
16727 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16728 (Bug#8768).
16729
16730 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16731
16732 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16733
16734 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16735 anytime existing face settings are present (Bug#8889).
16736
16737 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16738 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16739 Remove unused argument.
16740
16741 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16742
16743 * window.el (display-buffer-default-specifiers):
16744 Remove pop-up-frame. Add pop-up-window-min-height,
16745 pop-up-window-min-width, and another reuse-window specifier
16746 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16747 (display-buffer-normalize-specifiers-2):
16748 Handle split-height-threshold and split-width-threshold also when
16749 pop-up-windows is unset. Add a reuse-window specifier for the
16750 case popping up a new window fails.
16751 (special-display-popup-frame): Remove double quoting.
16752 (display-buffer-normalize-specifiers-1): Fix thinko.
16753
16754 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16757 according to comint-completion-addsuffix.
16758
16759 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16760 (pcomplete-suffix-list): Mark as obsolete.
16761 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16762 pcomplete-seen in the closure.
16763 (pcomplete-comint-setup): Setup completion-at-point as well.
16764 (pcomplete--entries): New function.
16765 (pcomplete--env-regexp): New var.
16766 (pcomplete-entries): Rewrite to work with partial-completion and
16767 without relying on pcomplete-suffix-list.
16768 (pcomplete-pare-list): Remove, unused.
16769
16770 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16771
16772 * window.el (display-buffer-alist): Set pop-up-window-min-height
16773 and pop-up-window-min-width in default value. Reported by
16774 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16775 other-window-means-other-frame.
16776 (display-buffer-macro-specifiers): Comment out entry for
16777 other-window specifier.
16778 (display-buffer-other-window-means-other-frame): New function.
16779 (display-buffer-normalize-specifiers-1): New arguments
16780 buffer-name and label. Treat other-window case specially.
16781 (display-buffer-normalize-specifiers-2): Treat other-window case
16782 specially.
16783 (display-buffer-normalize-specifiers-3): New function.
16784 (display-buffer-normalize-specifiers):
16785 Call display-buffer-normalize-specifiers-3.
16786
16787 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16788
16789 * window.el (same-window-p): Fix two typos introduced when
16790 adding with-no-warnings.
16791 (display-buffer-normalize-specifiers-1): Don't check
16792 pop-up-frames for 'unset initialization.
16793 (display-buffer-normalize-specifiers-2): Major rewrite using
16794 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16795 (pop-up-frames, display-buffer-reuse-frames)
16796 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16797 Suggested by David Engster <deng@randomsample.de>.
16798 (even-window-heights): Initialize to 'unset.
16799 (display-buffer-alist-set): Handle new 'unset initializations.
16800 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16801 other window case.
16802
16803 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16804
16805 * window.el (display-buffer-normalize-specifiers-1):
16806 Respect current value of pop-up-frames for most reasonable values of
16807 second argument of display-buffer (Bug#8865).
16808 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16809 (switch-to-buffer-other-window-same-frame)
16810 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16811 Adams (Bug#8875).
16812 (display-buffer): Don't check noninteractive when calling
16813 display-buffer-pop-up-frame.
16814 (display-buffer-pop-up-frame): Never pop up a frame in
16815 noninteractive mode (Bug#8857).
16816 (enlarge-window, shrink-window): Don't report an error when the
16817 window can't be resized as requested (Bug#8862).
16818
16819 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16822
16823 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16824
16825 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16826
16827 2011-06-15 Alan Mackenzie <acm@muc.de>
16828
16829 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16830 for declarators, disable knr checking to speed up for normal files.
16831 2: Refactor, replacing a sequence of nested if forms by a cond form.
16832
16833 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16834
16835 * net/network-stream.el (open-network-stream): Add the keyword
16836 :always-query-capabilities for the case where you want to force a
16837 `plain' network connection, but the protocol still requires the
16838 capabilitiy command (i.e., SMTP and EHLO).
16839
16840 * subr.el (process-live-p): Rename from `process-alive-p' for
16841 consistency with other `-live-p' functions.
16842
16843 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16844
16845 * window.el (same-window-buffer-names, same-window-regexps)
16846 (special-display-frame-alist, special-display-popup-frame)
16847 (special-display-function, special-display-buffer-names)
16848 (special-display-regexps, pop-up-frame-alist)
16849 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16850 (pop-up-windows, split-window-preferred-function)
16851 (split-height-threshold, split-width-threshold, even-window-heights)
16852 (display-buffer-mark-dedicated): Don't encourage the use of
16853 display-buffer-alist from Elisp code.
16854
16855 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16856
16857 * progmodes/python.el (python-mode): Derive from prog-mode.
16858 * progmodes/ps-mode.el (ps-mode):
16859 * progmodes/mixal-mode.el (mixal-mode):
16860 * progmodes/cfengine.el (cfengine-mode):
16861 * progmodes/ld-script.el (ld-script-mode): Likewise.
16862
16863 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16864
16865 * window.el (display-buffer-alist): Trim default value to avoid
16866 popping up a new frame (Bug#8857) or reusing an arbitrary window
16867 on another frame.
16868 (display-buffer): Do not fall back on popping up a new frame in
16869 batch mode (Bug#8857).
16870
16871 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16872
16873 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16874 (custom-theme-summary): New function.
16875 (customize-themes): Use it.
16876
16877 2011-06-13 Glenn Morris <rgm@gnu.org>
16878
16879 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16880
16881 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16882
16883 * help.el (help-window): Remove variable.
16884 (help-window-point-marker, temp-buffer-max-height)
16885 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16886 (help-print-return-message): Don't set help-window.
16887 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16888 (help-window-setup-finish): Remove.
16889 (help-window-display-message, help-window-setup)
16890 (with-help-window): Major rewrite based on new
16891 display-buffer-window variable.
16892
16893 * help-mode.el (help-mode-finish): Remove help-window related
16894 code.
16895
16896 * view.el (view-exits-all-viewing-windows): Remove reference to
16897 view-return-to-alist in doc-string.
16898 (view-return-to-alist): Make obsolete.
16899 (view-buffer): Call pop-to-buffer-same-window and remove
16900 undo-window code.
16901 (view-buffer-other-window): Call pop-to-buffer-other-window and
16902 simplify code. Ignore second argument.
16903 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16904 simplify code. Ignore second argument.
16905 (view-return-to-alist-update): Make obsolete.
16906 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16907 Rewrite using quit-restore window parameters.
16908 (view-mode-exit): Rename second argument to EXIT-ONLY.
16909 Rewrite using quit-restore-window.
16910 (View-exit, View-exit-and-edit, View-leave, View-quit)
16911 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16912 appropriate arguments.
16913 (view-end-message): Use quit-restore window parameter.
16914
16915 * window.el (display-buffer-function): Rewrite doc-string.
16916 (display-buffer-window, display-buffer-alist): New variables.
16917 (display-buffer-split-specifiers)
16918 (display-buffer-side-specifiers)
16919 (display-buffer-macro-specifiers): New constants.
16920 (display-buffer-even-window-sizes, display-buffer-set-height)
16921 (display-buffer-set-width, display-buffer-select-window)
16922 (display-buffer-in-window, display-buffer-reuse-window)
16923 (display-buffer-split-window-1, display-buffer-split-window)
16924 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16925 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16926 (display-buffer-in-side-window, normalize-buffer-to-display)
16927 (display-buffer-normalize-specifiers-1)
16928 (display-buffer-normalize-specifiers-2)
16929 (display-buffer-normalize-specifiers, display-buffer-frame):
16930 New functions.
16931 (display-buffer): Major rewrite.
16932 (display-buffer-other-window, display-buffer-other-frame)
16933 (pop-to-buffer, switch-to-buffer-other-window)
16934 (switch-to-buffer-other-frame): Rewrite.
16935 (display-buffer-same-window, display-buffer-same-frame)
16936 (display-buffer-same-frame-other-window)
16937 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16938 (pop-to-buffer-other-window)
16939 (pop-to-buffer-same-frame-other-window)
16940 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16941 (switch-to-buffer-other-window-same-frame): New functions.
16942 (same-window-p, special-display-p): Rewrite disabling warnings.
16943 Make obsolete.
16944 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16945 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16946 Make obsolete
16947 (same-window-buffer-names, same-window-regexps)
16948 (special-display-frame-alist, special-display-popup-frame)
16949 (special-display-function, special-display-buffer-names)
16950 (special-display-regexps, pop-up-frame-alist)
16951 (pop-up-frame-function, split-window-preferred-function)
16952 (split-height-threshold, split-width-threshold)
16953 (even-window-heights): Make obsolete.
16954
16955 2011-06-12 Glenn Morris <rgm@gnu.org>
16956
16957 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16958 Misc simplifications.
16959
16960 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16961
16962 * window.el (window-safely-shrinkable-p): Restore function which
16963 was inadvertently removed in change from 2011-06-11. Declare as
16964 obsolete.
16965
16966 * calendar/calendar.el (calendar-generate-window):
16967 Use window-iso-combined-p instead of combination of one-window-p and
16968 window-safely-shrinkable-p.
16969
16970 2011-06-12 Glenn Morris <rgm@gnu.org>
16971
16972 * progmodes/fortran.el (fortran-mode-syntax-table):
16973 * progmodes/f90.el (f90-mode-syntax-table):
16974 Set % to punctuation. (Bug#8820)
16975 (f90-find-tag-default): Remove, no longer needed.
16976
16977 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16978
16979 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16980
16981 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16982
16983 * image.el (image-animated-p): Return animation delay in seconds.
16984 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16985 (image-animate-timeout): Remove DELAY argument. Don't assume
16986 every subimage has the same delay; get it from image-animated-p.
16987 (image-animate): Caller changed.
16988
16989 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16990
16991 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16992 to ignored backtrace functions.
16993
16994 2011-06-11 Glenn Morris <rgm@gnu.org>
16995
16996 * calendar/appt.el (appt-disp-window-function): Doc fix.
16997 (appt-check): Handle overlapping appointments. (Bug#8337)
16998
16999 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17000
17001 * window.el (window-tree-1, window-tree): New functions, moving
17002 the latter to window.el.
17003 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17004 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17005 (bw-refresh-edges): Remove.
17006 (balance-windows-1, balance-windows-2): New functions.
17007 (balance-windows): Rewrite in terms of window tree functions,
17008 balance-windows-1 and balance-windows-2.
17009 (bw-adjust-window): Remove.
17010 (balance-windows-area-adjust): New function with functionality of
17011 bw-adjust-window but using resize-window.
17012 (set-window-text-height): Rewrite doc-string.
17013 Use normalize-live-window and resize-window.
17014 (enlarge-window-horizontally, shrink-window-horizontally):
17015 Rename argument to DELTA.
17016 (window-buffer-height): New function.
17017 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17018 Rewrite using new window resize routines.
17019 (kill-buffer-and-window, mouse-autoselect-window-select):
17020 Use ignore-errors instead of condition-case.
17021 (quit-window): Call delete-frame instead of delete-windows-on
17022 for the only buffer on frame.
17023
17024 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17025
17026 * loadup.el (top-level): Load window before files for the sake
17027 of replace-buffer-in-windows.
17028
17029 * files.el (read-buffer-to-switch)
17030 (switch-to-buffer-other-window)
17031 (switch-to-buffer-other-frame, display-buffer-other-frame):
17032 Move to window.el.
17033
17034 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17035 (previous-buffer): Move to window.el.
17036
17037 * bindings.el (unbury-buffer): Move to window.el.
17038
17039 * window.el (delete-other-windows-vertically): Move after
17040 definition of delete-other-windows.
17041 (other-window, delete-windows-on, replace-buffer-in-windows):
17042 Move here from window.c.
17043 (record-window-buffer, unrecord-window-buffer)
17044 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17045 (switch-to-next-buffer): New functions.
17046 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17047 from simple.el. Call switch-to-next-buffer.
17048 (previous-buffer): Move here from simple.el.
17049 Call switch-to-prev-buffer.
17050 (bury-buffer): Move here from buffer.c. Switch to previous
17051 buffer when window cannot be deleted.
17052 (unbury-buffer): Move here from bindings.el.
17053 (ctl-x-map): Move binding for other-window from window.c to
17054 here.
17055 (read-buffer-to-switch, switch-to-buffer-other-window)
17056 (switch-to-buffer-other-frame): Move here from files.el.
17057 (normalize-buffer-to-switch-to): New functions.
17058 (switch-to-buffer): Move here from buffer.c.
17059 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17060
17061 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17062
17063 * window.el (window-min-height, window-min-width): Move here
17064 from window.c. Add defcustoms and rewrite doc-strings.
17065 (resize-mini-window, resize-window): New functions.
17066 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17067 Move here from window.c.
17068 (maximize-window, minimize-window): New functions.
17069 (delete-window, delete-other-windows, split-window): Move here
17070 from window.c.
17071 (window-split-min-size): New function.
17072 (split-window-keep-point): Mention split-window-above-each-other
17073 instead of split-window-vertically.
17074 (split-window-above-each-other, split-window-vertically):
17075 Rename split-window-vertically to split-window-above-each-other
17076 and provide defalias for old definition.
17077 (split-window-side-by-side, split-window-horizontally):
17078 Rename split-window-horizontally to split-window-side-by-side
17079 and provide defalias for the old definition.
17080 (ctl-x-map): Move bindings for delete-window,
17081 delete-other-windows and enlarge-window here from window.c.
17082 Replace bindings for split-window-vertically and
17083 split-window-horizontally by bindings for
17084 split-window-above-each-other and split-window-side-by-side.
17085
17086 * cus-start.el (all): Remove entries for window-min-height and
17087 window-min-width. Add entries for window-splits and
17088 window-nest.
17089
17090 2011-06-09 Glenn Morris <rgm@gnu.org>
17091
17092 * calendar/appt.el (appt-mode-line): New function.
17093 (appt-check, appt-disp-window): Use it.
17094
17095 * files.el (hack-one-local-variable-eval-safep):
17096 Allow minor-modes with explicit +/-1 arguments.
17097
17098 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17099
17100 * term/xterm.el (xterm): Add defgroup.
17101 (xterm-extra-capabilities): Add defcustom to supply known xterm
17102 capabilities, skip querying them, or query them (default).
17103 (terminal-init-xterm): Use it.
17104 (terminal-init-xterm-modify-other-keys): New function to set up
17105 modifyOtherKeys support to simplify `terminal-init-xterm'.
17106
17107 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17108
17109 * window.el (resize-window-reset, resize-window-reset-1)
17110 (resize-subwindows-skip-p, resize-subwindows-normal)
17111 (resize-subwindows, resize-other-windows, resize-this-window)
17112 (resize-root-window, resize-root-window-vertically)
17113 (window-deletable-p, window-or-subwindow-p)
17114 (frame-root-window-p): New functions.
17115
17116 2011-06-09 Glenn Morris <rgm@gnu.org>
17117
17118 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17119 (ange-ftp-get-files): Use it.
17120
17121 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17122
17123 * mail/sendmail.el (mail-recover-1, mail-recover):
17124 * files.el (recover-file, recover-session):
17125 Handle dired-listing-switches not being just a single short option.
17126
17127 2011-06-09 Glenn Morris <rgm@gnu.org>
17128
17129 * calendar/appt.el (appt-display-message, appt-disp-window):
17130 Handle lists of appointments.
17131
17132 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17133
17134 * window.el (one-window-p): Move down in code.
17135 Rewrite doc-string.
17136 (window-current-scroll-bars): Rewrite doc-string.
17137 Normalize live window argument.
17138 (walk-windows, get-window-with-predicate, count-windows):
17139 Rewrite doc-string. Use window-list-1.
17140 (window-in-direction-2, window-in-direction, get-mru-window):
17141 New functions.
17142
17143 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17144
17145 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17146 Doc fix (Bug#8713).
17147
17148 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17149
17150 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17151
17152 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17153
17154 * loadhist.el (unload-feature-special-hooks):
17155 Add `comint-output-filter-functions'.
17156
17157 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17158
17159 * calendar/appt.el (appt-check): Move some initializations into the let.
17160
17161 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17162
17163 * window.el (window-height): Defalias to window-total-height.
17164 (window-width): Defalias to window-body-width.
17165
17166 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17167
17168 * image-mode.el (image-toggle-animation): New command.
17169 (image-mode-map): Bind it to RET.
17170 (image-mode): Update message.
17171 (image-toggle-display-image): Avoid a spurious cache flush.
17172 (image-transform-rotation): Doc fix.
17173 (image-transform-properties): Return quickly in the normal case.
17174 (image-animate-loop): Rename from image-animate-max-time.
17175
17176 * image.el (image-animate-max-time): Move to image-mode.el.
17177 (create-animated-image): Remove unnecessary function.
17178 (image-animate): Rename from image-animate-start. New arg.
17179 (image-animate-stop): Remove; just use image-animate-timer.
17180 (image-animate-timer): Use car-safe.
17181 (image-animate-timeout): Rename argument.
17182
17183 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17184
17185 * window.el (get-lru-window, get-largest-window): Move here from
17186 window.c. Rename first argument to ALL-FRAMES.
17187 Rephrase doc-strings.
17188 (get-buffer-window-list): Rewrite using window-list-1.
17189 Rephrase doc-string.
17190 (window-safe-min-height, window-safe-min-width): New constants.
17191 (window-size-ignore, window-min-size, window-min-size-1)
17192 (window-sizable, window-sizable-p, window-size-fixed-1)
17193 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17194 (window-max-delta-1, window-max-delta, window-resizable)
17195 (window-resizable-p, window-total-height, window-total-width)
17196 (window-body-width): New functions.
17197 (window-full-height-p, window-full-width-p): Rewrite using
17198 window-total-size.
17199 (window-body-height): Rewrite using window-body-size.
17200
17201 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17202
17203 * window.el (window-right, window-left, window-child)
17204 (window-child-count, window-last-child, window-any-p)
17205 (normalize-live-buffer, normalize-live-frame)
17206 (normalize-any-window, normalize-live-window)
17207 (window-iso-combination-p, window-iso-combined-p)
17208 (window-iso-combinations)
17209 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17210 (windows-with-parameter, window-with-parameter)
17211 (window-atom-root, make-window-atom, window-atom-check-1)
17212 (window-atom-check, window-side-check, window-check):
17213 New functions.
17214 (ignore-window-parameters, window-sides, window-sides-vertical)
17215 (window-sides-slots): New variables.
17216 (window-size-fixed): Move down in code. Minor doc-string fix.
17217
17218 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17219
17220 * comint.el (comint-dynamic-complete-as-filename)
17221 (comint-dynamic-complete-filename): Correctly call
17222 completion-in-region.
17223
17224 2011-06-05 Deniz Dogan <deniz@dogan.se>
17225
17226 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17227 in last change.
17228
17229 2011-06-05 Deniz Dogan <deniz@dogan.se>
17230
17231 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17232 (rcirc): Use it to prompt for encryption.
17233
17234 2011-06-05 Roland Winkler <winkler@gnu.org>
17235
17236 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17237 (bibtex-search-entries): New command bound to C-c C-a.
17238 (bibtex-display-entries): New function.
17239
17240 2011-06-05 Roland Winkler <winkler@gnu.org>
17241
17242 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17243 (bibtex-insert-kill): After yanking insert newline if necessary.
17244 (bibtex-initialize): Call bibtex-string-files-init only once.
17245 (bibtex-mode): Do not call easy-menu-add.
17246 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17247 (bibtex-yank): Set arg properly if nil.
17248
17249 2011-06-05 Roland Winkler <winkler@gnu.org>
17250
17251 * textmodes/bibtex.el (bibtex-search-entry-globally):
17252 New variable.
17253 (bibtex-search-entry): Use it.
17254
17255 2011-06-05 Roland Winkler <winkler@gnu.org>
17256
17257 * textmodes/bibtex.el (bibtex-entry-format): New option
17258 sort-fields.
17259 (bibtex-format-entry, bibtex-reformat): Honor this option.
17260 (bibtex-parse-entry): Return fields in proper order.
17261
17262 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17263
17264 * doc-view.el (doc-view-remove-if): Move computation of result out
17265 of `dolist' to silence misleading lexical-binding warning.
17266
17267 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17268
17269 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17270 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17271
17272 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17273
17274 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17275 "SunOS 5.10".
17276
17277 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17278
17279 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17280 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17281 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17282 (tramp-parse-putty):
17283 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17284 (tramp-completion-function-alist-ssh)
17285 (tramp-completion-function-alist-telnet)
17286 (tramp-completion-function-alist-su)
17287 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17288 cookie.
17289
17290 * net/tramp-ftp.el:
17291 * net/tramp-sh.el:
17292 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17293 load "tramp.el" `tramp-set-completion-function'.
17294
17295 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17296
17297 * shell.el: Require and use pcomplete.
17298 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17299 (shell-completion-vars): Set pcomplete-default-completion-function.
17300
17301 2011-06-04 Deniz Dogan <deniz@dogan.se>
17302
17303 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17304 `memq' (Bug#8799).
17305
17306 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17307
17308 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17309
17310 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17311
17312 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17313 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17314 * vc/log-view.el (log-view-beginning-of-defun):
17315 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17316 (smerge-refine-forward, smerge-refine-chopup-region):
17317 Silence warning for unused `dotimes' counter variables.
17318
17319 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17320
17321 * net/tramp.el (tramp-with-progress-reporter): Rename from
17322 with-progress-reporter. Use `declare'.
17323 * net/tramp-smb.el:
17324 * net/tramp-sh.el:
17325 * net/tramp-gvfs.el: Update all uses.
17326
17327 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17328
17329 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17330 buffer isn't killed before making it current.
17331
17332 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 Silence various byte-compiler warnings.
17335 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17336 `access-type' and new obsolescence format.
17337 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17338 new format.
17339 (byte-compile-check-variable): New `access-type' argument.
17340 Only warn if the access-type is obsolete.
17341 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17342 (byte-compile-variable-set): Adjust callers.
17343 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17344 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17345 setting it as obsolete.
17346 * simple.el (minibuffer-completing-symbol):
17347 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17348 access as obsolete.
17349 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17350 obsolete yet.
17351 * international/quail.el (quail-mouse-choose-completion): Remove unused
17352 code referring to obsolete var.
17353 (quail-choose-completion-string): Remove.
17354 * server.el (server-clients-with, server-kill-buffer-query-function)
17355 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17356 * proced.el (proced-send-signal):
17357 * emacs-lisp/lisp.el (lisp-complete-symbol):
17358 Replace completion-annotate-function with completion-extra-properties.
17359
17360 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17361
17362 * simple.el (goto-line): Use read-number.
17363 (overriding-map-is-bound): Remove.
17364 (saved-overriding-map): Change default.
17365 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17366 Take the map as argument.
17367 (universal-argument, negative-argument, digit-argument): Use it.
17368 (restore-overriding-map): Adjust.
17369 (do-auto-fill): Use fill-forward-paragraph.
17370 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17371
17372 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17373 (minibuffer-inactive-mode): New major mode.
17374 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17375 the *Messages* buffer" hack.
17376 (mouse-popup-menubar): Don't burp if the event is a normal key.
17377
17378 Miscellaneous tweaks.
17379 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17380 lexical scoping as in subr.el's dolist and dotimes.
17381 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17382 Silence compiler warning.
17383 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17384 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17385 * international/ccl.el (ccl-compile): Trivial simplification.
17386 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17387 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17388 `printflag' argument.
17389 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17390 Purecopy the whole obsolescence data.
17391
17392 2011-06-01 Leo Liu <sdl.web@gmail.com>
17393
17394 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17395 improve doc-string as suggested by Marco Pessotto
17396 <melmothx@gmail.com>.
17397 (rcirc-print): Fix last change.
17398
17399 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17400
17401 * minibuffer.el (complete-with-action): Return nil for the metadata and
17402 boundaries of non-functional tables.
17403 (completion-table-dynamic): Return nil for the metadata.
17404 (completion-table-with-terminator): Add default case, using
17405 complete-with-action.
17406 (completion--metadata): New function.
17407 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17408 to try and avoid pathological performance problems.
17409 (completion--embedded-envvar-table): Return `category' metadata.
17410
17411 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17412
17413 * subr.el (process-alive-p): New tiny convenience function.
17414
17415 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17416
17417 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17418 content but also its previous major mode.
17419
17420 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17421
17422 * emacs-lisp/debug.el (debug): Restore the previous content of the
17423 *Backtrace* buffer when we exit with C-M-c.
17424
17425 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17426
17427 * minibuffer.el: Add metadata method to completion tables.
17428 (completion-category-overrides): New defcustom.
17429 (completion-metadata, completion--field-metadata)
17430 (completion-metadata-get, completion--styles)
17431 (completion--cycle-threshold): New functions.
17432 (completion-try-completion, completion-all-completions):
17433 Add `metadata' argument to choose completion-styles.
17434 (completion--do-completion): Use metadata to choose cycling.
17435 (completion-all-sorted-completions): Use metadata for sorting.
17436 Remove :completion-cycle-penalty which is not needed any more.
17437 (completion--try-word-completion): Add `metadata' argument.
17438 (minibuffer-completion-help): Check metadata for annotation function
17439 and sorting.
17440 (completion-file-name-table): Return `category' metadata.
17441 (minibuffer-completing-file-name): Make obsolete.
17442 * simple.el (minibuffer-completing-symbol): Make obsolete.
17443 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17444 completion-try-completion.
17445
17446 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17447
17448 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17449
17450 2011-05-30 Leo Liu <sdl.web@gmail.com>
17451
17452 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17453 (rcirc-print): Decode all incoming messages (bug#8744).
17454 (rcirc-decode-coding-system): Allow value nil for automatic coding
17455 system detection.
17456
17457 2011-06-01 Glenn Morris <rgm@gnu.org>
17458
17459 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17460
17461 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17462
17463 * image.el (image-animate-max-time): Allow nil and t values.
17464 Default to nil.
17465 (create-animated-image): Doc fix.
17466 (image-animate-start): Remove second arg; just use
17467 image-animate-max-time.
17468 (image-animate-timeout): Doc fix. Args changed.
17469
17470 * image-mode.el (image-toggle-display-image): Ensure that the
17471 image spec passed to the animate timer is the same object as in
17472 the buffer's display property (Bug#6981).
17473 (image-transform-properties): Doc fix.
17474
17475 * image.el (image-animate-max-time): Default to nil.
17476
17477 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17478
17479 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17480 entire buffer list (Bug#8184).
17481
17482 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17483
17484 * image.el (imagemagick-types-inhibit)
17485 (imagemagick-register-types): Doc fix.
17486
17487 2011-05-29 Deniz Dogan <deniz@dogan.se>
17488
17489 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17490 default.
17491
17492 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17493
17494 * select.el: Don't perform clipboard-manager saving in hooks;
17495 leave the hooks empty.
17496
17497 2011-05-28 Leo Liu <sdl.web@gmail.com>
17498
17499 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17500 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17501 (occur-edit-mode): New major mode (Bug#8463).
17502 (occur-after-change-function): New function.
17503 (occur-engine): Give Occur tags a read-only property.
17504
17505 2011-05-28 Kevin Ryde <user42@zip.com.au>
17506
17507 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17508
17509 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17510
17511 * bindings.el (help-echo): Make the initial non-indicator dash
17512 empty on graphical terminals (Bug#7295).
17513
17514 * files.el (auto-mode-alist): Move config rule after the
17515 in-stripping one (Bug#8547).
17516
17517 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17518
17519 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17520 setting (Bug#8740).
17521
17522 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17523
17524 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17525 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17526 (Bug#8539).
17527
17528 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17529
17530 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17531
17532 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17533
17534 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17535 (hs-hide-block-at-point, hs-find-block-beginning)
17536 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17537 (Bug#8279).
17538
17539 2011-05-28 Glenn Morris <rgm@gnu.org>
17540
17541 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17542
17543 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17544
17545 * help-fns.el (describe-function-1): If the function is a derived
17546 major mode, print the parent mode.
17547
17548 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17549 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17550
17551 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * minibuffer.el (completion--capf-wrapper): Check applicability before
17554 returning non-nil for non-exclusive completion data.
17555 * progmodes/etags.el (tags-completion-at-point-function):
17556 * info-look.el (info-lookup-completions-at-point): Mark as
17557 non-exclusive.
17558 (info-complete): Adjust accordingly.
17559
17560 * info-look.el: Convert to lexical-binding and completion-at-point.
17561 (info-lookup-completions-at-point): New function.
17562 (info-complete): Use it and completion-in-region.
17563
17564 2011-05-28 Drew Adams <drew.adams@oracle.com>
17565
17566 * isearch.el: Let M-e start with point at the first mismatched char.
17567 (isearch-fail-pos): New function.
17568 (isearch-edit-string): Use it.
17569
17570 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17571
17572 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17573
17574 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17575
17576 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17577 traversal functions for avl-trees.
17578 (avl-tree--stack): New struct.
17579 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17580 (avl-tree-enter): Add optional `updatefun' arg.
17581 (avl-tree--do-enter): Add optional `updatefun' arg.
17582 Change return value.
17583 (avl-tree-delete): Add optional `test' and `nilflag' args.
17584 (avl-tree--do-delete): Add `test' and `nilflag' args.
17585 Change return value.
17586 (avl-tree-member): Add optional `nilflag'
17587 (avl-tree-member-p): New function.
17588 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17589 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17590 (avl-tree-stack-empty-p): New functions.
17591
17592 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17593 avl-tree--del-balance1 and make it work both ways.
17594 (avl-tree--del-balance2): Remove.
17595 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17596 make it work both ways.
17597 (avl-tree--enter-balance2): Remove.
17598 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17599 New macros.
17600 (avl-tree--mapc, avl-tree-map): Add direction argument.
17601
17602 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17603
17604 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17605
17606 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17607
17608 * select.el: Support clipboard managers with built-in function
17609 x-clipboard-manager-save, via delete-frame-functions and
17610 kill-emacs-hook.
17611 (xselect-convert-to-targets): Add MULTIPLE target to list.
17612 (xselect-convert-to-save-targets): New function.
17613
17614 2011-05-27 Kenichi Handa <handa@m17n.org>
17615
17616 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17617 let-binding rfc2047-encode-encoded-words to nil.
17618
17619 2011-05-27 Glenn Morris <rgm@gnu.org>
17620
17621 * mail/emacsbug.el: Don't require url-util.
17622
17623 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17624
17625 * files.el (set-auto-mode):
17626 Also respect mode: entries at the end of the file. (Bug#8586)
17627
17628 2011-05-26 Glenn Morris <rgm@gnu.org>
17629
17630 * files.el (hack-local-variables-prop-line, hack-local-variables):
17631 Downcase mode names, as seems to be traditional.
17632 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17633
17634 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17635 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17636
17637 2011-05-25 Julien Danjou <julien@danjou.info>
17638
17639 * textmodes/rst.el (rst-define-level-faces): Do not define face
17640 symbol if it is already defined.
17641
17642 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17643
17644 * play/5x5.el (5x5-new-game, 5x5-randomize):
17645 Reset 5x5-solver-output to nil when a new grid is cast.
17646 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17647 these debugging traces, as defmacro breaks the compiled code.
17648
17649 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17650
17651 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17652
17653 2011-05-24 Leo Liu <sdl.web@gmail.com>
17654
17655 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17656 (vc-bzr-sha1): Adapt.
17657
17658 * sha1.el: Remove. Function `sha1' is now builtin.
17659
17660 * bindings.el: Provide sha1 feature.
17661
17662 2011-05-24 Kenichi Handa <handa@m17n.org>
17663
17664 * mail/sendmail.el: Require `rfc2047'.
17665 (mail-insert-from-field): Do not perform RFC2047 encoding.
17666 (mail-encode-header): New function.
17667 (sendmail-send-it): Set buffer-file-coding-system of the work
17668 buffer to the return value of select-message-coding-system.
17669 Call mail-encode-header.
17670
17671 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17672
17673 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17674
17675 * mail/supercite.el (sc-default-cite-frame):
17676 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17677
17678 2011-05-24 Glenn Morris <rgm@gnu.org>
17679
17680 * progmodes/python.el (brm-menu): Declare.
17681
17682 * emulation/viper.el (viper-set-hooks): Declare.
17683
17684 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17685 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17686 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17687 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17688 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17689 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17690
17691 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17692
17693 Add an :exit-function for completion-at-point.
17694
17695 * minibuffer.el (completion--done): New fun.
17696 (completion--do-completion): Use it. New arg `expect-exact'.
17697 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17698 since completion--do-completion does it for us now.
17699 (minibuffer-force-complete): Use completion--done and
17700 completion--replace. Handle sole-completion case with more care.
17701 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17702 (completion-extra-properties): New var.
17703 (completion-annotate-function): Make obsolete.
17704 (minibuffer-completion-help): Adjust accordingly.
17705 Use completion-list-insert-choice-function.
17706 (completion-at-point, completion-help-at-point):
17707 Bind completion-extra-properties.
17708 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17709 * simple.el (completion-list-insert-choice-function): New var.
17710 (completion-setup-function): Preserve it.
17711 (choose-completion): Pay attention to it, shuffle the code a bit.
17712 (choose-completion-string): New arg `insert-function'.
17713
17714 * textmodes/bibtex.el: Convert to lexical binding.
17715 (bibtex-mode-map): Use completion-at-point.
17716 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17717 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17718 (bibtex-complete): Define as obsolete alias.
17719 (bibtex-complete-internal): Remove.
17720 (bibtex-format-entry): Remove unused sub-group in regexp.
17721 * shell.el (shell--command-completion-data)
17722 (shell-environment-variable-completion):
17723 * pcomplete.el (pcomplete-completions-at-point):
17724 * comint.el (comint--complete-file-name-data): Use :exit-function
17725 instead of completion-table-with-terminator so it also works for
17726 choose-completion.
17727
17728 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17729
17730 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17731
17732 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17733 (bug#8710).
17734
17735 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17736
17737 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17738
17739 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17740 customization variable and implement: If non-nil, auto-fill will
17741 be inhibited while on topic's header line.
17742
17743 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17744
17745 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17746 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17747 always have a solution in grid size = 5 cases.
17748 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17749 (5x5-solver-output, 5x5-log-buffer): New vars.
17750 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17751 Make these variables buffer local to achieve 5x5 multi-session-ness.
17752 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17753 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17754 (5x5-solve-suggest): New funs.
17755 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17756 randomize a grid so that we ensure that there is always a solution.
17757 (5x5-make-random-grid): Allow other movement than flipping.
17758
17759 2011-05-23 Kevin Ryde <user42@zip.com.au>
17760
17761 * emacs-lisp/advice.el (ad-read-advised-function):
17762 Use `function-called-at-point' as the default, if it has
17763 advice and passes PREDICATE.
17764
17765 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17766
17767 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17768 byte-compile-lambda if it's actually a lambda.
17769
17770 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17771 Fix function quoting. Use backquote better.
17772
17773 2011-05-22 Yuanle Song <sylecn@gmail.com>
17774
17775 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17776 matching (Bug#8516).
17777
17778 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17779
17780 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17781 different face (Bug#8178).
17782
17783 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17784
17785 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17786 defface (Bug#8144).
17787
17788 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17791 funcall as well (bug#8712). Warn when performing those conversions.
17792 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17793
17794 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17795
17796 2011-05-22 Glenn Morris <rgm@gnu.org>
17797
17798 * files.el (hack-local-variables-prop-line): Small simplifications.
17799 (hack-local-variables, hack-local-variables-prop-line):
17800 If MODE-ONLY, return the mode, rather than just `t'.
17801
17802 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17803
17804 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17805
17806 2011-05-21 Glenn Morris <rgm@gnu.org>
17807
17808 * files.el (hack-local-variables-prop-line, hack-local-variables):
17809 If only interested in the mode, don't bother doing the other stuff.
17810
17811 * image-mode.el (image-after-revert-hook):
17812 Redraw all frames on which the image is visible. (Bug#8567)
17813
17814 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17815
17816 * wid-edit.el (widget-checklist-match-inline):
17817 Fix 2011-04-19 change. (Bug#8649)
17818
17819 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17820
17821 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17822 Also allow singlespace after single-letter capitals followed by a dot.
17823
17824 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17825 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17826
17827 2011-05-20 Nix <nix@esperi.org.uk>
17828
17829 * files.el (basic-save-buffer-2):
17830 Fix handling of break-hardlink-on-save with non-existent files.
17831
17832 2011-05-19 Deniz Dogan <deniz@dogan.se>
17833
17834 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17835 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17836
17837 2011-05-19 Glenn Morris <rgm@gnu.org>
17838
17839 * progmodes/f90.el (f90-type-def-re):
17840 Handle "type, bind(c)". (Bug#8691)
17841
17842 * emacs-lisp/autoload.el (batch-update-autoloads):
17843 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17844
17845 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17846
17847 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17848 property for the correct connection in case of multihops.
17849
17850 2011-05-18 Glenn Morris <rgm@gnu.org>
17851
17852 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17853 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17854
17855 Rationalize calendar handling of day and month abbrev-arrays.
17856 * calendar/calendar.el (calendar-customized-p): New function.
17857 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17858 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17859 Add :set function.
17860 (calendar-abbrev-length, calendar-day-abbrev-array)
17861 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17862 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17863 Elements may no longer be nil.
17864 (calendar-day-name, calendar-month-name):
17865 Update for changed nature of abbrev arrays.
17866 * calendar/diary-lib.el (diary-name-pattern):
17867 Update for changed nature of abbrev arrays.
17868 (diary-mark-entries-1): Update calendar-make-alist calls.
17869 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17870 * calendar/cal-html.el (cal-html-day-abbrev-array):
17871 Simply inherit from calendar-day-abbrev-array.
17872
17873 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * progmodes/grep.el (grep-mode): Disable default
17876 compilation-directory-matcher setting (bug#8684).
17877
17878 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17879
17880 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17881 instead of "head" and "tail". There were problems with SunOS 5.9,
17882 and it performs better.
17883
17884 2011-05-17 Glenn Morris <rgm@gnu.org>
17885
17886 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17887
17888 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17889 Replace obsolete function.
17890
17891 * shell.el (pcomplete-parse-arguments-function): Declare.
17892
17893 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17894 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17895 (appt-check): Doc fixes.
17896 (appt-disp-window-function, appt-delete-window-function):
17897 Remove needless special case in custom :type.
17898 (appt-display-count): Default to 0, not nil.
17899 (appt-check): Reset appt-display-count to 0, not nil.
17900
17901 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17902
17903 * progmodes/python.el (python-font-lock-keywords):
17904 Add the Python 3.X keyword "nonlocal" (bug#8639).
17905
17906 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17907
17908 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17909
17910 2011-05-16 Kevin Ryde <user42@zip.com.au>
17911
17912 * info-look.el (makefile-automake-mode): New setups, looking in
17913 automake manual, then makefile-mode.
17914 (makefile-mode): Remove automake manual, have it just in
17915 makefile-automake-mode since there's various things different or
17916 not relevant to plain make.
17917 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17918 believe a hypothetical automake-mode would go to makefile-mode,
17919 not the other way around.
17920
17921 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17922
17923 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17924 hunk-end tags (Bug#8672).
17925
17926 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17927 vc-annotate-show-diff-revision-at-line (Bug#8671).
17928
17929 2011-05-14 Glenn Morris <rgm@gnu.org>
17930
17931 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17932 in the middle of an existing one with multiple authors. (Bug#8645)
17933 (change-log-font-lock-keywords): Also handle multiple author lines
17934 with leading tabs. (Bug#8644)
17935
17936 * calendar/appt.el (appt-check): Rename some local variables.
17937 Some simplification/reordering.
17938
17939 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17940 (feedmail-sendmail-f-doesnt-sell-me-out)
17941 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17942 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17943 (feedmail-queue-runner-message-sender): Set :version.
17944 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17945 (bbdb-dwim-net-address, vm-mail): Declare.
17946 (feedmail-binmail-gnulinuxish-template):
17947 Rename from feedmail-binmail-linuxish-template.
17948 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17949 Use insert-buffer-substring.
17950
17951 2011-05-14 Bill Carpenter <bill@carpenter.org>
17952
17953 * mail/feedmail.el (feedmail-patch-level): Increase.
17954 (feedmail-debug): New custom group.
17955 (feedmail-confirm-outgoing-timeout)
17956 (feedmail-sendmail-f-doesnt-sell-me-out)
17957 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17958 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17959 (feedmail-sender-line, feedmail-from-line)
17960 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17961 (feedmail-spray-this-address)
17962 (feedmail-spray-address-fiddle-plex-list)
17963 (feedmail-queue-use-send-time-for-date)
17964 (feedmail-queue-use-send-time-for-message-id)
17965 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17966 (feedmail-buffer-eating-function):
17967 Doc fixes.
17968 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17969 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17970 (feedmail-message-action-scroll-down): New functions.
17971 (feedmail-queue-directory, feedmail-queue-draft-directory):
17972 Use expand-file-name.
17973 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17974 Remove C-v help entry.
17975 (feedmail-queue-buffer-file-name): New variable.
17976 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17977 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17978 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17979 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17980 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17981 (feedmail-message-action-toggle-spray)
17982 (feedmail-run-the-queue-no-prompts)
17983 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17984 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17985 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17986 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17987 (feedmail-envelope-deducer, feedmail-fiddle-from)
17988 (feedmail-fiddle-sender, feedmail-default-date-generator)
17989 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17990 (feedmail-fiddle-spray-address)
17991 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17992 (feedmail-fiddle-list-of-fiddle-plexes)
17993 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17994 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17995 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17996 Change default. Doc fix.
17997 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17998 (feedmail-binmail-linuxish-template): New constant.
17999 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18000 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18001 (feedmail-send-it): Add debug call.
18002 Use feedmail-queue-buffer-file-name, and
18003 feedmail-send-it-immediately-wrapper.
18004 (feedmail-message-action-send): Add debug call.
18005 Use feedmail-send-it-immediately-wrapper.
18006 (feedmail-queue-express-to-queue): Add debug call.
18007 Run feedmail-queue-express-hook.
18008 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18009 (feedmail-message-action-help-blat):
18010 Rename from feedmail-queue-send-edit-prompt-help-first.
18011 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18012 Check line-endings. Handle errors better.
18013 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18014 Doc fix. Add debug call.
18015 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18016 Use feedmail-queue-send-edit-prompt-inner.
18017 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18018 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18019 from feedmail-queue-send-edit-prompt.
18020 (feedmail-queue-send-edit-prompt-help)
18021 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18022 (feedmail-tidy-up-slug): Add debug call.
18023 Respect feedmail-queue-slug-suspect-regexp.
18024 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18025 (feedmail-dump-message-to-queue): Add debug call.
18026 Expand queue-directory.
18027 (feedmail-dump-message-to-queue): Change message slightly.
18028 Use feedmail-say-chatter.
18029 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18030 (feedmail-send-it-immediately-wrapper): New function.
18031 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18032 Insert empty string rather than newline. Handle full-frame case.
18033 Use catch/throw. Use feedmail-say-chatter.
18034 (feedmail-fiddle-from): Try mail-host-address.
18035 (feedmail-default-message-id-generator): Doc fix.
18036 Bind system-time-locale. Handle missing end.
18037 (feedmail-fiddle-x-mailer): Add debug call.
18038 Handle feedmail-x-mailer-line being nil.
18039 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18040 Add debug call. Use buffer-substring-no-properties.
18041 (feedmail-say-debug, feedmail-say-chatter): New functions.
18042 (feedmail-find-eoh): Give an explicit error.
18043
18044 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18045
18046 * net/newst-treeview.el (newsticker-treeview-face): Change default
18047 family from helvetica to sans.
18048 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18049 etc/images/newsticker.
18050
18051 * net/newst-reader.el (newsticker-feed-face): Change default
18052 family from helvetica to sans.
18053
18054 * net/newst-plainview.el (newsticker-new-item-face)
18055 (newsticker-old-item-face, newsticker-immortal-item-face)
18056 (newsticker-obsolete-item-face, newsticker-date-face)
18057 (newsticker-statistics-face): Change default family from
18058 helvetica to sans.
18059 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18060 etc/images/newsticker.
18061
18062 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18063 (newsticker--process-auto-mark-filter-match): Tell user about
18064 auto-marking.
18065
18066 2011-05-13 Didier Verna <didier@xemacs.org>
18067
18068 Common Lisp indentation improvements on defmethod and lambda-lists.
18069 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18070 TODO entries.
18071 (lisp-lambda-list-keyword-parameter-indentation)
18072 (lisp-lambda-list-keyword-parameter-alignment)
18073 (lisp-lambda-list-keyword-alignment): New customizable user options.
18074 (lisp-indent-defun-method): Improve docstring.
18075 (extended-loop-p): Fix comment.
18076 (lisp-indent-lambda-list-keywords-regexp): New variable.
18077 (lisp-indent-lambda-list): New function.
18078 (lisp-indent-259): Use it.
18079 (lisp-indent-defmethod): Support for more than one
18080 method qualifier and properly indent methods lambda-lists.
18081 (defgeneric): Provide a missing common-lisp-indent-function property.
18082
18083 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18086 bounds for the empty string (bug#8667).
18087
18088 2011-05-13 Glenn Morris <rgm@gnu.org>
18089
18090 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18091
18092 * mail/sendmail.el (sendmail-program): Try executable-find first.
18093 (sendmail-send-it): `sendmail-program' cannot be unbound.
18094
18095 * calendar/appt.el (appt-make-list): Simplify.
18096 (appt-time-msg-list): Doc fix.
18097 (appt-check): Change mode-line message at the time of the appointment.
18098
18099 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18100
18101 * progmodes/ld-script.el (ld-script-keywords)
18102 (ld-script-builtins): Update keywords list.
18103
18104 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18105
18106 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18107
18108 * shell.el (shell-completion-vars): New function.
18109 (shell-mode):
18110 * simple.el (read-shell-command): Use it.
18111 (blink-matching-open): No need for " [...]" in minibuffer-message.
18112
18113 2011-05-12 Glenn Morris <rgm@gnu.org>
18114
18115 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18116 (appt-check): Simplify.
18117
18118 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18119
18120 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18121 literal "/dev/null".
18122
18123 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18124
18125 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18126 Fix typo.
18127
18128 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18129
18130 * progmodes/which-func.el (which-function):
18131 Use add-log-current-defun instead of add-log-current-defun-function,
18132 which might not be defined (Bug#8260).
18133
18134 2011-05-12 Glenn Morris <rgm@gnu.org>
18135
18136 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18137 Let byte-compile-initial-macro-environment always take precedence.
18138
18139 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18140
18141 * net/rcirc.el: Add support for SSL/TLS connections.
18142 (rcirc-server-alist): New field `encryption'.
18143 (rcirc): Check `encryption' settings.
18144 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18145 Merge make-local-variable into `set'.
18146 (rcirc--connection-open-p): New function.
18147 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18148 the process is not a network process (e.g. running gnutls-cli).
18149 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18150 Make rcirc-(en|de)code-coding-system local here.
18151 (rcirc-mode): Merge make-local-variable into `set'.
18152 (rcirc-parent-buffer): Make permanent buffer-local.
18153 (rcirc-multiline-minor-mode): Don't do it here.
18154 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18155 there's no server buffer.
18156
18157 2011-05-11 Glenn Morris <rgm@gnu.org>
18158
18159 * newcomment.el (comment-kill): Prefix "unused" local.
18160
18161 * term/w32console.el (get-screen-color): Declare.
18162
18163 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18164 Handle symbol elements of byte-compile-initial-macro-environment.
18165
18166 2011-05-10 Leo Liu <sdl.web@gmail.com>
18167
18168 * bookmark.el (bookmark-bmenu-mode-map):
18169 Bind bookmark-bmenu-search to `/'.
18170
18171 * mail/footnote.el: Convert to utf-8 encoding.
18172 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18173 (Footnote-unicode): New function.
18174 (footnote-style-alist): Add unicode style to the list.
18175 (footnote-style): Doc fix.
18176
18177 2011-05-10 Jim Meyering <meyering@redhat.com>
18178
18179 Fix doubled-word typos.
18180 * international/quail.el (quail-insert-kbd-layout): and and -> and
18181 * kermit.el: and and -> and
18182 * net/ldap.el (ldap-search-internal): to to -> to
18183 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18184 * progmodes/js.el (js-mode): and and -> and
18185 * textmodes/artist.el (artist-move-to-xy): at at -> at
18186 (artist-draw-region-trim-line-endings): if if -> if
18187 And Safetyc -> Safety.
18188 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18189
18190 2011-05-10 Glenn Morris <rgm@gnu.org>
18191 Stefan Monnier <monnier@iro.umontreal.ca>
18192
18193 * files.el (hack-one-local-variable-eval-safep):
18194 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18195
18196 2011-05-10 Glenn Morris <rgm@gnu.org>
18197
18198 * calendar/diary-lib.el (diary-list-entries-hook)
18199 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18200 (diary-nongregorian-marking-hook, diary-list-entries)
18201 (diary-include-other-diary-files, diary-mark-entries)
18202 (diary-mark-included-diary-files): Doc fixes.
18203
18204 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18205
18206 * misc.el: Require tabulated-list.el during compilation.
18207
18208 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18209
18210 * progmodes/compile.el (compilation-start):
18211 Run compilation-filter-hook for the async case too.
18212 (compilation-filter-hook): Doc fix.
18213
18214 2011-05-09 Deniz Dogan <deniz@dogan.se>
18215
18216 * wdired.el: Remove outdated installation comment. Fix usage
18217 comment.
18218
18219 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18220
18221 * misc.el: Implement new command `list-dynamic-libraries'.
18222 (list-dynamic-libraries--loaded-only-p): New variable.
18223 (list-dynamic-libraries--refresh): New function.
18224 (list-dynamic-libraries): New command.
18225
18226 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18227
18228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18229 Fix the ant regexp to handle end-line and end-column info from jikes.
18230 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18231 higher priority to avoid clobbering by gnu.
18232
18233 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18234
18235 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18236 if the face has existing theme settings (Bug#8454).
18237
18238 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18239
18240 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18241 Only match variables declared via `my' or `our' (Bug#8261).
18242
18243 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18244 special file names `.' and `..' (Bug#8259).
18245
18246 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18247
18248 * progmodes/grep.el (grep-mode-font-lock-keywords):
18249 Remove buffer-changing entries.
18250 (grep-filter): New function.
18251 (grep-mode): Add it to compilation-filter-hook.
18252
18253 * progmodes/compile.el (compilation-filter-hook)
18254 (compilation-filter-start): New defvars.
18255 (compilation-filter): Call compilation-filter-hook prior to
18256 updating the process mark.
18257
18258 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18259
18260 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18261
18262 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18263
18264 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18265 mailclient-send-it even if window-system is nil. (Bug#8595)
18266
18267 * term/w32console.el (terminal-init-w32console):
18268 Call get-screen-color and use its output to set the frame
18269 background-mode. (Bug#8597)
18270
18271 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18272
18273 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18274 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18275 New functions.
18276 (defgeneric, eieio--defmethod): Use them.
18277 (eieio-defgeneric): Remove.
18278 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18279
18280 2011-05-07 Glenn Morris <rgm@gnu.org>
18281
18282 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18283 Use let rather than let*.
18284 (timeclock-find-discrep): Remove unused local.
18285
18286 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18287
18288 * calendar/appt.el (appt-time-msg-list): Doc fix.
18289
18290 2011-05-06 Noah Friedman <friedman@splode.com>
18291
18292 * apropos.el (apropos-print-doc): Only use
18293 emacs-lisp-docstring-fill-column when it is bound to an integer,
18294 per that variable's documentation.
18295
18296 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18297
18298 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18299 and warnings are not silently discarded (e.g. use -d instead of -P).
18300
18301 2011-05-06 Glenn Morris <rgm@gnu.org>
18302
18303 * calendar/appt.el (appt-message-warning-time): Doc fix.
18304 (appt-warning-time-regexp): New option.
18305 (appt-make-list): Respect appt-message-warning-time.
18306
18307 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18308 New options.
18309 (diary-add-to-list): Strip comments from the displayed string.
18310 (diary-mode): Set comment-start and comment-end.
18311
18312 * vc/diff-mode.el (smerge-refine-subst): Declare.
18313 (diff-refine-hunk): Don't require smerge-mode when compiling.
18314
18315 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18316
18317 * simple.el (list-processes): Return nil as the docstring says.
18318
18319 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18320
18321 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18322 to "".
18323 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18324 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18325 determining of binary transfer. (Bug#7383)
18326
18327 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18328
18329 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18330 Fix port computation bug. (Bug#8618)
18331
18332 2011-05-05 Glenn Morris <rgm@gnu.org>
18333
18334 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18335
18336 * simple.el (shell-dynamic-complete-functions)
18337 (comint-dynamic-complete-functions): Declare.
18338
18339 * net/network-stream.el (gnutls-negotiate):
18340 * simple.el (tabulated-list-print): Fix declarations.
18341
18342 * progmodes/gud.el (syntax-symbol, syntax-point):
18343 Remove unnecessary and incorrect declarations.
18344
18345 * emacs-lisp/check-declare.el (check-declare-scan):
18346 Handle byte-compile-initial-macro-environment in bytecomp.el.
18347
18348 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18349
18350 Fix earlier half-done eieio-defmethod change (bug#8338).
18351 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18352 Streamline and change calling convention.
18353 (defmethod): Adjust accordingly and simplify.
18354 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18355 new eieio--defmethod.
18356 (slot-boundp): Minor CSE simplification.
18357
18358 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18359
18360 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18361 (glasses-make-readable): Use glasses-separate-capital-groups.
18362
18363 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18364
18365 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18366 (warning-series): Doc fix.
18367 (display-warning): Don't try to create the buffer if we just found it.
18368
18369 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18370
18371 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18372 (autoload-find-generated-file): New function.
18373 (generate-file-autoloads): Bind generated-autoload-file to
18374 buffer-file-name.
18375 (update-file-autoloads, update-directory-autoloads):
18376 Use autoload-find-generated-file. If called interactively, prompt for
18377 output file (Bug#7989).
18378 (batch-update-autoloads): Doc fix.
18379
18380 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18381
18382 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18383
18384 2011-05-04 Glenn Morris <rgm@gnu.org>
18385
18386 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18387 function, so it follows changes in calendar-date-style.
18388 (diary-fancy-date-matcher): New function.
18389 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18390 (diary-fancy-font-lock-fontify-region-function):
18391 Use diary-fancy-date-pattern as a function.
18392
18393 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18394 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18395
18396 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18397
18398 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18399 instead of positional arguments. Allow :keylist and :crlfiles
18400 arguments.
18401 (open-gnutls-stream): Call it.
18402
18403 * net/network-stream.el (network-stream-open-starttls): Adjust to
18404 call `gnutls-negotiate' with :process and :hostname arguments.
18405
18406 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18407
18408 * minibuffer.el (completion--message): New function.
18409 (completion--do-completion, minibuffer-complete)
18410 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18411 (completion--do-completion): Don't ignore completion-auto-help when in
18412 icomplete-mode.
18413
18414 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18415 internal encoding (e.g. tibetan zero is not whitespace).
18416 (global-whitespace-mode): Prefer save-current-buffer.
18417 (whitespace-trailing-regexp): Remove useless save-match-data.
18418 (whitespace-empty-at-bob-regexp): Minor simplification.
18419
18420 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18421
18422 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18423
18424 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18425
18426 * textmodes/ispell.el (ispell-add-per-file-word-list):
18427 Use `concat' to create string for insertion.
18428
18429 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18430
18431 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18432 Avoid open-line which runs post-self-insert-hook.
18433 (bibtex-fill-entry): Remove unused `end' var.
18434
18435 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18436
18437 * textmodes/ispell.el (ispell-add-per-file-word-list):
18438 Protect against `nil' value of `comment-start' (Bug#8579).
18439
18440 2011-05-03 Leo Liu <sdl.web@gmail.com>
18441
18442 * isearch.el (isearch-yank-pop): New command.
18443 (isearch-mode-map): Bind it to `M-y'.
18444 (isearch-forward): Mention it.
18445
18446 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18447
18448 * simple.el (minibuffer-complete-shell-command): Remove.
18449 (minibuffer-local-shell-command-map): Use completion-at-point.
18450 (read-shell-command): Setup completion vars here instead.
18451 (read-expression-map): Bind TAB to symbol completion.
18452
18453 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18454 error directly rather via storing it into `results'.
18455
18456 2011-05-02 Leo Liu <sdl.web@gmail.com>
18457
18458 * vc/diff.el: Fix description.
18459
18460 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18461
18462 * server.el (server-eval-at): New function.
18463
18464 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18465
18466 * net/network-stream.el (open-network-stream): Take a :nowait
18467 parameter and pass it on to `make-network-process'.
18468 (network-stream-open-plain): Ditto.
18469
18470 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18471
18472 * faces.el (face-spec-set-match-display): Don't match toolkit
18473 options on terminal frames.
18474
18475 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18476
18477 * progmodes/pascal.el: Use lexical binding.
18478 (pascal-mode-map): Remove author preferences.
18479
18480 * pcomplete.el (pcomplete-std-complete): Don't abuse
18481 completion-at-point.
18482
18483 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18484
18485 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18486 removing code that has been dead since 1991 or so.
18487
18488 * startup.el (command-line): When warning about "_emacs", use a
18489 delayed warning to allow the user to filter it out.
18490
18491 2011-04-28 Deniz Dogan <deniz@dogan.se>
18492
18493 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18494 user has not joined.
18495
18496 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18497
18498 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18499 aren't any completions at point.
18500
18501 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18502
18503 * subr.el (display-delayed-warnings): New function.
18504 (delayed-warnings-hook): New variable.
18505
18506 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18507
18508 * minibuffer.el (completion-at-point, completion-help-at-point):
18509 Don't presume that a given completion-at-point-function will always
18510 use the same calling convention.
18511
18512 * pcomplete.el (pcomplete-completions-at-point):
18513 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18514 pcomplete-seen is non-nil.
18515 (pcomplete-comint-setup): Also recognize the new comint/shell
18516 completion functions.
18517 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18518 pcomplete-seen is non-nil.
18519
18520 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18521
18522 * calendar/icalendar.el (diary-lib): Add require statement.
18523 (icalendar--create-uid): Read out a uid from a text-property on
18524 the first character in the entry. This allows for code to add its
18525 own uid to the entry.
18526 (icalendar--convert-float-to-ical): Add export of
18527 `diary-float'-entries save for those with the optional DAY
18528 argument.
18529
18530 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18531
18532 * subr.el (shell-quote-argument): Use alternate escaping strategy
18533 when we spot a variable reference in a string.
18534
18535 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18536
18537 * cus-start.el (all): Define customization for debug-on-event.
18538
18539 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18540
18541 * subr.el (shell-quote-argument): Escape correctly under Windows.
18542
18543 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18544
18545 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18546
18547 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18548
18549 * net/tramp.el (tramp-process-actions): Add POS argument.
18550 Delete region between POS and (pos).
18551
18552 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18553 Use `nil' position in `tramp-process-actions' call.
18554 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18555
18556 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18557 position in `tramp-process-actions' call.
18558
18559 * net/trampver.el: Update release number.
18560
18561 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * custom.el (defcustom): Obey lexical-binding.
18564
18565 Fix octave-inf completion problems reported by Alexander Klimov.
18566 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18567 Inherit from octave-mode-syntax-table.
18568 (inferior-octave-mode): Set info-lookup-mode.
18569 (inferior-octave-completion-at-point): New function.
18570 (inferior-octave-complete): Use it and completion-in-region.
18571 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18572 comint-filename-completion.
18573 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18574 symbol elements which shouldn't be word elements.
18575 (octave-font-lock-keywords, octave-beginning-of-defun)
18576 (octave-function-header-regexp): Adjust regexps accordingly.
18577 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18578
18579 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18580
18581 * net/gnutls.el (gnutls-errorp): Declare before first use.
18582
18583 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18584
18585 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18586 verify-error, and verify-hostname-error parameters. Check whether
18587 default trustfile exists before going to use it. Add missing
18588 argument to gnutls-message-maybe call. Return value.
18589 Reported by Claudio Bley <claudio.bley@gmail.com>.
18590 (open-gnutls-stream): Add usage example.
18591
18592 * net/network-stream.el (network-stream-open-starttls): Give host
18593 parameter to `gnutls-negotiate'.
18594 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18595 * subr.el (shell-quote-argument): Escape correctly under Windows.
18596
18597 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18598
18599 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18600 Use correct match group (bug#8438).
18601
18602 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18603
18604 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18605 (package-menu--generate): New arg specifying packages to show.
18606 (package-menu-refresh, package-menu-execute, list-packages):
18607 Callers changed.
18608 (package-show-package-list): New function, replacing deleted
18609 package--list-packages (renamed because it is non-internal).
18610
18611 * finder.el (finder-list-matches): Use package-show-package-list
18612 instead of deleted package--list-packages.
18613
18614 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18615 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18616 (vc-annotate-mode-map): Bind it to RET.
18617
18618 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18619
18620 * progmodes/etags.el (next-file): Don't use set-buffer to change
18621 buffers (Bug#8478).
18622
18623 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18624
18625 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18626
18627 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18628 (apropos-accumulator): Doc fix.
18629 (apropos-function, apropos-macro, apropos-command)
18630 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18631 (apropos-plist): Add face property.
18632 (apropos-symbols-internal): Fix indentation.
18633 (apropos-print): Simplify help, and recognize apropos-multi-type.
18634 (apropos-print-doc): Use button-type-get to extract the button's
18635 face property. Fill docstring (Bug#8352).
18636
18637 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18638
18639 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18640
18641 * play/mpuz.el (mpuz-silent): Doc fix.
18642 (mpuz-mode-map): Use mapc.
18643 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18644 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18645 Fix typos in docstrings.
18646
18647 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18648 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18649
18650 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18651
18652 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18653
18654 * minibuffer.el (completion--do-completion): Avoid the "Next char
18655 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18656
18657 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18658 mouse-2 into unread-command-events, it is interpreted correctly.
18659
18660 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18661 (image-toggle-display): Doc fix.
18662
18663 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18664
18665 * textmodes/page.el (what-page): Use line-number-at-pos to
18666 calculate line number (Bug#6825).
18667
18668 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18669
18670 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18671 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18672 Pass argument NO-DEFAULT to `find-tag-interactive'.
18673
18674 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18675
18676 Lexical-binding cleanup.
18677
18678 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18679 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18680 * progmodes/ada-prj.el (ada-prj-initialize-values)
18681 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18682 (ada-prj-show-value):
18683 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18684 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18685 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18686 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18687 * progmodes/bug-reference.el (bug-reference-push-button):
18688 * progmodes/fortran.el (fortran-line-length):
18689 * progmodes/glasses.el (glasses-change):
18690 * progmodes/octave-mod.el (octave-fill-paragraph):
18691 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18692 (python-pdbtrack-grub-for-buffer, python-sentinel):
18693 * progmodes/sql.el (sql-save-connection):
18694 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18695 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18696 Mark unused parameters.
18697
18698 * progmodes/compile.el (compilation--flush-directory-cache)
18699 (compilation--flush-parse, compile-internal): Mark unused parameters.
18700 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18701 (compilation-next-error-function): Remove unused variable `timestamp'.
18702
18703 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18704 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18705
18706 * progmodes/dcl-mode.el (dcl-end-of-command):
18707 Remove unused variable `start'.
18708 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18709 (dcl-option-value-basic, dcl-option-value-offset)
18710 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18711 Mark unused parameters.
18712 (dcl-save-local-variable): Remove unused variable `val'.
18713 (mode): Declare.
18714
18715 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18716 Mark unused parameters.
18717 (delphi-ignore-changes): Move before first use.
18718 (delphi-charset-token-at): Remove unused variable `start'.
18719 (delphi-else-start): Remove unused variable `if-count'.
18720 (delphi-comment-block-start, delphi-comment-block-end):
18721 Remove unused variable `kind'.
18722 (delphi-indent-line): Remove unused variable `new-point'.
18723
18724 * progmodes/ebrowse.el (ebrowse-files-list)
18725 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18726 Mark unused parameters. Don't quote `lambda'.
18727 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18728 Don't quote `lambda'.
18729 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18730 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18731 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18732 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18733 Use `ignore-errors'.
18734 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18735 (ebrowse-view/find-file-and-search-pattern)
18736 (ebrowse-view/find-member-declaration/definition):
18737 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18738 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18739 Rename parameter PREFIX-ARG to PREFIX.
18740 (ebrowse-tags-read-name): Remove unused variables `start' and
18741 `member-info'.
18742 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18743 to `tags-file'.
18744
18745 * progmodes/etags.el (local-find-tag-hook): Declare.
18746 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18747 Mark unused parameters.
18748
18749 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18750 (executable-interpret): Mark unused parameter.
18751
18752 * progmodes/flymake.el (flymake-process-sentinel)
18753 (flymake-after-change-function)
18754 (flymake-create-temp-with-folder-structure)
18755 (flymake-get-include-dirs-dot): Mark unused parameters.
18756 (flymake-safe-delete-directory): Remove unused variable `err'.
18757
18758 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18759 (speedbar-timer-fn, speedbar-line-text)
18760 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18761 (speedbar-center-buffer-smartly): Declare functions.
18762 (gdb-find-watch-expression): Remove unused variable `array'.
18763 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18764 (gdb-starting): Mark unused parameters.
18765 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18766 (gdb-table-string): Remove unused variable `res'.
18767 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18768 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18769 (gdb-display-buffer): Remove unused variable `cur-size'.
18770
18771 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18772 allow lexical-binding compilation.
18773 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18774 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18775 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18776 Mark unused parameters.
18777 (gud-gdb-marker-filter): Remove unused variable `match'.
18778 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18779 lambda expressions and funcall them, instead of using `fset'.
18780
18781 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18782 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18783
18784 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18785 variable `header-beg'; use `let'.
18786
18787 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18788 `restart', `last-sexp' and `at-do'.
18789
18790 * progmodes/js.el (js--debug): Mark unused parameter.
18791 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18792 (js--splice-into-items): Remove unused variable `item'.
18793 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18794
18795 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18796 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18797 (makefile-complete): Remove unused variable `try'.
18798 (makefile-fill-paragraph, makefile-match-function-end):
18799 Mark unused parameters.
18800
18801 * progmodes/octave-inf.el (inferior-octave-complete):
18802 Remove unused variable `proc'.
18803 (inferior-octave-output-digest): Mark unused parameter.
18804
18805 * progmodes/perl-mode.el (perl-calculate-indent):
18806 Remove unused variable `err'.
18807
18808 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18809 (prolog-indent-line): Mark unused parameters.
18810 (prolog-indent-line): Remove unused variable `beg'.
18811
18812 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18813 (reporter-dont-compact-list): Declare.
18814
18815 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18816 Remove unused variable `char'.
18817 (sh-debug): Mark unused parameter.
18818 (sh-get-indent-info): Remove unused variable `start'.
18819 (sh-calculate-indent): Remove unused variable `var'.
18820
18821 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18822 (simula-electric-keyword): Remove unused variable `null'.
18823 (simula-search-backward, simula-search-forward): Remove unused
18824 variables `begin' and `end'.
18825
18826 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18827 Remove unused variable `pos'.
18828 (vera-electric-tab, vera-comment-uncomment-region):
18829 Mark unused parameters.
18830 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18831
18832 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18833
18834 * emacs-lisp/package.el (package--builtins, package-alist)
18835 (package-load-descriptor, package-built-in-p, package-activate)
18836 (define-package, package-installed-p)
18837 (package-compute-transaction, package-buffer-info)
18838 (package--push): Doc fix. Distinguish more clearly between
18839 version strings and version lists.
18840
18841 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18842
18843 Lexical-binding cleanup.
18844
18845 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18846 (5x5-make-mutate-best):
18847 * play/fortune.el (fortune-in-buffer):
18848 * play/gomoku.el (gomoku-init-display):
18849 * play/solitaire.el (solitaire, solitaire-do-check):
18850 * play/tetris.el (tetris-default-update-speed-function):
18851 Mark unused parameters.
18852
18853 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18854 (bubbles--shift): Remove unused variable `char-org'.
18855 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18856 (bubbles--show-images): Remove unused variable `char'.
18857
18858 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18859 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18860 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18861 (decipher-analyze-buffer): Use ?\s.
18862 (decipher-make-checkpoint): Remove unused variable `mapping'.
18863
18864 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18865
18866 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18867 Remove unused variable `result'; use `let'.
18868
18869 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18870 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18871 (gametree-children-shown-p, gametree-compute-reduced-score):
18872 Use `ignore-errors'.
18873
18874 * play/handwrite.el (ps-lpr-switches): Declare.
18875 (handwrite): Remove unused variables `pmin' and `lastp'.
18876
18877 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18878
18879 * play/landmark.el (landmark-init-display)
18880 (landmark-update-naught-weights): Mark unused parameters.
18881 (landmark-y): Remove unused variable `noise'. Simplify.
18882 (landmark-human-plays): Remove unused variable `score'.
18883
18884 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18885 (mpuz-try-proposal): Remove unused variable `game'.
18886
18887 * play/zone.el (life-patterns): Declare.
18888
18889 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18890
18891 * vc/vc.el (ediff-vc-internal): Declare function.
18892
18893 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18894
18895 * shell.el: Use lexical-binding and std completion UI.
18896 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18897 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18898 comint-preoutput-filter-functions rather than on
18899 comint-output-filter-functions.
18900 (shell-command-completion, shell--command-completion-data)
18901 (shell-filename-completion, shell-environment-variable-completion)
18902 (shell-c-a-p-replace-by-expanded-directory): New functions.
18903 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18904 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18905 (shell-dynamic-complete-environment-variable): Use them.
18906 (shell-dynamic-complete-as-environment-variable)
18907 (shell-dynamic-complete-as-command): Remove.
18908 (shell-match-partial-variable): Match past point.
18909 * comint.el: Clean up use of completion-at-point-functions.
18910 (comint-completion-at-point): New function.
18911 (comint-mode): Use it completion-at-point-functions.
18912 (comint-dynamic-complete): Make it obsolete.
18913 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18914 (comint-c-a-p-replace-by-expanded-history): New function.
18915 (comint-dynamic-complete-functions)
18916 (comint-replace-by-expanded-history): Use it.
18917 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18918 termination strings. Try harder to avoid second try-completion.
18919 (completion-in-region-mode-map): Disable bindings that don't work yet.
18920
18921 * comint.el: Use lexical-binding. Require CL.
18922 (comint-dynamic-complete-functions): Use comint-filename-completion.
18923 (comint-completion-addsuffix): Tweak custom type.
18924 (comint-filename-completion, comint--common-suffix)
18925 (comint--common-quoted-suffix, comint--table-subvert)
18926 (comint--complete-file-name-data): New functions.
18927 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18928 (comint-dynamic-list-filename-completions): Use them.
18929 (comint-dynamic-simple-complete): Make obsolete.
18930
18931 * minibuffer.el (completion-in-region-mode):
18932 Keep completion-in-region-mode--predicate global.
18933 (completion-in-region--postch):
18934 Assume completion-in-region-mode--predicate is not null.
18935
18936 * progmodes/flymake.el (flymake-start-syntax-check-process):
18937 Obey `dir'. Simplify.
18938
18939 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18940 we're in VC after all.
18941
18942 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18943
18944 * vc/vc.el (vc-diff-build-argument-list-internal)
18945 (vc-version-ediff, vc-ediff): New commands.
18946 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18947
18948 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18949
18950 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18951 add sanity check.
18952
18953 * obsolete/erc-hecomplete.el: Make obsolete.
18954 * obsolete/: Standardize obsolescence info in the header.
18955
18956 2011-04-20 Glenn Morris <rgm@gnu.org>
18957
18958 * calendar/solar.el (solar-horizontal-coordinates):
18959 Use the longitude argument rather than `calendar-longitude'.
18960 (solar-date-next-longitude): Remove unused locals.
18961
18962 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18963
18964 * whitespace.el: New version 13.2.1.
18965
18966 2011-04-20 felix <EmacsWiki> (tiny change)
18967
18968 * whitespace.el (global-whitespace-mode): Keep highlight when
18969 switching between major modes on a file.
18970
18971 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18972
18973 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18974 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18975 multi-line comments as well.
18976
18977 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18978
18979 Lexical-binding cleanup.
18980
18981 * arc-mode.el (archive-mode-revert):
18982 * cmuscheme.el (scheme-interactively-start-process):
18983 * custom.el (custom-initialize-delay):
18984 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18985 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18986 * emacs-lock.el (emacs-lock-clear-sentinel):
18987 * ezimage.el (defezimage):
18988 * follow.el (follow-avoid-tail-recenter):
18989 * fringe.el (set-fringe-mode-1):
18990 * generic-x.el (bat-generic-mode-compile):
18991 * help-mode.el (help-info-variable, help-do-xref)
18992 (help-mode-revert-buffer):
18993 * help.el (view-emacs-todo):
18994 * iswitchb.el (iswitchb-completion-help):
18995 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18996 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18997 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18998 * locate.el (locate-update):
18999 * longlines.el (longlines-encode-region)
19000 (longlines-after-change-function):
19001 * outline.el (outline-isearch-open-invisible):
19002 * ps-def.el (declare-function, charset-dimension, char-width)
19003 (encode-char):
19004 * ps-mule.el (ps-mule-plot-string):
19005 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19006 (recentf-edit-list-select, recentf-edit-list-validate)
19007 (recentf-open-files-action):
19008 * rect.el (delete-whitespace-rectangle-line)
19009 (rectangle-number-line-callback):
19010 * register.el (window-configuration-to-register)
19011 (frame-configuration-to-register):
19012 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19013 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19014 (xselect-convert-to-targets, xselect-convert-to-delete)
19015 (xselect-convert-to-filename, xselect-convert-to-charpos)
19016 (xselect-convert-to-lineno, xselect-convert-to-colno)
19017 (xselect-convert-to-os, xselect-convert-to-host)
19018 (xselect-convert-to-user, xselect-convert-to-class)
19019 (xselect-convert-to-name, xselect-convert-to-integer)
19020 (xselect-convert-to-atom, xselect-convert-to-identity):
19021 * subr.el (declare, ignore, process-kill-without-query)
19022 (text-clone-maintain):
19023 * terminal.el (te-get-char, te-tic-sentinel):
19024 * tool-bar.el (tool-bar-make-keymap):
19025 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19026 * type-break.el (type-break-mode, type-break-noninteractive-query):
19027 * view.el (View-back-to-mark):
19028 * wid-browse.el (widget-browse-action, widget-browse-widget)
19029 (widget-browse-widgets, widget-browse-sexp):
19030 * widget.el (define-widget-keywords):
19031 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19032 Mark unused parameters.
19033
19034 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19035 (align-areas): Remove unused variable `look'.
19036 (align-region): Remove unused variables `real-end' and `pos-list'.
19037
19038 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19039
19040 * bindings.el (mode-line-modified, mode-line-remote):
19041 Mark unused parameters.
19042 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19043
19044 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19045 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19046
19047 * comint.el (comint-history-isearch-pop-state)
19048 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19049 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19050 (comint-substitute-in-file-name): Doc fix.
19051
19052 * completion.el (cmpl-statistics-block): Mark unused parameter.
19053 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19054 (save-completions-to-file, load-completions-from-file):
19055 Remove unused local variable `e'.
19056
19057 * composite.el (compose-chars): Remove unused variable `len'.
19058 (lgstring-insert-glyph): Remove unused variable `g'.
19059 (compose-glyph-string): Remove unused variables `ascent',
19060 `descent', `lbearing' and `rbearing'.
19061 (compose-glyph-string-relative): Remove unused variables
19062 `lbearing', `rbearing' and `wadjust'.
19063 (compose-gstring-for-graphic): Remove unused variables `header',
19064 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19065 (compose-gstring-for-terminal): Remove unused variables `header'
19066 and `nchars'. Use `let', not `let*'.
19067
19068 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19069 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19070 (Custom-buffer-done, custom-buffer-create-internal)
19071 (custom-browse-visibility-action, custom-browse-group-tag-action)
19072 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19073 (widget-magic-mouse-down-action, custom-toggle-parent)
19074 (custom-add-parent-links, custom-toggle-hide-variable)
19075 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19076 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19077 (custom-face-menu-create, custom-variable-menu-create, get)
19078 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19079 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19080 (customize-apropos): Remove unused variable `tests'.
19081 (custom-group-value-create): Remove unused variable `hidden-p'.
19082 (sort-fold-case): Declare.
19083
19084 * cus-theme.el (custom-reset-standard-faces-list)
19085 (custom-reset-standard-variables-list): Declare.
19086 (customize-create-theme, custom-theme-revert, custom-theme-write)
19087 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19088 Mark unused parameters.
19089
19090 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19091
19092 * delim-col.el (delimit-columns-max): Move defvar before first use.
19093
19094 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19095 (describe-char): Don't quote `lambda'. Mark unused parameter.
19096
19097 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19098 (auto-insert): Declare.
19099 (desktop-restore-file-buffer): Rename desktop-* parameters;
19100 mark unused ones.
19101 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19102 (desktop-buffer): Rename desktop-* parameters.
19103
19104 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19105 (dframe-reposition-frame-xemacs, dframe-help-echo)
19106 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19107 Mark unused parameters.
19108
19109 * dired-aux.el (backup-extract-version-start, overwrite-query)
19110 (overwrite-backup-query, rename-regexp-query)
19111 (rename-non-directory-query): Declare.
19112 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19113 (dired-add-entry): Remove unused variable `orig-file-name'.
19114 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19115 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19116 `dired-copy-preserve-time' directly.
19117 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19118 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19119
19120 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19121 (dired-virtual-revert, dired-make-relative-symlink):
19122 Mark unused parameters.
19123 (manual-program): Declare.
19124 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19125 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19126 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19127
19128 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19129
19130 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19131
19132 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19133 Declare.
19134
19135 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19136
19137 * electric.el (Electric-command-loop): Rename parameter
19138 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19139
19140 * expand.el (expand-in-literal): Remove unused variable `here'.
19141
19142 * facemenu.el (facemenu-add-new-color):
19143 Remove unused variable `docstring'.
19144
19145 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19146 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19147 (face-attr-construct): Mark unused parameter. Doc fix.
19148 (read-color): Remove unused variable `hex-string'.
19149
19150 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19151 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19152 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19153 (display-buffer-other-frame): Remove unused variable `old-window'.
19154 (kill-buffer-hook): Declare.
19155 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19156 Mark unused parameters.
19157 (after-find-file): Pass 1 to `auto-save-mode', not t.
19158
19159 * files-x.el (auto-insert): Declare.
19160 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19161
19162 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19163 variable `buf'. Mark unused parameter.
19164 (find-lisp-insert-directory): Mark unused parameter.
19165
19166 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19167 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19168 (format-common-tail): Remove, unused.
19169 (format-deannotate-region): Remove unused variable `loc'.
19170 (format-annotate-region): Remove unused variable `p'.
19171 (format-annotate-single-property-change): Remove unused variables
19172 `default' and `tail'.
19173
19174 * forms.el (read-file-filter): Declare.
19175 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19176
19177 * frame.el (frame-creation-function-alist): Mark unused parameter.
19178 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19179
19180 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19181 Remove unused parameters.
19182 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19183 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19184
19185 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19186 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19187 (hfy-prepare-tag-map): Mark unused parameters.
19188 (htmlfontify-buffer): Use `called-interactively-p'.
19189
19190 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19191 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19192 (ibuffer-do-occur): Mark unused parameters.
19193 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19194 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19195
19196 * ibuffer.el: Don't quote `lambda'.
19197 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19198 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19199 Mark unused parameters.
19200
19201 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19202 (ido-completing-read): Mark unused parameters.
19203 (ido-copy-current-word): Mark unused parameters;
19204 remove unused variable `name'.
19205 (ido-sort-merged-list): Remove unused parameter `dirs'.
19206
19207 * ielm.el (ielm-input-sender): Mark unused parameter.
19208 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19209 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19210 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19211 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19212 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19213
19214 * image-dired.el (image-dired-display-thumbs): Remove unused
19215 variables `curr-file' and `count'.
19216 (image-dired-remove-tag): Remove unused variable `start'.
19217 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19218 variable `curr-file'
19219 (image-dired-rotate-original): Remove unused variable `temp-file'.
19220 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19221 Remove unused variable `file'.
19222 (image-dired-gallery-generate): Remove unused variable `curr'.
19223 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19224
19225 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19226
19227 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19228
19229 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19230
19231 * isearch.el (minibuffer-history-symbol): Declare.
19232 (isearch-edit-string): Remove unused variable `err'.
19233 (isearch-message-prefix, isearch-message-suffix):
19234 Mark unused parameters.
19235
19236 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19237
19238 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19239
19240 * makesum.el (double-column): Remove unused variable `cnt'.
19241
19242 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19243 (ido-ignore-item-temp-list): Declare.
19244
19245 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19246 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19247 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19248 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19249 `mouse-col-delta'.
19250
19251 * mouse-sel.el (mouse-extend-internal):
19252 Remove unused variable `orig-window-frame'.
19253
19254 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19255 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19256 Move declarations before first use.
19257 (pcomplete-opt): Mark unused parameters; doc fix.
19258
19259 * proced.el (proced-revert): Mark unused parameter.
19260 (proced-send-signal): Remove unused variable `err'.
19261
19262 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19263 Rename parameter PREFIX-ARG to ARG.
19264 (ps-basic-plot-string, ps-basic-plot-whitespace):
19265 Mark unused parameters.
19266
19267 * replace.el (replace-count): Define.
19268 (occur-revert-function): Mark unused parameters.
19269 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19270 (isearch-case-fold-search, isearch-string): Declare.
19271 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19272 bind `case-fold-search'. Remove unused variables `beg' and `end',
19273 and simplify.
19274 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19275 COUNT and bind `replace-count'.
19276 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19277 to COUNT.
19278
19279 * savehist.el (print-readably, print-string-length): Declare.
19280
19281 * shadowfile.el (shadow-expand-cluster-in-file-name):
19282 Remove unused variable `cluster'.
19283 (shadow-copy-file): Remove unused variable `i'.
19284 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19285 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19286 (shadow-define-literal-group, shadow-define-regexp-group)
19287 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19288
19289 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19290 (shell): Use `called-interactively-p'.
19291 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19292
19293 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19294 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19295 (delete-backward-char): Remove unused variable `ocol'.
19296 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19297 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19298 (event-apply-hyper-modifier, event-apply-shift-modifier)
19299 (event-apply-control-modifier, event-apply-meta-modifier):
19300 Mark unused parameters.
19301 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19302 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19303
19304 * speedbar.el (speedbar-ignored-directory-expressions)
19305 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19306 (speedbar-find-file, speedbar-dir-follow)
19307 (speedbar-directory-buttons-follow, speedbar-tag-find)
19308 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19309 (speedbar-buffers-line-directory, speedbar-buffer-click):
19310 Mark unused parameters.
19311 (speedbar-tag-file): Remove unused variable `mode'.
19312 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19313
19314 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19315
19316 * talk.el (talk): Remove unused variable `display'.
19317
19318 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19319 (tar-write-region-annotate): Mark unused parameter.
19320
19321 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19322 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19323 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19324 warning by another.
19325
19326 * time-stamp.el (time-stamp-string-preprocess):
19327 Remove unused variable `require-padding'.
19328
19329 * tree-widget.el (widget-glyph-enable): Declare.
19330 (tree-widget-action): Mark unused parameter.
19331
19332 * w32-fns.el (x-get-selection): Mark unused parameter.
19333 (autoload-make-program, generated-autoload-file): Declare.
19334
19335 * wdired.el (wdired-revert): Mark unused parameters.
19336 (wdired-xcase-word): Remove unused variable `err'.
19337
19338 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19339 (whitespace-help-scroll): Remove unused variable `data-help'.
19340
19341 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19342 (widget-image-insert, widget-after-change, default)
19343 (widget-default-format-handler, widget-default-notify)
19344 (widget-default-prompt-value, widget-info-link-action)
19345 (widget-url-link-action, widget-function-link-action)
19346 (widget-variable-link-action, widget-file-link-action)
19347 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19348 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19349 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19350 (widget-insert-button-action, widget-delete-button-action, visibility)
19351 (widget-documentation-link-action, widget-documentation-string-action)
19352 (widget-const-prompt-value, widget-regexp-match, symbol)
19353 (widget-coding-system-prompt-value)
19354 (widget-key-sequence-value-to-external, sexp)
19355 (widget-sexp-value-to-internal, character, vector, cons)
19356 (widget-choice-prompt-value, widget-boolean-prompt-value)
19357 (widget-color--choose-action): Mark unused parameters.
19358 (widget-item-match-inline, widget-choice-match-inline)
19359 (widget-checklist-match, widget-checklist-match-inline)
19360 (widget-group-match): Rename parameter VALUES to VALS.
19361 (widget-field-value-set): Remove unused variable `size'.
19362 (widget-color-action): Remove unused variables `value' and `start'.
19363
19364 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19365 variable `dir'. Doc fix.
19366 (windmove-find-other-window): Don't pass it.
19367
19368 * window.el (count-windows): Mark unused parameter.
19369 (bw-adjust-window): Remove unused variable `err'.
19370
19371 * woman.el (woman-file-name): Remove unused variable `default'.
19372 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19373 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19374 (global-font-lock-mode): Declare.
19375 (woman-decode-region): Mark unused parameter.
19376 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19377
19378 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19379 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19380 (x-dnd-handle-moz-url): Remove unused variable `title'.
19381 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19382
19383 * xml.el (xml-parse-tag, xml-parse-attlist):
19384 Remove unused variable `pos'.
19385
19386 2011-04-19 Glenn Morris <rgm@gnu.org>
19387
19388 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19389 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19390 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19391 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19392 * calendar/cal-html.el (cal-html-insert-minical):
19393 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19394 (calendar-mark-date-pattern):
19395 Prefix "unused" locals.
19396
19397 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19398 optional argument `style'.
19399
19400 * calendar/appt.el (appt-make-list):
19401 * calendar/cal-china.el (calendar-chinese-date-string):
19402 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19403 (diary-hebrew-yahrzeit):
19404 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19405 * calendar/calendar.el (calendar-generate-window):
19406 * calendar/time-date.el (time-to-days):
19407 Remove unused local variables.
19408
19409 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19410
19411 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19412 glyphless-char-display table.
19413 (tabulated-list-glyphless-char-display): New var.
19414
19415 2011-04-18 Sam Steingold <sds@gnu.org>
19416
19417 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19418 to acknowledgments.
19419
19420 2011-04-17 Glenn Morris <rgm@gnu.org>
19421
19422 * calendar/diary-lib.el (diary-sexp-entry):
19423 * calendar/holidays.el (holiday-sexp):
19424 Set debug-on-error rather than the removed stack-trace-on-error.
19425
19426 2011-04-16 Glenn Morris <rgm@gnu.org>
19427
19428 * progmodes/f90.el: Use lexical-binding.
19429 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19430
19431 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19432
19433 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19434 (mail-mode): Setup mailalias completion here instead.
19435 * mail/mailalias.el: Use lexical-binding.
19436 (pattern, mailalias-done): Declare dynamic.
19437 (mail-completion-at-point-function): New function, from mail-complete.
19438 (mail-complete): Use it.
19439 (mail-completion-expand): New function.
19440 (mail-get-names): Use it.
19441 (mail-directory, mail-directory-process, mail-directory-stream):
19442 Don't use `pattern' for lexically bound arg.
19443
19444 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19445
19446 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19447 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19448 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19449
19450 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19451 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19452 (byte-interactive-p): Define them again, for use when inlining
19453 old code.
19454
19455 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19456
19457 * loadup.el: Use `string-to-number', not `string-to-int'.
19458
19459 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19460
19461 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19462 gud-gdb-complete-command.
19463 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19464 (gud-gdb-completion-at-point): New function.
19465 (gud-gdb-completions): Remove.
19466
19467 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19468
19469 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19470 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19471 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19472 whether `executable-find' is bound.
19473
19474 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19475
19476 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19477
19478 * minibuffer.el (completion-in-region-mode-predicate)
19479 (completion-in-region-mode--predicate): New vars.
19480 (completion-in-region, completion-in-region--postch)
19481 (completion-in-region-mode): Use them.
19482 (completion--capf-wrapper): Also return the hook function.
19483 (completion-at-point, completion-help-at-point):
19484 Adjust and provide a predicate.
19485
19486 Preserve arg names for advice of subr and lexical functions (bug#8457).
19487 * help-fns.el (help-function-arglist): Consolidate the subr and
19488 new-byte-code cases. Add argument `preserve-names' to extract names
19489 from the docstring when needed.
19490 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19491 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19492 (ad-arglist): Use help-function-arglist's new arg.
19493 (ad-definition-type): Use cond.
19494
19495 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19496
19497 * autorevert.el (auto-revert-handler):
19498 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19499 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19500 Don't quote lambda.
19501
19502 * image-mode.el (image-transform-set-scale):
19503 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19504
19505 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19506
19507 * net/network-stream.el (network-stream-open-starttls): Only do
19508 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19509 Upgrades via gnutls-cli are too slow to be done opportunistically.
19510
19511 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19512
19513 * dframe.el (dframe-current-frame): Remove spurious quote.
19514
19515 2011-04-12 Glenn Morris <rgm@gnu.org>
19516
19517 * calendar/cal-tex.el (cal-tex-end-document):
19518 Try to automatically use latin1 input if needed.
19519
19520 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19521 Don't try to cons a mark onto an empty element.
19522
19523 2011-04-11 Leo Liu <sdl.web@gmail.com>
19524
19525 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19526 buffers.
19527 (ido-kill-buffer-at-head): Support killing virtual buffers.
19528
19529 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19530
19531 * minibuffer.el (completion-show-inline-help): New var.
19532 (completion--do-completion, minibuffer-complete)
19533 (minibuffer-force-complete, minibuffer-complete-word):
19534 Inhibit minibuffer messages if completion-show-inline-help is nil.
19535
19536 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19537 to avoid interference from inline help (Bug#5849).
19538
19539 2011-04-10 Leo Liu <sdl.web@gmail.com>
19540
19541 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19542 Fix typo.
19543
19544 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19545
19546 * image-mode.el (image-toggle-display-image): Signal an error if
19547 not in Image mode.
19548 (image-transform-mode, image-transform-resize)
19549 (image-transform-set-rotation): Doc fix.
19550 (image-transform-set-resize): Delete.
19551 (image-transform-set-scale, image-transform-fit-to-height)
19552 (image-transform-fit-to-width): Handle image-toggle-display-image
19553 and image-transform-resize directly.
19554
19555 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19556
19557 * doc-view.el (doc-view-fit-width-to-window)
19558 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19559 New functions for fitting the shown image to the Emacs window size.
19560 (doc-view-mode-map): Add bindings for the new functions.
19561
19562 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19563
19564 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19565 Fix typo in docstring.
19566
19567 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19568
19569 * files.el (file-size-human-readable): Produce one digit after
19570 decimal, like "ls -lh" does.
19571
19572 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19573 the file size representation.
19574
19575 * simple.el (list-processes): If async subprocesses are not
19576 available, error out with a clear error message.
19577
19578 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19579
19580 * help.el (help-form-show): New function, to be called from C.
19581 Put help-form output in a buffer named differently than *Help*.
19582
19583 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19584
19585 * files.el (file-size-human-readable): New function.
19586
19587 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19588 computing the representation inline. Don't require `cl'.
19589
19590 2011-04-08 Glenn Morris <rgm@gnu.org>
19591
19592 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19593
19594 * net/browse-url.el (browse-url-firefox):
19595 Test system-type, not system-configuration.
19596
19597 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19598 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19599 Use log-edit-empty-buffer-p. (Bug#7598)
19600
19601 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19602 (rlogin-mode-map): Initialize in the defvar.
19603 (rlogin): Use ignore-errors.
19604
19605 * replace.el (occur-mode-map): Some fixes for menu items.
19606
19607 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19608
19609 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19610
19611 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19612
19613 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19614 issuing unused warnings.
19615
19616 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19617 macro directly.
19618
19619 * simple.el: Lisp reimplement of list-processes. Based on an
19620 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19621 (process-menu-mode): New major mode.
19622 (list-processes--refresh, list-processes):
19623 (process-menu-visit-buffer): New functions.
19624
19625 * files.el (save-buffers-kill-emacs): Don't assume any return
19626 value of list-processes, which is undocumented anyway.
19627
19628 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19629
19630 * emacs-lisp/tabulated-list.el: New file.
19631
19632 * emacs-lisp/package.el: Use Tabulated List mode.
19633 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19634 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19635 table format using Tabulated List mode variables.
19636 (package--push): New macro, replacing package-list-maybe-add.
19637 (package-menu--generate): Use package--push. Renamed from
19638 package--generate-package-list.
19639 (package-menu-refresh, list-packages): Use it.
19640 (package-menu--print-info): Rename from package-print-package.
19641 Return insertion data instead of inserting it directly.
19642 (package-menu-describe-package, package-menu-execute):
19643 Use tabulated-list-get-id.
19644 (package-menu-mark-delete, package-menu-mark-install)
19645 (package-menu-mark-unmark, package-menu-backup-unmark)
19646 (package-menu-mark-obsolete-for-deletion):
19647 Use tabulated-list-put-tag.
19648 (package--list-packages, package-menu-revert)
19649 (package-menu-get-package, package-menu-get-version)
19650 (package-menu-sort-by-column): Functions deleted.
19651 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19652 (package-menu--status-predicate, package-menu--version-predicate)
19653 (package-menu--name-predicate)
19654 (package-menu--description-predicate): Handle arguments in the
19655 Tabulated List format.
19656 (package-list-packages-no-fetch): Call list-packages.
19657
19658 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19659
19660 * files.el (after-find-file-from-revert-buffer): Remove variable.
19661 (after-find-file): Don't bind it.
19662 (revert-buffer-in-progress-p): New variable.
19663 (revert-buffer): Bind it.
19664 Pass nil for `after-find-file-from-revert-buffer'.
19665
19666 * saveplace.el (save-place-find-file-hook): Use new variable
19667 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19668
19669 2011-04-06 Glenn Morris <rgm@gnu.org>
19670
19671 * Makefile.in (AUTOGEN_VCS): New variable.
19672 (autoloads): Use $AUTOGEN_VCS.
19673
19674 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19675 * calendar/calendar.el (calendar-mode-map):
19676 Check for toolkit scroll bars. (Bug#8305)
19677
19678 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19679
19680 * minibuffer.el (completion-in-region--postch)
19681 (completion-in-region-mode): Remove unnecessary messages.
19682
19683 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19684
19685 * font-lock.el (font-lock-refresh-defaults):
19686 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19687 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19688
19689 * info.el (Info-directory-list, Info-read-node-name-2)
19690 (Info-split-parameter-string): Doc fixes.
19691 (Info-virtual-nodes): Reflow docstring.
19692 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19693 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19694 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19695 Fix typos in docstrings.
19696 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19697 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19698 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19699 (Info-restore-desktop-buffer): Mark unused parameters.
19700 (Info-directory-find-file, Info-directory-find-node)
19701 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19702 (Info-virtual-index-find-node, Info-apropos-find-file)
19703 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19704 Mark unused parameters; fix typos in docstrings.
19705 (Info-virtual-index): Remove unused local variable `nodename'.
19706
19707 2011-04-05 Deniz Dogan <deniz@dogan.se>
19708
19709 * net/rcirc.el: Update my e-mail address.
19710 (rcirc-mode-map): Remove M-o binding.
19711
19712 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19713
19714 * startup.el (command-line): Save the cursor's theme-face
19715 directly, instead of using face-override-spec.
19716
19717 * custom.el (load-theme): Minor optimization in assigning faces.
19718
19719 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19720
19721 * help-fns.el (describe-variable): Complete all variables having
19722 documentation, including keywords.
19723 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19724
19725 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19726
19727 Convert to lexical-binding.
19728
19729 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19730 (bs--get-marked-string, bs--get-modified-string)
19731 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19732 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19733 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19734
19735 * ehelp.el (electric-help-execute-extended)
19736 (electric-help-ctrl-x-prefix):
19737 * hexl.el (hexl-revert-buffer-function):
19738 * linum.el (linum-after-change, linum-after-scroll):
19739 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19740
19741 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19742
19743 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19744
19745 * epa-dired.el:
19746 * epa-mail.el:
19747 * epa-hook.el:
19748 * epa-file.el:
19749 * epa.el:
19750 * epg.el: Use lexical binding.
19751
19752 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19753
19754 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19755
19756 * textmodes/flyspell.el (flyspell-word): Recognize default
19757 dictionary case for flyspell-mark-duplications-exceptions.
19758 Use regexp matching for languages.
19759 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19760 default dictionary (Bug#7926).
19761
19762 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19763
19764 * emacs-lisp/package.el (package--with-work-buffer):
19765 Recognize https URLs.
19766
19767 * net/network-stream.el: Move from gnus/proto-stream.el.
19768 Change prefix to network-stream throughout.
19769 (open-protocol-stream): Merge into open-network-stream, leaving
19770 open-protocol-stream as an alias. Handle nil BUFFER args.
19771
19772 * subr.el (open-network-stream): Move to net/network-stream.el.
19773
19774 2011-04-02 Glenn Morris <rgm@gnu.org>
19775
19776 * find-dired.el (find-exec-terminator): New option.
19777 (find-ls-option): Test for -ls support.
19778 (find-ls-subdir-switches): Test for -b in find-ls-option.
19779 (find-dired, find-grep-dired): Doc fixes.
19780 (find-dired): Use find-exec-terminator.
19781
19782 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19783 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19784 (find-name-arg): Remove purecopy.
19785
19786 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19787 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19788 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19789 accordingly. Don't add the null-device if not needed.
19790
19791 * files.el (save-some-buffers): Doc fix.
19792
19793 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19794
19795 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19796
19797 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19798
19799 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19800 Use `dolist' rather than `mapcar'.
19801
19802 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19803
19804 Add lexical binding.
19805
19806 * subr.el (apply-partially): Use new closures rather than CL.
19807 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19808 (dolist, dotimes): Use slightly different expansion for lexical code.
19809 (functionp): Move to C.
19810 (letrec): New macro.
19811 (with-wrapper-hook): Use it and apply-partially instead of CL.
19812 (eval-after-load): Preserve lexical-binding.
19813 (save-window-excursion, with-output-to-temp-buffer): Turn them
19814 into macros.
19815
19816 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19817
19818 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19819 than the arglist.
19820 (help-add-fundoc-usage): Don't add `Not documented'.
19821 (help-function-arglist): Handle closures, subroutines, and new
19822 byte-code-functions.
19823 (help-make-usage): Remove leading underscores.
19824 (describe-function-1): Handle closures.
19825 (describe-variable): Use special-variable-p for completion.
19826
19827 * files.el (lexical-binding): Declare safe.
19828
19829 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19830 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19831 (pcase): Add `let' pattern.
19832 Change memoization so it actually works.
19833 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19834 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19835 <let>: New case.
19836
19837 * emacs-lisp/macroexp.el: Use lexical binding.
19838 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19839 Don't convert ' to #' without checking that it's indeed quoting
19840 a lambda.
19841
19842 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19843 Use eval-sexp-add-defvars.
19844 (eval-sexp-add-defvars): New fun.
19845
19846 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19847
19848 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19849 Don't autoload.
19850 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19851 than the internal `byte-compile-lambda'.
19852 (defmethod): Don't hide code under quotes.
19853 (eieio-defmethod): New `code' argument.
19854
19855 * emacs-lisp/eieio-comp.el: Remove.
19856
19857 * emacs-lisp/edebug.el (edebug-eval-defun)
19858 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19859 (edebug-toggle): Avoid `eval'.
19860
19861 * emacs-lisp/disass.el (disassemble-internal): Handle new
19862 `closure' objects.
19863 (disassemble-1): Handle new byte codes.
19864
19865 * emacs-lisp/cl.el (pushnew): Silence warning.
19866
19867 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19868 (cl-byte-compile-throw): Remove.
19869 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19870
19871 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19872 closures.
19873
19874 * emacs-lisp/cconv.el: New file.
19875
19876 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19877 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19878 (byte-compile-initial-macro-environment):
19879 Handle declare-function here.
19880 (byte-compile--lexical-environment): New var.
19881 (byte-stack-ref, byte-stack-set, byte-discardN)
19882 (byte-discardN-preserve-tos): New lap codes.
19883 (byte-interactive-p): Don't use any more.
19884 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19885 New macros.
19886 (byte-compile-lapcode): Use them and handle new lap codes.
19887 (byte-compile-obsolete): Remove.
19888 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19889 (byte-compile-arglist-warn): Check late def of inlinable funs.
19890 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19891 since they should have been expanded by now.
19892 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19893 (byte-compile-from-buffer): Remove unused second arg.
19894 (byte-compile-preprocess): New function.
19895 (byte-compile-toplevel-file-form): New function to distinguish
19896 file-form calls from outside from file-form calls from hunk-handlers.
19897 (byte-compile-file-form): Simplify.
19898 (byte-compile-file-form-defsubst): Remove.
19899 (byte-compile-file-form-defmumble): Simplify now that
19900 byte-compile-lambda always returns a byte-code-function.
19901 (byte-compile): Preprocess.
19902 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19903 Remove, not used any more.
19904 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19905 (byte-compile-make-args-desc): New funs.
19906 (byte-compile-lambda): Handle lexical functions. Always return
19907 a byte-code-function.
19908 (byte-compile-reserved-constants): New var, to make up room for
19909 closed-over variables.
19910 (byte-compile-constants-vector): Obey it.
19911 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19912 (byte-compile-macroexpand-declare-function): New function.
19913 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19914 byte-code-functions.
19915 (byte-compile-form): Check obsolescence here.
19916 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19917 (byte-compile-variable-ref): Remove.
19918 (byte-compile-dynamic-variable-op): New fun.
19919 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19920 (byte-compile-variable-set): New funs.
19921 (byte-compile-discard): Add 2 args.
19922 (byte-compile-stack-ref, byte-compile-stack-set)
19923 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19924 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19925 macroexpand-all instead.
19926 (byte-compile-quote-form): Remove.
19927 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19928 (byte-compile-bind, byte-compile-unbind): New funs.
19929 (byte-compile-let): Handle let* and lexical binding.
19930 (byte-compile-let*): Remove.
19931 (byte-compile-catch, byte-compile-unwind-protect)
19932 (byte-compile-track-mouse, byte-compile-condition-case):
19933 Handle a new :fun-body form, used for lexical scoping.
19934 (byte-compile-save-window-excursion)
19935 (byte-compile-with-output-to-temp-buffer): Remove.
19936 (byte-compile-defun): Simplify.
19937 (byte-compile-stack-adjustment): New fun.
19938 (byte-compile-out): Use it.
19939 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19940
19941 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19942 handler any more.
19943
19944 * emacs-lisp/byte-opt.el: Use lexical binding.
19945 (byte-inline-lapcode): Remove (to bytecomp).
19946 (byte-compile-inline-expand): Pay attention to inlining to/from
19947 lexically bound code.
19948 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19949 any more.
19950 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19951 any more and don't call compiler-macros.
19952 (byte-compile-splice-in-already-compiled-code): Remove.
19953 (byte-code): Don't inline any more.
19954 (disassemble-offset): Receive `bytes' as argument rather than via
19955 dynamic scoping.
19956 (byte-compile-tag-number): Declare before first use.
19957 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19958 `return' even if make-spliceable.
19959 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19960 obsolete interactive-p.
19961 (byte-optimize-lapcode): Optimize new lap-codes.
19962 Don't trip up on new form of `byte-constant' lap code.
19963
19964 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19965
19966 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19967
19968 * custom.el (custom-initialize-default, custom-declare-variable):
19969 Use `defvar'.
19970
19971 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19972 New variables.
19973 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19974 (COMPILE_FIRST): Add macroexp and cconv.
19975 * makefile.w32-in: Mirror changes in Makefile.in.
19976
19977 * vc/cvs-status.el:
19978 * vc/diff-mode.el:
19979 * vc/log-edit.el:
19980 * vc/log-view.el:
19981 * vc/smerge-mode.el:
19982 * textmodes/bibtex-style.el:
19983 * textmodes/css-mode.el:
19984 * startup.el:
19985 * uniquify.el:
19986 * minibuffer.el:
19987 * newcomment.el:
19988 * reveal.el:
19989 * server.el:
19990 * mpc.el:
19991 * emacs-lisp/smie.el:
19992 * doc-view.el:
19993 * dired.el:
19994 * abbrev.el: Use lexical binding.
19995
19996 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19997
19998 * info.el (info-display-manual): New function.
19999
20000 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20001
20002 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20003
20004 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20005
20006 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20007 an entry for that server in rcirc-authinfo. (Bug#8385)
20008
20009 2011-03-31 Glenn Morris <rgm@gnu.org>
20010
20011 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20012
20013 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20014
20015 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20016
20017 * progmodes/python.el (python-default-interpreter)
20018 (python-python-command-args, python-jython-command-args)
20019 (python-which-shell, python-which-args, python-which-bufname)
20020 (python-file-queue, python-comint-output-filter-function)
20021 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20022 variables and functions.
20023
20024 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20025
20026 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20027 (completion-in-region-mode): New minor mode.
20028 (completion-in-region): Use it.
20029 (completion-in-region--data, completion-in-region-mode-map): New vars.
20030 (completion-in-region--postch): New function.
20031 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20032 New vars.
20033 (completion--capf-wrapper): New function.
20034 (completion-at-point): Use it to track well-behavedness of
20035 hook functions.
20036 (completion-help-at-point): New command.
20037
20038 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20039
20040 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20041 syntax class to search for whitespace on a single line
20042 (Message-ID: <4D938140.4030905@redhat.com>).
20043
20044 2011-03-30 Leo Liu <sdl.web@gmail.com>
20045
20046 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20047 New commands.
20048 (edit-abbrevs-map): Bind them here.
20049 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20050
20051 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20052
20053 * allout.el (allout-hide-by-annotation, allout-flag-region):
20054 Reduce possibility of overlay leakage by making them volatile.
20055
20056 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20057 hash is not shared between buffers. Mode initialization is
20058 responsible for giving it a useful starting value.
20059 (allout-item-span): Reduce possibility of overlay leakage by
20060 making them volatile.
20061 (allout-widgets-count-buttons-in-region): Add diagnostic function
20062 for tracking down button overlay leaks.
20063
20064 2011-03-29 Leo Liu <sdl.web@gmail.com>
20065
20066 * ido.el (ido-read-internal): Use the default history var
20067 minibuffer-history if no HISTORY is specified.
20068
20069 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20070
20071 * net/imap.el (imap-shell-open, imap-process-connection-type):
20072 Use imap-process-connection-type for 'shell' streams as well as
20073 Kerberos, SSL, other subprocesses.
20074
20075 2011-03-28 Leo Liu <sdl.web@gmail.com>
20076
20077 * abbrev.el (abbrev-table-empty-p): New function.
20078 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20079 nonempty ones. (Bug#5937)
20080
20081 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20082
20083 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20084
20085 2011-03-27 Leo Liu <sdl.web@gmail.com>
20086
20087 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20088 for foreground and background colors.
20089 (ansi-color-make-color-map): Adapt.
20090
20091 2011-03-25 Leo Liu <sdl.web@gmail.com>
20092
20093 * midnight.el (midnight-time-float): Remove. Note it calculates
20094 the microsecond component incorrectly and seconds-to-time does the
20095 same job.
20096 Remove redundant (require 'timer).
20097
20098 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20099 (ido-completions): Remove unused arguments. (Bug#8329)
20100
20101 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20102
20103 * minibuffer.el (completion--flush-all-sorted-completions):
20104 Remove itself from hook.
20105 (completion-at-point): Let the functions perform the completion
20106 immediately and return nil or t.
20107 * comint.el (comint-dynamic-complete-functions): Now identical to
20108 completion-at-point-functions.
20109 (comint-dynamic-list-input-ring): Remove unused var `index'.
20110 (comint--match-partial-filename, comint--unquote&expand-filename):
20111 New funs, split from comint-match-partial-filename.
20112 (comint-dynamic-complete): Use completion-at-point.
20113 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20114
20115 2011-03-24 Drew Adams <drew.adams@oracle.com>
20116
20117 * thingatpt.el: Support `defun'.
20118
20119 2011-03-23 Leo Liu <sdl.web@gmail.com>
20120
20121 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20122
20123 * help-mode.el (help-mode-finish): Tweak regexp.
20124
20125 2011-03-23 Glenn Morris <rgm@gnu.org>
20126
20127 * eshell/esh-opt.el (eshell-eval-using-options):
20128 Do not bind unused local variable `eshell-option-stub'.
20129
20130 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20131
20132 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20133
20134 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20135 keymap variable in `with-no-warnings' to avoid a warning when the
20136 keymap has been already `defconst'ed.
20137
20138 2011-03-22 Leo Liu <sdl.web@gmail.com>
20139
20140 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20141 encode all chars in abbrevs; otherwise use emacs-mule or
20142 utf-8-emacs. (Bug#8308)
20143
20144 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20145
20146 * simple.el (backward-delete-char-untabify):
20147 Avoid warning about using `delete-backward-char'.
20148
20149 * image.el (image-type-file-name-regexps): Make it variable.
20150 `imagemagick-register-types' modifies it, and the user may want
20151 to add new extensions for known image types.
20152 (imagemagick-register-types): Throw error if not using ImageMagick.
20153
20154 2011-03-22 Leo Liu <sdl.web@gmail.com>
20155
20156 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20157 located before rcirc-prompt-end-marker.
20158 (rcirc-complete): Error if point is not after rcirc prompt.
20159 Handle the case when table is nil.
20160 (rcirc-user-authenticated): Define to fix compiler warning.
20161
20162 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20163
20164 * custom.el (custom--inhibit-theme-enable): Make it affect only
20165 custom-theme-set-variables and custom-theme-set-faces.
20166 (provide-theme): Ignore custom--inhibit-theme-enable.
20167 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20168 (custom-enabling-themes): Delete variable.
20169 (enable-theme): Accept only loaded themes as arguments.
20170 Ignore the special custom-enabled-themes variable.
20171 (custom-enabled-themes): Forbid themes from setting this.
20172 Eliminate use of custom-enabling-themes.
20173 (custom-push-theme): Quote "changed" custom var entry.
20174
20175 2011-03-21 Leo Liu <sdl.web@gmail.com>
20176
20177 * ido.el (ido-read-internal): Add ido-selected to history instead
20178 of user input.
20179
20180 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20181
20182 * subr.el (deferred-action-list, deferred-action-function):
20183 Mark obsolete.
20184
20185 2011-03-21 Leo Liu <sdl.web@gmail.com>
20186
20187 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20188 change on 2011-02-13 (bug#8309).
20189
20190 * minibuffer.el (read-file-name-function): Change default value.
20191 (read-file-name--defaults): Rename from read-file-name-defaults.
20192 (read-file-name-default): Rename from read-file-name.
20193 (read-file-name): Call read-file-name-function.
20194
20195 2011-03-21 Glenn Morris <rgm@gnu.org>
20196
20197 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20198 Doc fixes.
20199
20200 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20201
20202 * cus-theme.el: Add missing provide statement.
20203 (customize-create-theme): Extract theme value correctly.
20204 (custom-theme-visit-theme): Autoload.
20205 (customize-create-theme): Prompt before inserting default faces.
20206
20207 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20208
20209 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20210 units and musical notes.
20211
20212 2011-03-20 Leo Liu <sdl.web@gmail.com>
20213
20214 * ido.el (ido-read-internal): Use completing-read-default.
20215 (ido-completing-read): Fix compatibility with completing-read.
20216
20217 2011-03-20 Christian Ohler <ohler@gnu.org>
20218
20219 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20220 (ert-delete-all-tests): Use `called-interactively-p' rather than
20221 `interactive-p'.
20222 (ert--make-xrefs-region): Respect END.
20223
20224 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20225
20226 * dired-aux.el (dired-create-directory): Signal an error if the
20227 directory already exists (Bug#8246).
20228
20229 * facemenu.el (list-colors-display): Call list-faces-display
20230 inside with-help-window.
20231 (list-colors-print): Use display property to align the final
20232 column, instead of checking window-width.
20233
20234 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20235
20236 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20237 windows-nt systems.
20238 (emerge-protect-metachars): Quote correctly for ms-dos and
20239 windows-nt systems.
20240
20241 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20242
20243 * info.el (info-initialize): Replace all uses of `:' with
20244 path-separator for compatibility with non-Unix systems.
20245 Cache quoting of path-separator. (Bug#8258)
20246
20247 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20248
20249 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20250 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20251 (mouse-avoidance-mode): Fix typos in docstrings.
20252
20253 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20254
20255 * startup.el (package-subdirectory-regexp): Move from package.el.
20256 Omit \\` and \\', and let callers add them.
20257
20258 * emacs-lisp/package.el (package-strip-version)
20259 (package-load-all-descriptors): Add \\` and \\' to
20260 package-subdirectory-regexp before using it.
20261 (package-untar-buffer): New arg DIR; ensure that file untars only
20262 into this expected directory. Remove superfluous delete-region.
20263 (package-unpack): Caller changed.
20264 (package-tar-file-info): Use package-subdirectory-regexp.
20265
20266 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20267
20268 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20269 diff-mode-shared-map (bug#8284).
20270 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20271
20272 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20273
20274 * calendar/time-date.el (format-seconds): Use assoc instead of
20275 assoc-string, since assoc-string doesn't exist in XEmacs.
20276
20277 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20278
20279 * custom.el (custom-known-themes): Reflow docstring.
20280 (custom-theme-load-path): Fix typo in docstring.
20281 (load-theme): Fix typo in error message.
20282 (custom-available-themes, custom-variable-theme-value):
20283 Use `let', not `let*'.
20284
20285 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20286
20287 * calc/README: Mention inclusion of musical notes.
20288
20289 * calc/calc-units.el (calc-lu-quant): Rename from
20290 `calc-logunits-quantity'.
20291 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20292 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20293 (calc-db): Rename from `calc-dblevel'.
20294 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20295 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20296 (calc-np): Rename from `calc-nplevel'.
20297 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20298 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20299 (calc-lu-plus): Rename from `calc-logunits-add'.
20300 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20301 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20302 (calc-lu-minus): Rename from `calc-logunits-sub'.
20303 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20304 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20305 (calc-lu-times): Rename from `calc-logunits-mul'.
20306 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20307 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20308 (calc-lu-divide): Rename from `calc-logunits-div'.
20309 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20310 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20311
20312 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20313 functions being autoloaded.
20314
20315 * calc/calc.el (calc-lu-power-reference): Rename from
20316 `calc-logunits-power-reference'.
20317 (calc-lu-field-reference): Rename from
20318 `calc-logunits-field-reference'.
20319
20320 * calc/calc-help.el (calc-l-prefix-help):
20321 Mention musical note functions.
20322
20323 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20324
20325 * minibuffer.el (completion-all-sorted-completions):
20326 Use :completion-cycle-penalty text property if present.
20327
20328 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20329
20330 * allout.el (allout-yank-processing): Adjust for new rebulleting
20331 regime so bullet being yanked is used without prompting the user
20332 for a choice.
20333
20334 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20335
20336 * startup.el (command-line): Warn the user that _emacs is deprecated.
20337
20338 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20339
20340 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20341 (delphi-verbose, delphi-comment-face, delphi-string-face)
20342 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20343 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20344 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20345 (delphi-new-comment-line, delphi-font-lock-defaults)
20346 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20347 Fix typos in docstrings.
20348
20349 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20350
20351 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20352 Invert the roles of character and string values for INSTEAD, so a
20353 string is used for the more common case of a defaulting prompt.
20354
20355 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20356
20357 * progmodes/ruby-mode.el (ruby-backward-sexp):
20358 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20359 * play/gamegrid.el (gamegrid-make-face):
20360 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20361 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20362 * notifications.el (notifications-notify):
20363 * net/xesam.el (xesam-search-engines):
20364 * net/quickurl.el (quickurl-list-insert):
20365 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20366
20367 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20368
20369 * startup.el (command-line): Update package subdirectory regexp.
20370
20371 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * allout.el (allout-abbreviate-flattened-numbering)
20374 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20375
20376 * subr.el (read-char-choice): Only show the cursor after the prompt,
20377 not after the answer.
20378
20379 2011-03-15 Kevin Ryde <user42@zip.com.au>
20380
20381 * help-fns.el (variable-at-point): Skip leading quotes, if any
20382 (bug#8253).
20383
20384 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20385
20386 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20387 warning message.
20388
20389 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20390
20391 * shell.el (shell): When called interactively, offer to change the
20392 shell file name on remote hosts.
20393
20394 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20395
20396 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20397 integration for LDAP parameters. The host, base, user or binddn,
20398 and secret tokens can be specified in a netrc file, for instance.
20399 This is optional because an `auth-source' parameter must be
20400 specified in the search attributes.
20401
20402 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20403
20404 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20405
20406 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20407
20408 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20409 into declaration. Remove redundant and harmful binding.
20410
20411 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20412
20413 * files.el (file-ownership-preserved-p): Pass `integer' as an
20414 explicit 2nd argument to `file-attributes'. If the file's owner
20415 is the Administrators group on Windows, and the current user is
20416 Administrator, consider that a match.
20417
20418 * server.el (server-ensure-safe-dir): Consider server directory
20419 safe on MS-Windows if its owner is the Administrators group while
20420 the current Emacs user is Administrator. Use `=' to compare
20421 numerical UIDs, since they could be integers or floats.
20422
20423 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20424
20425 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20426
20427 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20428
20429 Sync with Tramp 2.2.1.
20430
20431 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20432
20433 * net/trampver.el: Update release number.
20434
20435 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20436
20437 * progmodes/compile.el (compilation--previous-directory): Fix up
20438 various nil/dead-marker mismatches (bug#8014).
20439 (compilation-directory-properties, compilation-error-properties):
20440 Don't call it at a position past the one we're about to change.
20441
20442 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20443 Disable obsolescence warnings in the file that declares it.
20444
20445 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20446
20447 * allout-widgets.el (allout-widgets-tally):
20448 Initialize allout-widgets-tally as a hash table rather than nil to
20449 prevent mode-line redisplay warnings. Also, clarify the module
20450 description and fix a comment typo.
20451
20452 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20453
20454 * help-fns.el (describe-variable): Don't complete keywords.
20455 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20456
20457 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20458
20459 * emacs-lisp/package.el (package-version-join): Impose a standard
20460 string representation for pre/alpha/beta version lists.
20461 (package-unpack-single): Standardize the directory name by passing
20462 it through package-version-join.
20463 (package-strip-rcs-id): Accept any version string that does not
20464 signal an error in version-to-list.
20465
20466 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20467
20468 * simple.el (delete-trailing-whitespace): Return nil for the
20469 benefit of `write-file-functions'.
20470
20471 2011-03-10 Glenn Morris <rgm@gnu.org>
20472
20473 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20474
20475 * vc/vc-git.el (vc-git-program): New option.
20476 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20477 (vc-git--call): Use it.
20478
20479 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20480
20481 * cus-edit.el (Custom-newline): If no button at point, look
20482 for a subgroup button at start-of-line. (Bug#2298)
20483
20484 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20485
20486 2011-03-10 Julien Danjou <julien@danjou.info>
20487
20488 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20489 `cursor-type' is nil.
20490
20491 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20492
20493 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20494
20495 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20496
20497 * allout.el: Change so yank of distinctive-bullet items
20498 preserves the existing header prefix, rebulleting it if necessary,
20499 rather than replacing it. This is necessary for proper operation
20500 of cooperative addons like allout-widgets.
20501 (allout-make-topic-prefix, allout-rebullet-heading):
20502 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20503 value as alternate bullet to be used, instead of prompting the user
20504 for a bullet character.
20505
20506 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20507
20508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20509 Do not use `tramp-file-name-port', because this returns also
20510 `tramp-default-port'.
20511
20512 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20513
20514 * net/rcirc.el (rcirc-handler-001): Remove useless
20515 with-rcirc-process-buffer.
20516 (rcirc-check-auth-status): Swap arguments to string-match.
20517
20518 2011-03-09 Glenn Morris <rgm@gnu.org>
20519
20520 * shell.el (shell-mode):
20521 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20522
20523 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20524 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20525
20526 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20527
20528 * emacs-lisp/package.el (package-refresh-contents)
20529 (package-menu-execute): Use condition-case-no-debug.
20530
20531 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20532
20533 * simple.el (shell-command-to-string): Use `process-file'.
20534
20535 * emacs-lisp/package.el (package-tar-file-info): Handle also
20536 remote files.
20537
20538 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20539 Use `equal' for upload base check.
20540
20541 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20542
20543 * textmodes/texinfo.el (texinfo-environments):
20544 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20545
20546 2011-03-08 Glenn Morris <rgm@gnu.org>
20547
20548 * cus-start.el (cursor-in-non-selected-windows):
20549 Fix :set quoting oddness. (Bug#8192)
20550
20551 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20552 in some setf expressions. (Bug#2159)
20553
20554 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20555
20556 * custom.el (custom-available-themes): Return themes in
20557 alphabetical order.
20558
20559 See ChangeLog.15 for earlier changes.
20560
20561 ;; Local Variables:
20562 ;; coding: utf-8
20563 ;; End:
20564
20565 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20566
20567 This file is part of GNU Emacs.
20568
20569 GNU Emacs is free software: you can redistribute it and/or modify
20570 it under the terms of the GNU General Public License as published by
20571 the Free Software Foundation, either version 3 of the License, or
20572 (at your option) any later version.
20573
20574 GNU Emacs is distributed in the hope that it will be useful,
20575 but WITHOUT ANY WARRANTY; without even the implied warranty of
20576 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20577 GNU General Public License for more details.
20578
20579 You should have received a copy of the GNU General Public License
20580 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.