1 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3 In buffer display functions handle window-height/window-width
4 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5 * window.el (window--display-buffer): New argument ALIST. Obey
6 window-height and window-width alist entries.
7 (window--try-to-split-window): New argument ALIST. Bind
8 window-combination-limit to t when the window's size shall be
9 changed and window-combination-limit equals `window-size'.
10 (display-buffer-in-atom-window)
11 (display-buffer-in-major-side-window)
12 (display-buffer-in-side-window, display-buffer-same-window)
13 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14 (display-buffer-pop-up-window, display-buffer-below-selected)
15 (display-buffer-at-bottom, display-buffer-in-previous-window)
16 (display-buffer-use-some-window): Adjust all callers of
17 window--display-buffer and window--try-to-split-window.
18 (fit-frame-to-buffer): New option.
19 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
21 (display-buffer-in-major-side-window): Evaluate window-height /
22 window-width alist entries.
24 * help.el (temp-buffer-resize-frames)
25 (temp-buffer-resize-regexps): Remove options.
26 (temp-buffer-resize-mode): Adjust doc-string.
27 (resize-temp-buffer-window): Don't consult
28 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
29 temp-buffer-resize-frames.
31 * dired.el (dired-mark-pop-up): Call
32 display-buffer-below-selected with a fit-window-to-buffer alist
35 2012-09-30 Chong Yidong <cyd@gnu.org>
37 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
40 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
42 * help-fns.el (help-fns--obsolete): Fix last change.
44 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
46 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
47 (minor-mode-map-alist): Remove redundant code.
49 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
51 (cvs-insert-visited-file): New function.
52 (find-file-hook): Use it.
54 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
56 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
58 (log-edit-empty-buffer-p): Don't require a space after a header.
60 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
62 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
64 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
67 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
69 2012-09-29 Glenn Morris <rgm@gnu.org>
71 * winner.el (winner-mode): Remove variable (let define-minor-mode
73 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
75 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
76 (winner-mode): Use define-minor-mode.
78 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
79 the full definition in loaddefs, rather than duplicating it.
81 * help-macro.el (three-step-help): No need to autoload defcustom.
83 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
84 (inferior-lisp-program, inferior-lisp-load-command)
85 (inferior-lisp-prompt, inferior-lisp-mode-hook):
86 No need to autoload defcustoms.
88 * hippie-exp.el (hippie-expand-try-functions-list)
89 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
90 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
91 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
92 (hippie-expand-only-buffers): No need to autoload defcustoms.
93 * progmodes/vhdl-mode.el (vhdl-line-expand):
94 Explicitly load hippie-exp, so it does not get autoloaded
95 while hippie-expand-try-functions-list is let-bound.
97 2012-09-28 Glenn Morris <rgm@gnu.org>
99 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
101 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
102 Only "cl.el" counts as cl these days.
104 2012-09-28 Juri Linkov <juri@jurta.org>
106 Display archive errors in the echo area instead of inserting
109 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
110 to STDERR-TEST that can be a regexp matching a successful output.
111 Create a temporary file and redirect stderr to it. Search for
112 STDERR-TEST in the stderr output and display it in the echo area
113 if no match is found.
114 (archive-extract-by-file): New function like
115 `archive-extract-by-stdout' but extracting archives to files
116 and looking for successful matches in stdout. Function body is
117 mostly copied from `archive-rar-extract'.
118 (archive-rar-extract): Use `archive-extract-by-file'.
119 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
121 2012-09-28 Leo Liu <sdl.web@gmail.com>
123 * pcomplete.el (pcomplete-show-completions): Use
124 minibuffer-message to make pcomplete usable in minibuffer.
126 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
128 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
130 * type-break.el: Use lexical-binding.
131 (type-break-mode): Use define-minor-mode.
133 * emacs-lisp/pcase.el (pcase--mark-used): New.
134 (pcase--u1): Use it (bug#12512).
136 * custom.el (load-theme): Set buffer-file-name so the load is recorded
137 in load-history with the right file name.
139 2012-09-28 Tassilo Horn <tsdh@gnu.org>
141 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
142 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
143 (doc-view-get-bounding-box): Make bounding box slicing work for
144 ODF and DVI documents.
146 2012-09-28 Glenn Morris <rgm@gnu.org>
148 * type-break.el (type-break-mode, type-break-interval)
149 (type-break-good-rest-interval, type-break-keystroke-threshold):
151 (type-break-good-rest-interval, type-break-keystroke-threshold):
154 2012-09-28 Chong Yidong <cyd@gnu.org>
156 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
159 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
161 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
163 2012-09-27 Glenn Morris <rgm@gnu.org>
165 * faces.el (x-display-name): Declare (for without-x builds).
167 * linum.el (linum-format): Don't autoload it. Improve :type.
169 * progmodes/tcl.el: Don't require outline when compiling.
170 (outline-regexp, outline-level): Declare.
171 * textmodes/sgml-mode.el: Don't require outline when compiling.
172 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
174 * term.el (term-ansi-reset):
175 Try setting term-ansi-face-already-done to nil. (Bug#11785)
177 * vc/vc.el (vc-next-action): Only gripe about committing read-only
178 files for RCS and SCCS. (Bug#9781)
180 2012-09-27 Chong Yidong <cyd@gnu.org>
182 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
183 change; value should be t.
185 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
187 * image-mode.el: Use lexical-binding.
188 (image-mode-winprops): Use t to stand for the window of
189 a buffer that's not displayed.
190 * doc-view.el (doc-view-new-window-function): Handle the new
192 (doc-view-enlarge): Make it a real nop if the size is not changed.
193 (doc-view-display): Handle the case where the buffer is not (yet?)
194 displayed in any window.
195 (doc-view-saved-settings): New var.
196 (doc-view-mode): Use it.
197 (doc-view-fallback-mode): Set it.
199 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
201 (minibuffer-eldef-shorten-default): New var.
202 (minibuffer-default-in-prompt-regexps): Use it for new default.
203 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
205 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
207 * international/uni-bidi.el:
208 * international/uni-category.el:
209 * international/uni-name.el:
210 * international/uni-numeric.el: Regenerate.
212 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
213 Stefan Monnier <monnier@iro.umontreal.ca>
215 * profiler.el: New file.
217 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
219 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
220 (testcover-reinstrument): Simplify with CSE.
222 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
224 * window.el (temp-buffer-window-setup): Fix typo in docstring.
226 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
228 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
229 (verilog-auto-input, verilog-auto-insert-lisp)
230 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
231 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
232 (verilog-auto-unused, verilog-auto-wire)
233 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
234 newline. Reported by Andrew Jones.
235 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
236 Reported by Brad Dobbie.
237 (verilog-batch-delete-trailing-whitespace):
238 Create verilog-batch-delete-trailing-whitespace.
239 Reported by Brad Dobbie.
240 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
241 parameters from another module. Reported by Dan Katz.
242 (verilog-auto, verilog-auto-assign-modport)
243 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
244 AUTOINOUTMODPORT for UVM interface module shell generation.
245 Reported by Brad Dobbie.
246 (verilog-auto-inst-interfaced-ports): Make default nil, as more
248 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
249 Reported by Matt Martin.
251 2012-09-25 Martin Rudalics <rudalics@gmx.at>
253 * window.el (window--resize-child-windows): When resizing child
254 windows proportionally, process them in reverse order to
255 preserve the "when splitting a window the new one gets the odd
257 (window--resize-root-window-vertically): When resizing the
258 minibuffer window try to affect only windows at the bottom of the
261 2012-09-25 Chong Yidong <cyd@gnu.org>
263 * subr.el (declare): Doc fix.
265 * help-fns.el (help-fns--obsolete): Handle macros properly.
267 2012-09-25 Chong Yidong <cyd@gnu.org>
269 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
270 this function obsolete.
272 * calendar/cal-x.el (calendar-two-frame-setup)
273 (calendar-only-one-frame-setup, calendar-one-frame-setup):
274 * calendar/calendar.el (american-calendar, european-calendar)
276 * comint.el (comint-dynamic-simple-complete)
277 (comint-dynamic-complete-as-filename, comint-unquote-filename):
278 * desktop.el (desktop-load-default):
279 * dired-x.el (dired-omit-here-always)
280 (dired-hack-local-variables, dired-default-directory):
281 * emacs-lisp/derived.el (derived-mode-class):
282 * emacs-lisp/timer.el (timer-set-time-with-usecs):
283 * emacs-lock.el (toggle-emacs-lock):
284 * epa.el (epa-display-verify-result):
285 * epg.el (epg-sign-keys, epg-start-sign-keys)
286 (epg-passphrase-callback-function):
287 * eshell/esh-util.el (eshell-for):
288 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
289 (eshell-add-to-window-buffer-names):
290 * files.el (locate-file-completion):
291 * imenu.el (imenu-example--create-c-index)
292 (imenu-example--create-lisp-index)
293 (imenu-example--lisp-extract-index-name)
294 (imenu-example--name-and-position):
295 * international/mule-cmds.el (princ-list):
296 * international/mule-diag.el (decode-codepage-char):
297 * international/mule-util.el (detect-coding-with-priority):
298 * iswitchb.el (iswitchb-read-buffer):
299 * mail/mailalias.el (mail-complete):
300 * mail/sendmail.el (mail-sent-via):
301 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
302 (mouse-major-mode-menu):
303 * password-cache.el (password-read-and-add):
304 * pcomplete.el (pcomplete-parse-comint-arguments):
305 * progmodes/sh-script.el (sh-maybe-here-document):
306 * replace.el (query-replace-regexp-eval):
307 * savehist.el (savehist-load):
308 * simple.el (choose-completion-delete-max-match):
309 * term.el (term-dynamic-simple-complete):
310 * vc/ediff-init.el (ediff-check-version):
311 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
312 * vc/vc.el (vc-diff-switches-list):
313 * view.el (view-return-to-alist-update): Likewise.
315 * subr.el (eval-next-after-load, makehash, insert-string)
316 (assoc-ignore-representation, assoc-ignore-case): Use declare to
318 (mode-line-inverse-video): Variable deleted.
320 * international/mule-util.el (string-to-sequence): Remove.
322 * calendar/calendar.el (calendar-version):
323 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
324 (icalendar-convert-diary-to-ical):
325 * cus-edit.el (custom-mode):
326 * ansi-color.el (ansi-color-unfontify-region):
327 * international/latin1-disp.el (latin1-char-displayable-p):
328 * progmodes/cwarn.el (turn-on-cwarn-mode):
329 * progmodes/which-func.el (which-func-update-1):
330 Use define-obsolete-function-alias.
332 * net/newst-backend.el (newsticker-cache-filename):
333 * net/newst-treeview.el (newsticker-groups-filename):
334 Fix incorrect obsolescence declaration.
336 * allout.el (allout-passphrase-hint-string): Likewise.
337 (allout-init): Use a declare form to mark obsolete.
339 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
340 this applies to functions.
342 * iswitchb.el (iswitchb-read-buffer): Move code of
343 iswitchb-define-mode-map here, and delete that obsolete function.
345 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
346 font-lock-reference-face.
348 2012-09-25 Glenn Morris <rgm@gnu.org>
350 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
353 * eshell/em-term.el (eshell-term-name):
354 Default to term-term-name. (Bug#12485)
356 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
358 * progmodes/python.el (python-shell-send-buffer): Better handling
359 of "if __name__ == '__main__':" conditionals when sending the buffer.
361 2012-09-24 Glenn Morris <rgm@gnu.org>
363 * eshell/esh-cmd.el (eshell-find-alias-function):
364 Tighten up file-name regexp. (Bug#12499)
366 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
368 Enhancements for triple-quote string syntax.
369 * progmodes/python.el (python-quote-syntax): Remove.
370 (python-syntax-propertize-function): New value.
371 (python-syntax-count-quotes, python-syntax-stringify):
374 2012-09-24 Chong Yidong <cyd@gnu.org>
376 * mail/supercite.el (sc-version): Remove obsolete function.
377 (sc-describe): Don't mark as obsolete, since it is bound.
378 (sc-submit-bug-report): Remove.
380 * vc/log-edit.el (cvs-changelog-full-paragraphs)
381 (cvs-commit-buffer-require-final-newline): Remove.
382 (log-edit-require-final-newline)
383 (log-edit-changelog-full-paragraphs): Default to t.
385 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
386 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
387 * vc/vc.el (vc-checkout-carefully): Likewise.
389 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
390 (emerge-version): Remove.
392 * progmodes/compile.el (compile-internal): Remove.
393 (compilation-parse-errors-function): Fix typo.
395 * international/mule.el (set-char-table-default): Remove.
396 (set-coding-priority, make-coding-system, generic-char-p)
397 (charset-list, charset-bytes, charset-id): Use declare to mark
398 functions as obsolete.
400 * vc/pcvs-defs.el (cvs-buffer-name-alist)
401 (cvs-invert-ignore-marks): Remove references to obsolete vars.
402 * vc/vc-hooks.el (vc-default-registered): Don't use
405 * font-lock.el (font-lock-reference-face):
406 Use define-obsolete-variable-alias.
408 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
409 * calendar/calendar.el (calendar-font-lock-keywords):
410 * calendar/diary-lib.el (diary-font-lock-keywords)
411 (diary-fancy-font-lock-keywords):
412 * textmodes/reftex-sel.el (reftex-insert-docstruct):
413 * textmodes/reftex-index.el (reftex-insert-index):
414 * textmodes/reftex-cite.el (reftex-format-bib-entry):
415 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
416 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
417 * progmodes/prolog.el (prolog-font-lock-keywords):
418 * progmodes/idlwave.el (idlwave-idl-keywords):
419 * progmodes/ada-mode.el (ada-font-lock-keywords):
420 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
422 2012-09-24 Glenn Morris <rgm@gnu.org>
424 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
426 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
428 * progmodes/python.el (python-indent-line): More consistent cursor
431 2012-09-23 Stefan Merten <smerten@oekonux.de>
433 * textmodes/rst.el: Fix compiler warning.
435 2012-09-23 Roland Winkler <winkler@gnu.org>
437 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
438 Transcribe also LaTeX hyphenation.
439 (bibtex-reformat): Bug fix. Do not quote twice the elements of
440 bibtex-reformat-previous-options.
442 2012-09-23 Roland Winkler <winkler@gnu.org>
444 * proced.el (proced-renice-command): New variable.
445 (proced-marked-processes): New function.
446 (proced-with-processes-buffer): New macro.
447 (proced-send-signal): Use them.
448 (proced-renice): New command bound to r.
450 2012-09-23 Roland Winkler <winkler@gnu.org>
452 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
453 ibuffer-saved-filter-groups has one element, shortcut the call of
454 completing-read. (Bug#12331)
456 2012-09-23 Chong Yidong <cyd@gnu.org>
458 * bindings.el (mode-line-toggle-read-only):
459 * bs.el (bs-toggle-readonly):
460 * buff-menu.el (Buffer-menu-toggle-read-only):
461 * dired.el (dired-toggle-read-only):
462 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
464 2012-09-23 Chong Yidong <cyd@gnu.org>
466 * image.el (image-type-available-p): Adapt to init-image-library
469 2012-09-22 Juri Linkov <juri@jurta.org>
471 * dired.el (dired-mode-map): Add [remap read-only-mode] for
472 `dired-toggle-read-only'. (Bug#12462)
474 2012-09-22 Martin Rudalics <rudalics@gmx.at>
476 * subr.el (temp-output-buffer-show): New function.
477 (with-output-to-temp-buffer): Call temp-output-buffer-show
478 instead of internal-temp-output-buffer-show.
480 2012-09-22 Chong Yidong <cyd@gnu.org>
482 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
485 * repeat.el (repeat): Doc fix (Bug#12348).
487 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
490 * simple.el (shell-command-on-region): Doc fix.
491 (read-only-mode): Doc fix.
493 2012-09-22 Eli Zaretskii <eliz@gnu.org>
495 * emacs-lisp/timer.el (run-with-idle-timer)
496 (timer-activate-when-idle): Warn against reinvoking an idle timer
497 from within its own timer action. (Bug#12447)
499 2012-09-22 Martin Rudalics <rudalics@gmx.at>
501 * cus-start.el (window-combination-limit): Add new optional
503 * window.el (temp-buffer-window-show)
504 (window--try-to-split-window): Handle new values of
505 window-combination-limit (Bug#1806).
506 (split-window): Test window-combination-limit for t instead of
508 (display-buffer-at-bottom): New buffer display action function.
509 * help.el (temp-buffer-resize-regexps): New option.
510 (temp-buffer-resize-mode): Rewrite doc-string.
511 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
512 Don't resize reused window. Suggested by Glenn Morris.
514 2012-09-22 Stefan Merten <smerten@oekonux.de>
516 * textmodes/rst.el: Revamp section title faces.
517 (rst-official-version)
518 (rst-package-emacs-version-alist): Sync with official version
520 (rst-faces-defaults, rst-set-level-default)
521 (rst-level-face-max, rst-level-face-base-color)
522 (rst-level-face-base-light, rst-level-face-format-light)
523 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
524 (rst-adornment-faces-alist): Match new setup.
525 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
526 (rst-level-5, rst-level-6): New faces.
528 2012-09-22 Chong Yidong <cyd@gnu.org>
530 * simple.el (undo): Handle indirect buffers (Bug#8207).
532 2012-09-21 Leo Liu <sdl.web@gmail.com>
534 IDO: Disable match re-ordering for buffer switching.
535 * ido.el (ido-buffer-disable-smart-matches): New variable.
536 (ido-set-matches-1): Use it. (Bug#2042)
538 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
540 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
541 Fix 2011-05-17 change. (Bug#12418)
543 2012-09-21 Leo Liu <sdl.web@gmail.com>
545 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
547 2012-09-21 Glenn Morris <rgm@gnu.org>
549 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
550 Be more robust about locating simple.el.
552 2012-09-21 Glenn Morris <rgm@gnu.org>
554 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
556 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
558 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
560 2012-09-20 Juri Linkov <juri@jurta.org>
562 * replace.el (query-replace-read-from): Use `read-regexp' instead
563 of `read-from-minibuffer' when `regexp-flag' is non-nil.
564 (occur-read-primary-args): Use `read-regexp' instead of
566 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
567 `read-from-minibuffer'.
568 * isearch.el (isearch-occur): Use `read-regexp' instead of
570 * dired.el (dired-read-regexp): Use `read-regexp' instead of
571 `read-from-minibuffer'.
572 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
573 of `read-string'. (Bug#7567)
575 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
576 and allow accepting a list of strings prepended to a list of
577 standard default values. Doc fix. (Bug#12321)
579 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
581 * replace.el (read-regexp): Don't add ": " when PROMPT already
582 ends with a colon and space. (Bug#12321)
584 2012-09-20 Tassilo Horn <tsdh@gnu.org>
586 * doc-view.el (doc-view-display): Better fix for the cl-assertion
589 2012-09-20 Stefan Merten <smerten@oekonux.de>
591 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
592 Fixes feature request bug#11711.
593 (rst-mode): Create `imenu-create-index-function'.
594 (rst-get-stripped-line): Delete after refactoring.
595 (rst-section-tree, rst-section-tree-rec)
596 (rst-section-tree-point): Refactor and document properly.
597 (rst-imenu-find-adornments-for-position)
598 (rst-imenu-convert-cell, rst-imenu-create-index):
601 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
603 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
604 (macroexp--expand-all): Use it.
605 (macroexp--funcall-and-return): Remove by folding it into its sole
606 caller (macroexp--warn-and-return).
607 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
608 Use macroexp--obsolete-warning.
610 * calc/calc.el: Fix last change by removing the whole chunk, since it
611 was only needed back when Calc was not bundled.
613 2012-09-20 Martin Rudalics <rudalics@gmx.at>
615 * emacs-lisp/debug.el (debug): Restore assignment to
616 debugger-old-buffer removed on 2012-09-08.
618 2012-09-20 Juri Linkov <juri@jurta.org>
620 * dired-aux.el (dired-diff): Remove (require 'diff) since
621 `diff-latest-backup-file' is now autoloaded.
623 2012-09-20 Chong Yidong <cyd@gnu.org>
625 * vc/diff.el (diff-latest-backup-file): Autoload.
627 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
629 * calc/calc.el: Remove redundant autoload shape check.
630 (sel-mode): Don't defvar.
631 (calc-get-stack-element): Add `sel-mode' arg instead.
632 (calc-top, calc-top-list): Pass it this additional argument.
633 * calc/calc-store.el (calc-store-map):
634 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
635 (calc-map-equation, calc-outer-product, calc-inner-product):
636 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
638 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
640 2012-09-19 Juri Linkov <juri@jurta.org>
642 * dired-aux.el (dired-diff): Add (require 'diff) because
643 `diff-latest-backup-file' is not autoloaded.
644 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
645 of `dired-get-filename' to t to not report error when there is
646 no default file on the current line.
648 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
650 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
651 macroexp--eval-if-compile.
652 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
653 (macroexp--expand-all): Use them (bug#12371).
655 * doc-view.el (doc-view-guess-paper-size)
656 (doc-view-scale-bounding-box): Fix unbound `caddr'.
658 2012-09-19 Tassilo Horn <tsdh@gnu.org>
660 New feature: set optimal slice from BoundingBox information.
661 * doc-view.el (doc-view-mode-map): Add keybinding.
662 (doc-view-menu): Add menu entry.
663 (doc-view-set-slice): Adapt docstring.
664 (doc-view-get-bounding-box, doc-view-guess-paper-size)
665 (doc-view-scale-bounding-box)
666 (doc-view-set-slice-from-bounding-box): New functions.
667 (doc-view-paper-sizes): New defvar.
669 2012-09-19 Glenn Morris <rgm@gnu.org>
671 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
672 (byte-compile-log-warning): Autoload. (Bug#12371)
674 * calendar/calendar.el (calendar-american-month-header)
675 (calendar-european-month-header, calendar-iso-month-header)
676 (calendar-month-header): New options.
677 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
678 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
680 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
682 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
684 2012-09-18 Juri Linkov <juri@jurta.org>
686 * dired-aux.el (dired-diff): Restore original functionality of
687 getting the default value, but keep new feature of using the
688 latest existing backup file (`diff-latest-backup-file').
690 2012-09-18 Juri Linkov <juri@jurta.org>
692 * dired.el (dired-mark): If the region is active in Transient Mark
693 mode, mark all files in the active region. Doc fix.
694 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
697 2012-09-18 Juri Linkov <juri@jurta.org>
699 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
700 attributes for M-n are pulled from the file at point.
701 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
702 Suggested by Drew Adams. (Bug#10624)
704 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
706 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
707 whitespace after "end".
708 (ruby-do-end-to-brace): Collapse block to one line if it fits
711 2012-09-18 Martin Rudalics <rudalics@gmx.at>
713 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
715 (debug): Don't remove debugger window when debugger is expected
718 2012-09-18 Chong Yidong <cyd@gnu.org>
720 * custom.el (defface): Doc fix.
722 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
724 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
726 * progmodes/compile.el (compilation-start): Use compilation-always-kill
727 to initialize query-on-exit; then test that instead (bug#12288).
729 2012-09-17 Stefan Merten <smerten@oekonux.de>
731 * textmodes/rst.el: Add support for `testcover'.
732 (rst-defcustom-testcover, rst-testcover-add-compose)
733 (rst-testcover-add-1value): New functions.
734 (rst-portable-mark-active-p): Replace by `use-region-p'.
735 (rst-update-section, rst-classify-adornment)
736 (rst-find-title-line): Mark `1value' forms.
737 (rst-classify-adornment): Remove superfluous form.
738 (rst-update-section, rst-get-adornments-around)
739 (rst-adornment-complete-p, rst-get-next-adornment)
740 (rst-adjust, rst-promote-region)
741 (rst-display-adornments-hierarchy, rst-straighten-adornments)
742 (rst-find-pfx-in-region, rst-section-tree-rec)
743 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
744 (rst-toc-node, rst-toc, rst-forward-section)
745 (rst-iterate-leftmost-paragraphs)
746 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
747 (rst-bullet-list-region)
748 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
749 (rst-compile-find-conf, rst-compile)
750 (rst-repeat-last-character): Fix style.
752 2012-09-17 Chong Yidong <cyd@gnu.org>
754 * comint.el (comint--complete-file-name-data): Don't add a space
755 if the status is `sole'; that adds a gratuitous space in the
756 completion-cycling case (Bug#12092).
758 * pcomplete.el (pcomplete-completions-at-point): Likewise.
760 2012-09-17 Richard Stallman <rms@gnu.org>
762 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
763 only in the mime-shown mode, not in raw mode.
764 (rmail-mime): Toggle off mime by displaying the message without
765 mime processing. (Bug#12305)
767 * mail/rmail.el (rmail-retry-failure):
768 Turn off mime processing first. (Bug#12037)
770 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
772 2012-09-17 Chong Yidong <cyd@gnu.org>
774 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
775 (shell-dynamic-complete-functions): Convert to defcustom.
776 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
778 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
779 * comint.el (comint-prompt-read-only):
780 * custom.el (defcustom):
781 * hi-lock.el (hi-lock-mode):
782 * ibuffer.el (ibuffer-formats):
783 * ielm.el (ielm-prompt-read-only):
784 * novice.el (disable-command):
785 * saveplace.el (toggle-save-place):
786 * speedbar.el (speedbar-supported-extension-expressions):
787 * startup.el (auto-save-list-file-prefix, init-file-user)
788 (after-init-hook, inhibit-startup-echo-area-message):
789 * strokes.el (strokes-help):
790 * time-stamp.el (time-stamp):
791 * calendar/calendar.el (calendar, diary-file):
792 * calendar/diary-lib.el (diary-mail-entries, diary)
793 (diary-list-entries-hook):
794 * calendar/holidays.el (holidays, calendar-holidays):
795 * calendar/lunar.el (lunar-phases):
796 * calendar/solar.el (sunrise-sunset):
797 * emulation/edt.el (edt-load-keys):
798 * emulation/viper.el (viper-mode):
799 * eshell/em-alias.el (eshell-command-aliases-list):
800 * eshell/esh-util.el (eshell-convert-numeric-arguments):
801 * international/ogonek.el (ogonek-information):
802 * net/tramp-cmds.el (tramp-bug):
803 * net/quickurl.el (quickurl-reread-hook-postfix):
804 * play/decipher.el (decipher-font-lock-keywords):
805 * progmodes/cc-styles.el (c-set-style):
806 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
807 * progmodes/inf-lisp.el (inferior-lisp-prompt):
808 * progmodes/octave-mod.el (octave-mode):
809 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
810 * progmodes/verilog-mode.el (verilog-read-defines):
811 * textmodes/two-column.el (2C-mode): Likewise.
813 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
815 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
816 that holds many addresses.
818 2012-09-16 Chong Yidong <cyd@gnu.org>
820 * align.el (align-areas): Call the indication function with
821 positions instead of markers for arguments (Bug#12343).
823 * files.el (parse-colon-path): Use split-string (Bug#12351).
825 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
826 (display-buffer-function): Mark as obsolete.
828 * progmodes/compile.el (compilation-parse-errors): Accept list
829 values similar to font-lock-keywords (Bug#12136).
830 Suggested by Oleksandr Manzyuk.
831 (compilation-error-regexp-alist): Doc fix.
833 2012-09-15 Glenn Morris <rgm@gnu.org>
835 * version.el (emacs-bzr-version-bzr): New function.
836 (emacs-bzr-get-version): Add optional EXTERNAL argument.
838 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
839 checkouts, check the parent dirstate matches the branch.
840 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
843 * version.el (emacs-bzr-version): Doc fix.
844 (emacs-bzr-version-dirstate): New function.
845 (emacs-bzr-get-version): For lightweight checkouts, if the parent
846 is local try and check that it matches the branch. If not, just
847 use dirstate information. (Bug#12441)
849 2012-09-14 Juri Linkov <juri@jurta.org>
851 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
854 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
856 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
858 * emacs-lisp/edebug.el: Miscellaneous cleanup.
859 Remove obsolete byte-compiler hack that tried to silence some warnings.
860 (edebug-submit-bug-report): Remove.
861 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
862 Remove aliases, use the un-prefixed name instead.
863 (edebug-pop-to-buffer): Consider other frames.
864 (edebug-original-read):: Make it more obvious that it's always defined.
865 (edebug--make-form-data-entry, edebug--form-data-name)
866 (edebug--form-data-begin, edebug--form-data-end): Rename from the
867 single-dashed name, and implement with cl-defstruct.
868 (edebug-set-form-data-entry): Use the standard accessors.
869 (edebug-make-top-form-data-entry): Use push.
870 (edebug-no-match): Drop useless `funcall'.
871 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
873 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
874 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
875 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
876 (easy-menu-define, with-custom-print): Remove redundant specs.
877 (edebug-outside-overriding-local-map)
878 (edebug-outside-overriding-terminal-local-map): Remove, unused.
879 (edebug--display): Bind unread-command-events directly to nil rather
880 than binding it to unread-command-events and later setting it to nil.
881 (edebug--display): Kill edebug-eval-buffer here...
882 (edebug--recursive-edit): ...rather than here.
883 Bind standard-output and standard-input.
884 (edebug-eval): Check cl-macroexpand-all is fboundp.
885 (edebug-temp-display-freq-count): Fix last change.
887 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
888 * subr.el (noreturn, 1value): Add `debug' spec.
889 * emacs-lisp/advice.el: Require cl-lib.
890 (ad-copy-tree): Remove, use copy-tree instead.
891 (ad-dolist): Remove use dolist or cl-dolist instead.
892 (ad-do-return): Remove, use cl-return instead.
893 (defadvice): Add `debug' spec.
895 2012-09-13 Juri Linkov <juri@jurta.org>
897 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
900 2012-09-13 Glenn Morris <rgm@gnu.org>
902 * calc/calc.el (math-compose-expr):
903 * calc/calc-ext.el (math-compose-expr):
904 * progmodes/cc-defs.el (cl-macroexpand-all):
905 * progmodes/cc-langs.el (delete-duplicates, mapcan)
906 (cl-macroexpand-all): Update declarations.
908 * vc/vc.el: No need to require ediff.
909 (ediff-load-version-control): Declare.
910 (ediff-vc-internal): Fix declaration.
911 (vc-version-ediff): Require ediff.
913 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
915 Use a more backwards-compatible timer format (Bug#12430).
916 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
917 being right after USECS, as that better supports old code that
918 inadvisedly looked directly at the timer vector.
920 2012-09-13 Kenichi Handa <handa@gnu.org>
922 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
923 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
924 `coding-priority' property of these language environment.
926 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
928 Fix glitches caused by addition of psec to timers (Bug#12430).
929 * image.el (image-animate-timer):
930 * time.el (display-time-world-timer):
931 Use timer--function and timer--args rather than raw access to
934 2012-09-13 Glenn Morris <rgm@gnu.org>
936 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
937 If not compiling a file, try using load-file-name.
939 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
941 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
943 (edebug-update-eval-list): Use `push'.
945 * emacs-lisp/edebug.el: Use lexical-binding.
946 Remove the "edebug-" prefix from non-dynamically-scoped variables.
947 Mark unused args with underscore.
948 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
949 (edebug-form-data): Use defvar-local.
950 (edebug-make-before-and-after-form, edebug-make-after-form):
952 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
953 Not dynamically scoped any more.
954 (edebug--enter-trace): Add arguments `function' and `args'.
955 Rename from edebug-enter-trace.
956 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
957 (edebug--update-coverage): Add `after-index' and `value' args.
958 Rename from edebug-update-coverage.
959 (edebug-slow-after): Call it accordingly.
960 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
961 edebug-recursive-edit.
962 (edebug--display): Call it accordingly. Add args `value',
963 `offset-index', and `arg-mode'. Rename from edebug-display.
964 (edebug-debugger, edebug): Call it accordingly.
965 (edebug-eval-display-list): Use dolist.
967 2012-09-12 Juri Linkov <juri@jurta.org>
969 * info.el (Info-search): Don't check for isearch-mode and
970 isearch-regexp before let-binding search-spaces-regexp to
971 Info-search-whitespace-regexp.
972 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
973 search-whitespace-regexp if isearch-lax-whitespace or
974 isearch-regexp-lax-whitespace is non-nil.
975 (Info-mode): Don't set local variable search-whitespace-regexp.
976 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
978 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
980 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
981 (debugger-env-macro): Remove support for unread-command-char.
983 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
984 the temporary map re-appearing on emulation-mode-map-alists.
986 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
989 * ehelp.el (with-electric-help): Accept functions in
990 electric-help-form-to-execute.
991 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
992 And replace unread-command-char -> unread-command-events.
994 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
996 Sync with Tramp 2.2.6.
998 * net/tramp.el (tramp-accept-process-output): Don't use
999 JUST-THIS-ONE in the XEmacs case.
1001 * net/trampver.el: Update release number.
1003 2012-09-12 Martin Rudalics <rudalics@gmx.at>
1005 * emacs-lisp/debug.el (debugger-previous-window-height):
1007 (debug): When debugger-jumping-flag is non-nil try to restore
1008 height of debugger window. (Bug#8789)
1010 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1013 overriding-local-map and pre/post-command-hook here.
1014 (edebug-recursive-edit): Do it here instead (bug#12345).
1015 (edebug-outside-unread-command-char): Remove all uses of
1016 unread-command-char.
1018 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1019 inhibit-debugger is bound instead.
1021 2012-09-11 Bastien Guerry <bzg@gnu.org>
1023 * subr.el (set-temporary-overlay-map): Add a docstring.
1026 2012-09-11 Bastien Guerry <bzg@gnu.org>
1028 * minibuffer.el (completion-table-subvert): Fix docstring.
1031 2012-09-11 Bastien Guerry <bzg@gnu.org>
1033 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
1035 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1037 * progmodes/sql.el: Version 3.1
1038 (sql-db2-escape-newlines): New variable.
1039 (sql-escape-newlines-filter): Use it.
1041 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1043 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1045 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1047 * vc/diff-mode.el (diff-mode-menu):
1048 Bind diff-remove-trailing-whitespace.
1050 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1053 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1054 (emacs-lisp-byte-code-mode): New functions.
1055 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1056 (eval-defun-2): Remove bogus interactive spec.
1057 (lisp-indent-line): Remove redundant whole-exp code, now done in
1058 indent-according-to-mode.
1059 (save-match-data): Remove redundant indent data.
1061 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1064 2012-09-09 Juri Linkov <juri@jurta.org>
1066 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1067 (replace-lax-whitespace, query-replace-regexp)
1068 (query-replace-regexp-eval, replace-regexp): Doc fix.
1069 (perform-replace, replace-highlight): Let-bind
1070 isearch-lax-whitespace to replace-lax-whitespace and
1071 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1073 * isearch.el (isearch-query-replace): Let-bind
1074 replace-lax-whitespace to isearch-lax-whitespace and
1075 replace-regexp-lax-whitespace to
1076 isearch-regexp-lax-whitespace. (Bug#10885)
1078 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1082 2012-09-09 Alan Mackenzie <acm@muc.de>
1084 * progmodes/cc-engine.el (c-state-cache-init):
1085 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1086 (c-record-parse-state-state):
1087 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1089 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1091 * register.el (register-separator): Rename from
1092 separator-register. All uses changed. Doc fix.
1093 (register): Fix version.
1095 2012-09-09 Chong Yidong <cyd@gnu.org>
1097 * replace.el (query-replace-map): Bind four new symbols for
1098 requesting window scrolling.
1100 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1101 query-replace-map (Bug#8948).
1103 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1105 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1106 since they are now in query-replace-map.
1108 * window.el (scroll-other-window-down): Make the arg optional.
1110 2012-09-09 Chong Yidong <cyd@gnu.org>
1112 * files.el (hack-local-variables-confirm): Use quit-window to kill
1113 the *Local Variables* buffer.
1115 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1117 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1118 not just expect to be at its beginning. Adjust callees.
1119 Succeed when do-end block has no space before the pipe character.
1120 (ruby-brace-to-do-end): When the original block is one-liner,
1121 convert to multiline. Reindent the result.
1123 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1125 * register.el (register): New group.
1126 (register-separator): New user option.
1127 (increment-register): Route it to `append-to-register', if
1128 register contains text. Implication is that `C-x r +' can now be
1129 used for appending to a text register (bug#12217).
1130 (append-to-register, prepend-to-register): Add separator based on
1131 `register-separator.
1133 2012-09-08 Alan Mackenzie <acm@muc.de>
1135 AWK Mode: make auto-newline work when there's "==" in the pattern.
1136 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1138 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1139 Test more rigorously for "=" token.
1141 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1143 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1144 Only fail when reached LIMIT.
1146 2012-09-08 Chong Yidong <cyd@gnu.org>
1148 * dired.el (dired-mode-map): Don't bind M-=.
1150 * dired-aux.el (dired-diff): Use backup file as default.
1152 2012-09-08 Drew Adams <drew.adams@oracle.com>
1154 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1156 2012-09-08 Chong Yidong <cyd@gnu.org>
1158 * subr.el (syntax-after, syntax-class): Doc fix.
1160 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1162 * window.el (display-buffer-in-previous-window): New buffer
1163 display action function.
1165 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1166 (debugger-previous-window): New variable.
1167 (debug): Rewrite using display-buffer-in-previous-window,
1168 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1170 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1174 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1176 * progmodes/python.el (python-shell-send-string):
1177 When default-directory is remote, create temp file on remote
1179 (python-shell-send-file): When file is remote, pass local view of
1180 file paths to remote Python interpreter. (Bug#12340)
1182 2012-09-07 Chong Yidong <cyd@gnu.org>
1184 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1186 * files.el (after-find-file): Don't fail on a read-only buffer if
1187 require-final-newline is `visit' or `visit-save' (Bug#11156).
1189 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1191 * userlock.el (ask-user-about-supersession-threat):
1192 Use read-char-choice (Bug#12093).
1194 2012-09-07 Chong Yidong <cyd@gnu.org>
1196 * subr.el (buffer-narrowed-p): New function.
1198 * ses.el (ses-widen):
1199 * simple.el (count-words--buffer-message):
1200 * net/browse-url.el (browse-url-of-buffer): Use it
1202 * simple.el (count-words-region): Don't signal an error if there
1203 is a non-nil prefix arg and the mark is not set.
1205 * help.el (describe-key-briefly): Allow the message to be seen
1206 when invoked from the minibuffer (Bug#7014).
1208 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1210 * progmodes/ruby-mode.el (ruby-end-of-defun)
1211 (ruby-beginning-of-defun): Simplify, allow indentation before
1212 block beginning and end keywords.
1213 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1214 (ruby-end-of-defun): Expect that the point is at the beginning of
1217 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1221 (cl--make-usage-args): Strip _ from argument names.
1223 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1225 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1226 obsolete alias speedbar-key-map.
1227 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1228 (vhdl-index-menu-init): Don't use obsolete variable
1229 font-lock-maximum-size.
1231 2012-09-06 Chong Yidong <cyd@gnu.org>
1233 * frame.el (window-system-version): Mark as obsolete.
1235 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1236 of obsolete variable speedbar-key-map.
1238 2012-09-06 Juri Linkov <juri@jurta.org>
1240 * replace.el (replace-lax-whitespace): New defcustom.
1241 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1242 (replace-string, replace-regexp): Mention it in docstrings.
1243 (perform-replace, replace-highlight): Let-bind
1244 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1245 to the values of replace-lax-whitespace and regexp-flag.
1246 Don't let-bind search-whitespace-regexp. (Bug#10885)
1248 * isearch.el (isearch-query-replace): Let-bind
1249 replace-lax-whitespace instead of let-binding
1250 replace-search-function and replace-re-search-function.
1251 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1252 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1253 (isearch-toggle-symbol): Set isearch-regexp to nil
1254 in isearch-word mode (like in isearch-toggle-word).
1256 2012-09-06 Juri Linkov <juri@jurta.org>
1258 * replace.el (replace-search-function)
1259 (replace-re-search-function): Set default values to nil.
1260 (perform-replace): Let-bind isearch-related variables based on
1261 replace-related values, call `isearch-search-fun' and let-bind
1262 the result to `search-function'. Remove code that sets
1263 `search-function' and `search-string' separately for
1265 (replace-highlight): Add new argument `delimited-flag' and
1266 rename other arguments to the names used in `perform-replace'.
1267 Let-bind `isearch-word' to the argument `delimited-flag'.
1268 (Bug#10885, bug#10887)
1270 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1272 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1273 ruby-beginning-of-indent, simplify, allow all keywords to have
1274 indentation before them.
1275 (ruby-beginning-of-indent): Adjust for above. Search until the
1276 found point is not inside a string or comment.
1277 (ruby-font-lock-keywords): Allow symbols to start with "@"
1278 character, give them higher priority than variables.
1279 (ruby-syntax-propertize-function)
1280 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1281 matchers. Expression expansions are not comments when inside a
1282 string, and there comment syntax status is irrelevant.
1283 (ruby-match-expression-expansion): New function. Check that
1284 expression expansion is inside a string, and it's not escaped.
1285 (ruby-font-lock-keywords): Use it.
1287 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1289 * help.el (temp-buffer-max-height): New default value.
1290 (temp-buffer-resize-frames): New option.
1291 (resize-temp-buffer-window): Optionally resize frame.
1293 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1294 (fit-frame-to-buffer): New function.
1296 2012-09-05 Glenn Morris <rgm@gnu.org>
1298 * emulation/cua-rect.el (cua--init-rectangles):
1299 * textmodes/picture.el (picture-mode-map):
1300 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1301 like forward-char and backward-char. (Bug#12317)
1303 2012-09-05 Leo Liu <sdl.web@gmail.com>
1305 * progmodes/flymake.el (flymake-warning-re): New variable.
1306 (flymake-parse-line): Use it.
1308 2012-09-05 Glenn Morris <rgm@gnu.org>
1310 * calendar/holidays.el (holiday-christian-holidays):
1311 Rename an entry. (Bug#12289)
1313 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1318 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1320 * loadup.el: Load macroexp. Remove hack.
1321 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1322 (macroexp--expand-all): Use it to get better warnings.
1323 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1324 (internal-macroexpand-for-load): New functions.
1325 (macroexp--pending-eager-loads): New var.
1326 (emacs-startup-hook): New hack to replace one in loadup.el.
1327 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1328 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1329 (cl-psetf): Simplify.
1330 (cl-defstruct): Add indent rule.
1332 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1334 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1335 over `user-mail-address' for the SMTP MAIL FROM envelope.
1336 (smtpmail-via-smtp): Ditto.
1338 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1340 * progmodes/ruby-mode.el: Clean up keybindings.
1341 (ruby-mode-map): Don't bind ruby-electric-brace,
1342 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1343 backward-kill-word, reindent-then-newline-and-indent.
1344 (ruby-mark-defun): Remove.
1345 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1346 (ruby-mode): Set local beginning-of-defun-function and
1347 end-of-defun-function values.
1349 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1351 * window.el (temp-buffer-window-setup-hook)
1352 (temp-buffer-window-show-hook): New hooks.
1353 (temp-buffer-window-setup, temp-buffer-window-show)
1354 (with-temp-buffer-window): New functions.
1355 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1356 (special-display-popup-frame): Make sure the window used shows BUFFER.
1358 * help.el (temp-buffer-resize-mode): Fix doc-string.
1359 (resize-temp-buffer-window): New optional argument WINDOW.
1361 * files.el (recover-file, save-buffers-kill-emacs):
1362 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1364 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1366 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1367 remote definition of `default-directory', ensure we can connect.
1369 2012-09-02 Juri Linkov <juri@jurta.org>
1371 Toggle whitespace matching mode with M-s SPC.
1372 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1374 * isearch.el (search-whitespace-regexp): Doc fix.
1375 Remove cons cell customization.
1376 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1377 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1379 (isearch-forward, isearch-forward-regexp): Doc fix.
1380 (isearch-toggle-lax-whitespace): New command.
1381 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1382 (re-search-forward-lax-whitespace)
1383 (re-search-backward-lax-whitespace): New functions.
1384 (isearch-whitespace-regexp): Remove function.
1385 (isearch-query-replace): Let-bind replace-search-function and
1386 replace-re-search-function.
1387 (isearch-occur): Let-bind search-spaces-regexp according to the
1388 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1389 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1390 condition for C-q SPC.
1391 (isearch-search-fun-default): Use new functions mentioned above.
1392 (isearch-search-forward, isearch-search-backward): Remove functions.
1393 (isearch-search): Don't let-bind search-spaces-regexp.
1394 (isearch-lazy-highlight-space-regexp): Remove variable.
1395 (isearch-lazy-highlight-lax-whitespace)
1396 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1397 (isearch-lazy-highlight-new-loop): Use them.
1398 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1400 2012-09-02 Chong Yidong <cyd@gnu.org>
1402 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1404 2012-09-02 Glenn Morris <rgm@gnu.org>
1406 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1408 2012-09-01 Glenn Morris <rgm@gnu.org>
1410 * term.el: Tidy up menu definitions.
1411 (term-mode-map): Use easymenu for In/Out, Complete menus.
1412 (term-pager-break-map): Initialize in the defvar.
1413 (term-terminal-menu, term-signals-menu): Define with easymenu.
1414 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1415 (term-pager-menu): New, extracted from term-process-pager.
1416 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1417 (term-update-mode-line): Propertize line/char and page items.
1418 (term-process-pager): Move keymap initialization elsewhere.
1420 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1422 * window.el (switch-to-prev-buffer): Handle additional values of
1423 BURY-OR-KILL argument. Don't switch in minibuffer window.
1424 (switch-to-next-buffer): Don't switch in minibuffer window.
1425 (quit-restore-window): New function based on quit-window.
1426 Handle additional values of former KILL argument.
1427 (quit-window): Call quit-restore-window with appropriate
1428 interpretation of KILL argument.
1429 (display-buffer-below-selected): New buffer display action
1432 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1434 * minibuffer.el (completion-at-point-functions): Complete docstring
1437 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1439 Better seed support for (random).
1440 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1441 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1442 * play/mpuz.el, play/tetris.el, play/zone.el:
1443 * calc/calc-comb.el (math-init-random-base):
1444 * play/blackbox.el (bb-init-board):
1445 * play/life.el (life):
1446 * server.el (server-use-tcp):
1447 * type-break.el (type-break):
1448 Remove unnecessary call to (random t).
1449 * net/sasl.el (sasl-unique-id-function):
1450 Change (random t) to (random), now that the latter is more random.
1451 * play/life.el (life-initialized): Remove no-longer-needed var.
1453 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1455 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1456 Consider frame's buffer predicate when choosing the buffer.
1459 2012-08-30 Richard Stallman <rms@gnu.org>
1461 * simple.el (special-mode-map): Delete binding for `z'.
1463 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1465 * progmodes/compile.el (compilation-always-kill): Doc fix.
1467 2012-08-30 Chong Yidong <cyd@gnu.org>
1469 * window.el (display-buffer-reuse-frames): Make the obsolescence
1470 message more informative.
1472 2012-08-30 Glenn Morris <rgm@gnu.org>
1474 * paren.el (show-paren-delay):
1475 Add a :set function. Doc fix. (Bug#12297)
1477 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1479 * progmodes/compile.el (compilation-always-kill): New var.
1480 (compilation-start): Use it.
1482 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1485 * files.el (read-only-mode): Move to simple.el.
1487 * files.el (read-only-mode): New minor mode.
1488 (toggle-read-only): Use it and mark obsolete.
1489 (find-file--read-only):
1490 * vc/vc.el (vc-next-action, vc-checkout):
1491 * vc/vc-cvs.el (vc-cvs-checkout):
1492 * obsolete/vc-mcvs.el (vc-mcvs-update):
1493 * ffap.el (ffap--toggle-read-only): Update callers.
1495 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1497 * eshell/esh-ext.el (eshell-external-command): Do not examine
1498 remote shell scripts.
1499 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1501 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1504 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1508 2012-08-28 Leo Liu <sdl.web@gmail.com>
1510 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1511 completion-at-point. (Bug#12220)
1513 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1515 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1517 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1520 be buffer-local; add delete-trailing-whitespace (bug#12259).
1522 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1524 * progmodes/hideif.el (hif-compress-define-list):
1525 Fix typo. (Bug#11951)
1527 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1529 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1530 buffer local setting.
1532 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1533 rcirc-encode-coding-system.
1535 2012-08-28 Leo Liu <sdl.web@gmail.com>
1537 * net/rcirc.el (rcirc-split-message): New function.
1538 (rcirc-send-message): Use it. (Bug#12051)
1540 2012-08-28 Juri Linkov <juri@jurta.org>
1542 * info.el (Info-fontify-node): Hide empty lines at the end of
1543 the node. (Bug#12272)
1545 2012-08-27 Drew Adams <drew.adams@oracle.com>
1547 * dired.el (dired-pop-to-buffer): Make window start at beginning
1548 of buffer (Bug#12281).
1550 2012-08-26 Chong Yidong <cyd@gnu.org>
1552 * window.el (special-display-regexps, special-display-frame-alist)
1553 (special-display-buffer-names, special-display-function)
1554 (display-buffer-reuse-frames): Mark as obsolete.
1556 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1558 * help.el (help-print-return-message): Don't treat
1559 display-buffer-reuse-frames specially.
1561 2012-08-26 Chong Yidong <cyd@gnu.org>
1563 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1564 New variable, replacing gdb-frame-parameters.
1565 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1566 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1567 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1568 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1569 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1570 the functions directly with gdb-display-buffer-other-frame-action.
1571 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1572 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1573 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1574 (gdb-display-registers-buffer): Define directly.
1575 (def-gdb-display-buffer): Macro deleted.
1576 (gdb-display-buffer): Remove second and third args, callers don't
1577 use them. Defer to the default display-buffer behavior, apart
1578 from making windows dedicated.
1579 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1581 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1583 * window.el (display-buffer-pop-up-frame): Handle a
1584 pop-up-frame-parameters alist entry.
1585 (display-buffer): Document it.
1587 2012-08-26 Chong Yidong <cyd@gnu.org>
1589 * isearch.el (search-whitespace-regexp): Make string and nil
1590 values apply to both ordinary and regexp search. Allow a cons
1591 cell value to distinguish between the two.
1592 (isearch-whitespace-regexp, isearch-search-forward)
1593 (isearch-search-backward): New functions.
1594 (isearch-occur, isearch-search-fun-default, isearch-search)
1595 (isearch-lazy-highlight-new-loop): Use them.
1596 (isearch-forward, isearch-forward-regexp): Doc fix.
1598 2012-08-26 Chong Yidong <cyd@gnu.org>
1600 * faces.el (help-argument-name): Always inherit from italic
1603 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1605 * window.el (window--even-window-heights): Even heights when
1606 WINDOW and the selected window form a vertical combination.
1607 (display-buffer-use-some-window): Provide that window used gets
1608 sized back by quit-window. (Bug#11880) and (Bug#12091)
1610 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1612 Fix file time stamp problem with bzr and CVS (Bug#12001).
1613 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1614 in the file's time stamp, since the version control system loses
1617 2012-08-22 Juri Linkov <juri@jurta.org>
1619 * info.el (Info-fontify-node): Hide the suffix of the
1620 Info file name in the header line. (Bug#12187)
1622 2012-08-22 Glenn Morris <rgm@gnu.org>
1624 * calendar/cal-tex.el (cal-tex-weekly-common):
1625 Restore leading blank page.
1627 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1629 * misc.el (forward-to-word, backward-to-word): Activate or extend
1630 the region under `shift-select-mode'. (Bug#12231)
1632 2012-08-22 Bastien Guerry <bzg@gnu.org>
1634 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1635 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1636 gives details on why the space is never needed.
1638 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1640 * window.el (walk-window-tree, window-with-parameter):
1641 New optional argument MINIBUF to control whether these functions
1642 should run on the minibuffer window.
1643 (window-at-side-list): Don't operate on minibuffer window.
1644 (window-in-direction): Simplify and rewrite doc-string.
1645 (window--size-ignore): Rename to window--size-ignore-p.
1647 (display-buffer-in-atom-window, window--major-non-side-window)
1648 (window--major-side-window, display-buffer-in-major-side-window)
1649 (delete-side-window, display-buffer-in-side-window):
1651 (window--side-check, window-deletable-p, delete-window)
1652 (delete-other-windows, split-window): Handle side windows and
1653 atomic windows appropriately.
1654 (window--display-buffer): Call display-buffer-record-window also
1655 when the window buffer did not change.
1657 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1659 * help-fns.el (help-fns--key-bindings):
1660 Abbreviate non-symbol remap targets. (Bug#12174)
1662 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1664 * dired.el (dired-mark-remembered): Don't clobber point.
1667 2012-08-22 Glenn Morris <rgm@gnu.org>
1669 * progmodes/bug-reference.el (bug-reference): New custom group.
1670 (bug-reference-bug-regexp): Make it a defcustom.
1672 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1674 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1675 (js-paren-indent-offset, js-square-indent-offset)
1676 (js-curly-indent-offset): Add :safe (Bug#12257).
1678 2012-08-22 Edward O'Connor <hober0@gmail.com>
1680 * json.el (json-key-format): Add error properties.
1681 (json-encode-key): New function.
1682 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1683 Use json-encode-key.
1685 2012-08-22 Glenn Morris <rgm@gnu.org>
1687 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1688 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1689 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1690 Update for above change.
1692 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1694 * cus-face.el (custom-face-attributes): Fix customize type for the
1695 :underline attribute. (Bug#11805)
1697 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1699 * window.el (window-point-1, set-window-point-1): Remove.
1700 (window-in-direction, record-window-buffer)
1701 (set-window-buffer-start-and-point, split-window-below)
1702 (window--state-get-1, display-buffer-record-window):
1703 Replace calls to window-point-1 and set-window-point-1 by calls to
1704 window-point and set-window-point respectively.
1706 2012-08-21 Glenn Morris <rgm@gnu.org>
1708 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1709 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1712 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1713 (cal-tex-shortday): New function.
1714 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1715 (cal-tex-cursor-filofax-daily): Use the above.
1717 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1719 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1720 (cal-tex-cursor-filofax-week): Use them.
1722 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1724 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1725 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1727 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1728 (cal-tex-end-document): Don't rely on buffer name.
1730 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1732 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1733 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1734 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1737 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1738 (cal-tex-cursor-week, cal-tex-cursor-week2)
1739 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1740 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1741 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1742 (cal-tex-insert-preamble, cal-tex-b-document)
1743 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1744 Improve cal-tex-cmd usage.
1746 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1747 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1748 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1749 (cal-tex-weekly-paper): New function.
1750 (cal-tex-cursor-week, cal-tex-cursor-week2)
1751 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1752 (cal-tex-cursor-day): Use it.
1754 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1755 (cal-tex-cursor-filofax-week): Remove leading blank page.
1757 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1758 Add autoload cookie. For now at least, don't use color, since
1759 no other cal-tex function does.
1761 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1762 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1763 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1765 2012-08-21 Juri Linkov <juri@jurta.org>
1767 * info.el (Info-file-attributes): New variable.
1768 (info-insert-file-contents): Add file attributes to
1769 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1770 `Info-toc-nodes' when previous modtime of the Info file is less
1772 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1773 of info.el. (Bug#12230)
1775 2012-08-20 Glenn Morris <rgm@gnu.org>
1777 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1778 * calendar/holidays.el (calendar-holiday-list):
1779 Report errors with display-warning rather than beep'n'sleep.
1781 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp.el (tramp-accept-process-output): Accept only output
1784 from PROC. Otherwise, process filters and sentinels might be
1785 confused. (Bug#12145)
1787 2012-08-20 Chong Yidong <cyd@gnu.org>
1789 * descr-text.el (describe-text-properties-1): Use overlays-in to
1790 report on empty overlays (Bug#3322).
1792 2012-08-20 Glenn Morris <rgm@gnu.org>
1794 * mail/rmailout.el (rmail-output-read-file-name):
1795 Trap and report errors in rmail-output-file-alist elements.
1797 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1798 since most non-font-lock faces are not also variables).
1800 2012-08-20 Edward Reingold <reingold@iit.edu>
1802 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1803 New function. (Bug12160)
1805 2012-08-19 Glenn Morris <rgm@gnu.org>
1807 * mail/rmailout.el (rmail-output-read-file-name):
1808 Fix previous change (when the alist is nil or does not match).
1810 2012-08-19 Chong Yidong <cyd@gnu.org>
1812 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1815 2012-08-18 Chong Yidong <cyd@gnu.org>
1817 * simple.el (yank-handled-properties): New defcustom.
1818 (yank-excluded-properties): Add font-lock-face and category.
1821 * subr.el (remove-yank-excluded-properties):
1822 Obey yank-handled-properties. The special handling of font-lock-face
1823 and category is now done this way, instead of being hard-coded.
1824 (insert-for-yank-1): Remove font-lock-face handling.
1825 (yank-handle-font-lock-face-property)
1826 (yank-handle-category-property): New function.
1828 2012-08-17 Glenn Morris <rgm@gnu.org>
1830 * mail/rmailout.el (rmail-output-read-file-name):
1831 Check rmail-output-file-alist against the full message body
1832 in the correct rmail buffer. (Bug#12214)
1834 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1836 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1837 Eliminate superfluous prompt. (Bug#12203)
1839 2012-08-17 Chong Yidong <cyd@gnu.org>
1841 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1842 font spec, set the font directly (Bug#3228).
1844 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1846 * window.el (delete-window): Fix last fix.
1848 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1850 * window.el (window-valid-p): Move to window.c.
1851 (window-child, window-child-count, window-last-child)
1852 (window-normalize-window, window-combined-p)
1853 (window-combinations, window-atom-root, window-min-size)
1854 (window-sizable, window-sizable-p, window-size-fixed-p)
1855 (window-min-delta, window-max-delta, window--resizable)
1856 (window--resizable-p, window-resizable, window-total-size)
1857 (window-full-height-p, window-full-width-p, window-body-size)
1858 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1859 (minimize-window, window-deletable-p, delete-window)
1860 (delete-other-windows, set-window-buffer-start-and-point)
1861 (next-buffer, previous-buffer, split-window, balance-windows-2)
1862 (set-window-text-height, window-buffer-height)
1863 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1864 (truncated-partial-width-window-p): Minor code adjustments.
1865 In doc-strings state whether the argument window has to denote a
1866 live, valid or any window.
1868 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1870 * progmodes/subword.el (subword-forward-function)
1871 (subword-backward-function, subword-forward-regexp)
1872 (subword-backward-regexp): New variables.
1873 (subword-forward, subword-forward-internal, subword-backward-internal):
1874 Use new variables, eg so that different "word" definitions
1875 can be easily used. (Bug#11411)
1877 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1880 for composite selectors.
1881 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1882 operation just because we can't find a previous revision.
1884 2012-08-15 Chong Yidong <cyd@gnu.org>
1886 * frame.el (set-frame-font): Accept font objects.
1888 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1892 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1894 * man.el (Man-overstrike-face, Man-underline-face)
1895 (Man-reverse-face): Remove variables.
1896 (Man-overstrike, Man-underline, Man-reverse): New faces.
1897 (Man-fontify-manpage): Use them instead of the variables.
1898 (Man-cleanup-manpage): Comment change.
1899 (Man-ansi-color-map): New variable.
1900 (Man-fontify-manpage): Use it.
1901 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1903 Implement ANSI SGR parameters 22-27 (bug#12146).
1904 * ansi-color.el (ansi-colors): Doc fix.
1905 (ansi-color-context, ansi-color-context-region): Doc fix.
1906 (ansi-color--find-face): New function.
1907 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1908 Rename the local variable `face' to `codes' since it is now a list of
1909 ansi codes. Doc fix.
1910 (ansi-color-get-face): Remove.
1911 (ansi-color-parse-sequence): New function, derived from
1912 ansi-color-get-face.
1913 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1916 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * subr.el (read-passwd): Allow use from a minibuffer.
1920 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1922 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1923 inside comments and strings as identifiers.
1925 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1926 expression to evaluate. This allows to evaluate expressions with
1927 embedded whitespace.
1928 (gud-tooltip-tips): Add a blank before the newline in the
1929 message-box text, for the benefit of message-box emulation on
1932 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1933 messages from GDB, pop them up in a tooltip to give feedback to
1935 (gdb-tooltip-print-1): Quote the expression to evaluate.
1936 This allows to evaluate expressions with embedded whitespace.
1937 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1938 if the TTY name is nil or empty (which happens when communicating
1939 with the inferior via pipes, e.g. on MS-Windows).
1940 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1941 don't send that to the GUD buffer.
1943 2012-08-14 Glenn Morris <rgm@gnu.org>
1945 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1946 Optimize away setq-default with no args, as for setq. (Bug#12195)
1948 2012-08-14 Chong Yidong <cyd@gnu.org>
1950 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1952 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1955 2012-08-14 Glenn Morris <rgm@gnu.org>
1957 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1959 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1961 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1962 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1963 Use cached shell name.
1965 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1967 * progmodes/python.el (python-shell-send-string):
1968 (python-shell-send-setup-code): Do not use `format' with `message'.
1970 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1972 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1973 (ruby-percent-literal-beg-re): New constant.
1974 (ruby-syntax-general-delimiters-goto-beg): Rename to
1975 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1976 (ruby-syntax-propertize-general-delimiters): Rename to
1977 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1978 popular term. Adjust comments everywhere.
1979 (ruby-syntax-propertize-percent-literal): Only propertize when not
1980 inside a simple string or comment. When the literal is unclosed,
1981 leave the text after it unpropertized.
1982 (ruby-syntax-methods-before-regexp): New constant.
1983 (ruby-syntax-propertize-function): Use it to recognize regexps.
1984 Don't look at the text after regexp, just use the whitelist.
1986 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1988 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1989 non-nil always load the compiled file if it exists. (Bug#12197)
1991 2012-08-14 Chong Yidong <cyd@gnu.org>
1993 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1994 (hi-lock-set-pattern): When deciding whether to use font lock or
1995 overlays, look at font-lock-mode instead of font-lock-fontified
1997 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1998 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2000 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2002 * subr.el (internal--after-with-selected-window): Fix typo
2005 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2007 Use `completion-table-dynamic' for completion functions.
2008 * progmodes/python.el
2009 (python-shell-completion--do-completion-at-point)
2010 (python-shell-completion--get-completions):
2012 (python-shell-completion-complete-at-point): New function.
2013 (python-completion-complete-at-point): Use it.
2015 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2017 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2018 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2020 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * subr.el (function-get): Refine `autoload' arg so it can also
2023 autoload functions for gv.el (bug#12191).
2024 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2027 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2028 Prefer pcase-let over destructuring-bind.
2029 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2030 Also, remove whitespace as we go, rather than after accumulating the
2033 * subr.el (internal--before-with-selected-window)
2034 (internal--after-with-selected-window): Fix typo seleted->selected.
2035 (with-selected-window): Adjust callers.
2036 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2038 2012-08-13 Bastien Guerry <bzg@gnu.org>
2040 * window.el (special-display-popup-frame): Minor docstring
2041 enhancement. (Bug#12172)
2043 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2045 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2047 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2050 * files.el (hack-local-variables-filter): Remove useless eval.
2052 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2054 * subr.el (with-selected-window): Fix last change.
2056 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2058 * subr.el (internal--before-with-seleted-window)
2059 (internal--after-with-seleted-window): New functions.
2060 (with-selected-window): Use them, to replace dependency on
2063 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2065 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2066 binding for `newline'.
2067 (ruby-move-to-block): When moving backward, stop at block opening,
2069 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2070 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2071 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2072 `ruby-toggle-block'.
2074 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2076 * ibuffer.el (ibuffer-do-toggle-read-only):
2077 * dired.el (dired-toggle-read-only):
2078 * buff-menu.el (Buffer-menu-toggle-read-only):
2079 * bindings.el (mode-line-toggle-read-only):
2080 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2082 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2084 * descr-text.el (describe-char): Put the overlays over the
2085 "displayed as" character.
2087 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2089 * calc/calc-units.el (math-default-units-table): Give an
2091 (math-put-default-units): Add options to put composite units and
2092 unit systems in the default units table.
2093 (calc-convert-units): Send composite units to
2094 `math-put-default-units' when appropriate.
2096 2012-08-11 Glenn Morris <rgm@gnu.org>
2098 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2100 * tutorial.el (help-with-tutorial):
2101 * emacs-lisp/copyright.el (copyright-update-directory):
2102 * emacs-lisp/autoload.el (autoload-find-generated-file)
2103 (autoload-find-file): Disable local eval: (for insurance).
2105 * files.el (hack-local-variables-filter): If an eval: form is not
2106 known to be safe, and enable-local-variables is :safe, then ignore
2107 the form totally, as is done for non-eval forms. (Bug#12155)
2108 This is CVE-2012-3479.
2110 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2113 (rx-form): Simplify.
2115 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2117 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2118 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2119 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2120 (ruby-syntax-propertize-function): Adjust for changes in
2121 `ruby-syntax-propertize-heredoc'.
2123 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2125 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2126 binding (use `M-;' instead).
2127 (ruby-singleton-class-p): New function.
2128 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2130 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2134 2012-08-10 Chong Yidong <cyd@gnu.org>
2136 * progmodes/python.el (python-shell-get-process-name): Don't mess
2137 with same-window-buffer-names.
2139 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2140 (eshell-remove-from-window-buffer-names): Make obsolete.
2141 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2142 (eshell): Just use pop-to-buffer-same-window instead.
2144 2012-08-10 Chong Yidong <cyd@gnu.org>
2146 * bindings.el: Bind M-= back to count-words-region.
2148 * simple.el (count-words-region): Accept a prefix arg for acting
2149 on the entire buffer.
2150 (count-words--buffer-message): New helper function.
2152 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2154 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2155 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2156 (event-start, event-end): Use posn-at-point to return a more
2158 (posnp): New function.
2159 * mouse.el (popup-menu-normalize-position): Use it.
2161 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2163 * mouse.el (popup-menu-normalize-position): New function.
2164 (popup-menu): Use `popup-menu-normalize-position' to normalize
2165 the form for POSITION argument.
2167 * term/x-win.el (x-menu-bar-open):
2168 Use the value returend from (posn-at-point) as position
2169 passed to `popup-menu'.
2171 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2173 * calc/calccomp.el (math-compose-expr): Add extra argument
2174 indicating that parentheses should be put around products in
2175 denominators. Give multiplication precedence over division during
2178 2012-08-09 Chong Yidong <cyd@gnu.org>
2180 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2181 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2182 (Man-untabify-command, manual-program): Convert to defcustom
2185 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2187 * descr-text.el (describe-char): Don't insert extra newlines
2190 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2191 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2193 * align.el (align-region): Delete temporary markers (Bug#10047).
2194 Plus some code cleanups.
2196 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2198 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2199 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2200 (python-shell-internal-last-output): Use make-local-variable
2201 instead of make-variable-buffer-local.
2203 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2205 * progmodes/python.el: Enhancements to forward-sexp.
2206 (python-nav-forward-sexp): Rename from
2207 python-nav-forward-sexp-function.
2208 (python-nav--forward-sexp, python-nav--backward-sexp):
2211 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2213 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2214 modes and simplification modes.
2216 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * delsel.el (delete-selection-pre-hook): Don't propagate the
2219 file-supersession signals (bug#12161).
2221 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2224 (cl-map-extents): Add compatibility aliases (bug#12135).
2226 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2228 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2229 tests by `ignore-error'.
2230 (tramp-find-shell): Open also a new shell, when cache is already
2231 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2233 2012-08-08 Juri Linkov <juri@jurta.org>
2235 * bookmark.el: Add `defaults' property to the bookmark record.
2236 (bookmark-current-buffer): Doc fix.
2237 (bookmark-make-record): Add `defaults' property with default values
2238 to the bookmark record.
2239 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2240 with `bookmark-insert-current-bookmark'.
2241 (bookmark-set): Get `defaults' property from the bookmark record
2242 and use it in `read-from-minibuffer'.
2243 (bookmark-insert-current-bookmark): Remove function.
2245 * info.el (Info-bookmark-make-record): Add `defaults' property
2246 with values of canonical Info node name, the current Info file
2247 name and the current Info node name. (Bug#12107)
2249 2012-08-08 Juri Linkov <juri@jurta.org>
2251 * files.el (basic-save-buffer): Use `buffer-name' as the default
2252 of `read-file-name' when buffer is not visiting a file (bug#12128).
2254 2012-08-08 Juri Linkov <juri@jurta.org>
2256 * info.el (Info-isearch-search): Doc fix.
2257 (Info-search): Change search-failed message from "initial node" to
2258 "end of node" (bug#12078).
2259 (Info-isearch-search): Change `isearch-string-state' to
2260 `isearch--state-string'.
2262 2012-08-08 Glenn Morris <rgm@gnu.org>
2264 * language/persian.el: Remove file.
2265 * language/misc-lang.el: Move unique part of persian.el here.
2266 * loadup.el: Remove language/persian.
2268 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2270 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2272 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2274 * progmodes/python.el Fixed defsubst warning.
2275 (python-syntax-context) Rename from python-info-ppss-context.
2276 (python-syntax-context-type): Rename from
2277 python-info-ppss-context-type.
2278 (python-syntax-comment-or-string-p): Rename from
2279 python-info-ppss-comment-or-string-p.
2281 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2283 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2285 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2287 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2288 a defcustom that is quoted with backquote.
2290 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2291 Fix handling of interactive spec when the body uses return.
2292 (math-do-arg-check, math-define-function-body): Use backquote forms.
2293 * calc/calc-ext.el (math-defcache): Likewise.
2294 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2295 * allout.el (allout-new-exposure): Likewise.
2296 * calc/calcalg2.el (math-tracing-integral): Likewise.
2297 * info.el (Info-last-menu-item): Likewise.
2298 * emulation/vip.el (vip-loop): Likewise.
2299 * textmodes/artist.el (artist-funcall): Likewise.
2300 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2301 Construct menu-item directly.
2303 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2306 2012-08-07 Chong Yidong <cyd@gnu.org>
2308 * simple.el (deactivate-mark): Preserve text properties when
2309 saving the primary selection (Bug#8384).
2311 2012-08-07 Kevin Ryde <user42@zip.com.au>
2313 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2314 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2315 and continue processing (Bug#12110).
2317 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2320 syntax-propertize-function (bug#10095).
2322 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2324 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2325 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2326 describe-function-1.
2327 (describe-function-1): Use them. Move compiler macro after sig.
2328 (help-fns--compiler-macro): Use function-get. Assume we're already in
2329 standard-output. Adjust layout to new call order.
2331 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2332 re-binding a symbol that has a symbol-macro (bug#12119).
2334 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2336 * language/persian.el: New file. (Bug#11812)
2337 * loadup.el: Add language/persian.el.
2339 2012-08-06 Chong Yidong <cyd@gnu.org>
2341 * window.el (window--maybe-raise-frame): New function.
2342 (window--display-buffer): Split off from here.
2343 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2344 (display-buffer-pop-up-window, display-buffer-use-some-window):
2345 Obey an inhibit-switch-frame action alist entry.
2346 (display-buffer): Update doc.
2348 * replace.el (occur-after-change-function): Avoid losing focus by
2349 using the inhibit-switch-frame display parameter (Bug#12139).
2351 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2353 Make internal shell process buffer names start with space.
2354 * progmodes/python.el (python-shell-make-comint): Add optional
2356 (run-python-internal): Use it.
2357 (python-shell-internal-get-or-create-process): Check for new
2358 internal buffer names.
2360 2012-08-06 Glenn Morris <rgm@gnu.org>
2362 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2363 Do less getting and setting of environment variables.
2365 2012-08-05 Chong Yidong <cyd@gnu.org>
2367 * proced.el (proced): Add substitution string to docstring to
2368 trigger autoloading of the proced library on C-h f (Bug#1768).
2370 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2371 Don't show defvars which have no second argument (Bug#8638).
2373 * imenu.el (imenu-generic-expression): Move documentation here
2374 from imenu--generic-function.
2375 (imenu--generic-function): Refer to imenu-generic-expression.
2377 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2379 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2380 indentation declaration.
2381 (viper-loop): Add indentation declaration (Bug#7025).
2383 2012-08-05 Chong Yidong <cyd@gnu.org>
2385 * help-fns.el (describe-variable): Add hyperlink for
2386 directory-local variables files. Improve buffer-local and
2387 permanent-local reporting; suggested by MON KEY (Bug#6644).
2389 * help-mode.el (help-dir-local-var-def): New button type.
2391 * files.el (kill-buffer-hook): Provide a defvar.
2393 2012-08-05 Glenn Morris <rgm@gnu.org>
2395 * eshell/esh-ext.el (eshell/addpath):
2396 Also update eshell-path-env. (Bug#12013)
2398 2012-08-05 Chong Yidong <cyd@gnu.org>
2400 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2402 * fringe.el (fringe-styles): Add docstring.
2403 (fringe--check-mode): New function.
2404 (set-fringe-mode, set-fringe-style): Use it.
2405 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2407 * files.el (set-auto-mode): Fix invalid setq call.
2409 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2411 * isearch.el: Misc simplification; use defstruct.
2412 (isearch-mode-map): Dense maps now work like sparse ones.
2413 (isearch--state): New defstruct.
2414 (isearch-string-state, isearch-message-state, isearch-point-state)
2415 (isearch-success-state, isearch-forward-state)
2416 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2417 (isearch-wrapped-state, isearch-barrier-state)
2418 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2419 replaced by defstruct's accessors.
2420 (isearch--set-state): Rename from isearch-top-state and change
2422 (isearch-push-state): Use new isearch--get-state.
2423 (isearch-toggle-word): Disable regexp when enabling word.
2424 (isearch-message-prefix): Remove unused arg _c-q-hack.
2425 (isearch-message-suffix): Remove unused arg _ellipsis.
2427 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2429 * simple.el (list-processes--refresh): For a server use :host or
2430 :local as the address.
2431 (list-processes): Doc fix.
2433 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
2435 * lisp/mpc.el: Support password in host argument.
2436 (mpc--proc-connect): Parse and use new password element.
2437 Set mpc-proc variable instead of returning process.
2438 (mpc-proc): Adjust accordingly.
2440 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2442 * whitespace.el (whitespace-display-mappings): Use Unicode
2443 codepoints, instead of emacs-mule codepoints. See
2444 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2447 * files.el (file-truename): Don't skip symlink-chasing part on
2448 windows-nt. Incorporate the resolution of 8+3 short aliases on
2449 Windows into the loop that recursively chases symlinks.
2450 Compare directory and its parent case-insensitively on MS-Windows and
2453 2012-08-03 Chong Yidong <cyd@gnu.org>
2455 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2457 * sort.el (sort-regexp-fields): Doc fix.
2459 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2461 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2462 labels regex position point at the expected place.
2464 2012-08-03 MON KEY <monkey@sandpframing.com>
2466 * net/imap.el (imap-interactive-login, imap-authenticate)
2467 (imap-mailbox-lsub, imap-mailbox-list)
2468 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2469 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2470 (imap-parse-response): Doc fix.
2472 2012-08-03 João Távora <joaotavora@gmail.com>
2474 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2475 if sexp scanning does not move point (Bug#5734).
2477 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2479 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2480 Add listings, minted, and ctable packages.
2481 (reftex-label-alist-builtin): Move listings, minted, and ctable
2482 entries before LaTeX.
2483 (reftex-label-alist): Docfix.
2485 2012-08-02 Bastien Guerry <bzg@gnu.org>
2487 * replace.el (occur): Fix docstring (bug#12122).
2489 2012-08-02 Glenn Morris <rgm@gnu.org>
2491 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2493 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2495 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2496 * international/mule-cmds.el: Create
2497 inactivate-current-input-method-function as an obsolete alias for
2498 deactivate-current-input-method-function. See Katsumi Yamaoka in
2499 <http://bugs.gnu.org/10150#46>.
2501 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2503 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2506 2012-08-01 Glenn Morris <rgm@gnu.org>
2508 * progmodes/autoconf.el (autoconf-definition-regexp):
2509 Add AH_TEMPLATE, adjust submatch numbering.
2510 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2511 (autoconf-current-defun-function): Update for above change.
2512 (autoconf-current-defun-function): First skip to end of current word.
2514 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2516 * calendar/cal-html.el (cal-html-insert-agenda-days):
2517 Fix typo. (Bug#12018)
2519 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2521 Shell processes: enhancements to startup and CEDET compatibility.
2522 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2523 (python-shell-make-comint): accept-process-output at startup.
2524 (run-python-internal): Set inferior-python-mode-hook to nil.
2525 (python-shell-internal-get-or-create-process): call sit-for.
2526 (python-preoutput-result): Add obsolete alias.
2527 (python-shell-internal-send-string): Use it.
2528 (python-shell-send-setup-code): Remove call to
2529 accept-process-output.
2531 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2533 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2536 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2538 * calc-mode.el (calc-basic-simplification-mode): Rename from
2539 `calc-limited-simplification-mode'.
2540 (calc-alg-simplification-mode): New function.
2541 (calc-set-simplify-mode): Adjust message.
2543 * calc.el (calc-set-mode-line): Adjust mode line display for
2544 basic simplification mode.
2546 * calc-help.el (calc-m-prefix-help): Update help message.
2548 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2549 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2551 2012-07-31 Bastien Guerry <bzg@gnu.org>
2553 * man.el (man): Fix comment. (bug#12101)
2555 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2557 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2558 Don't return a non-nil value when no suitable buffer was found.
2560 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2562 * progmodes/python.el (run-python-internal): Disable font lock for
2565 2012-07-30 Stefan Merten <smerten@oekonux.de>
2567 * textmodes/rst.el: Silence `checkdoc-ispell'.
2568 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2569 (rst-official-version, rst-official-cvs-rev)
2570 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2571 (rst-mode-map): New key binding.
2573 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2575 Update .PHONY listings in makefiles.
2576 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2577 autoloads, update-subdirs, updates, bzr-update, update-authors,
2578 compile-onefile, compile-calc, backup-compiled-files,
2579 compile-after-backup, compile-one-process, mh-autoloads,
2580 bootstrap-clean, distclean, maintainer-clean.
2582 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2584 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2585 (calc-set-mode-line): Don't display "AlgSimp ".
2587 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2588 (calc-lim-simplify-mode): New function.
2589 (calc-set-simplify-mode): Default to 'alg.
2590 (calc-default-simplify-mode): Make algebraic simplifications
2593 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2594 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2596 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2597 indicate new simplification modes.
2599 * calc/README: Mention new default simplification mode.
2601 * calc/calc.el (math-normalize-error): New variable.
2602 (math-normalize): Set `math-normalize-error' to t
2603 when there's an error.
2605 * calc/calc-alg.el (math-simplify): Don't simplify when
2606 `math-normalize' returns an error.
2608 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2610 * international/mule-cmds.el (set-locale-environment): Revert last
2611 change, since display-graphic-p returns nil when this function is
2612 called during startup. Instead...
2614 * term/w32console.el (terminal-init-w32console): ...setup the
2615 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2617 2012-07-29 Juri Linkov <juri@jurta.org>
2619 * simple.el (goto-line): Don't display default line number in the
2620 prompt because it should be displayed by `read-number' (bug#9952).
2621 Add the current line number to the defaults of `goto-line' to
2622 allow its easier modification by users with `M-n' (bug#9201).
2624 * subr.el (read-number): Support multiple default values like in
2625 other minibuffer reading functions. Replace `read' with
2626 `string-to-number' for consistency with `number-to-string'.
2628 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2630 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2631 * emulation/viper-init.el (viper-deactivate-input-method-action):
2632 Rename from viper-inactivate-input-method-action.
2633 (viper-deactivate-input-method):
2634 Rename from viper-inactivate-input-method.
2635 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2636 * international/mule-cmds.el (deactivate-input-method):
2637 Rename from inactivate-input-method.
2638 Also run input-method-deactivate-hook.
2639 (deactivate-current-input-method-function):
2640 Rename from inactivate-current-input-method-function.
2641 (input-method-deactivate-hook): New hook.
2642 (input-method-inactivate-hook): Mark obsolete.
2643 (inactivate-input-method): Mark obsolete.
2645 * international/quail.el (quail-activate):
2646 Also run quail-deactivate-hook.
2647 (quail-deactivate): Rename from quail-inactivate.
2648 * international/robin.el (robin-activate):
2649 Also run robin-deactivate-hook.
2650 (robin-deactivate): Rename from robin-inactivate.
2652 2012-07-29 Chong Yidong <cyd@gnu.org>
2654 * simple.el (indicate-copied-region): New function.
2655 (kill-ring-save): Split off from here.
2657 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2658 (kill-rectangle): Set deactivate-mark to t on read-only error.
2660 * register.el (copy-to-register, copy-rectangle-to-register):
2661 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2662 (append-to-register, prepend-to-register):
2663 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2665 * simple.el (async-shell-command-buffer): New defcustom.
2666 (shell-command): Use it. (Bug#4719)
2668 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2670 * international/mule-cmds.el (set-locale-environment): In a
2671 console session on MS-Windows, set up keyboard and terminal
2672 encoding from the OEM codepage, not the ANSI codepage.
2675 2012-07-28 Chong Yidong <cyd@gnu.org>
2677 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2680 2012-07-28 Leo Liu <sdl.web@gmail.com>
2682 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2683 the alist (bug#12029).
2685 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2687 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2688 (compile-always, compile-first)
2689 ($(lisp)/calendar/cal-loaddefs.el)
2690 ($(lisp)/calendar/diary-loaddefs.el)
2691 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2692 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2693 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2694 instead of on update-subdirs.
2695 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2697 2012-07-28 Chong Yidong <cyd@gnu.org>
2699 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2700 directory if vc-deduce-backend returns nil (Bug#7350).
2702 * simple.el (delete-trailing-lines): New option.
2703 (delete-trailing-whitespace): Obey it (Bug#11879).
2705 2012-07-28 David Engster <deng@randomsample.de>
2707 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2708 Explanation of new 'symbol-qnames feature in doc-strings.
2709 (xml-maybe-do-ns): Return expanded names as plain symbols if
2710 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2711 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2713 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2715 Consistent completion in inferior python with emacs -nw.
2716 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2717 binding in inferior-python-mode-map with "\t".
2718 (python-shell-completion-complete-at-point)
2719 (python-completion-complete-at-point): Remove interactive spec.
2721 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2723 * calc/calccomp.el (math-compose-expr): Undo previous change.
2725 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2727 * progmodes/python.el (python-mode-map): Add keybinding for
2729 (python-shell-make-comint): Fix pop-to-buffer call.
2730 (run-python): Autoload. New arg SHOW.
2731 (python-shell-get-or-create-process): Do not pop python process
2734 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2736 * notifications.el (notifications-on-action-signal)
2737 (notifications-on-closed-signal): Use also the bus address for the map.
2738 (notifications-notify, notifications-close-notification)
2739 (notifications-get-capabilities): Add optional argument BUS.
2741 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2743 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2744 Add support for the lstlisting and minted environments, and for the
2746 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2747 labels written in keyvals syntax.
2749 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2751 * calc/calccomp.el (math-compose-expr): Use parentheses when
2752 there is a product in the denominator of a fraction.
2754 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2756 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2757 ($(lisp)/calendar/diary-loaddefs.el)
2758 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2759 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2760 Fixes failures in parallel bootstrap because subdirs.el is being
2761 rewritten while the autoload files are built at the same time,
2762 which needs to load subdirs.el.
2764 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2766 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2767 (mouse-drag-line): Don't exit tracking when a switch-frame or
2768 switch-window event occurs (Bug#12006).
2770 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2772 * mouse.el (popup-menu): Fix last change.
2774 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2776 Autoload from Lisp with more care. Follow aliases when looking for
2777 function properties.
2778 * subr.el (autoloadp): New function.
2779 (symbol-file): Use it.
2780 (function-get): New function.
2781 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2783 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2784 (lisp-indent-function):
2785 * emacs-lisp/gv.el (gv-get):
2786 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2787 * emacs-lisp/byte-opt.el (byte-optimize-form):
2788 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2789 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2791 * emacs-lisp/cl.el: Don't propagate function properties any more.
2793 * speedbar.el (speedbar-add-localized-speedbar-support):
2794 * emacs-lisp/disass.el (disassemble-internal):
2795 * desktop.el (desktop-load-file):
2796 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2797 (describe-function-1):
2798 * emacs-lisp/find-func.el (find-function-noselect):
2799 * emacs-lisp/elp.el (elp-instrument-function):
2800 * emacs-lisp/advice.el (ad-has-proper-definition):
2801 * apropos.el (apropos-safe-documentation, apropos-macrop):
2802 * emacs-lisp/debug.el (debug-on-entry):
2803 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2804 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2805 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2807 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2809 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2810 function, not an obsolete variable (Bug#12046).
2812 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2814 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2816 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2818 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2819 window only if it is still live (Bug#12034).
2821 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2823 * subr.el (redirect-frame-focus): Add advertised calling
2824 convention (Bug#12030).
2826 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2828 Prefer typical American spelling for "acknowledgment".
2829 * vc/add-log.el (change-log-acknowledgment): Rename from
2830 change-log-acknowledgement, with an alias for the old name.
2832 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2834 * calc-alg.el (math-simplify-divide): Don't cross multiply
2835 in an equation when the lhs is a variable.
2837 2012-07-24 Julien Danjou <julien@danjou.info>
2839 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2842 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2844 * startup.el (command-line): Don't display an empty user name in
2845 the error message about non-existent home directory, when
2846 init-file-user was set to an empty string. See
2847 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2848 for the details and context.
2850 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2852 * ses.el (ses-cell-formula-aset): New macro.
2853 (ses-cell-references-aset): New macro.
2854 (ses-cell-p): New function.
2855 (ses-rename-cell): Do no longer rely on complex operations like
2856 ses-cell-set-formula or ses-set-cell to change the cell and handle
2857 the undo at the same time, but rather use lower level new macros
2858 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2859 the undo directly. Refresh the mode line.
2861 2012-07-21 Leo Liu <sdl.web@gmail.com>
2863 * progmodes/cc-cmds.el (c-defun-name):
2864 Use match-string-no-properties instead for consistency.
2866 2012-07-20 Leo Liu <sdl.web@gmail.com>
2868 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2871 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2873 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2876 * progmodes/bug-reference.el, misearch.el: Provide themselves
2879 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2880 of narrowed buffer (bug#11966).
2882 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2884 * ses.el (ses-rename-cell): Set new name also in reference list of
2885 cells of which the renamed cell depends.
2887 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2889 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2890 to check whether menu-bar is shown or not. If not shown,
2891 show the menu-bar as a popup menu instead of using tmm.
2892 * mouse.el (popup-menu): Accept `point' as `position' argument.
2894 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2896 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2897 up inside string symbol literal (bug#11923).
2899 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2901 * startup.el (fancy-startup-text): Read the whole tutorial, not
2902 just its first 256 bytes. Prevents gibberish in display of the
2905 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2907 Drop idle buffer compaction due to an absence of the
2909 * compact.el: Remove.
2911 2012-07-19 Sam Steingold <sds@gnu.org>
2913 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2914 vc-bzr-pull & vc-bzr-merge-branch.
2915 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2916 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2917 for consistency with compilation-error-regexp-alist.
2918 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2919 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2920 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2921 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2923 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * emacs-lisp/chart.el: Use lexical-binding.
2926 (chart-emacs-storage): Don't hardcode the list of entries.
2928 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2930 Next round of tweaks caused by Fgarbage_collect changes.
2931 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2933 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2935 Compact buffers when idle.
2936 * compact.el: New file.
2938 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * subr.el (eventp): Presume that if it looks vaguely like an event,
2941 it's an event (bug#10190).
2943 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2945 Enhancements to ppss related code (thanks Stefan).
2946 * progmodes/python.el (python-indent-context)
2947 (python-indent-calculate-indentation, python-indent-dedent-line)
2948 (python-indent-electric-colon, python-nav-forward-block)
2949 (python-mode-abbrev-table)
2950 (python-info-assignment-continuation-line-p): Simplify checks
2952 (python-info-continuation-line-p): Cleanup.
2953 (python-info-ppss-context): Do not catch 'quote.
2954 (python-info-ppss-context-type)
2955 (python-info-ppss-comment-or-string-p): Simplify.
2957 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2959 * progmodes/python.el: Enhancements to eldoc support.
2960 (python-info-current-symbol): New function.
2961 (python-eldoc-at-point): Use python-info-current-symbol.
2962 (python-info-current-defun): Fix cornercase on first defun scan.
2963 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2964 and signal error when no inferior python process is available.
2966 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2968 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2969 assume it's always t.
2970 (vc-git-registered): Remove caching, the function is only called
2972 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2974 2012-07-18 Chong Yidong <cyd@gnu.org>
2976 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2978 * simple.el (count-words): Report on narrowing (Bug#9959).
2980 * bindings.el: Bind M-= to count-words.
2982 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2984 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2986 * progmodes/sh-script.el (sh-imenu-generic-expression):
2987 Capture a function with `function' keyword and without parentheses
2988 like "function FOO" (bug#11856).
2990 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2992 * window.el (split-window-sensibly): Make WINDOW argument
2995 2012-07-18 Chong Yidong <cyd@gnu.org>
2997 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2999 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3000 and make C-x 8 RET exit isearch (Bug#11439).
3002 * international/iso-transl.el: Move isearch-mode-map key
3003 definitions to isearch.el.
3005 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3007 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3008 (eieio-defclass): Use gv-define-setter when possible.
3010 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3012 Reflect recent changes in Fgarbage_collect.
3013 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3014 reflect new format of data returned by Fgarbage_collect.
3016 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3018 New utility functions + python-info-ppss-context fix (Bug#11910).
3019 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3020 (python-info-ppss-comment-or-string-p): New functions.
3021 (python-info-ppss-context): Small fix for string check.
3023 2012-07-17 Juri Linkov <juri@jurta.org>
3025 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3026 (dired-do-async-shell-command): Don't add `*' at the end of the
3027 command (Bug#11815).
3028 (dired-do-shell-command): Doc fix.
3029 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3030 Join the individual commands using either "&" or ";" as the
3031 separator depending on the values of these trailing characters.
3032 At the end re-add the trailing "&". (Bug#10598)
3034 * simple.el (async-shell-command): Sync the interactive spec with
3035 `shell-command'. Doc fix.
3036 (shell-command): Doc fix.
3038 2012-07-17 Juri Linkov <juri@jurta.org>
3040 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3042 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3044 Final renames and doc fixes for movement commands (bug#11899).
3045 * progmodes/python.el (python-nav-beginning-of-statement):
3046 Rename from python-nav-statement-start.
3047 (python-nav-end-of-statement): Rename from
3048 python-nav-statement-end.
3049 (python-nav-beginning-of-block): Rename from
3050 python-nav-block-start.
3051 (python-nav-end-of-block): Rename from python-nav-block-end.
3053 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3055 * progmodes/python.el (python-shell-send-string-no-output):
3056 Allow accept-process-output to quit, keeping shell process ready for
3057 future interactions (Bug#11868).
3059 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3063 * emacs-lisp/elint.el (elint-find-args-in-code):
3064 Use help-function-arglist, so as to handle lexical byte-code.
3066 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3069 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3071 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3072 Avoid spuriously marking the buffer as modified because of c-is-sws.
3074 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3075 as not-a-comment (bug#11946).
3077 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3078 for uninterned vars.
3080 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3081 Use read-event since we don't really want to read chars but bytes.
3083 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3084 $$..$$ but also $..$ using regexps (bug#11953).
3085 Use tex-verbatim for \url and \path.
3086 (tex-font-lock-keywords): Define as defconst like the others.
3087 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3089 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3091 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3092 alias for insert-char.
3094 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3096 * progmodes/python.el: Simplified imenu implementation.
3097 (python-nav-jump-to-defun): Remove command.
3098 (python-mode-map): Use `imenu' instead.
3099 (python-nav-list-defun-positions-cache)
3100 (python-imenu-include-defun-type, python-imenu-make-tree)
3101 (python-imenu-subtree-root-label, python-imenu-index-alist):
3103 (python-nav-list-defun-positions, python-nav-read-defun)
3104 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3105 (python-imenu-make-tree, python-imenu-create-index):
3107 (python-mode): Update to interact with imenu by setting
3108 `imenu-extract-index-name-function' only.
3110 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3112 * progmodes/python.el: Enhancements to navigation commands.
3113 (python-nav-backward-sentence)
3114 (python-nav-forward-sentence): Remove.
3115 (python-nav-backward-statement, python-nav-forward-statement)
3116 (python-nav-statement-start, python-nav-statement-end)
3117 (python-nav-backward-block, python-nav-forward-block)
3118 (python-nav-block-start, python-nav-block-end)
3119 (python-nav-forward-sexp-function)
3120 (python-info-current-line-comment-p)
3121 (python-info-current-line-empty-p): New functions.
3122 (python-indent-context): Use `python-nav-statement-start'.
3124 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3126 * eshell/em-ls.el (eshell/ls): Use `apply'.
3128 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3129 multi-hops, instead of Tramp internals.
3131 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3133 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3134 when F1 and F2 are located on different hosts.
3136 2012-07-14 Chong Yidong <cyd@gnu.org>
3138 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3139 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3140 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3141 (xterm-mouse--read-event-sequence-1000)
3142 (xterm-mouse--read-event-sequence-1006): New functions. For old
3143 mouse protocol, handle M-mouse-X events correctly.
3144 (xterm-mouse-event): New arg specifying mouse protocol.
3145 (turn-on-xterm-mouse-tracking-on-terminal)
3146 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3147 sequence to toggle extended coordinates on newer XTerms.
3148 This appears to be harmless on terminals which do not support this.
3150 2012-07-14 Leo Liu <sdl.web@gmail.com>
3152 Add fringe bitmap indicators for flymake. (Bug#11253)
3153 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3154 (flymake-make-overlay): New arg BITMAP.
3155 (flymake-error-bitmap, flymake-warning-bitmap)
3156 (flymake-fringe-indicator-position): New user variables.
3158 * fringe.el: New bitmap exclamation-mark.
3160 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3162 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3165 2012-07-14 Chong Yidong <cyd@gnu.org>
3167 * electric.el (electric-pair-post-self-insert-function): Fix pair
3168 insertion in empty-region case (Bug#11520).
3170 2012-07-14 Chong Yidong <cyd@gnu.org>
3172 * bindings.el: Consolidate ctl-x-r-map bindings.
3173 Bind copy-rectangle-as-kill to C-x r w.
3175 * rect.el, register.el: Move bindings to bindings.el.
3177 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3179 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3181 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3183 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3185 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3187 * bindings.el (top): Use `mapc' instead of `mapcar'.
3189 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3191 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3193 * progmodes/sql.el (sql-comint): Suppress the check for program on
3194 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3197 2012-07-13 Chong Yidong <cyd@gnu.org>
3199 * bindings.el: Assign a non-nil permanent-local property to
3200 per-buffer variables which lack a default value (Bug#11930).
3202 * help-fns.el (describe-variable): In the "automatically becomes
3203 local" notice, take note of permanent-local variables.
3205 2012-07-13 Chong Yidong <cyd@gnu.org>
3207 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3208 to allow printing the message when called from Lisp.
3210 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3211 Remove toggle-read-only.
3213 * bs.el (bs-toggle-readonly):
3214 * buff-menu.el (Buffer-menu-toggle-read-only):
3215 Remove with-no-warnings around toggle-read-only.
3217 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3218 Remove with-no-warnings around toggle-read-only.
3219 (ffap-read-only, ffap-read-only-other-window)
3220 (ffap-read-only-other-frame): Callers changed.
3222 * help-mode.el: Don't require view package.
3223 (help-mode-finish): Set buffer-read-only instead of calling
3226 * bindings.el (mode-line-toggle-read-only):
3227 * dired.el (dired-toggle-read-only):
3228 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3229 with non-nil second arg.
3231 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3232 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3235 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3237 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3240 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3242 More CL cleanups and reduction of use of cl.el.
3243 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3244 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3245 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3246 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3247 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3248 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3249 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3250 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3251 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3252 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3253 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3254 * eshell/em-cmpl.el, eshell/em-banner.el:
3255 * calendar/parse-time.el: Use cl-lib.
3256 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3257 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3258 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3259 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3260 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3261 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3262 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3263 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3264 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3265 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3266 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3267 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3268 `lambda' rather than with `quote'.
3269 (eshell-do-opt): Adjust accordingly.
3270 (eshell-process-option): Simplify.
3271 * eshell/esh-var.el:
3272 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3273 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3274 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3275 to `pcase--dontcare'.
3276 * emacs-lisp/cl.el (labels): Mark obsolete.
3277 (cl--letf, letf): Move to cl-lib.
3278 (cl--letf*, letf*): Remove.
3279 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3280 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3281 (cl-progv): Rewrite.
3282 (cl--letf, cl-letf): Move from cl.el.
3283 (cl-letf*): New macro.
3284 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3286 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3288 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3290 2012-07-11 Chong Yidong <cyd@gnu.org>
3292 * vc/log-edit.el (log-edit-vc-backend): New variable.
3293 (log-edit): Doc fix.
3295 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3296 argument of log-edit to set up all local variables.
3297 (vc-start-logentry): New optional arg specifying VC backend.
3299 * vc/vc.el (vc-checkin): Use it.
3300 (vc-deduce-fileset): Handle Log Edit buffers.
3301 (vc-diff): Make first argument optional too.
3303 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3305 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3307 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3308 command, just in case. The function is not needed anymore.
3309 (eshell-external-command): Do not call `eshell-remote-command'.
3311 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3313 Reduce use of (require 'cl).
3314 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3315 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3316 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3317 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3318 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3319 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3320 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3321 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3322 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3323 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3324 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3325 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3326 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3327 (byte-compile-unfold-bcf, byte-compile-check-variable):
3328 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3329 (byte-compile-nilconstp):
3330 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3331 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3333 * emacs-lisp/gv.el (cond): Make it a valid place.
3334 (if): Simplify slightly.
3336 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3337 (pcase--self-quoting-p): New function.
3338 (pcase--u1): Use it.
3340 2012-07-10 Glenn Morris <rgm@gnu.org>
3342 * emacs-lisp/authors.el (authors-fixed-entries):
3343 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3345 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3347 Rename configure.in to configure.ac (Bug#11603).
3348 * emacs-lisp/authors.el (authors-canonical-file-name):
3349 * progmodes/autoconf.el (autoconf-mode):
3350 Prefer configure.ac to configure.in.
3352 2012-07-08 Chong Yidong <cyd@gnu.org>
3354 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3355 Implement the mouse-1-click-follows-link handling properly.
3357 * info.el (Info-link-keymap): Use follow-link mechanism for
3358 header-line links (Bug#374).
3360 * simple.el (deactivate-mark): Do not set the primary selection
3361 if another program has acquired it (Bug#11772).
3363 2012-07-07 Kevin Ryde <user42@zip.com.au>
3365 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3366 (woman-decode-region): Replace escaped-escapes without destroying
3367 bold or underline (Bug#11552).
3368 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3370 2012-07-07 Chong Yidong <cyd@gnu.org>
3372 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3373 (interprogram-cut-function, interprogram-paste-function):
3374 Mention that we typically mean the clipboard.
3376 2012-07-06 Glenn Morris <rgm@gnu.org>
3378 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3380 * files.el (toggle-read-only): Restrict message to interactive use.
3382 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3384 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3386 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3388 2012-07-06 Glenn Morris <rgm@gnu.org>
3390 * Makefile.in (compile-one-process): Rename from "recompile".
3392 * Makefile.in (bzr-update): "compile" is the same as "recompile
3393 autoloads", but parallelizable, so use that instead.
3395 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3397 * window.el (quit-window): Always restore window height when
3398 it's saved in quit-restore parameter (Bug#11810).
3400 2012-07-06 Glenn Morris <rgm@gnu.org>
3402 * simple.el (kill-whole-line): Doc tweak.
3404 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3406 * files.el (file-relative-name): Compare file names
3407 case-insensitively if on MS-Windows or MS-DOS, or if
3408 read-file-name-completion-ignore-case is non-nil. Don't use
3409 case-fold-search for this purpose. (Bug#11827)
3411 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3413 * calendar/cal-dst.el (calendar-current-time-zone):
3414 Return calendar-current-time-zone-cache if non-nil.
3416 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3417 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3419 * calendar/cal-dst.el (calendar-current-time-zone):
3420 Return calendar-current-time-zone-cache if non-nil.
3422 2012-07-06 Glenn Morris <rgm@gnu.org>
3424 * Makefile.in (cvs-update): Remove old alias.
3426 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3428 Sync with Tramp 2.2.6-pre.
3430 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3431 compatible declaration.
3433 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3434 Protect `list-load-path-shadows' call.
3436 * net/tramp-compat.el (top): Require packages, which aren't
3437 autoloaded anymore for XEmacs. Protect call of
3438 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3439 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3440 it hurts at least for SXEmacs.
3441 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3442 standard-value for `temporary-file-directory'.
3444 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3445 Redirect stderr to /dev/null.
3446 (tramp-sh-handle-write-region): uid and gid can be floats.
3447 Reported by Russell Sim <russell.sim@gmail.com>.
3448 (tramp-sh-handle-vc-registered): Hide errors.
3449 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3450 and `start-file-process'.
3451 (tramp-maybe-open-connection): Check also whether `non-essential'
3454 2012-07-04 Chong Yidong <cyd@gnu.org>
3456 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3457 (xml-parse-tag): Likewise, and avoid changing entity tables.
3458 (xml-syntax-table): Define from scratch, making sure not to give
3459 x2000 and other Unicode spaces whitespace syntax, since those are
3461 (xml-parse-fragment): Delete unused function.
3462 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3463 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3464 (xml-entity-ref, xml-pe-reference-re)
3465 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3466 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3467 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3468 (xml-entity-value-re): Use syntax references in regexps where
3469 possible; no need to define inside a let-binding.
3470 (xml-parse-dtd): Use xml-pe-reference-re.
3471 (xml-entity-or-char-ref-re): New defconst.
3472 (xml-parse-string, xml-substitute-special): Use it.
3474 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3477 (find-file--read-only): New function.
3478 (find-file-read-only, find-file-read-only-other-window)
3479 (find-file-read-only-other-frame): Use it.
3480 (insert-file-contents-literally): Don't `fset'.
3481 (get-free-disk-space): Use locate-dominating-file.
3483 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3484 function is already compiled.
3486 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3488 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3490 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3491 files on the same host.
3493 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3495 * help-fns.el (describe-function-1): Only call
3496 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3498 2012-07-03 Chong Yidong <cyd@gnu.org>
3500 * xml.el: Protect parser against XML bombs.
3501 (xml-entity-expansion-limit): New variable.
3502 (xml-parse-string, xml-substitute-special): Use it.
3503 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3505 2012-07-03 Glenn Morris <rgm@gnu.org>
3507 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3508 Allow linking to specific messages in debbugs reports (eg 123#5).
3510 2012-07-02 Chong Yidong <cyd@gnu.org>
3512 * xml.el: Fix entity and character reference expansion, allowing
3513 them to expand into markup as per XML spec.
3514 (xml-default-ns): New variable.
3515 (xml-entity-alist): Use XML spec definitions for lt and amp.
3516 (xml-parse-region): Make first two arguments optional.
3517 Discard text properties.
3518 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3519 All callers changed.
3520 (xml-parse-tag): Call xml-parse-tag-1. For backward
3521 compatibility, this function should not modify buffer contents.
3522 (xml-parse-tag-1): Fix opening-tag regexp.
3523 (xml-parse-string): Rewrite, handling entity and character
3524 references properly.
3525 (xml--entity-replacement-text): Signal an error if a parameter
3526 entity is undefined.
3528 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * comint.el (comint-output-filter): Filter out repeated prompts.
3532 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3533 and file-name-absolute-p.
3534 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3537 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3540 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3541 Rename from byte-compile--refiy-function. All uses changed.
3543 2012-07-01 Chong Yidong <cyd@gnu.org>
3545 * xml.el (xml--parse-buffer): New function. Move most of
3546 xml-parse-region here.
3547 (xml-parse-region): Copy region into a temporary buffer, since
3548 parameter entity substitution requires changing buffer contents.
3549 Use xml--parse-buffer.
3550 (xml-parse-file): Use xml--parse-buffer.
3551 (xml-parse-dtd): Make parameter entity substitution work right.
3552 Use proper regexps for ELEMENT declarations (Bug#7172).
3554 2012-06-30 Glenn Morris <rgm@gnu.org>
3556 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3558 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3559 Remove outdated and unnecessary dbus declarations.
3561 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3563 * emacs-lisp/timer.el (timer-until): Subtract results of
3564 float-time, instead of taking float-time of the result of
3565 time-subtract, since float-time signals an error for negative time
3568 2012-06-30 Chong Yidong <cyd@gnu.org>
3570 * xml.el (xml-*-re): Convert defvars into defconsts, and
3571 eval-and-compile them so eval-and-compile works on derivatives.
3572 (xml--entity-replacement-text): Use eval-and-comple.
3574 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3576 * vc/vc-git.el (vc-git-registered): Use cache property
3578 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3579 `vc-git-working-revision' in order to benefit from the cache.
3580 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3582 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3584 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3585 removed (likely outside Emacs). (Bug#11757)
3587 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * emacs-lisp/cl-lib.el: Require macroexp.
3591 2012-06-30 Chong Yidong <cyd@gnu.org>
3593 * xml.el: Implement XML parameter entities.
3594 (xml-parameter-entity-alist): New variable.
3595 (xml-parse-region, xml-parse-fragment): Preserve previous values
3596 of xml-entity-alist and xml-parameter-entity-alist, so that
3597 repeated calls on different documents do not change them.
3598 (xml-parse-tag): Fix doctype regexp.
3599 (xml--entity-replacement-text): New function.
3600 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3601 properly requires url retrieval which is unimplemented.
3602 (xml-escape-string): Doc fix.
3604 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3608 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3610 * fringe.el (fringe-mode): Doc fix.
3612 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3614 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3616 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3617 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3619 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3621 * calendar/cal-dst.el (calendar-current-time-zone):
3622 Return calendar-current-time-zone-cache if non-nil.
3624 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3626 * progmodes/which-func.el (which-func-format):
3627 Add mouse-face. (Bug#11698)
3629 2012-06-29 Leo Liu <sdl.web@gmail.com>
3631 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3633 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3635 * minibuffer.el (minibuffer-confirm-exit-commands):
3636 Add completion-at-point (bug#11725).
3638 2012-06-29 Glenn Morris <rgm@gnu.org>
3640 * progmodes/f90.el (f90-font-lock-keywords-2):
3641 Add some preprocessor elements. (Bug#10499)
3643 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3646 Use syntax-propertize (bug#11739).
3648 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3650 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3652 2012-06-28 Julien Danjou <julien@danjou.info>
3654 * term.el (term-handle-colors-array): Use a set of new faces to
3655 color the terminal. Also uses :inverse-video property.
3656 (term-default-fg-color): Set to nil by default, deprecate in favor
3658 (term-default-bg-color): Set to nil by default, deprecate in favor
3660 (term-current-face): Use `term-face' by default.
3661 (term-bold-attribute): Variable deleted.
3663 2012-06-28 Glenn Morris <rgm@gnu.org>
3665 * simple.el (completion-list-mode-finish):
3666 Don't use toggle-read-only. (Since completion-list-mode has
3667 a special mode-class, it wasn't doing anything extra anyway.)
3669 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3671 Make inlining of other-mode interpreted functions work (bug#11799).
3672 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3673 (byte-compile): Use it to fix compilation of lexical-binding closures.
3674 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3675 function, if needed.
3677 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * help-mode.el (help-make-xrefs): Don't just withstand
3680 cyclic-variable-indirection but any error in documentation-property.
3682 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3684 * bindings.el (bindings--define-key): New function.
3685 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3686 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3687 * bindings.el: Use it to purecopy define-key bindings.
3689 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3691 * emacs-lisp/cl.el (flet): Mark obsolete.
3692 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3693 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3694 * progmodes/js.el (js-c-fill-paragraph):
3695 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3696 (ebrowse-switch-member-buffer-to-derived-class):
3697 * play/5x5.el (5x5-solver): Use cl-flet.
3699 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3700 (cl--symbol-function): New macro.
3701 (cl--letf, cl--letf*): Use it.
3703 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3704 Strip "toggle-" if any.
3706 2012-06-27 Glenn Morris <rgm@gnu.org>
3708 * info.el (Info-default-directory-list): Move here from paths.el.
3709 * paths.el: Remove file, which is now empty.
3710 * loadup.el: No longer load "paths".
3712 * custom.el (custom-initialize-delay): Doc fix.
3714 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3715 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3716 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3717 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3718 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3719 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3720 * eshell/eshell.el (eshell-defgroup): Remove alias.
3722 2012-06-27 Chong Yidong <cyd@gnu.org>
3724 * help.el (help-enable-auto-load): New variable.
3726 * help-fns.el (help-fns--autoloaded-p): New function.
3727 (describe-function-1): Refer to a function as "autoloaded" if it
3728 was autoloaded at any time in the past. Perform autoloading if
3729 help-enable-auto-load is non-nil.
3731 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3733 * makefile.w32-in (compile, compile-always): Depend on
3734 update-subdirs, not on subdirs.el. Otherwise, several different
3735 sub-targets of 'bootstrap' running in parallel could
3736 simultaneously write to subdirs.el, producing a garbled file.
3738 2012-06-26 Sam Steingold <sds@gnu.org>
3740 * files.el (file-name-base): New convenience function.
3741 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3742 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3743 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3744 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3745 * textmodes/ispell.el, textmodes/reftex-ref.el:
3746 * textmodes/tex-mode.el: Use it.
3747 Did not touch cedet and org because they are maintained elsewhere.
3749 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3751 * calendar/calendar.el (calendar-exit): Don't try to delete or
3752 iconify last frame. See:
3753 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3755 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3757 * server.el (server-process-filter): Remember dir in the
3758 process's `server-client-directory' properties.
3760 2012-06-24 Chong Yidong <cyd@gnu.org>
3762 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3765 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3767 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3769 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * help-fns.el (describe-variable): Don't croak when doc is not found.
3772 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3773 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3774 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3775 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3776 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3778 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3780 2012-06-23 Chong Yidong <cyd@gnu.org>
3782 * info.el (Info-mouse-follow-link): Accept symbol values of
3783 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3784 (Info-fontify-node): Use Info-link-keymap for all navigation
3785 buttons, with link-args property to perform the desired action.
3786 (Info-link-keymap): Doc fix.
3787 (Info-next-link-keymap, Info-prev-link-keymap)
3788 (Info-up-link-keymap): Delete now-unused keymaps.
3790 2012-06-23 Chong Yidong <cyd@gnu.org>
3792 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3794 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3797 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3799 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3801 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3804 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3805 the requote function doesn't work properly (bug#11714).
3807 2012-06-23 Glenn Morris <rgm@gnu.org>
3809 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3811 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3813 Further GV/CL cleanups.
3814 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3816 (gv--defun-declaration): New function.
3817 (defun-declarations-alist): Use it.
3818 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3819 (gv-place): Autoload.
3820 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3821 original definition of dotimes and dolist.
3822 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3823 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3824 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3825 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3826 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3827 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3828 to the function's definition.
3829 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3833 * env.el: Don't use CL.
3835 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3837 Support higher-resolution time stamps (Bug#9000).
3839 * calendar/time-date.el (with-decoded-time-value): New arg
3840 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3841 (encode-time-value): New optional arg PICO. New type 3.
3842 (time-to-seconds) [!float-time]: Support the new picoseconds
3843 component if it's used.
3844 (seconds-to-time, time-subtract, time-add):
3845 Support ps-resolution time stamps as well.
3847 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3848 (timerp): Timer vectors now have length 9, not 8.
3849 (timer--time): Support new-style (4-part) time stamps.
3850 (timer-next-integral-multiple-of-time): Time stamps now have
3851 picosecond resolution, so take a bit more care about rounding.
3852 (timer-relative-time, timer-inc-time): New optional arg psecs.
3853 (timer-set-time-with-usecs): Set psecs to 0.
3854 (timer--activate): Check psecs component, too.
3856 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3858 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3861 Move the non-essential binding to the post/pre-command-hook where it is
3862 more obviously correct.
3864 * subr.el (read-passwd): Don't use a history at all.
3865 * savehist.el (savehist-save): Remove password saved accidentally
3866 because of the above bug.
3868 2012-06-22 Bastien Guerry <bzg@gnu.org>
3870 * files.el (toggle-read-only): Display a message telling whether
3871 the buffer is read-only or not (bug#11726).
3873 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3875 * emacs-lisp/gv.el: New file.
3876 * subr.el (push, pop): Extend to generalized variables.
3877 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3878 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3879 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3880 gv-define-simple-setter, and gv-define-expander.
3881 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3882 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3883 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3884 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3885 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3887 (cl-defstruct): Don't define setf-method any more.
3888 * emacs-lisp/cl.el (flet): Don't autoload.
3889 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3890 (define-setf-expander, defsetf, define-modify-macro)
3891 (cl-struct-setf-expander): Move from cl-lib.el.
3892 * emacs-lisp/syntax.el:
3893 * emacs-lisp/ewoc.el:
3894 * emacs-lisp/smie.el:
3895 * emacs-lisp/cconv.el:
3896 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3897 (timer--time): Use gv-define-simple-setter.
3898 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3899 to avoid coding-system problems in subr.el. Adjust all users.
3900 (macroexp--maxsize, macroexp-small-p): New functions.
3901 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3902 * scroll-bar.el (scroll-bar-mode):
3903 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3904 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3905 * winner.el (winner-configuration, winner-make-point-alist)
3906 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3907 * files.el (locate-file-completion-table): Avoid list*.
3909 2012-06-22 Chong Yidong <cyd@gnu.org>
3911 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3912 (dired-create-files): Doc fix (Bug#11329).
3913 (dired-do-copy): Doc fix (Bug#11334).
3914 (dired-mark-read-string): Doc fix (Bug#11553).
3916 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3917 Doc fix (Bug#11326).
3918 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3919 (dired-dwim-target): Doc fix.
3921 * wdired.el (wdired-mode): Doc fix.
3923 2012-06-22 Glenn Morris <rgm@gnu.org>
3925 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3926 (pcmpl-rpm-cache-stamp-file): New constant.
3927 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3928 (pcmpl-rpm-packages): Optionally cache list of packages.
3930 * pcmpl-rpm.el (pcmpl-rpm): New group.
3931 (pcmpl-rpm-query-options): New option.
3932 (pcmpl-rpm-packages): No need to inline it.
3933 Use pcmpl-rpm-query-options.
3935 * calendar/calendar.el (calendar-in-read-only-buffer):
3936 Avoid some needless mode changes.
3938 2012-06-21 Chong Yidong <cyd@gnu.org>
3940 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3941 (desktop-path): Remove . from the default value (Bug#10977).
3942 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3944 2012-06-20 Chong Yidong <cyd@gnu.org>
3946 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3948 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3950 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3953 2012-06-20 Chong Yidong <cyd@gnu.org>
3955 * term.el (term-window-width): Handle the case of a missing right
3957 (term-check-size): Use window-text-height (Bug#5445).
3958 (term-mode): Use define-derived-mode. Minor cleanups.
3959 Set font-lock-defaults (Bug#7692).
3960 (term-move-columns, term-insert-char, term-emulate-terminal)
3961 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3963 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3965 * net/ange-ftp.el (ange-ftp-get-passwd):
3966 Bind `enable-recursive-minibuffers'.
3967 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3969 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3971 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3973 2012-06-19 Glenn Morris <rgm@gnu.org>
3975 * progmodes/python.el (python-mode): Derive from prog-mode.
3977 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3979 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3980 (edt-user-menu-bar-update-buffers): New functions.
3981 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3983 2012-06-19 Chong Yidong <cyd@gnu.org>
3985 * subr.el (with-selected-window): Preserve the selected window's
3986 terminal's top-frame (Bug#4702).
3988 * window.el (save-selected-window): Likewise.
3990 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * progmodes/python.el (python-rx-constituents): Move backquote.
3993 (python-skeleton-define, python-define-auxiliary-skeleton):
3996 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3998 * minibuffer.el (read-file-name-default): Revert the patch from
4001 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4003 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4004 (pcase--u1, pcase--q1): Don't use apply-partially.
4006 2012-06-18 Glenn Morris <rgm@gnu.org>
4008 * progmodes/python.el (python-proc, python-buffer)
4009 (python-send-receive, python-send-string): Fix obsolete versions.
4011 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4013 * window.el (special-display-p): Completely remove stringp
4014 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4016 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4018 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4020 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4022 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4023 * net/tramp-sh.el (tramp-maybe-open-connection):
4024 Throw if `non-essential' is non-nil.
4026 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4028 * window.el (special-display-p): Signal an error if BUFFER-NAME
4029 is not a string (Bug#11713).
4031 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4033 * progmodes/python.el (python-info-beginning-of-backslash):
4034 Rename from python-info-beginning-of-backlash, as a spelling fix.
4036 2012-06-17 Chong Yidong <cyd@gnu.org>
4038 * term.el (term-emulate-terminal): If term-check-size is called,
4039 move point to the process mark without resetting point (Bug#4635).
4041 2012-06-17 Glenn Morris <rgm@gnu.org>
4043 * international/mule-cmds.el (mule-menu-keymap)
4044 (set-language-environment, set-locale-environment): Doc tweaks.
4046 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4048 * cus-face.el (custom-face-attributes): Add wave-style underline
4050 * faces.el (set-face-attribute): Update docstring to describe
4051 wave-style underline attribute.
4053 2012-06-16 Chong Yidong <cyd@gnu.org>
4055 * term/xterm.el (terminal-init-xterm): Discard input before
4056 querying background mode (Bug#10959).
4058 2012-06-16 Stefan Merten <smerten@oekonux.de>
4060 * textmodes/rst.el: Added and corrected some comments.
4061 (rst-re-alist-def): Improve symbol syntax.
4062 (rst-mode-syntax-table): Correct syntax entries.
4063 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4064 (rst-official-version, rst-official-cvs-rev): Update version
4067 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4069 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4070 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4072 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4074 * progmodes/python.el: New python.el merge.
4075 (python-guess-indent): Obsolete var.
4076 (python-indent-guess-indent-offset): New defcustom.
4077 (python-indent): Obsolete var.
4078 (python-indent-offset): New defcustom.
4079 (python-python-command, python-jython-command): Delete var.
4080 (python-shell-interpreter): New defcustom.
4081 (python-pdbtrack-do-tracking-p): Delete var.
4082 (python-pdbtrack-activate): New defcustom.
4083 (python-use-skeletons): Obsolete var.
4084 (python-skeleton-autoinsert): New defcustom.
4085 (inferior-python-filter-regexp, python-continuation-offset)
4086 (python-honour-comment-indentation, python-indent-string-contents)
4087 (python-jython-packages, python-mode-hook)
4088 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4089 (python-shell-prompt-alist)
4090 (python-source-modes): Delete defcustoms.
4091 (python-check-buffer-name, python-eldoc-setup-code)
4092 (python-eldoc-string-code, python-ffap-setup-code)
4093 (python-ffap-string-code, python-fill-comment-function)
4094 (python-fill-decorator-function, python-fill-paren-function)
4095 (python-fill-string-function, python-imenu-include-defun-type)
4096 (python-imenu-make-tree, python-imenu-subtree-root-label)
4097 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4098 (python-shell-compilation-regexp-alist)
4099 (python-shell-completion-module-string-code)
4100 (python-shell-completion-pdb-string-code)
4101 (python-shell-completion-setup-code)
4102 (python-shell-completion-string-code)
4103 (python-shell-enable-font-lock, python-shell-exec-path)
4104 (python-shell-extra-pythonpaths)
4105 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4106 (python-shell-process-environment)
4107 (python-shell-prompt-block-regexp)
4108 (python-shell-prompt-output-regexp)
4109 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4110 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4111 (python-shell-virtualenv-path): New defcustoms.
4112 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4113 (inferior-python-mode-syntax-table, python--prompt-regexp)
4114 (python-buffer, python-command python-python-command)
4115 (python-default-template, python-imports, python-indent-index)
4116 (python-indent-list, python-indent-list-length)
4117 (python-mode-running, python-pdbtrack-is-tracking-p)
4118 (python-preoutput-continuation, python-preoutput-leftover)
4119 (python-preoutput-result, python-preoutput-skip-next-prompt)
4120 (python-prev-dir/file, python-recursing)
4121 (python-saved-check-command, python-version-checked)
4122 (python-which-func-length-limit)
4123 (view-return-to-alist): Delete vars.
4124 (python-check-custom-command, python-dotty-syntax-table)
4125 (python-imenu-index-alist, python-indent-current-level)
4126 (python-indent-dedenters, python-indent-levels)
4127 (python-nav-beginning-of-defun-regexp)
4128 (python-nav-list-defun-positions-cache)
4129 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4130 (python-shell-internal-buffer)
4131 (python-skeleton-available): New vars.
4132 (def-python-skeleton): Delete macro.
4133 (python-skeleton-define): New macro.
4134 (python-define-auxiliary-skeleton, python-rx): New macros.
4135 (python-insert-class): Delete command.
4136 (python-skeleton-class): New command.
4137 (python-insert-def): Delete command.
4138 (python-skeleton-def): New command.
4139 (python-insert-for): Delete command.
4140 (python-skeleton-for): New command.
4141 (python-insert-if): Delete command.
4142 (python-skeleton-if): New command.
4143 (python-insert-try/except, python-insert-try/finally): Delete commands.
4144 (python-skeleton-try): New command.
4145 (python-insert-while): Delete command.
4146 (python-skeleton-while): New command.
4147 (python-backspace): Delete command.
4148 (python-indent-dedent-line-backspace): New command.
4149 (python-electric-colon): Delete command.
4150 (python-indent-electric-colon): New command.
4151 (python-guess-indent): Delete command.
4152 (python-indent-guess-indent-offset): New command.
4153 (python-shift-left): Delete command.
4154 (python-indent-shift-left): New command.
4155 (python-shift-right): Delete command.
4156 (python-indent-shift-right): New command.
4157 (python-find-function): Delete command.
4158 (python-nav-jump-to-defun): New command.
4159 (python-next-statement): Delete command.
4160 (python-nav-forward-sentence): New command.
4161 (python-previous-statement): Delete command.
4162 (python-nav-backward-sentence): New command.
4163 (python-fill-paragraph): Delete command.
4164 (python-fill-paragraph-function): New command.
4165 (python-send-buffer): Delete command.
4166 (python-shell-send-buffer): New command.
4167 (python-send-defun): Delete command.
4168 (python-shell-send-defun): New command.
4169 (python-send-region, python-send-region-and-go): Delete commands.
4170 (python-shell-send-region)
4171 (python-shell-switch-to-shell): New commands.
4172 (python-send-string): Delete command.
4173 (python-shell-send-string): New command.
4174 (python-switch-to-python): Delete command.
4175 (python-shell-switch-to-shell): New command.
4176 (python-describe-symbol): Delete command.
4177 (python-eldoc-at-point): New command.
4178 (python--set-prompt-regexp, python-args-to-list)
4179 (python-after-info-look, python-check-version)
4180 (python-check-comint-prompt, python-find-imports)
4181 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4182 (python-unload-function, python-expand-template)
4183 (python-maybe-jython, python-preoutput-filter)
4184 (python-pdbtrack-get-source-buffer)
4185 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4186 (python-pdbtrack-toggle-stack-tracking)
4187 (python-pdbtrack-track-stack-file, python-initial-text)
4188 (python-first-word, python-comment-line-p, python-send-command)
4189 (python-setup-brm, python-sentinel, python-set-proc)
4190 (python-skip-out, python-input-filter, python-outdent-p)
4191 (python-outline-level, python-backslash-continuation-line-p)
4192 (python-end-of-block, python-end-of-statement, python-mark-block)
4193 (python-beginning-of-block, python-beginning-of-statement)
4194 (python-blank-line-p, python-beginning-of-string)
4195 (python-open-block-statement-p): Delete functions.
4196 (python-indent-line, python-indent-line-1): Delete functions.
4197 (python-indent-line): New function.
4198 (python-indentation-levels): Delete function.
4199 (python-indent-calculate-levels): New function.
4200 (python-proc): Delete function.
4201 (python-shell-get-process): New function.
4202 (python-send-receive): Delete function.
4203 (python-shell-send-string-no-output): New function.
4204 (python-module-path): Delete function.
4205 (python-ffap-module-path): New function.
4206 (python-completion-at-point)
4207 (python-symbol-completions): Delete functions.
4208 (python-completion-complete-at-point): New function.
4209 (python-load-file): Delete function.
4210 (python-shell-send-file): New function.
4211 (python-calculate-indentation): Delete function.
4212 (python-indent-calculate-indentation): New function.
4213 (python-skip-comments/blanks): Delete function.
4214 (python-util-forward-comment): New function.
4215 (python-continuation-line-p): Delete function.
4216 (python-info-continuation-line-p): New function.
4217 (python-which-func, python-current-defun): Delete function.
4218 (python-info-current-defun): New function.
4219 (python-beginning-of-defun): Delete function.
4220 (python-nav-beginning-of-defun): New function.
4221 (python-close-block-statement-p)
4222 (python-block-end-p): Delete function.
4223 (python-info-closing-block): New function.
4224 (python-comint-output-filter-function)
4225 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4226 (python-fill-comment, python-fill-decorator, python-fill-paren)
4227 (python-fill-string, python-imenu-make-element-tree)
4228 (python-imenu-make-tree, python-imenu-tree-assoc)
4229 (python-indent-context, python-indent-dedent-line)
4230 (python-indent-line-function)
4231 (python-indent-post-self-insert-function)
4232 (python-indent-toggle-levels)
4233 (python-info-assignment-continuation-line-p)
4234 (python-info-beginning-of-backlash)
4235 (python-info-block-continuation-line-p)
4236 (python-info-closing-block-message)
4237 (python-info-line-ends-backslash-p)
4238 (python-info-looking-at-beginning-of-defun)
4239 (python-info-ppss-context, python-info-ppss-context-type)
4240 (python-nav-list-defun-positions, python-nav-read-defun)
4241 (python-nav-sentence-end, python-nav-sentence-start)
4242 (python-pdbtrack-comint-output-filter-function)
4243 (python-pdbtrack-set-tracked-buffer)
4244 (python-shell-calculate-exec-path)
4245 (python-shell-calculate-process-environment)
4246 (python-shell-completion--do-completion-at-point)
4247 (python-shell-completion--get-completions)
4248 (python-shell-completion-complete-at-point)
4249 (python-shell-completion-complete-or-indent)
4250 (python-shell-get-or-create-process)
4251 (python-shell-get-process-name)
4252 (python-shell-internal-get-or-create-process)
4253 (python-shell-internal-get-process-name)
4254 (python-shell-internal-send-string, python-shell-make-comint)
4255 (python-shell-parse-command, python-shell-send-setup-code)
4256 (python-skeleton-add-menu-items)
4257 (python-util-clone-local-variables, python-util-position)
4258 (run-python-internal, python-indentation-levels)
4259 (python-nav-beginning-of-defun)
4260 (python-completion-complete-at-point): New functions.
4261 (run-python): Change arguments. New API requirements.
4263 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4265 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4268 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4269 (macroexp--expand-all): Use it.
4271 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4272 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4273 Use `cl-function' instead.
4275 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4277 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4278 Suggested by Stefan Monnier while discussing bug#11657.
4280 2012-06-14 Sam Steingold <sds@gnu.org>
4282 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4284 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4286 * play/doctor.el (doctor-doc): Remove parameter and use
4287 doctor-sent instead of sent.
4288 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4290 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * files.el: Require cl-lib.
4293 (file-name-non-special): Replace case -> cl-case.
4295 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4297 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4298 mapping from #' to function*.
4300 2012-06-13 Chong Yidong <cyd@gnu.org>
4302 * mouse.el (mouse-drag-track): Do not set the mark if the user
4303 releases the mouse without selecting anything (Bug#11588).
4305 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4308 as well (bug#11646).
4310 * loadup.el: Count byte-code functions as well.
4312 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4313 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4315 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4316 (bug#11649). Add cl-defun and cl-defmacro.
4318 2012-06-13 Drew Adams <drew.adams@oracle.com>
4320 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4323 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4325 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4326 Otherwise, it blocks in batch mode.
4328 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4330 * help-mode.el (bookmark-make-record-default): Declare.
4332 2012-06-13 Chong Yidong <cyd@gnu.org>
4334 * emacs-lisp/package.el (list-packages): Compute a list of
4335 packages that are newly-available since the last list-packages
4337 (package-menu--new-package-list): New var.
4338 (package-menu--generate, package-menu--print-info)
4339 (package-menu--status-predicate, package-menu-mark-install):
4340 Handle new status label "new".
4342 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4344 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4345 conversion to backquotes.
4347 2012-06-12 Chong Yidong <cyd@gnu.org>
4349 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4350 Rename from gud-inhibit-global-bindings.
4352 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4354 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4355 hook from nxml-glyph-set-hook.
4357 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4360 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4362 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4363 Convert to defcustom.
4365 2012-06-12 Drew Adams <drew.adams@oracle.com>
4367 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4369 (help-mode): Use them.
4371 2012-06-11 Glenn Morris <rgm@gnu.org>
4373 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4374 Use preprocessor face for directives.
4375 (fortran-directive-re): Doc fix.
4377 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4380 conversion to backquotes (bug#11652).
4382 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4383 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4384 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4385 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4386 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4387 (cl-ninth, cl-tenth): Mark them as inlinable.
4388 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4389 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4390 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4391 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4392 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4393 (cl-list*, cl-adjoin): Don't put an autoload manually.
4394 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4395 (cl--compiler-macro-list*): Add autoload cookie.
4396 (cl--compiler-macro-cXXr): New function.
4398 * help-fns.el (help-fns--compiler-macro): New function extracted from
4399 describe-function-1; follow aliases and use `compiler-macro' property.
4400 (describe-function-1): Use it.
4402 2012-06-11 Chong Yidong <cyd@gnu.org>
4404 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4405 is uninstalled, if imagemagick is installed.
4407 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * emacs-lisp/cl-lib.el: Use lexical-binding.
4410 (cl-map-extents, cl-maclisp-member): Remove.
4411 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4412 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4413 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4414 * emacs-lisp/cl-extra.el: Use lexical-binding.
4415 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4416 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4417 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4418 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4419 * emacs-lisp/cl-seq.el: Use lexical-binding.
4420 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4421 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4422 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4423 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4424 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4427 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4429 Sync with Tramp 2.2.6-pre.
4431 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4432 `print-length' and `print-level' to nil, in order to avoid
4433 truncation. Reported by Christopher Schmidt
4434 <christopher@ristopher.com>.
4436 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4438 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4440 (tramp-compat-copy-directory): Add optional argument
4441 COPY-CONTENTS. It is not handled yet.
4443 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4444 (tramp-ftp-file-name-p): Simplify.
4446 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4447 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4450 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4451 (tramp-methods): Do not use `tramp-password-end-of-line'.
4452 (tramp-completion-function-alist-putty): Handle UNIX case.
4453 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4454 (tramp-do-file-attributes-with-stat)
4455 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4456 gid as real numbers. They could run out of integer range on cygwin.
4457 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4458 (tramp-sh-handle-expand-file-name): Handle hops.
4459 (tramp-open-connection-setup-interactive-shell):
4460 Use `tramp-cleanup'. Move check for busyboxes ...
4461 (tramp-find-shell): ... here. Simplify implementation.
4462 Set "remote-shell" property also for alternative shells.
4463 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4464 If failing, a regular file would be written otherwise.
4465 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4466 (tramp-find-inline-encoding): Cache the coding commands in the
4467 process cache. Apply test command on the remote side, if defined.
4468 (tramp-find-inline-compress): Cache the compress commands in the
4470 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4471 when requested. Handle hops.
4472 (tramp-current-connection): New defvar.
4473 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4474 Throw `suppress', if there was a failed connection shortly before.
4475 Handle user interrupt. (Bug#10187)
4476 (tramp-get-inline-compress, tramp-get-inline-coding):
4477 Read connection properties from the process cache.
4479 * net/tramp-smb.el (tramp-smb-server-version)
4480 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4482 (tramp-smb-prompt): Extend for powershell prompt.
4483 (tramp-smb-file-name-handler-alist): Add handlers for
4484 `process-file', `shell-command' and `start-file-process'.
4485 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4486 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4487 (tramp-smb-file-name-p): Simplify.
4488 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4489 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4490 (tramp-smb-shell-quote-argument): New defuns.
4491 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4492 Implement using "tar". By this, time-stamps are preserved.
4493 (tramp-smb-handle-copy-file): Handle also the case of directories.
4494 (tramp-smb-do-file-attributes-with-stat)
4495 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4496 Use `tramp-get-connection-buffer').
4497 (tramp-smb-handle-rename-file): Use "rename", when source and
4498 target are on the same share.
4499 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4500 Use `tramp-smb-server-version'.
4501 (tramp-smb-wait-for-output): Remove prompt.
4503 * net/tramp.el (top): Require 'cl.
4504 (tramp-methods, tramp-rsh-end-of-line):
4505 Remove `tramp-password-end-of-line' from docstring.
4506 (tramp-save-ad-hoc-proxies): New defcustom.
4507 (tramp-completion-function-alist): Adapt docstring.
4508 (tramp-default-password-end-of-line): Remove defcustom.
4509 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4510 (tramp-user-regexp, tramp-file-name-regexp-unified)
4511 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4512 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4513 (tramp-remote-file-name-spec-regexp): New defconst.
4514 (tramp-file-name-structure): Extend structure for hops.
4515 (tramp-get-method-parameter): Move up.
4516 (tramp-file-name-p, tramp-dissect-file-name)
4517 (with-parsed-tramp-file-name): Handle hops.
4518 (tramp-file-name-hop): New defun.
4519 (tramp-make-tramp-file-name): New optional arg HOP.
4520 (tramp-message-show-progress-reporter-message): New defvar.
4521 (tramp-with-progress-reporter): Use it. We cannot use
4522 `tramp-message-show-message' here, because this suppresses also
4524 (tramp-error-with-buffer): Suppress buffer view, if
4525 `tramp-message-show-message' is nil.
4526 Use `tramp-get-connection-buffer'.
4527 (tramp-cleanup): New defun.
4528 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4529 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4531 (tramp-completion-handle-file-name-all-completions): Handle hops.
4532 Fix an error when called from ido.
4533 (tramp-completion-dissect-file-name): Use better local variable
4534 name. Add hop to the vector.
4535 (tramp-handle-insert-file-contents): Use progress-reporter for the
4537 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4539 (tramp-check-for-regexp): Simplify search.
4540 (tramp-enter-password): Remove it. Move implementation ...
4541 (tramp-action-password): ... here.
4542 (tramp-mode-string-to-int, tramp-local-host-p)
4543 (tramp-make-tramp-temp-file, tramp-read-passwd)
4544 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4545 Set tramp-autoload cookie.
4547 * net/trampver.el: Update release number.
4549 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4550 Michael Albinus <michael.albinus@gmx.de>
4552 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4553 (tramp-parse-group, tramp-parse-file)
4554 (tramp-parse-shostkeys-sknownhosts): New defuns.
4555 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4556 (tramp-parse-shosts-group, tramp-parse-sconfig)
4557 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4558 (tramp-parse-sknownhosts, tramp-parse-hosts)
4559 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4561 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4562 (tramp-parse-putty-group): Don't narrow.
4563 (tramp-parse-putty): Make a loop.
4564 (tramp-file-name-handler): Catch the `suppress' signal.
4566 2012-06-11 Chong Yidong <cyd@gnu.org>
4568 * image.el (imagemagick-register-types): Put the ImageMagick entry
4569 at the end of image-type-file-name-regexps.
4571 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4573 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4574 (pcase, pcase-let*, pcase-dolist): Use them.
4576 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * emacs-lisp/pcase.el (pcase--let*): New function.
4579 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4580 (pcase--expand): Use macroexp-let².
4582 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4585 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4586 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4587 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4588 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4589 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4591 2012-06-10 Glenn Morris <rgm@gnu.org>
4593 * mail/rmail.el (rmail-yank-current-message): Leave point at
4594 correct position. (Bug#11660)
4596 2012-06-10 Chong Yidong <cyd@gnu.org>
4598 * allout-widgets.el: Fix code header.
4600 2012-06-10 Chong Yidong <cyd@gnu.org>
4602 * cus-edit.el (customize-changed-options-previous-release):
4605 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4607 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4609 2012-06-09 Chong Yidong <cyd@gnu.org>
4611 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4613 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4615 * window.el (special-display-popup-frame): Don't use
4616 window--display-buffer (Bug#11651).
4618 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4620 Fix parallel builds: make sure loaddefs.el is not being written
4621 while Lisp files are compiled.
4622 (compile): Don't depend on 'mh-autoloads'.
4623 (compile-CMD, compile-SH): Depend on 'autoloads'.
4624 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4626 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4628 2012-06-09 Chong Yidong <cyd@gnu.org>
4630 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4631 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4632 Doc fixes (Bug#11225).
4634 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4636 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4637 a function if there's a clear indication that it has a compiler-macro.
4638 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4639 (macro-declarations-alist): Add arglist to declaration functions.
4640 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4641 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4642 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4643 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4644 Also add autoload to find the compiler macro.
4645 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4646 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4647 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4648 (cl--compiler-macro-get): New functions, replacing calls to
4649 cl-define-compiler-macro.
4650 (cl-typep) [compiler-macro]: Use macroexp-let².
4652 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4654 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4655 string properly, fixes Bug#11473.
4657 2012-06-08 Chong Yidong <cyd@gnu.org>
4659 * faces.el (set-face-attribute): Doc fix.
4660 (modify-face): Don't use :bold and :italic.
4661 (error, warning, success): Tweak definitions.
4663 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4664 (custom-modified, custom-set, custom-changed, custom-themed)
4665 (custom-saved, custom-button, custom-button-mouse)
4666 (custom-button-pressed, custom-state, custom-comment-tag)
4667 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4668 (custom-group-subtitle): Use new-style face specs.
4669 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4670 (custom-set-face, custom-changed-face, custom-saved-face)
4671 (custom-button-face, custom-button-pressed-face)
4672 (custom-documentation-face, custom-state-face)
4673 (custom-comment-face, custom-comment-tag-face)
4674 (custom-variable-tag-face, custom-variable-button-face)
4675 (custom-face-tag-face, custom-group-tag-face-1)
4676 (custom-group-tag-face): Remove obsolete face alias.
4678 * epa.el (epa-validity-high, epa-validity-medium)
4679 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4680 (epa-field-name, epa-field-body):
4681 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4682 (font-lock-keyword-face, font-lock-builtin-face)
4683 (font-lock-function-name-face, font-lock-variable-name-face)
4684 (font-lock-type-face, font-lock-constant-face):
4685 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4686 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4687 * speedbar.el (speedbar-button-face, speedbar-file-face)
4688 (speedbar-directory-face, speedbar-tag-face)
4689 (speedbar-selected-face, speedbar-highlight-face)
4690 (speedbar-separator-face):
4691 * whitespace.el (whitespace-newline, whitespace-space)
4692 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4693 (whitespace-line, whitespace-space-before-tab)
4694 (whitespace-space-after-tab, whitespace-indentation)
4696 * emulation/cua-base.el (cua-global-mark):
4697 * eshell/em-prompt.el (eshell-prompt):
4698 * net/newst-plainview.el (newsticker-new-item-face)
4699 (newsticker-old-item-face, newsticker-immortal-item-face)
4700 (newsticker-obsolete-item-face, newsticker-date-face)
4701 (newsticker-statistics-face, newsticker-default-face):
4702 * net/newst-reader.el (newsticker-feed-face)
4703 (newsticker-extra-face, newsticker-enclosure-face):
4704 * net/newst-treeview.el (newsticker-treeview-face)
4705 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4706 (newsticker-treeview-immortal-face)
4707 (newsticker-treeview-obsolete-face)
4708 (newsticker-treeview-selection-face):
4709 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4710 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4711 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4712 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4713 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4714 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4715 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4717 * progmodes/vera-mode.el (vera-font-lock-number)
4718 (vera-font-lock-function, vera-font-lock-interface):
4719 * textmodes/table.el (table-cell): Use new-style face specs, and
4720 don't use the old :bold and :italic attributes.
4722 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4723 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4724 (ebrowse-member-class, ebrowse-progress): Likewise.
4725 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4726 (ebrowse-file-name-face, ebrowse-default-face)
4727 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4728 (ebrowse-progress-face): Remove obsolete faces.
4730 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4731 Inherit from error and warning faces respectively.
4733 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4735 (flyspell-incorrect-face, flyspell-duplicate-face):
4736 Remove obsolete aliases.
4738 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4740 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4743 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * startup.el (argv, argi): Make lexically scoped.
4746 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4747 * emacs-lisp/cl-macs.el: Use lexical-binding.
4748 Rename cl-bind-* to cl--bind-*.
4749 * files.el: Don't require `cl' since it doesn't use it.
4750 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4752 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4754 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4755 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4756 instead of calling external sort utility.
4757 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4759 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4761 * descr-text.el (describe-char): Mention how to insert the
4762 character, if the current input method doesn't support it.
4763 See the discussion in this thread for the details:
4764 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4766 2012-06-08 Sam Steingold <sds@gnu.org>
4768 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4769 XF86Back to previous-buffer.
4770 (minibuffer-local-map): Bind them to next-history-element and
4771 previous-history-element respectively.
4772 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4773 help-go-back respectively.
4774 * info.el (Info-mode-map): Bind them to Info-history-forward and
4775 Info-history-back respectively.
4776 These are the keys next to Up on the ThinkPad keyboard.
4778 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4780 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4781 * emacs-lisp/cl-macs.el: Provide itself.
4782 (cl--labels-convert-cache): New var.
4783 (cl--labels-convert): New function.
4784 (cl-flet, cl-labels): New implementation with new semantics, relying on
4786 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4787 (cl-closure-vars, cl--function-convert-cache)
4788 (cl--function-convert): Move from cl-macs.el.
4789 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4790 rename by removing the "cl-" prefix.
4791 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4793 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4796 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4797 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4798 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4799 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4800 (cl-hash-table-count): Add old compatibility aliases.
4802 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4803 Use macroexpand-all-environment instead.
4804 (cl--old-macroexpand): New var.
4805 (cl--sm-macroexpand): New function.
4806 (cl-symbol-macrolet): Use it during macro expansion.
4807 (cl--function-convert-cache): New var.
4808 (cl--function-convert): New function, extracted from
4810 (cl-lexical-let): Use it.
4812 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4813 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4814 (cl-member): Remove old alias.
4816 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4817 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4818 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4819 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4820 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4821 (cl-macroexpand-cmacs): Remove var.
4822 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4823 Use macroexpand-all instead.
4825 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4827 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4828 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4829 (macroexp-copyable-p): New functions and macros.
4830 * emacs-lisp/edebug.el (edebug-unwrap):
4831 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4832 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4833 (pcase--let*): Remove.
4834 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4835 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4836 macroexp-const-p instead.
4837 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4839 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4840 instead of "cl-" for internal definitions. Use macroexp-const-p.
4841 (cl-old-bc-file-form): Remove var.
4842 (cl-const-exprs-p): Remove fun.
4843 (cl-labels, cl-macrolet): Use backquote.
4844 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4845 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4846 (cl-define-setf-expander): Rename from cl-define-setf-method.
4847 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4849 * international/mule-cmds.el: Don't require CL.
4850 (view-hello-file): Don't use `letf'.
4852 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4854 * tmm.el (tmm-prompt): Use string-prefix-p.
4855 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4856 (tmm-add-prompt): Use minibuffer-completion-help.
4857 (tmm-delete-map): Remove.
4859 * subr.el (kbd): Make it its own function.
4861 2012-06-07 Stefan Merten <smerten@oekonux.de>
4863 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4864 Silence compiler warnings. Fix versions.
4865 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4866 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4867 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4868 (rst-package-emacs-version-alist): Correct Emacs version to
4869 represent major merge with upstream.
4870 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4872 2012-06-06 Glenn Morris <rgm@gnu.org>
4874 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4875 Only print environment variables if set.
4877 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4879 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4880 (macroexp--cons): Rename from maybe-cons.
4881 (macroexp--accumulate): Rename from macroexp-accumulate.
4882 (macroexp--all-forms): Rename from macroexpand-all-forms.
4883 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4884 (macroexp--expand-all): Rename from macroexpand-all-1.
4886 2012-06-06 Sam Steingold <sds@gnu.org>
4888 * calendar/calendar.el (calendar-in-read-only-buffer):
4889 Call `special-mode' to enable the standard read-only keybindings.
4891 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4894 with "loading" messages (bug#11635).
4896 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4898 * files.el (enable-remote-dir-locals): New option.
4899 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4901 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4902 Ensure, that the temp directory is local.
4904 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4905 `temporary-file-directory'.
4907 * progmodes/python.el (python-send-region): Ensure, that the
4908 temporary file is created also in the remote case.
4910 2012-06-06 Glenn Morris <rgm@gnu.org>
4912 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4913 (vc-rcs-update-changelog): Use it.
4915 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4917 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4918 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4919 (vc-sccs-diff): Replace use of the external vcdiff script.
4921 2012-06-05 Glenn Morris <rgm@gnu.org>
4923 * ledit.el: Move to obsolete/.
4925 2012-06-05 Sam Steingold <sds@gnu.org>
4927 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4930 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * emacs-lisp/cust-print.el: Move to obsolete.
4934 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4935 compiler-macro expansion.
4937 Add native compiler-macro support.
4938 * emacs-lisp/macroexp.el (macroexpand-all-1):
4939 Support compiler-macros directly. Properly follow aliases and apply
4940 the compiler macros more thoroughly.
4941 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4942 macroexpand now properly follows aliases.
4943 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4944 (cl-compiler-macroexpand): Use new prop.
4945 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4947 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4949 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4951 * window.el (get-lru-window, get-mru-window, get-largest-window):
4952 New argument NOT-SELECTED to avoid picking the selected window.
4953 (window--display-buffer-1, window--display-buffer-2): Replace by
4954 new function window--display-buffer
4955 (display-buffer-same-window, display-buffer-reuse-window)
4956 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4957 Use window--display-buffer.
4958 (display-buffer-use-some-window): Remove temporary dedication
4959 hack by calling get-lru-window and get-largest-window with
4960 NOT-SELECTED argument non-nil. Call window--display-buffer.
4962 2012-06-05 Glenn Morris <rgm@gnu.org>
4964 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4965 Replace external vcdiff script.
4967 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4969 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4971 2012-06-04 Chong Yidong <cyd@gnu.org>
4973 * image.el (imagemagick-types-inhibit): Revert last change.
4975 (imagemagick-enabled-types): Remove CIN and EPS*.
4977 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4979 * emacs-lisp/cl-lib.el: Rename from cl.el.
4980 * emacs-lisp/cl.el: New compatibility file.
4981 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4982 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4983 to obey the "cl-" prefix.
4984 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4986 2012-06-03 Glenn Morris <rgm@gnu.org>
4988 * emacs-lisp/authors.el (authors-aliases): Addition.
4990 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4993 2012-06-03 Stefan Merten <smerten@oekonux.de>
4995 * textmodes/rst.el: Add comments.
4996 (rst-transition, rst-adornment): New faces.
4997 (rst-adornment-faces-alist): Make default safe to reevaluate.
4999 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5000 Improve customization tags.
5001 (rst-define-level-faces): Clarify meaning.
5003 2012-06-03 Chong Yidong <cyd@gnu.org>
5005 * progmodes/compile.el (compilation-mode-line-fail)
5006 (compilation-mode-line-run, compilation-mode-line-exit):
5008 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5010 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5012 * progmodes/which-func.el (which-func-update-ediff-windows):
5013 New function. Use it in ediff-select-hook (Bug#11478).
5015 2012-06-03 Chong Yidong <cyd@gnu.org>
5017 * bindings.el: Remove explicit help text from format-mode-line.
5018 It is now supplied by mode-line-default-help-echo.
5019 (mode-line-front-space, mode-line-end-spaces)
5020 (mode-line-misc-info): New variables.
5021 (mode-line-modes, mode-line-position): Move the default value to
5022 the variable definition.
5023 (mode-line-default-help-echo): New defcustom.
5024 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5025 (mode-line-modified-help-echo): New functions.
5026 (mode-line-mule-info, mode-line-modified): Use them.
5027 (mode-line-eol-desc, propertized-buffer-identification):
5028 Consistency fixes for help text.
5029 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5030 set-buffer-file-coding-system (Bug#289).
5031 (mode-line-mule-info-help-echo): Update help text.
5033 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5035 * simple.el (execute-extended-command): Set real-this-command
5038 2012-06-02 Chong Yidong <cyd@gnu.org>
5040 Remove incorrect uses of "modeline" in comments, docstrings, and
5041 function/variable names (Bug#10329).
5043 * cus-edit.el (mode-line):
5044 * dframe.el (dframe-mouse-hscroll):
5045 * emacs-lisp/re-builder.el:
5046 * emacs-lisp/easy-mmode.el (define-minor-mode):
5047 * frame.el (set-frame-name):
5048 * help.el (lookup-minor-mode-from-indicator):
5049 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5050 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5051 (c-toggle-hungry-state):
5052 * progmodes/antlr-mode.el (antlr-language-alist):
5053 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5054 * progmodes/vhdl-mode.el (vhdl-mode):
5055 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5056 * term/ns-win.el (ns-face-at-pos):
5057 * term/sup-mouse.el (sup-mouse-report):
5058 * textmodes/flyspell.el (flyspell-mode-line-string):
5059 * textmodes/ispell.el (ispell-highlight-face):
5060 * textmodes/reftex-global.el:
5061 * vc/vc-arch.el (vc-arch-mode-line-string):
5062 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5063 * vc/vc-git.el (vc-git-mode-line-string):
5064 * vc/vc-hooks.el (vc-display-status)
5065 (vc-default-mode-line-string):
5066 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5068 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5070 * dired.el (dired-sort-set-mode-line): Rename from
5071 dired-sort-set-modeline. All callers changed.
5073 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5074 eshell-status-in-modeline.
5076 * foldout.el (foldout-mode-line-string): Rename from
5077 foldout-modeline-string. All callers changed.
5078 (foldout-update-mode-line): Rename from foldout-update-modeline.
5080 * subr.el (redraw-modeline): Make into obsolete alias.
5082 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5083 timeclock-modeline-display. Make old name an alias.
5084 (timeclock-update-mode-line): Likewise. All callers changed.
5085 (timeclock-mode-line-display): No need to check before using
5087 (timeclock-relative, timeclock-day-over-hook)
5088 (timeclock-use-elapsed, timeclock-mode-string)
5089 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5091 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5092 crisp-mode-modeline-string.
5094 * play/solitaire.el (solitaire-build-mode-line): Rename from
5095 solitaire-build-modeline. All callers changed.
5097 * play/zone.el (zone-hiding-mode-line): Rename from
5098 zone-hiding-modeline. All callers changed.
5099 (zone): Remove unusued `modeline-hidden-level' property.
5101 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5102 xscheme-modeline-initialize. All callers changed.
5104 * strokes.el (strokes-lighter): Rename from
5105 strokes-modeline-string.
5107 * textmodes/sgml-mode.el (html-face-tag-alist)
5108 (html-tag-face-alist): Use mode-line face instead of obsolete
5111 2012-06-02 Stefan Merten <smerten@oekonux.de>
5113 * textmodes/rst.el: Always require `cl'.
5114 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5116 2012-06-02 Chong Yidong <cyd@gnu.org>
5118 * image.el (imagemagick-enabled-types): Rename from
5119 imagemagick-types-enable. Add many more types.
5120 (imagemagick-types-inhibit): Change default to nil.
5121 (imagemagick-filter-types): Caller changed.
5123 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5125 * emacs-lisp/cl-macs.el: Use backquotes.
5126 (cl-transform-function-property): Use eval-and-compile rather than
5128 (defstruct): Use declare-function instead of with-no-warnings.
5130 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5131 (byte-compile-output-docform): Re-add the print-circle bindings.
5132 (byte-compile-fix-header): Use #$ just because it's shorter.
5133 (byte-compile-output-file-form): Remove defun/defmacro.
5135 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5137 * simple.el (choose-completion): Remove now obsolete binding for
5140 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5142 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5143 in order to avoid "Stack overflow in regexp matcher".
5145 2012-05-31 Glenn Morris <rgm@gnu.org>
5147 * image.el: For clarity, call imagemagick-register-types at
5148 top-level, rather than relying on a custom :initialize.
5149 (imagemagick-types-enable): New option. (Bug#11557)
5150 (imagemagick-filter-types): New function. (Bug#7406)
5151 (imagemagick-register-types): Use imagemagick-filter-types.
5152 If disabling support, remove elements altogether rather
5153 than using an impossible regexp.
5154 (imagemagick-types-inhibit): Give it the default init function.
5156 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5158 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5159 Handle arbitrary file name lengths (Bug#11585).
5161 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5163 * desktop.el (desktop-read): Clear previous and next buffers for
5164 all windows and bury *Messages* buffer (bug#11556).
5166 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5168 Add `declare' for `defun'. Align `defmacro's with it.
5169 * emacs-lisp/easy-mmode.el (define-minor-mode)
5170 (define-globalized-minor-mode): Don't autoload the var definitions.
5171 * emacs-lisp/byte-run.el: Use lexical-binding.
5172 (defun-declarations-alist, macro-declarations-alist): New vars.
5173 (defmacro, defun): Use them.
5174 (make-obsolete, define-obsolete-function-alias)
5175 (make-obsolete-variable, define-obsolete-variable-alias):
5177 (macro-declaration-function): Mark obsolete.
5178 * emacs-lisp/autoload.el: Use lexical-binding.
5179 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5181 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5183 * textmodes/ispell.el (ispell-with-no-warnings):
5185 (ispell-kill-ispell, ispell-change-dictionary):
5186 Use `called-interactively-p' for Emacs instead of obsolete
5189 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5192 (macro-declaration-function): Move var from C code.
5193 (macro-declaration-function): Define function with defalias.
5194 * emacs-lisp/macroexp.el (macroexpand-all-1):
5195 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5196 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5197 defun/defmacro any more.
5198 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5199 Provide fallback for unknown arglist.
5200 (byte-compile-arglist-warn): Change calling convention.
5201 (byte-compile-output-file-form): Move print-vars binding.
5202 (byte-compile-output-docform): Simplify accordingly.
5203 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5204 (byte-compile-defmacro-declaration): Remove.
5205 (byte-compile-file-form-defmumble): Generalize to defalias.
5206 (byte-compile-output-as-comment): Return byte-positions.
5207 Simplify callers accordingly.
5208 (byte-compile-lambda): Use `assert'.
5209 (byte-compile-defun, byte-compile-defmacro): Remove.
5210 (byte-compile-file-form-defalias):
5211 Use byte-compile-file-form-defmumble.
5212 (byte-compile-defalias-warn): Remove.
5214 2012-05-29 Stefan Merten <smerten@oekonux.de>
5216 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5217 possible. Fix authors. Improve comments. Improve loading of `cl'.
5219 (rst-mode-abbrev-table): Merge definition.
5220 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5221 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5223 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5225 * calendar/icalendar.el
5226 (icalendar-export-region): Export UID properly.
5228 2012-05-29 Leo Liu <sdl.web@gmail.com>
5229 * calendar/icalendar.el (icalendar-import-format):
5230 Add `icalendar-import-format-uid' (Bug#11525).
5231 (icalendar-import-format-uid): New.
5232 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5235 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5238 different alternative patterns.
5239 (pcase-codegen): Be more careful to preserve identity.
5240 (pcase--u1): Don't forget to mark vars as used.
5242 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5243 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5244 (byte-compile-from-buffer): ...rather than here.
5246 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5247 functions from byte-compile-function-environment.
5249 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5251 * window.el (window-deletable-p): Avoid deleting the root window
5252 of a frame with an active minibuffer.
5254 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5256 * simple.el (choose-completion): Use quit-window (Bug#11567).
5258 2012-05-29 Chong Yidong <cyd@gnu.org>
5260 * whitespace.el (whitespace-cleanup): Fix usage of
5261 whitespace-empty-at-bob-regexp (Bug#11492).
5263 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5265 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5268 2012-05-29 Juri Linkov <juri@jurta.org>
5270 * isearch.el (isearch-mode-map): Bind `M-s _' to
5271 `isearch-toggle-symbol'. Bind `M-s c' to
5272 `isearch-toggle-case-fold'.
5273 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5274 (isearch-forward): Add `M-s _' to the docstring.
5275 (isearch-forward-symbol, isearch-toggle-case-fold)
5276 (isearch-symbol-regexp): New functions. (Bug#11381)
5278 2012-05-29 Juri Linkov <juri@jurta.org>
5280 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5281 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5282 a function, call it to get the regexp.
5283 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5284 property `isearch-message-prefix' instead of the string "word ".
5285 (isearch-search-fun-default): For the case of `isearch-word',
5286 return a lambda that calls re-search-forward/re-search-backward
5287 with a regexp returned by `word-search-regexp' or by the function
5290 2012-05-29 Juri Linkov <juri@jurta.org>
5292 * isearch.el (isearch-search-fun-default): New function.
5293 (isearch-search-fun): Move default part to the new function
5294 `isearch-search-fun-default'.
5295 (isearch-search-fun-function): Set the default value to
5296 `isearch-search-fun-default'. (Bug#11381)
5298 * comint.el (comint-history-isearch-end):
5299 Use `isearch-search-fun-default'.
5300 (comint-history-isearch-search): Use `isearch-search-fun-default'
5301 and remove spacial case for `isearch-word'.
5302 (comint-history-isearch-wrap): Remove spacial case for
5305 * hexl.el (hexl-isearch-search-function):
5306 Use `isearch-search-fun-default'.
5308 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5309 Use `word-search-regexp' for `isearch-word'.
5311 * misearch.el (multi-isearch-search-fun):
5312 Use `isearch-search-fun-default'.
5314 * simple.el (minibuffer-history-isearch-search):
5315 Use `isearch-search-fun-default' and remove spacial case for
5317 (minibuffer-history-isearch-wrap): Remove spacial case for
5320 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5321 Remove spacial case for `isearch-word'.
5322 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5324 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5326 Decrease XEmacs incompatibilities.
5327 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5329 (flyspell-delete-region-overlays): Use alternative definition for
5331 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5332 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5333 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5334 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5335 `define-obsolete-face-alias' under XEmacs, but old method.
5337 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5338 `with-no-warnings' definition or Emacs alias.
5339 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5340 (ispell-word): Do not use `region-p' if XEmacs.
5342 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5344 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5345 Check for `ispell-dictionary-base-alist' instead of full
5346 `ispell-dictionary-alist'.
5347 (ispell-init-process): Show spellchecker when starting new Ispell
5350 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5353 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5355 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5357 * version.el (motif-version-string, gtk-version-string)
5358 (ns-version-string): Declare.
5360 2012-05-27 Juri Linkov <juri@jurta.org>
5362 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5363 after the `eval-defun-1' specialcaseing
5364 like in `edebug-eval-defun' (bug#10181).
5366 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5367 like in `eval-defun-1'.
5369 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5371 * mail/sendmail.el (mail-yank-region):
5372 Recognize rmail-yank-current-message in addition to insert-buffer.
5373 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5374 a *mail* buffer created through rmail-start-mail with sendmail as
5377 2012-05-27 Chong Yidong <cyd@gnu.org>
5379 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5380 Default to 256 (Bug#11267).
5382 * help.el (describe-mode): Doc fix.
5384 2012-05-26 Glenn Morris <rgm@gnu.org>
5386 * w32-fns.el (w32-init-info): Remove.
5387 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5389 * info.el (info-initialize): For self-contained NS builds, put the
5390 included info/ directory at the front. (Bug#2791)
5392 * paths.el (Info-default-directory-list): Make it a defcustom,
5393 mainly so that we can use custom-initialize-delay.
5395 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * subr.el (buffer-has-markers-at): Mark obsolete.
5399 * subr.el (lambda): Use declare.
5401 * emacs-lisp/lisp-mode.el (lambda):
5402 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5404 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5406 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5408 2012-05-26 Glenn Morris <rgm@gnu.org>
5410 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5412 2012-05-25 Glenn Morris <rgm@gnu.org>
5414 * paths.el: Remove no-byte-compile.
5415 * loadup.el: No need to load paths.el uncompiled.
5417 * image.el (imagemagick-types-inhibit): Doc fix.
5419 * version.el: Remove no-byte-compile and associated formatting.
5420 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5421 is ancient code from when there was an "inc-vers.el".
5423 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * progmodes/gdb-mi.el: Minor style changes.
5426 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5427 Turn into minor modes.
5428 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5429 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5430 (gdb-shell): Remove unneeded let-binding.
5431 (gdb-get-many-fields): Eliminate O(n²) behavior.
5433 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5435 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5436 platforms that don't link in fontset.c.
5438 2012-05-25 Juri Linkov <juri@jurta.org>
5440 Use the same diff color scheme as in modern VCSes (bug#10181).
5442 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5443 to avoid confusion with `diff-added' that now uses green colors.
5444 (diff-removed): Use shades of red.
5445 (diff-added): Use shades of green.
5446 (diff-changed): Leave just the yellow color.
5447 (diff-use-changed-face): New variable.
5448 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5449 how to highlight context diff changes.
5450 (diff-refine-change): Use shades of yellow.
5451 (diff-refine-removed): New face that uses shades of red.
5452 (diff-refine-added): New face that uses shades of green.
5453 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5454 `diff-refine-removed' in the call to `smerge-refine-subst'
5455 depending on the value of `diff-use-changed-face'.
5457 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5458 (smerge-other): Use shades of green.
5459 (smerge-base): Use shades of yellow.
5460 (smerge-refined-change): Empty face.
5461 (smerge-refined-removed): New face that uses shades of red.
5462 (smerge-refined-added): New face that uses shades of green.
5463 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5464 args `props-r' and `props-a', and use them. Doc fix.
5465 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5466 on its value use different faces `smerge-refined-change',
5467 `smerge-refined-removed', `smerge-refined-added' in the call to
5468 `smerge-refine-subst'.
5470 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5471 Add face condition `min-colors 88' with shades of red.
5472 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5473 `min-colors 88' with shades of green.
5474 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5475 `min-colors 88' with shades of yellow.
5477 2012-05-24 Glenn Morris <rgm@gnu.org>
5479 * paths.el (prune-directory-list, remote-shell-program): Move to...
5480 * files.el (prune-directory-list, remote-shell-program): ...here.
5481 For the latter, delay initialization, prefer ssh, just search PATH.
5483 * paths.el (term-file-prefix): Move to faces.el (the only user).
5484 * faces.el (term-file-prefix): Move here, make it a defcustom.
5486 * paths.el (news-directory, news-path, news-inews-program):
5487 Move to gnus/nnspool.el.
5489 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5491 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5492 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5493 Make the latter a defcustom, with a delayed initialization.
5495 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5496 These were deleted from Gnus itself late 2010.
5498 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5500 * progmodes/which-func.el (which-func-ff-hook):
5501 Check against user-error, not error.
5503 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5504 cl-specs.el, which no longer exists.
5506 2012-05-22 Glenn Morris <rgm@gnu.org>
5508 * info.el (info-emacs-bug): New command.
5509 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5510 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5512 2012-05-21 Glenn Morris <rgm@gnu.org>
5514 * makefile.w32-in (update-subdirs-SH):
5515 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5517 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5522 Simplify Maven regexp, and make sure the file can't start with a space
5525 2012-05-21 Glenn Morris <rgm@gnu.org>
5527 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5528 Scrap superfluous subshells.
5530 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5533 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5535 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5537 * calc/calc.el (calc-ensure-consistent-units): New variable.
5539 * calc/calc-units.el (math-consistent-units-p)
5540 (math-check-unit-consistency): New functions.
5541 (calc-quick-units, calc-convert-units):
5542 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5544 (calc-extract-units): Fix typo.
5546 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5550 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5551 (flyspell-default-deplacement-commands): Don't spell check after
5552 repeated window/frame switches (e.g. triggered by mouse-movement).
5553 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5554 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5555 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5556 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5558 (flyspell-get-casechars, flyspell-get-not-casechars):
5559 Simplify; Don't bother removing a ] just to add it back.
5560 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5562 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5564 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5566 (math-function-table): Add support for more C functions.
5568 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5570 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5571 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5572 Protect delay handling for otherchars against empty otherchars.
5574 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5577 their respective macro declarations.
5578 * skeleton.el (define-skeleton):
5579 * progmodes/compile.el (define-compilation-mode):
5580 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5581 (define-ibuffer-filter):
5582 * emacs-lisp/generic.el (define-generic-mode):
5583 * emacs-lisp/easy-mmode.el (define-minor-mode)
5584 (define-globalized-minor-mode):
5585 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5586 * emacs-lisp/byte-run.el (defsubst):
5587 * custom.el (deftheme): Add doc-string metadata.
5589 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5591 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5593 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5597 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5598 * emacs-lisp/cl-macs.el: Idem.
5599 * emacs-lisp/cl-specs.el: Remove.
5601 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5603 Minor renaming of internal CL functions and variables.
5604 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5605 (cl--position): Rename from cl-position.
5606 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5607 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5608 (cl--random-state): Rename from *random-state*.
5610 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5612 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5613 parens around the arg list (bug#11499).
5615 2012-05-17 Juri Linkov <juri@jurta.org>
5617 * isearch.el (word-search-regexp, word-search-backward)
5618 (word-search-forward, word-search-backward-lax)
5619 (word-search-forward-lax): Move functions from search.c
5620 (bug#10145, bug#11381).
5622 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5624 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5625 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5626 Delay for otherchars as for normal word components.
5628 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * minibuffer.el (completion--sifn-requote): Fix last change.
5631 (minibuffer-local-must-match-filename-map):
5632 Move define-obsolete-variable-alias before its var.
5634 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5638 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5640 (completion--string-equal-p): New function.
5641 (completion--twq-all): Use it to get better assertion failure data.
5643 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5644 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5645 (shell--requote-argument): New functions.
5646 (shell-completion-vars): Use them.
5647 (shell--parse-pcomplete-arguments): Rename from
5648 shell-parse-pcomplete-arguments.
5649 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5650 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5651 Obey comint-file-name-quote-list.
5653 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5654 (smie-indent-keyword): Use it.
5656 2012-05-14 Stefan Merten <smerten@oekonux.de>
5658 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5660 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5662 * net/rlogin.el (rlogin-mode-map): Fix last change.
5664 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5666 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5667 the following \r\n using a single `process-send-string', since the
5668 Lotus SMTP server refuses to accept any commands if they are sent
5669 with two `process-send-string's (Bug#11444).
5671 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * shell.el (shell-parse-pcomplete-arguments):
5674 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5676 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5678 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5679 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5680 (image-transform-width, image-transform-fit-width): New functions.
5681 (image-transform-properties): Use them.
5682 (image-transform-check-size): New function.
5683 (image-toggle-display-image): Use it (for testing).
5684 (image-transform-set-rotation): Reduce angle mod 360.
5685 Delete obsolete comment.
5687 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5689 * image-mode.el: Fix scaling (bug#11399).
5690 (image-transform-resize): Doc fix.
5691 (image-transform-properties): Default scale is 1 and height should
5694 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5696 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5697 than hard-coding `car', to fix misbehavior when moving forward.
5699 2012-05-13 Chong Yidong <cyd@gnu.org>
5701 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5702 (tabulated-list-entries, tabulated-list-padding)
5703 (tabulated-list-sort-key): Make permanent-local.
5705 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5706 (electric-buffer-list): Put electric buffer menu
5707 command descriptions in this docstring, instead of the docstring
5708 of electric-buffer-menu-mode. Code cleanups.
5709 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5710 Electric-buffer-menu-mode.
5711 (electric-buffer-update-highlight): Minor code cleanup.
5713 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5715 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5718 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5720 Move define-obsolete-variable-alias before the var's definition.
5721 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5722 * tooltip.el (tooltip-hook):
5723 * textmodes/reftex-toc.el (reftex-toc-map):
5724 * textmodes/reftex-sel.el (reftex-select-label-map)
5725 (reftex-select-bib-map):
5726 * textmodes/reftex-index.el (reftex-index-map)
5727 (reftex-index-phrases-map):
5728 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5729 * progmodes/meta-mode.el (meta-mode-map):
5730 * novice.el (disabled-command-hook):
5731 * loadhist.el (unload-hook-features-list):
5732 * frame.el (blink-cursor):
5733 * files.el (find-file-not-found-hooks, write-file-hooks)
5734 (write-contents-hooks):
5735 * emulation/tpu-edt.el (GOLD-map):
5736 * emacs-lock.el (emacs-lock-from-exiting):
5737 * emacs-lisp/generic.el (generic-font-lock-defaults):
5738 * emacs-lisp/chart.el (chart-map):
5739 * dos-fns.el (register-name-alist):
5740 * dired-x.el (dired-omit-files-p):
5741 * desktop.el (desktop-enable):
5742 * cus-edit.el (custom-mode-hook):
5743 * buff-menu.el (buffer-menu-mode-hook):
5744 * bookmark.el (bookmark-read-annotation-text-func)
5745 (bookmark-exit-hooks):
5746 * allout.el (allout-mode-deactivate-hook)
5747 (allout-exposure-change-hook, allout-structure-added-hook)
5748 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5749 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5750 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5751 comes before the corresponding variable's definition.
5753 2012-05-12 Chong Yidong <cyd@gnu.org>
5755 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5756 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5757 (Buffer-menu-mode-map): Bind it.
5758 (Buffer-menu--pretty-name): Add a mouse-face property.
5760 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5763 (prolog-upper-case-string, prolog-lower-case-string)
5764 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5765 (prolog-use-smie, prolog-smie-grammar): New vars.
5766 (prolog-smie-forward-token, prolog-smie-backward-token)
5767 (prolog-smie-rules): New funs.
5768 (prolog-comment-indent): Remove.
5769 (prolog-mode-variables): Use default comment indentation instead.
5771 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5772 (prolog-mode): Don't call them any more.
5773 (prolog-electric-colon, prolog-electric-dash)
5774 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5776 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5778 * minibuffer.el (completion--twq-all): Again, allow case differences.
5780 * term.el: Move keymap initialization code to be more idiomatic.
5781 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5782 (term-terminal-menu): Move initialization into declaration.
5783 (term-escape-char): Let the user set it in her .emacs.
5785 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5786 Provide SMIE-based indentation (not enabled by default yet).
5787 (sh-mode-map): Don't bind electric keys.
5788 Use electric-pair-mode instead of skeleton-pair.
5789 (sh-assignment-regexp): Fit within 80 columns.
5790 (sh-indent-supported): Specify actual shell name instead of boolean.
5791 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5792 (sh-maybe-here-document): Use it. Make obsolete.
5793 (sh-electric-here-document-mode) New minor mode.
5794 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5795 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5796 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5797 (sh-smie-rc-grammar, sh-use-smie): New vars.
5798 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5799 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5800 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5801 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5802 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5803 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5804 (sh-set-shell): Use smie-setup if requested.
5806 * term.el (term-set-escape-char): Properly set term-escape-char.
5807 See http://stackoverflow.com/questions/10524656.
5809 2012-05-10 Chong Yidong <cyd@gnu.org>
5811 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5812 Use url-generic-parse-url, and handle host names and Windows
5814 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5815 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5816 URL schemes to work on.
5817 (ffap--toggle-read-only): New function.
5818 (ffap-read-only, ffap-read-only-other-window)
5819 (ffap-read-only-other-frame): Use it.
5820 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5821 necessary for ffap-url-unwrap-remote.
5823 2012-05-10 Dave Abrahams <dave@boostpro.com>
5825 * cus-start.el (create-lockfiles): Add it.
5827 2012-05-09 Chong Yidong <cyd@gnu.org>
5829 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5830 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5832 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5836 2012-05-09 Chong Yidong <cyd@gnu.org>
5838 * ansi-color.el (ansi-color-process-output): Check for validity of
5839 comint-last-output-start before using it. This avoids a bad
5840 interaction with gdb-mi's input/output buffer.
5842 2012-05-09 Glenn Morris <rgm@gnu.org>
5844 * files.el (dir-locals-read-from-file):
5845 Mention dir-locals in any error message.
5847 2012-05-09 Chong Yidong <cyd@gnu.org>
5849 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5850 package (Bug#11410).
5852 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5853 variables into description.
5855 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5857 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5858 shell-delimiter-argument-list (bug#11348).
5859 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5861 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5863 * textmodes/rst.el: Silence byte-compiler warnings.
5864 (rst-re-alist, rst-reset-section-caches): Move around.
5865 (rst-re): Use `characterp', not `char-valid-p'.
5866 (font-lock-beg, font-lock-end): Declare.
5868 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5869 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5871 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5873 2012-05-08 Glenn Morris <rgm@gnu.org>
5875 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5877 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * vc/log-edit.el: Add GNU coding standards highlighting.
5880 (log-edit-font-lock-gnu-style)
5881 (log-edit-font-lock-gnu-keywords): New vars.
5882 (log-edit-font-lock-keywords): New fun.
5883 (log-edit-mode): Don't fold case in font-lock.
5884 (log-edit-font-lock-keywords): Do not assume case-folding.
5886 * imenu.el: Misc cleanup. Make docstrings out of comments.
5887 Use lexical-binding.
5888 (imenu--index-alist, imenu--last-menubar-index-alist)
5889 (imenu-menubar-modified-tick): Use defvar-local.
5890 (imenu--split-menu): Remove unused var.
5891 (imenu--cleanup-seen): Declare as global.
5892 (imenu--cleanup): Use dolist.
5894 * subr.el (defvar-local): Add debug spec and doc-string position.
5896 2012-05-08 Glenn Morris <rgm@gnu.org>
5898 * language/burmese.el, language/cham.el, language/czech.el:
5899 * language/english.el, language/georgian.el, language/greek.el:
5900 * language/japanese.el, language/khmer.el, language/korean.el:
5901 * language/lao.el, language/misc-lang.el, language/romanian.el:
5902 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5903 * language/thai.el, language/utf-8-lang.el:
5904 Remove no-byte-compile setting.
5906 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5908 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5910 * progmodes/make-mode.el (makefile-browse):
5911 Remove unnecessary interactive. (Bug#11324)
5913 2012-05-07 Glenn Morris <rgm@gnu.org>
5915 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5917 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5919 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * loadup.el: Preload newcomment.el.
5922 * newcomment.el: Move autoload-only code to toplevel.
5924 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5925 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5926 Handle new :right-align column property.
5927 (tabulated-list-print-col): Idem, plus use `display' text-property to
5928 try and preserve alignment for variable pitch fonts.
5930 2012-05-07 Chong Yidong <cyd@gnu.org>
5932 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5933 (tabulated-list-use-header-line): New var.
5934 (tabulated-list-init-header): Use it.
5935 (tabulated-list-print-fake-header): New function.
5936 (tabulated-list-print): Use it.
5937 (tabulated-list-sort-button-map): Add non-header-line commands.
5938 (tabulated-list-init-header): Add column name property to basic
5940 (tabulated-list-col-sort): Handle non-header-line button case.
5941 (tabulated-list--sort-by-column-name): Fix a corner case.
5943 * buff-menu.el (list-buffers--refresh):
5944 Handle Buffer-menu-use-header-line.
5946 2012-05-06 Chong Yidong <cyd@gnu.org>
5948 * buff-menu.el: Convert to Tabulated List mode.
5949 (Buffer-menu-buffer+size-width): Make obsolete.
5950 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5951 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5952 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5953 documentation into docstring of buffer-menu.
5954 (Buffer-menu-toggle-files-only): Add an informative message.
5955 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5956 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5957 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5958 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5959 (Buffer-menu-execute, Buffer-menu-select)
5960 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5961 (Buffer-menu-bury): Use Tabulated List machinery.
5962 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5963 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5965 (list-buffers--refresh): New function.
5966 (list-buffers-noselect): Use it.
5967 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5968 (Buffer-menu--pretty-file-name): New helper functions.
5970 * loadup.el: Preload tabulated-list.
5972 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5973 tabulated-list-sort-column.
5974 (tabulated-list-init-header): Add the initial aligning space even
5975 if tabulated-list-padding is zero.
5977 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5979 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5980 whose cdr is not a cons cell correctly (bug#11038).
5982 2012-05-06 Chong Yidong <cyd@gnu.org>
5984 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5985 Accept additional plist in column descriptors.
5986 (tabulated-list-init-header): Obey it.
5987 (tabulated-list-get-entry): New function.
5988 (tabulated-list-put-tag): Use it. Use string-width instead of
5990 (tabulated-list--column-number): New function.
5991 (tabulated-list-print): Use it.
5992 (tabulated-list-print-col): New function.
5993 Set `tabulated-list-column-name' property on each column's text.
5994 (tabulated-list-print-entry): Use it.
5995 (tabulated-list-delete-entry, tabulated-list-set-col):
5997 (tabulated-list-sort-column): New command (Bug#11337).
5999 * buff-menu.el (list-buffers): Move C-x C-b binding from
6000 buff-menu.el to bindings.el.
6002 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6003 :advertised-binding feature.
6005 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6007 * progmodes/compile.el (compilation-internal-error-properties):
6008 Calculate start position correctly when end-col is set but
6009 end-line is not (Bug#11382).
6011 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6013 * man.el (Man-unindent): Use text-property-default-nonsticky to
6014 prevent untabify from inheriting face properties (Bug#11408).
6016 2012-05-05 Stefan Merten <smerten@oekonux.de>
6018 * textmodes/rst.el: Major merge with upstream development up to
6019 Docutils SVN r7399 / rst.el V1.2.1.
6021 Clarify maintainership and authors.
6023 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6024 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6025 (rst-official-version, rst-official-cvs-rev, rst-version)
6026 (rst-package-emacs-version-alist): New functions and variables
6027 for version information.
6029 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6030 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6031 (rst-mode-syntax-table, rst-mode): New and corrected functions
6032 and variables representing reStructuredText features.
6034 (rst-re): New function for reStructuredText regexes. Use in
6037 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6038 (rst-mode-map): Rebind keys.
6040 (rst-mode-lazy, rst-font-lock-keywords)
6041 (rst-font-lock-extend-region)
6042 (rst-font-lock-extend-region-internal)
6043 (rst-font-lock-extend-region-extend)
6044 (rst-font-lock-find-unindented-line-limit)
6045 (rst-font-lock-find-unindented-line-match)
6046 (rst-adornment-level, rst-font-lock-adornment-level)
6047 (rst-font-lock-adornment-match)
6048 (rst-font-lock-handle-adornment-pre-match-form)
6049 (rst-font-lock-handle-adornment-matcher): Major revision of
6050 font-locking. Integrate with other code. Use `jit-lock-mode'.
6052 (rst-preferred-adornments, rst-adjust-hook)
6053 (rst-new-adornment-down, rst-preferred-bullets)
6054 (rst-preferred-bullets, rst-indent, rst-indent-width)
6055 (rst-indent-field, rst-indent-literal-normal)
6056 (rst-indent-literal-minimized, rst-indent-comment): Change,
6057 extend and improve customization.
6059 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6060 (rst-normalize-cursor-position, rst-get-decoration)
6061 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6062 (rst-rstrip, rst-toc-insert-find-delete-contents)
6063 (rst-shift-fill-region, rst-compute-bullet-tabs)
6064 (rst-debug-print-tabs, rst-debug-mark-found)
6065 (rst-shift-region-guts, rst-shift-region-right)
6066 (rst-shift-region-left, rst-use-char-classes)
6067 (rst-font-lock-keywords-function)
6068 (rst-font-lock-indentation-point)
6069 (rst-font-lock-find-unindented-line-begin)
6070 (rst-font-lock-find-unindented-line-end)
6071 (rst-font-lock-find-unindented-line)
6072 (rst-font-lock-adornment-point, rst-font-lock-level)
6073 (rst-adornment-level-alist): Remove functions and variables.
6075 (rst-compare-adornments, rst-get-adornment-match)
6076 (rst-suggest-new-adornment, rst-get-adornments-around)
6077 (rst-adornment-complete-p, rst-get-next-adornment)
6078 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6079 (rst-straighten-adornments): Standardize function names to
6080 use "adornment" instead of "decoration". Correct callers.
6081 Similar standardizing in many places.
6083 (rst-update-section, rst-adjust, rst-promote-region)
6084 (rst-enumerate-region, rst-bullet-list-region)
6085 (rst-repeat-last-character): Correct use of `interactive'.
6087 (rst-classify-adornment, rst-find-all-adornments)
6088 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6089 (rst-find-leftmost-column, rst-repeat-last-character):
6092 (rst-find-title-line, rst-reset-section-caches)
6093 (rst-get-adornments-around, rst-adjust-adornment-work)
6094 (rst-arabic-to-roman, rst-roman-to-arabic)
6095 (rst-insert-list-pos, rst-insert-list-new-item)
6096 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6099 (rst-all-sections, rst-section-hierarchy)
6100 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6103 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6104 configuration instead of only buffer. Change where necessary.
6106 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6107 (rst-shift-region, rst-adaptive-fill): New functions for
6108 indentation and filling.
6110 (rst-comment-line-break, rst-comment-indent)
6111 (rst-comment-insert-comment, rst-comment-region)
6112 (rst-uncomment-region): New functions for handling comments.
6114 (rst-compile): Quote shell arguments.
6116 (rst-compile-pdf-preview, rst-compile-slides-preview):
6117 Delete temporary files after use.
6119 2012-05-05 Glenn Morris <rgm@gnu.org>
6121 * calendar/cal-html.el: Optionally include holidays in the output.
6122 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6123 (cal-html-holidays): New option.
6124 (cal-html-css-default): Add holiday entry.
6125 (holiday-in-range): Autoload it.
6126 (cal-html-htmlify-entry): Add optional class argument.
6127 (cal-html-htmlify-list): Add optional holidays argument.
6128 (cal-html-insert-agenda-days): Include holidays in the output.
6129 (cal-html-one-month): Maybe include holidays.
6131 * calendar/holidays.el (holiday-in-range):
6132 Move here from cal-tex-list-holidays.
6133 * calendar/cal-tex.el (cal-tex-list-holidays):
6134 Make it an obsolete alias for holiday-in-range. Update all callers.
6136 2012-05-05 Chong Yidong <cyd@gnu.org>
6138 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6141 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6143 * files.el (file-auto-mode-skip): New var.
6144 (set-auto-mode-1): Use it.
6146 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * repeat.el: Use lexical-binding.
6149 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6150 (repeat-undo-count): Remove.
6152 * progmodes/octave-mod.el (octave-abbrev-start):
6153 * progmodes/f90.el (f90-abbrev-start):
6154 * face-remap.el (text-scale-adjust):
6155 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6157 * emacs-lisp/pcase.el (pcase--let*): New function.
6158 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6160 (pcase--split-pred): Be more clever about ruling out overlap between
6161 a predicate and some constant pattern.
6162 (pcase--q1): Use `null' instead of (eq foo nil).
6164 * subr.el (setq-local, defvar-local): New macros.
6165 (kbd): Redefine as an alias.
6166 (with-selected-window): Leave unrelated frames alone.
6167 (set-temporary-overlay-map): New function.
6169 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6171 * subr.el (user-error): New function.
6172 * window.el (switch-to-buffer):
6173 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6174 (smerge-match-conflict):
6175 * simple.el (previous-matching-history-element)
6176 (next-matching-history-element, goto-history-element, undo-more)
6178 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6179 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6180 (next-file, tags-loop-scan, list-tags, complete-tag):
6181 * progmodes/compile.el (compilation-loop):
6182 * mouse.el (mouse-minibuffer-check):
6183 * man.el (Man-bgproc-sentinel, Man-goto-page):
6184 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6185 (Info-history-forward, Info-follow-reference, Info-menu)
6186 (Info-extract-menu-item, Info-extract-menu-counting)
6187 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6188 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6189 (Info-next-reference, Info-prev-reference, Info-index)
6190 (Info-index-next, Info-follow-nearest-node)
6191 (Info-copy-current-node-name):
6192 * imenu.el (imenu--make-index-alist)
6193 (imenu-default-create-index-function, imenu-add-to-menubar):
6194 * files.el (basic-save-buffer, recover-file):
6195 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6196 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6197 (checkdoc-message-text, checkdoc-defun):
6198 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6199 * cus-edit.el (customize-changed-options, customize-rogue)
6200 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6201 (custom-variable-mark-to-reset-standard)
6202 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6204 * completion.el (check-completion-length):
6205 * comint.el (comint-search-arg)
6206 (comint-previous-matching-input-string-position)
6207 (comint-previous-matching-input)
6208 (comint-replace-by-expanded-history-before-point, comint-send-input)
6209 (comint-copy-old-input, comint-backward-matching-input)
6210 (comint-goto-process-mark, comint-set-process-mark):
6211 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6212 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6214 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6216 * dabbrev.el (dabbrev--ignore-case-p): New function.
6217 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6220 * files.el (automount-dir-prefix): Mark as obsolete.
6222 2012-05-04 Glenn Morris <rgm@gnu.org>
6224 * patcomp.el, play/bruce.el: Move to obsolete/.
6226 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6228 Fix minor Y10k bugs.
6229 * arc-mode.el (archive-unixdate):
6230 * autoinsert.el (auto-insert-alist):
6231 * calc/calc-forms.el (math-this-year):
6232 * emacs-lisp/copyright.el (copyright-current-year)
6233 (copyright-update-year, copyright):
6234 * tar-mode.el (tar-clip-time-string):
6235 * time.el (display-time-update):
6236 Don't assume years have 4 digits.
6238 2012-05-04 Chong Yidong <cyd@gnu.org>
6240 * dos-w32.el (file-name-buffer-file-type-alist)
6241 (direct-print-region-use-command-dot-com):
6242 * ffap.el (ffap-menu-regexp):
6243 * find-file.el (ff-special-constructs):
6244 * follow.el (follow-debug):
6245 * forms.el (forms--debug):
6246 * iswitchb.el (iswitchb-all-frames):
6247 * ido.el (ido-all-frames):
6248 * emacs-lisp/timer.el (timer-max-repeats):
6249 * mail/feedmail.el (feedmail-mail-send-hook)
6250 (feedmail-mail-send-hook-queued):
6251 * mail/footnote.el (footnote-signature-separator):
6252 * mail/mailabbrev.el (mail-alias-separator-string)
6253 (mail-abbrev-mode-regexp):
6254 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6255 * progmodes/idlwave.el (idlwave-libinfo-file)
6256 (idlwave-default-completion-case-is-down)
6257 (idlwave-library-routines): Convert defvars to defcustoms.
6259 * mail/rmail.el (rmail-decode-mime-charset):
6260 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6261 (idlwave-shell-fix-inserted-breaks)
6262 (idlwave-shell-activate-alt-keybindings)
6263 (idlwave-shell-use-breakpoint-glyph):
6264 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6266 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6270 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6272 * progmodes/verilog-mode.el (font-lock-keywords):
6273 Fix mis-highligting auto. Reported by Craig Barner.
6274 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6275 defines from global name space. Reported by Dan Dever.
6276 (verilog-auto-reset, verilog-auto-reset-widths)
6277 (verilog-auto-tieoff): Support using unbased numbers for
6278 AUTORESET and AUTOTIEOFF.
6279 (verilog-submit-bug-report): Update variable list.
6280 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6281 parenthesis from not matching. Reported by Michael Rytting.
6282 (verilog-auto-template-lint): Fix hash error when linting modules
6283 with no used templates.
6284 (verilog-warn, verilog-warn-error)
6285 (verilog-warn-fatal): When non-interactive report multiple
6286 warnings before exiting. Suggested by Brad Dobbie.
6287 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6288 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6289 to report unused template errors. Reported by Brad Dobbie.
6290 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6291 nets, bug438. Reported by Vns Blore.
6292 (verilog-auto-inout-module, verilog-auto-reg)
6293 (verilog-read-decls, verilog-read-sub-decls-sig)
6294 (verilog-signals-edit-wire-reg, verilog-signals-with):
6295 Fix passing of Verilog data types in ANSI input/output ports
6296 such as "output logic" into the AUTOs. Special case "wire" and
6297 "reg" for backwards compatibility presuming Verilog 2001.
6298 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6299 (verilog-preprocess): Fix replication of preprocess output.
6300 Reported by Brad Dobbie.
6301 (verilog-auto-inst-interfaced-ports):
6302 Create verilog-auto-inst-interfaced-ports, bug429.
6303 Reported by Julian Gorfajn.
6304 (verilog-after-save-font-hook)
6305 (verilog-before-save-font-hook): New variable.
6306 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6307 (verilog-save-font-mods): Wrap disabling fontification, reported
6309 (verilog-do-indent, verilog-pretty-declarations-auto)
6310 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6311 Reported by Pierre-David Pfister.
6312 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6313 of class declarations, bug292. Reported by Kevin Heilman.
6314 (verilog-read-decls): Fix 'parameter type' not appearing in
6315 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6316 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6317 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6318 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6319 Reported by David Kravitz.
6321 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6323 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6324 assignment with tests in ifs and for loops.
6325 (verilog-extended-complete-re, verilog-complete-reg): Change so
6326 that DPI inport functions don't look like fuction declarations.
6327 (verilog-pretty-expr): Don't line up assignment
6328 operations to the test and increment in if and for loops
6329 (verilog-extended-complete-re, verilog-complete-reg): Change so
6330 that DPI inport functions don't look like fuction declarations.
6332 2012-05-03 Kenichi Handa <handa@m17n.org>
6334 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6335 decoding, and show a warning message without signaling an error
6338 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6340 * emacs-lisp/bytecomp.el
6341 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6342 since cconv.el might have introduced :fun-body, internal-make-closure,
6343 and friends for bytecomp to handle (bug#11391).
6344 * custom.el (defcustom): Avoid ((λ ..) ..).
6346 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6350 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6352 * notifications.el (dbus-debug):
6353 * term/linux.el (gpm-mouse-enable):
6354 * term/screen.el (xterm-register-default-colors): Declare.
6356 2012-05-02 Chong Yidong <cyd@gnu.org>
6358 * cus-start.el (gc-cons-percentage, exec-suffixes)
6359 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6360 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6361 (make-cursor-line-fully-visible, void-text-area-pointer)
6362 (font-list-limit): Add customization data.
6364 * allout.el (allout-exposure-change-functions)
6365 (allout-structure-added-functions)
6366 (allout-structure-deleted-functions)
6367 (allout-structure-shifted-functions): Rename abnormal hooks from
6368 *-hook, and convert to defcustoms.
6369 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6370 Convert to defcustoms.
6371 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6373 * allout-widgets.el: Hook callers changed.
6375 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6377 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6378 the yanked message in preference to the default value of
6379 buffer-file-coding-system.
6381 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6383 * window.el (display-buffer--action-function-custom-type):
6386 2012-05-02 Alan Mackenzie <acm@muc.de>
6388 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6390 2012-05-01 Glenn Morris <rgm@gnu.org>
6392 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6394 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6396 * cus-edit.el (custom-variable-documentation): Simplify with format.
6398 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6399 Stefan Monnier <monnier@iro.umontreal.ca>
6401 * simple.el (suggest-key-bindings, execute-extended-command):
6402 Move from keyboard.c.
6404 2012-05-01 Chong Yidong <cyd@gnu.org>
6406 * follow.el: Eliminate advice.
6407 (set-process-filter, process-filter, sit-for): Advice deleted.
6408 (follow-mode-off-hook): Obsolete hook removed.
6409 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6411 (follow-auto): Use a :set function.
6412 (follow-mode): Rewritten. Don't advise process filters.
6413 (follow-switch-to-current-buffer-all, follow-scroll-up)
6414 (follow-scroll-down): Assume follow-mode is bound.
6415 (follow-comint-scroll-to-bottom)
6416 (follow-align-compilation-windows): New functions.
6417 (follow--window-sorter): New function.
6418 (follow-all-followers): Use it to explicitly sort windows by their
6419 positions; don't make assumptions about next-window order.
6420 (follow-windows-start-end, follow-delete-other-windows-and-split)
6421 (follow-calc-win-start): Doc fix.
6422 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6423 vertical-motion unnecessarily.
6424 (follow-adjust-window): New function.
6425 (follow-post-command-hook): Use it.
6426 (follow-call-set-process-filter, follow-call-process-filter)
6427 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6428 (follow-stop-intercept-process-output, follow-generic-filter):
6430 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6431 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6432 New functions, replacing advice on scroll-bar-* commands.
6433 (follow-mwheel-scroll): New function (Bug#4112).
6435 * comint.el (comint-adjust-point): New function.
6436 (comint-postoutput-scroll-to-bottom): Use it.
6437 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6439 2012-05-01 Glenn Morris <rgm@gnu.org>
6441 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6442 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6443 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6444 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6445 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6446 Remove no-byte-compile setting.
6448 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6451 all-completions code to not return a number in the last cdr.
6453 2012-04-30 Leo Liu <sdl.web@gmail.com>
6455 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6458 2012-04-29 Chong Yidong <cyd@gnu.org>
6460 * follow.el (follow-calc-win-end): Rewrite to handle partial
6461 screen lines correctly (Bug#8390).
6462 (follow-avoid-tail-recenter): Minor cleanup.
6464 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6466 Avoid the obsolete `assoc' package.
6467 * speedbar.el (speedbar-refresh): Avoid adelete.
6468 (speedbar-file-lists): Simplify and avoid aput.
6469 * man.el (Man--sections, Man--refpages): New vars, replacing
6470 Man-sections-alist and Man-refpages-alist.
6471 (Man-build-section-alist, Man-build-references-alist):
6472 Use them; avoid aput.
6473 (Man--last-section, Man--last-refpage): New vars.
6474 (Man-follow-manual-reference): Use them.
6475 Use the `default' arg of completing-read.
6476 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6478 2012-04-27 Chong Yidong <cyd@gnu.org>
6480 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6482 * startup.el (x-apply-session-resources): New function.
6484 * term/ns-win.el (ns-initialize-window-system):
6485 * term/w32-win.el (w32-initialize-window-system):
6486 * term/x-win.el (x-initialize-window-system): Use it to properly
6487 set menu-bar-mode and other vars from X resources, even if the
6488 initial frame is not a window-system frame (Bug#2299).
6490 * subr.el (read-key): Avoid running filter function when setting
6491 up temporary tool bar entries (Bug#9922).
6493 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6495 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6498 2012-04-27 Chong Yidong <cyd@gnu.org>
6500 * select.el (xselect--encode-string): New function, split from
6501 xselect-convert-to-string.
6502 (xselect-convert-to-string): Use it.
6503 (xselect-convert-to-filename, xselect-convert-to-os)
6504 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6505 returned strings are properly encoded (Bug#11315).
6507 2012-04-27 Chong Yidong <cyd@gnu.org>
6509 * simple.el (delete-active-region): Move to killing custom group.
6511 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6513 * progmodes/which-func.el (which-func-current): Quote %
6514 characters for mode-line processing.
6516 2012-04-27 Chong Yidong <cyd@gnu.org>
6518 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6519 reaching eob (Bug#11286).
6521 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6523 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6524 (gdb): Make it buffer-local and init to zero.
6525 (gdb-control-commands-regexp): New variable.
6526 (gdb-send): Don't wrap in "-interpreter-exec console" if
6527 gdb-control-level is positive. Increment gdb-control-level
6528 whenever the command matches gdb-control-commands-regexp, and
6529 decrement it each time the command is "end". (Bug#11279)
6531 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6533 * window.el (adjust-window-trailing-edge, enlarge-window)
6534 (shrink-window, window-resize):
6535 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6536 windows (Bug#11276).
6538 2012-04-27 Chong Yidong <cyd@gnu.org>
6540 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6541 fix "missing prefix" warning. All callers changed.
6543 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * emacs-lisp/assoc.el: Move to obsolete/.
6547 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6551 * term/ns-win.el (ns-define-service):
6552 * progmodes/pascal.el (pascal-goto-defun):
6553 * progmodes/js.el (js--read-tab):
6554 * progmodes/etags.el (tags-lazy-completion-table):
6555 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6556 * emacs-lisp/ewoc.el (ewoc--wrap):
6557 * emacs-lisp/assoc.el (aput, adelete, amake):
6558 * doc-view.el (doc-view-convert-current-doc):
6559 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6561 2012-04-26 Chong Yidong <cyd@gnu.org>
6563 * image.el (image-type-from-buffer): Only return supported image
6566 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6567 value, for symmetry with diff-end-of-hunk.
6568 (diff-split-hunk, diff-find-source-location)
6569 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6570 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6571 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6572 compute the relevant hunk or file properly (Bug#6005).
6573 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6575 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * vc/vc.el: Replace lexical-let by lexical-binding.
6585 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6586 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6587 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6589 2012-04-26 Chong Yidong <cyd@gnu.org>
6591 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6592 (diff-mode-shared-map): Bind it to / and [remap undo].
6594 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6595 (ediff-window-setup-function): Use it as the default, to set up
6596 windows based on whether the current frame is graphical (Bug#2138).
6597 (ediff-choose-window-setup-function-automatically): Make obsolete.
6599 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6601 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6603 * ffap.el: Remove old code for obsolete package.
6604 (ffap-complete-as-file-p): Remove.
6606 Use completion-table-with-quoting for comint and pcomplete.
6607 * comint.el (comint--unquote&requote-argument)
6608 (comint--unquote-argument, comint--requote-argument): New functions.
6609 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6610 (comint-quote-filename): Use regexp-opt-charset.
6611 (comint--common-suffix, comint--common-quoted-suffix)
6612 (comint--table-subvert): Remove.
6613 (comint-unquote-function, comint-requote-function): New vars.
6614 (comint--complete-file-name-data): Use them with
6615 completion-table-with-quoting.
6616 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6617 * pcomplete.el (pcomplete-arg-quote-list)
6618 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6619 (pcomplete-unquote-argument-function): Default to non-nil.
6620 (pcomplete-unquote-argument): Simplify.
6621 (pcomplete--common-quoted-suffix): Remove.
6622 (pcomplete-requote-argument-function): New var.
6623 (pcomplete--common-suffix): New function.
6624 (pcomplete-completions-at-point): Use completion-table-with-quoting
6625 and completion-table-subvert.
6627 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6628 (minibuffer--double-dollars): Preserve properties.
6629 (completion--sifn-requote): New function.
6630 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6632 * minibuffer.el: Add support for completion of quoted/escaped data.
6633 (completion-table-with-quoting, completion-table-subvert): New funs.
6634 (completion--twq-try, completion--twq-all): New functions.
6635 (completion--nth-completion): New function.
6636 (completion-try-completion, completion-all-completions): Use it.
6638 2012-04-25 Leo Liu <sdl.web@gmail.com>
6640 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6641 Use compilation-message if available to find real filename.
6643 2012-04-25 Chong Yidong <cyd@gnu.org>
6645 * vc/diff-mode.el (diff-setup-whitespace): New function.
6646 (diff-mode): Use it.
6648 * vc/diff.el (diff-sentinel):
6649 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6650 Whitespace mode variables based on diff style (Bug#8612).
6652 2012-04-25 Leo Liu <sdl.web@gmail.com>
6654 * progmodes/python.el (python-send-region): Add suffix .py to the
6657 * files.el (auto-mode-alist): Use javascript-mode instead.
6659 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6661 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6663 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6664 (soap-resolve-references-for-array-type): Hack to prevent self
6665 references, see Bug#9.
6666 (soap-parse-envelope): Report the contents of the 'detail' node
6667 when receiving a fault reply.
6668 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6670 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6671 (soap-inspect-simple-type): New function.
6673 * net/soap-client.el (soap-simple-type): New struct.
6674 (soap-default-xsd-types, soap-default-soapenc-types)
6675 (soap-decode-basic-type, soap-encode-basic-type):
6676 support unsignedInt and double basic types.
6677 (soap-resolve-references-for-simple-type)
6678 (soap-parse-simple-type, soap-encode-simple-type): New function.
6679 (soap-parse-schema): Parse xsd:simpleType declarations.
6681 * net/soap-client.el (soap-default-xsd-types)
6682 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6683 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6684 the local name of "soapenc:Array".
6685 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6686 decoding integer, byte and anyURI xsd types.
6688 2012-04-25 Chong Yidong <cyd@gnu.org>
6690 * cus-edit.el (custom-buffer-create-internal): Update header text.
6692 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6694 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6695 settings on 'system-type', not on 'window-system'. On MS-Windows,
6696 set interactive-mode on in GDB.
6698 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6700 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6701 (ruby-syntax-propertize-regexp): Remove.
6702 (ruby-syntax-propertize-function): Split regexp into chunks.
6703 Match following code directly.
6705 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6707 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6708 (ruby-syntax-propertize-regexp): New function.
6709 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6710 by a special keyword.
6712 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6713 (ruby-syntax-general-delimiters-goto-beg)
6714 (ruby-syntax-propertize-general-delimiters): New functions.
6715 (ruby-syntax-propertize-function): Use them to handle GDL.
6716 (ruby-font-lock-keywords): Move old handling of GDL...
6717 (ruby-font-lock-syntactic-keywords): .. to here.
6718 (ruby-calculate-indent): Adjust indentation for GDL.
6720 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6722 * notifications.el (top): Remove unneeded declarations.
6723 (notifications-specification-version): Change to "1.2".
6724 (notifications-interface, notifications-notify-method)
6725 (notifications-close-notification-method): Fix docstring.
6726 (notifications-get-capabilities-method): New defconst.
6727 (notifications-notify): Add :action-items, :resident and
6728 :transient hints. Change "image_data" to "image-data" and
6729 "image_path" to "image-path".
6730 (notifications-get-capabilities): New defun.
6732 2012-04-24 Leo Liu <sdl.web@gmail.com>
6734 * progmodes/python.el: Move hideshow setup to the end.
6736 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6738 * window.el (handle-select-window): Clear echo area since this is
6739 no more done by read_char (Bug#11304).
6741 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6744 and `/ M' to filter-derived-mode.
6745 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6746 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6747 (ibuffer-mark-by-mode): Use default rather than initial-input.
6748 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6750 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6752 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6753 (ibuffer-filter-by-derived-mode): New filter.
6754 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6756 2012-04-23 Andreas Politz <politza@fh-trier.de>
6758 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6760 2012-04-23 Chong Yidong <cyd@gnu.org>
6762 * cus-edit.el (customize-apropos, customize-apropos-options):
6763 Disable matching of non-option variables (Bug#11176).
6764 (customize-option, customize-option-other-window)
6765 (customize-changed-options): Doc fix.
6766 (customize-apropos-options, customize-apropos-faces)
6767 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6769 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6770 Fix word list splitting (Bug#11132).
6771 (apropos-symbol, apropos-keybinding, apropos-label)
6772 (apropos-property, apropos-function-button)
6773 (apropos-variable-button, apropos-misc-button): New faces.
6774 (apropos-symbol-face, apropos-keybinding-face)
6775 (apropos-label-face, apropos-property-face, apropos-match-face):
6776 Variables removed (Bug#8396).
6777 (apropos-library-button, apropos-format-plist, apropos-print)
6778 (apropos-print-doc, apropos-describe-plist): Callers changed.
6780 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6782 * net/xesam.el (xesam-mode-map): Use let-bound map in
6783 initialization. (Bug#11292)
6785 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6787 Preserve ispell session localwords when switching back to
6790 * textmodes/ispell.el (ispell-buffer-session-localwords):
6791 New buffer-local variable to hold buffer session localwords.
6792 (ispell-kill-ispell): Add option 'clear to delete session
6794 (ispell-command-loop, ispell-change-dictionary)
6795 (ispell-buffer-local-words): Preserve session localwords when
6798 * textmodes/flyspell.el (flyspell-process-localwords)
6799 (flyspell-do-correct): Preserve session localwords when needed.
6801 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6803 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6804 using obsolete `translation-table-for-input'.
6805 (ispell-word, ispell-process-line, ispell-complete-word):
6806 Use plain `insert' instead of removed `ispell-insert-word'.
6808 2012-04-22 Chong Yidong <cyd@gnu.org>
6810 * cus-edit.el (custom-variable-menu)
6811 (custom-variable-reset-saved, custom-face-menu)
6812 (custom-face-reset-saved): If there is no saved value, make the
6813 "reset-saved" operation bring back the default (Bug#9509).
6814 (custom-face-state): Properly detect themed faces.
6816 * faces.el (face-spec-set): Stop supporting deprecated form of
6819 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6821 Move functions from C to Lisp. Make non-blocking method calls
6822 the default. Implement further D-Bus standard interfaces.
6824 * net/dbus.el (dbus-message-internal): Declare function.
6825 Remove unneeded function declarations.
6826 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6827 (dbus-message-type-method-return, dbus-message-type-error)
6828 (dbus-message-type-signal): Declare variables. Remove local
6830 (dbus-interface-dbus, dbus-interface-peer)
6831 (dbus-interface-introspectable, dbus-interface-properties)
6832 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6834 (dbus-interface-objectmanager): New defconst.
6835 (dbus-call-method, dbus-call-method-asynchronously)
6836 (dbus-send-signal, dbus-method-return-internal)
6837 (dbus-method-error-internal, dbus-register-service)
6838 (dbus-register-signal, dbus-register-method): New defuns, moved
6840 (dbus-call-method-handler, dbus-setenv)
6841 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6843 (dbus-call-method-non-blocking): Make it an obsolete function.
6844 (dbus-unregister-object, dbus-unregister-service)
6845 (dbus-handle-event, dbus-register-property)
6846 (dbus-property-handler): Obey the new structure of
6847 `bus-registered-objects'.
6848 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6849 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6850 Use `dbus-call-method'.
6852 2012-04-22 Chong Yidong <cyd@gnu.org>
6854 * cus-edit.el (custom-commands, custom-reset-menu)
6855 (Custom-reset-standard): Tweak labels.
6856 (custom-reset-button-menu): Change default to t.
6857 (custom-buffer-create-internal): For the custom-reset-button-menu
6858 case, put the revert button first.
6859 (custom-group-subtitle): New face.
6860 (custom-group-value-create): Align docstring to a specific column.
6862 * wid-edit.el (widget-documentation-link-add): Don't handle
6863 indentation in this function.
6864 (widget-documentation-string-indent-to): New function.
6865 (widget-documentation-string-value-create): Use it.
6867 * autorevert.el (auto-revert):
6868 * epg-config.el (epg):
6869 * ibuffer.el (ibuffer):
6872 * eshell/eshell.el (eshell):
6873 * net/ange-ftp.el (ange-ftp):
6874 * progmodes/ebnf2ps.el (postscript):
6875 * progmodes/flymake.el (flymake):
6876 * progmodes/prolog.el (prolog):
6877 * progmodes/verilog-mode.el (verilog-mode):
6878 * progmodes/which-func.el (which-func):
6879 * term/xterm.el (xterm):
6880 * textmodes/picture.el (picture):
6881 * textmodes/tildify.el (tildify):
6882 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6883 customization buffers.
6885 2012-04-22 Alan Mackenzie <acm@muc.de>
6887 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6888 Adding a ) can hide the resulting (..) from searches. Fix it.
6889 Bound the backward search to the position of the existing (.
6891 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6893 * progmodes/verilog-mode.el (verilog-mode): Check whether
6894 which-func-modes is t before adding verilog-mode.
6895 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6897 2012-04-21 Leo Liu <sdl.web@gmail.com>
6899 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6901 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6903 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6904 filling of the last column of a table (Bug#5635).
6905 (woman-find-next-control-line): New arg, specifying an additional
6906 regexp component for the control line.
6907 (woman2-roff-buffer): Use it.
6908 (woman-break-table): New function.
6909 (woman2-TS): Use it.
6911 2012-04-21 Chong Yidong <cyd@gnu.org>
6913 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6914 (woman-horizontal-escapes, woman-negative-vertical-space)
6915 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6916 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6918 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * minibuffer.el (completion-file-name-table): Complete user names.
6922 2012-04-20 Leo Liu <sdl.web@gmail.com>
6924 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6927 2012-04-20 Chong Yidong <cyd@gnu.org>
6929 * server.el (server-execute): Respect initial-buffer-choice if it
6930 is a string and there are no files to open (Bug#2825).
6931 (server-create-window-system-frame, server-create-tty-frame):
6932 Don't switch buffers here.
6933 (server-process-filter): Only try to open a window system frame if
6934 compiled with graphical support (Bug#8314).
6936 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6938 * battery.el (battery-echo-area-format): Display remaining time
6939 for sysfs backend too (Bug#11269).
6940 (battery-linux-sysfs): Fix conditional for the charge.
6942 2012-04-20 Chong Yidong <cyd@gnu.org>
6944 * progmodes/gdb-mi.el (gdb): Revert previous change.
6945 (gdb-inferior-io--init-proc): New function.
6946 (gdb-init-1): Use it.
6947 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6948 responsible for allocating a new pty and hooking it to gdb when
6949 the old pty gets an EIO due to process exit.
6950 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6951 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6952 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6954 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6956 * window.el (window-min-size, window-sizable, window-min-delta)
6957 (window-max-delta, window--resizable, window-resizable)
6958 (window-total-size, window-full-height-p, window-full-width-p)
6959 (window-in-direction, window--resize-mini-window, window-resize)
6960 (window--resize-child-windows-normal)
6961 (window--resize-child-windows, window--resize-siblings)
6962 (window--resize-this-window, adjust-window-trailing-edge)
6963 (enlarge-window, shrink-window): Doc fixes.
6965 2012-04-20 Chong Yidong <cyd@gnu.org>
6967 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6968 New function to call delete-process on the gdb-inferior buffer's pty.
6969 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6970 pty process (Bug#11273).
6971 (gdb-update): New arg to suppress talking to the gdb process.
6972 (gdb-done-or-error): Use it.
6973 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6974 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6975 sentinel not being called.
6977 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6979 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6981 2012-04-20 Glenn Morris <rgm@gnu.org>
6983 * net/network-stream.el (open-network-stream): Doc fix.
6985 2012-04-20 Chong Yidong <cyd@gnu.org>
6987 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6989 2012-04-20 Alan Mackenzie <acm@muc.de>
6991 Ensure searching for keywords is case sensitive.
6993 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6994 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6995 (c-defun-name, c-mark-function, c-cpp-define-name)
6996 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6997 (c-context-line-break): Bind case-fold-search to nil.
6999 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7000 Bind case-fold-search to nil.
7002 2012-04-20 Chong Yidong <cyd@gnu.org>
7004 * mail/sendmail.el (mail-bury): Call return action with the right
7005 Rmail buffer (Bug#11242).
7007 * server.el (server-process-filter): Handle corner case where both
7008 tty and nowait options are present (Bug#11102).
7010 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7012 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7013 (top level): Put into the executable the ident-style '$Id:' tag on
7016 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * electric.el (electric-indent-post-self-insert-function): Check that
7019 electric-indent-mode is enabled in current buffer.
7021 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7023 * imenu.el (imenu-progress-message): Restore; it is "used" in
7024 erc/erc-imenu.el and net/snmp-mode.el.
7026 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7028 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7029 (mouse-avoidance-nudge-mouse): Remove unused binding.
7031 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7033 * descr-text.el (describe-char):
7034 * progmodes/python.el (python-describe-symbol):
7035 Don't call `toggle-read-only', set `buffer-read-only'.
7037 * imenu.el (imenu-default-goto-function): Mark unused args.
7038 (imenu-progress-message): Remove obsolete macro; all callers changed.
7040 * subr.el (keymap-canonicalize): Remove unused binding.
7041 (read-passwd): Mark unused arg.
7043 * tutorial.el (tutorial--display-changes): Remove unused binding.
7044 (tutorial--save-tutorial-to): Remove unused variable.
7046 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7047 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7048 (package-generate-autoloads, package-menu--generate)
7049 (package-menu--find-upgrades): Remove unused bindings.
7051 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7052 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7053 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7054 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7055 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7056 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7057 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7058 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7059 (cua-delete-char-rectangle): Mark unused args.
7060 (cua-align-rectangle): Remove unused binding.
7062 * mail/rmail.el (compilation--message->loc)
7063 (epa--find-coding-system-for-mime-charset): Declare.
7065 * net/dbus.el (dbus-register-service): Declare.
7066 (dbus-name-owner-changed-handler): Remove unused binding.
7068 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7069 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7070 (nxml-scan-backward-within): Mark unused arg.
7071 (nxml-dynamic-markup-word): Remove unused binding.
7073 * mouse.el (mouse-menu-major-mode-map):
7074 * emacs-lisp/authors.el (authors-scan-change-log)
7075 (authors-add-to-author-list):
7076 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7077 * emacs-lisp/smie.el (smie-auto-fill):
7078 * mail/sendmail.el (mail-bury):
7079 * mail/unrmail.el (unrmail):
7080 * net/tls.el (open-tls-stream):
7081 * textmodes/picture.el (picture-mouse-set-point):
7082 Remove unused bindings.
7084 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7086 * net/tramp.el (tramp-action-password): Let-bind
7087 `enable-recursive-minibuffers' to t.
7089 2012-04-18 Sam Steingold <sds@gnu.org>
7091 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7092 instead of 'string to accommodate values like [f11].
7093 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7094 * progmodes/gdb-mi.el: Likewise.
7096 2012-04-18 Leo Liu <sdl.web@gmail.com>
7098 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7100 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7103 2012-04-18 Chong Yidong <cyd@gnu.org>
7105 * simple.el (line-move): Use forward-line if in batch mode
7108 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7110 * files.el (after-find-file): Do not try to add a final newline if
7111 the buffer is read-only (Bug#11156).
7113 2012-04-17 Richard Stallman <rms@gnu.org>
7115 * mail/rmail.el (rmail-start-mail):
7116 Pass (rmail-mail-return...) for the return-action.
7117 Pass (rmail-yank-current-message...) for the yank-action.
7118 (rmail-yank-current-message): New function.
7119 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7120 (rmail-reply): Likewise.
7121 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7123 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7124 buffer, not the last. Reject temp buffers. Use the rmail-mode
7127 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7129 * server.el (server-ensure-safe-dir): Simplify.
7131 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * emacs-lisp/smie.el: Provide smarter auto-filling.
7134 (smie-auto-fill): New function.
7135 (smie-setup): Use it.
7137 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7139 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7141 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7142 (comment-indent): Use it.
7144 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7146 * ses.el: The overall change is to add cell renaming, that is
7147 setting fancy names for cell symbols other than name matching
7148 "\\`[A-Z]+[0-9]+\\'" regexp .
7149 (ses-localvars): Add ses--renamed-cell-symb-list.
7150 (ses-create-cell-variable): New defun.
7151 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7152 (ses-relocate-formula): Relocate formulas only for cells the
7153 symbols of which are not renamed, i.e. symbols whose names do not
7154 match regexp "\\`[A-Z]+[0-9]+\\'".
7155 (ses-relocate-all): Relocate values only for cells the symbols of
7156 which are not renamed.
7157 (ses-load): Create cells variables as the (ses-cell ...) are read,
7158 in order to check row col consistency with cell symbol name only
7159 for cells that are not renamed.
7160 (ses-replace-name-in-formula): New defun.
7161 (ses-rename-cell): New defun.
7163 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7165 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7166 New option (bug#11118).
7167 (perl-calculate-indent): Respect it.
7169 2012-04-17 Glenn Morris <rgm@gnu.org>
7171 * dired-aux.el (dired-mark-read-string): Doc fix.
7173 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7175 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7176 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7178 2012-04-17 Glenn Morris <rgm@gnu.org>
7180 * mouse.el (mouse-drag-track):
7181 * speedbar.el (speedbar-frame-mode):
7182 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7184 2012-04-16 Leo Liu <sdl.web@gmail.com>
7186 * progmodes/python.el: Trivial cleanup.
7188 2012-04-16 Glenn Morris <rgm@gnu.org>
7190 * vc/vc.el (vc-string-prefix-p):
7191 * vc/pcvs-util.el (cvs-string-prefix-p):
7192 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7193 * mpc.el (mpc-string-prefix-p):
7194 Make all of these into obsolete aliases for string-prefix-p.
7196 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7198 * textmodes/two-column.el: Move custom options to the start.
7199 (frame-width): Remove compat definition.
7200 (2C-associate-buffer, 2C-dissociate):
7201 Use with-current-buffer rather than save-excursion.
7202 (2C-dissociate): Force a mode-line update.
7203 (2C-autoscroll): Use ignore-errors.
7205 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7208 * emacs-lisp/cl-extra.el (*random-state*):
7209 Remove unnecessary declaration.
7211 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7213 * play/cookie1.el (cookie-snarf):
7214 Give an explicit error if input file cannot be read.
7216 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7218 * progmodes/perl-mode.el (c-macro-expand):
7219 Remove unnecessary autoload (it is in loaddefs.el).
7221 * textmodes/picture.el (picture-desired-column)
7222 (picture-update-desired-column): Convert comments to doc-strings.
7223 (picture-substitute): Remove function.
7224 (picture-mode-map): Initialize in the defvar.
7226 * woman.el: Remove eval-after-load for tar-mode.
7227 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7228 (woman-tar-extract-file): Autoload it.
7230 * frame.el (automatic-hscrolling): Make this alias obsolete.
7232 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7234 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7235 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7236 (ispell-dictionary-base-alist): Revert to original XEmacs
7237 friendly version for default. [:alpha:] will be added in
7238 `ispell-set-spellchecker-params' if needed.
7240 2012-04-16 Chong Yidong <cyd@gnu.org>
7242 * image.el (imagemagick--file-regexp): New variable.
7243 (imagemagick-register-types): Use it.
7244 (imagemagick-types-inhibit): Add :set function. Allow new value
7245 of t to inhibit all types.
7247 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7248 so we can preload it.
7250 * loadup.el (fboundp): Preload regexp-opt, needed by
7251 imagemagick-register-types.
7253 2012-04-15 Chong Yidong <cyd@gnu.org>
7255 * frame.el (scrolling): Remove nearly unused customization group.
7257 * scroll-all.el (scroll-all-mode): Move to windows group.
7259 2012-04-15 Chong Yidong <cyd@gnu.org>
7261 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7263 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7265 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7266 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7268 2012-04-15 Glenn Morris <rgm@gnu.org>
7270 * simple.el (process-file-side-effects): Doc fix.
7272 2012-04-15 Glenn Morris <rgm@gnu.org>
7274 * international/mule-cmds.el (set-language-environment): Doc fix.
7276 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7278 * server.el (server-auth-key, server-generate-key): Doc fixes.
7279 (server-get-auth-key): Doc fix. Use `string-match-p'.
7280 (server-start): Reflow docstring.
7282 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7284 * server.el (server-generate-key): `called-interactively-p'
7285 requires a parameter.
7287 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7289 * server.el (server-auth-key): New variable.
7290 (server-generate-key, server-get-auth-key): New function.
7291 (server-start): Use the new variable and functions to allow
7292 setting a permanent server key (bug#9423).
7294 2012-04-14 Leo Liu <sdl.web@gmail.com>
7296 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7298 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7301 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7302 Emacs uses American spelling.
7304 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7306 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7307 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7308 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7309 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7311 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * progmodes/which-func.el (which-func-modes): Change default.
7315 2012-04-14 Kim F. Storm <storm@cua.dk>
7317 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7318 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7320 2012-04-14 Chong Yidong <cyd@gnu.org>
7322 * custom.el (custom-theme-set-variables): Doc fix.
7324 2012-04-14 Glenn Morris <rgm@gnu.org>
7326 * international/mule.el (set-auto-coding-for-load): Doc fix.
7328 2012-04-14 Alan Mackenzie <acm@muc.de>
7330 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7331 imenu work again for Objective C Mode. Correct the *-index values,
7332 these having been disturbed by a previous change in 2011-08.
7334 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7335 Correct two search limits.
7337 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7341 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7343 * international/characters.el: Fix sorting.
7345 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7347 * international/characters.el: Add more missing Latin case pairs.
7349 2012-04-14 Glenn Morris <rgm@gnu.org>
7351 * files.el (dir-locals-set-class-variables): Doc fix.
7353 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7355 * international/characters.el: Add set-case-syntax-pair call for
7356 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7357 counterpart. (Bug#11209)
7359 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7361 2012-04-14 Glenn Morris <rgm@gnu.org>
7363 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7365 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7367 * textmodes/ispell.el (ispell-dictionary-base-alist):
7368 Add data for Hebrew.
7370 2012-04-14 Chong Yidong <cyd@gnu.org>
7372 * net/rcirc.el (rcirc-cmd-quit):
7373 Revert 2012-03-18 change (Bug#11192).
7375 2012-04-14 Glenn Morris <rgm@gnu.org>
7377 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7379 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7381 * minibuffer.el (completion-in-region-mode-map):
7382 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7384 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7386 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7388 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7390 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7391 to allow `C-M-f' and `C-M-b' to move to the nearest path
7392 separator (bug#9511).
7394 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7396 * avoid.el: Require cl when compiling. And also move the
7397 `provide' to the end.
7399 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7401 * avoid.el (mouse-avoidance-banish-position): New variable.
7402 (mouse-avoidance-banish-destination): Use it (bug#10165).
7404 2012-04-13 Leo Liu <sdl.web@gmail.com>
7406 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7408 2012-04-13 Ken Brown <kbrown@cornell.edu>
7410 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7411 this is no longer needed now that cygstart understands file:// URLs.
7412 (browse-url-filename-alist): For the same reason, don't modify
7413 file:// URLs on Cygwin.
7415 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7418 the region on shift if the binding is already shifted (bug#11221).
7420 2012-04-12 Glenn Morris <rgm@gnu.org>
7422 * mail/mailpost.el: Move to obsolete/.
7424 2012-04-12 Drew Adams <drew.adams@oracle.com>
7426 * imenu.el (imenu--generic-function): Ignore invisible definitions
7429 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7431 * hexl.el (hexl-bits): New variable.
7432 (hexl-options): Mention the variable in the doc string.
7433 (hexl-rulerise, hexl-line-displen): New functions.
7434 (hexl-mode): Mention the new variable.
7435 (hexl-mode, hexl-current-address, hexl-current-address):
7437 (hexl-ascii-start-column): New function.
7438 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7439 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7441 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7443 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7444 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7445 the encoding, as expected by hunspell.
7447 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7449 * battery.el (battery--linux-sysfs-regexp): New const.
7450 (battery-status-function): Use it. Remove yeeloong special case.
7451 (battery-yeeloong-sysfs): Remove.
7452 (battery-echo-area-format): Remove yeeloong special case.
7454 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7456 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7457 Reported by Noah Friedman.
7459 * subr.el (read-passwd): Use read-string.
7461 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463 * vcursor.el (vcursor-move): Increase the priority of the overlay
7466 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7468 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7469 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7471 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7473 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7474 define-minor-mode (bug#10760).
7476 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7478 * progmodes/grep.el (rgrep): Tweak the find command line so
7479 that directories matching `grep-find-ignored-files' won't be
7482 2012-04-11 Chong Yidong <cyd@gnu.org>
7484 * startup.el (command-line): Remove support for long-obsolete
7485 variable font-lock-face-attributes.
7487 2012-04-11 Glenn Morris <rgm@gnu.org>
7489 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7491 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * window.el (window--state-get-1): Obey window-point-insertion-type.
7495 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7497 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7498 to previous function when point is on the first character of a
7499 function. Take care of that in `narrow-to-defun' (bug#6157).
7501 2012-04-11 Glenn Morris <rgm@gnu.org>
7503 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7504 not just file-errors.
7506 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7507 (vc-bzr-sha1): Use internal sha1.
7509 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7511 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7513 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7515 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7516 that start in the middle of the line (bug#10496).
7518 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7520 * battery.el (battery-linux-proc-acpi): Only one battery is
7521 discharged at a time, but that seems to confuse battery.el when
7522 computing `rate-type' for the battery not being discharged
7525 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7527 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7529 * international/quail.el: Use dolist and simplify.
7530 (quail-define-package, quail-update-keyboard-layout)
7531 (quail-define-rules): Use dolist.
7532 (quail-insert-kbd-layout, quail-get-translation): CSE.
7534 * tmm.el: Use dolist, remove left over hook.
7535 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7537 (calendar-load-hook): Don't mess with it.
7539 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7540 Use derived-mode-p. Run the diff asynchronously.
7542 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7544 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7546 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7548 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7549 (list-dynamic-libraries--loaded): New function.
7550 (list-dynamic-libraries--refresh): Use it.
7552 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7554 * progmodes/python.el (python-fill-paragraph):
7555 Make python-fill-region in a multiline string work when font-lock is
7556 disabled (bug#7018).
7558 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7560 * language/european.el (cp775): Add oem/legacy (en)coding on
7561 DOS/MS Windows for the Baltic languages. There are still plenty
7562 of texts written in this encoding/codepage (bug#6519).
7564 2012-04-10 Glenn Morris <rgm@gnu.org>
7566 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7567 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7569 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7571 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7572 next-line "n" and previous-line "p" in order to make recentf more
7573 consistent with ibuffer, dired or org-mode (bug#9387).
7575 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7577 * image.el (put-image): Return the overlay created instead of the
7578 optional input string (bug#7834). Note that this may break code
7579 that is (for some reason or other) depending on `put-image'
7580 returning the string.
7582 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7584 * simple.el (zap-to-char): Allow zapping using input methods
7587 * textmodes/fill.el (fill-region): Leave point and mark where they
7588 were before filling (bug#5399).
7590 2012-04-09 Glenn Morris <rgm@gnu.org>
7592 * version.el (emacs-bzr-get-version):
7593 Handle lightweight checkouts of local branches.
7595 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7597 * international/characters.el: Recover lost case pairs. (Bug#11209)
7599 2012-04-09 Chong Yidong <cyd@gnu.org>
7601 * custom.el (custom-variable-p): Return nil for non-symbol
7602 arguments instead of signaling an error.
7603 (user-variable-p): Obsolete alias for custom-variable-p.
7605 * apropos.el (apropos-variable):
7606 * files-x.el (read-file-local-variable):
7607 * simple.el (set-variable):
7608 * woman.el (woman-mini-help):
7609 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7611 2012-04-09 Glenn Morris <rgm@gnu.org>
7613 * startup.el (normal-top-level): Don't look for leim-list.el
7614 in places where it will not be found. (Bug#910)
7616 * international/mule-cmds.el (set-default-coding-systems):
7617 * files.el (normal-mode):
7618 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7619 This function was removed with ucs-tables.el in 2008.
7621 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7623 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7624 ispell-encoding8-command to "-i", without a trailing space.
7625 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7626 separate command-line arguments, to specify the encoding, since
7627 that's how hunspell expects it.
7629 2012-04-08 Glenn Morris <rgm@gnu.org>
7631 * loadup.el: Load bindings before cus-start.
7632 This reduces somewhat the number of "rogue" settings in emacs -Q.
7634 2012-04-07 Glenn Morris <rgm@gnu.org>
7636 * version.el (emacs-bzr-get-version): New function.
7637 (emacs-bzr-version): New variable.
7638 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7639 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7641 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7643 * international/uni-bidi.el, international/uni-category.el:
7644 * international/uni-combining.el, international/uni-decimal.el:
7645 * international/uni-decomposition.el, international/uni-digit.el:
7646 * international/uni-lowercase.el, international/uni-mirrored.el:
7647 * international/uni-name.el, international/uni-numeric.el:
7648 * international/uni-titlecase.el, international/uni-uppercase.el:
7649 Update for Unicode 6.1.
7651 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7653 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7655 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7657 * window.el (shrink-window): Mention the `window-min-height'
7658 variable in the doc string.
7660 2012-04-05 Bastien Guerry <bzg@altern.org>
7662 * color.el (color-lighten-name): Fix typo.
7664 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * server.el (server--on-display-p): New function.
7667 (server--on-display-p): Use it.
7669 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7671 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7674 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * comint.el (comint--common-quoted-suffix): Check string boundary
7677 before comparing (bug#11158).
7678 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7680 2012-04-04 Chong Yidong <cyd@gnu.org>
7682 * minibuffer.el (completion-extra-properties): Doc fix.
7684 * subr.el (delayed-warnings-hook): Doc fix.
7686 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7688 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7689 selection (Bug#11159).
7690 (epa-insert-keys): Inform that the default public key will be
7691 exported if no key is selected.
7693 2012-04-04 Richard Stallman <rms@gnu.org>
7695 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7697 2012-04-03 Chong Yidong <cyd@gnu.org>
7699 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7700 mail-insert-file, not its obsolete alias mail-attach-file.
7702 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7704 * notifications.el (notifications-notify): Fix docstring.
7706 2012-04-02 Glenn Morris <rgm@gnu.org>
7708 * emacs-lisp/authors.el (authors-aliases): Another addition.
7710 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7712 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7713 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7714 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7716 2012-04-01 Chong Yidong <cyd@gnu.org>
7718 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7719 Handle root directory properly.
7720 (copy-directory): Caller changed.
7722 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7723 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7725 2012-03-31 Glenn Morris <rgm@gnu.org>
7727 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7729 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7731 * calendar/calendar.el (calendar-window-list)
7732 (calendar-hide-window): Restore. (Bug#11140)
7733 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7735 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7737 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7739 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7740 Check if file is a symlink (Bug#10489).
7742 * files.el (copy-directory): Likewise.
7744 2012-03-30 Chong Yidong <cyd@gnu.org>
7746 * image.el (imagemagick-types-inhibit)
7747 (imagemagick-register-types): Doc fix.
7749 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7751 * textmodes/ispell.el (ispell-get-extended-character-mode):
7752 Disable extended-char-mode for hunspell. hunspell does not support it
7753 and treats ~word as ordinary words in pipe mode.
7755 2012-03-30 Glenn Morris <rgm@gnu.org>
7757 * tutorial.el (help-with-tutorial): Ensure local variables don't
7758 happen to make the buffer read-only. (Bug#11127)
7760 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7763 (perl-calculate-indent): Return `noindent' in strings.
7765 2012-03-28 Sam Steingold <sds@gnu.org>
7767 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7768 instead of the broken adhockery which does not prevent calendar
7769 buffers from being displayed at random after exit.
7770 (calendar-window-list, calendar-hide-window): Remove the broken
7773 2012-03-28 Glenn Morris <rgm@gnu.org>
7775 * replace.el (query-replace-map): Doc fix.
7777 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7779 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7780 contents. (Bug#11109)
7782 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7786 (avl-tree--check, avl-tree--check-node): New funs.
7788 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7790 * window.el (switch-to-visible-buffer): New option.
7791 (switch-to-prev-buffer, switch-to-next-buffer):
7792 Observe switch-to-visible-buffer. Make sure that checking for a window
7793 showing a buffer already is done on the same frame.
7795 2012-03-27 Glenn Morris <rgm@gnu.org>
7797 * startup.el (mail-host-address): Doc fix.
7799 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7801 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7804 2012-03-26 Ami Fischman <ami@fischman.org>
7806 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7808 2012-03-26 Glenn Morris <rgm@gnu.org>
7810 * files.el (save-buffers-kill-emacs): Doc fix.
7812 * startup.el (normal-top-level, command-line, command-line-1):
7813 Give them doc strings.
7815 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7817 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7818 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7820 2012-03-25 Chong Yidong <cyd@gnu.org>
7822 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7823 theme if it was previously enabled before (Bug#11031).
7825 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7826 spec with custom-face-get-current-spec if its :shown-value is not
7827 determined yet (Bug#9337).
7828 (customize-create-theme, custom-theme-revert): Doc fixes.
7830 * button.el (button-at): Minor addition to docstring.
7832 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7834 * vc/vc.el (vc-merge): Fix a prompt.
7836 2012-03-24 Chong Yidong <cyd@gnu.org>
7838 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7841 * button.el (button-at): Minor addition to docstring.
7843 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7845 * newcomment.el (comment-choose-indent): No space after BOL.
7847 2012-03-22 Sam Steingold <sds@gnu.org>
7849 * window.el (switch-to-prev-buffer): Revert last patch because the
7850 bug turned out to be an advertised feature (Elisp manual 28.14).
7852 2012-03-22 Glenn Morris <rgm@gnu.org>
7854 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7855 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7857 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7859 * net/network-stream.el (network-stream-open-starttls): Make error
7860 message under Windows be less misleading.
7862 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7864 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7865 understands (bug#9942).
7867 2012-03-22 Chong Yidong <cyd@gnu.org>
7869 * simple.el (end-of-visible-line): Handle return value of
7870 next-single-property-change properly (Bug#9371).
7872 2012-03-22 Kenichi Handa <handa@m17n.org>
7874 * international/quail.el (quail-insert-kbd-layout): Fix previous
7875 change. To avoid unwanted bidi reordering, use
7876 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7878 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7880 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7881 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7882 (ruby-beginning-of-indent): Be more careful with the difference
7883 between word-boundary and symbol boundary.
7884 (ruby-mode-syntax-table): Make : a symbol constituent.
7886 2012-03-21 Andreas Politz <politza@fh-trier.de>
7888 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7890 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7892 * progmodes/etags.el (tags-completion-at-point-function):
7895 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7897 2012-03-21 Sam Steingold <sds@gnu.org>
7899 * progmodes/etags.el (tags-completion-at-point-function):
7900 Avoid the error when point is inside the pattern.
7902 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7904 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7907 2012-03-21 Drew Adams <drew.adams@oracle.com>
7909 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7911 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7913 * ido.el (ido-set-current-directory, ido-read-internal)
7914 (ido-choose-completion-string, ido-completion-help): Handle nil
7915 value of ido-completion-buffer (Bug#11008).
7917 2012-03-21 Sam Steingold <sds@gnu.org>
7919 * window.el (switch-to-prev-buffer): Do not switch to a visible
7920 window previous buffer, just like with the frame previous buffers.
7922 2012-03-21 Chong Yidong <cyd@gnu.org>
7924 * faces.el (make-face, make-empty-face, copy-face):
7925 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7928 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7930 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7931 (widget-complete): Remove broken use of it.
7933 2012-03-20 Chong Yidong <cyd@gnu.org>
7935 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7936 Use string-width and truncate-string-width to handle arbitrary
7939 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7941 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7942 to draw rectangles, not squares. (Regression introduced by revno
7943 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7945 2012-03-18 Chong Yidong <cyd@gnu.org>
7947 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7948 it is not yet defined (for temacs).
7950 2012-03-18 Leo Liu <sdl.web@gmail.com>
7952 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7954 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7956 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7957 (ispell-choices-win-default-height, ispell-silently-savep)
7958 (ispell-dictionary-alist, ispell-encoding8-command)
7959 (ispell-check-version, ispell-aspell-find-dictionary)
7960 (ispell-valid-dictionary-list, ispell-words-keyword)
7961 (ispell-get-word, ispell-internal-change-dictionary)
7962 (ispell-region, ispell-skip-region-list)
7963 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7964 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7965 (ispell-message-text-end, ispell-message)
7966 (ispell-buffer-local-parsing): Doc fix.
7968 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7970 * htmlfontify.el: Add support for code block fontification for ODT
7972 (hfy-optimisations): Define new option
7974 (hfy-fontify-buffer): Honor above setting.
7975 (hfy-begin-span, hfy-end-span): New routines factored out form
7976 `hfy-fontify-buffer'.
7977 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7978 that permit insertion of custom tags.
7979 (hfy-fontify-buffer): Use above handlers.
7980 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7981 (hfy-face-to-css): Re-defined to be a variable.
7982 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7983 over multiple runs. This is made possible by having the caller let
7984 bind a special variable `hfy-user-sheet-assoc'.
7985 (htmlfontify-string): New defun.
7986 (hfy-compile-face-map): Make sure that the last char in the
7987 buffer is correctly fontified.
7988 (hfy-face-resolve-face): Whitespace only change.
7990 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7992 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7995 2012-03-16 Leo Liu <sdl.web@gmail.com>
7997 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7999 2012-03-16 Alan Mackenzie <acm@muc.de>
8001 Further optimise the handling of large macros.
8003 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8004 limit to a call of `c-literal-limits'.
8005 (c-determine-+ve-limit): New function.
8006 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8007 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8008 In CASE 5B, restrict a search limit to 500.
8009 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8011 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8012 Restrict macro bounds to +-500 from after-change's BEG END.
8014 2012-03-16 Leo Liu <sdl.web@gmail.com>
8016 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8018 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8020 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8021 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8023 2012-03-16 Glenn Morris <rgm@gnu.org>
8025 * view.el (view-buffer, view-buffer-other-window)
8026 (view-buffer-other-frame): Doc fixes re special mode-class.
8028 * subr.el (eval-after-load): If named feature is provided not from
8029 a file, run after-load forms. (Bug#10946)
8031 * calendar/calendar.el (calendar-insert-at-column):
8032 Handle non-unit-width characters a bit better. (Bug#10978)
8034 2012-03-15 Chong Yidong <cyd@gnu.org>
8036 * emacs-lisp/ring.el (ring-extend): New function.
8037 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8039 * comint.el (comint-read-input-ring)
8040 (comint-add-to-input-history): Grow comint-input-ring lazily.
8042 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8045 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8047 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8048 (imenu-add-to-menubar): Don't add a redundant index.
8049 (imenu-update-menubar): Handle a dynamically composed keymap.
8051 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8053 * mail/sendmail.el (mail-encode-header):
8054 Bind rfc2047-encode-encoded-words to nil.
8056 2012-03-13 Glenn Morris <rgm@gnu.org>
8058 * calendar/calendar.el (calendar-string-spread):
8059 Handle non-unit-width characters a bit better. (Bug#10978)
8061 2012-03-13 Leo Liu <sdl.web@gmail.com>
8063 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8064 directory and file as argument (Bug#10822).
8066 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8068 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8069 For dynamically generated code, follow $PC.
8070 (gdb-disassembly-handler-custom): Handle no function name case.
8072 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8074 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8075 * emulation/ws-mode.el (ws-query-replace):
8076 * sort.el (sort-regexp-fields):
8077 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8079 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8081 * dabbrev.el: Fix cycle completion order (bug#10963).
8082 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8083 (dabbrev-completion): Don't use an obarray; provide
8084 a cycle-sort-function.
8086 2012-03-12 Leo Liu <sdl.web@gmail.com>
8088 * simple.el (kill-new): Use equal-including-properties for comparison.
8089 (kill-do-not-save-duplicates): Doc fix.
8091 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * dabbrev.el: Fix cycle completion (bug#10963).
8094 Use lexical binding and wrap to 80 columns.
8095 (dabbrev-completion): Delay computing the list of completions.
8097 2012-03-12 Kenichi Handa <handa@m17n.org>
8099 * international/quail.el (quail-insert-kbd-layout): Surround each
8100 row by LRO and PDF instead of inserting many LRMs. Pad the left
8101 and right of each non-spacing marks. Insert invisible space
8102 between lower and upper characters to prevent composition.
8104 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * minibuffer.el (minibuffer-complete): Don't get confused when the
8107 function is run twice via different commands (bug#10958).
8108 (complete-with-action): Fix docstring.
8110 2012-03-12 Chong Yidong <cyd@gnu.org>
8112 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8113 (nxml-completion-at-point-function): New function.
8114 (nxml-mode): Use it.
8115 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8117 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8118 Load generated autoloads file before byte compiling (Bug#10970).
8119 (package--make-autoloads-and-compile): New helper fun.
8121 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8123 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8125 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8127 * autorevert.el (auto-revert-handler): Ensure, that
8128 file-readable-p is applied only for local files or in
8129 auto-revert-tail-mode.
8131 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8133 * server.el (server-eval-at): Handle non-tcp connections.
8134 Decode result string.
8136 * server.el (server-msg-size): New constant.
8137 (server-reply-print): New function.
8138 (server-eval-and-print): Use it.
8139 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8142 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8144 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8147 2012-03-11 Chong Yidong <cyd@gnu.org>
8149 * simple.el (goto-line): Doc fix (Bug#9938).
8151 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8153 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8154 when finished (Bug#10963).
8156 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8158 * window.el (split-window-below): Fix bug in case where
8159 split-window-keep-point is nil (Bug#10971).
8161 2012-03-11 Juri Linkov <juri@jurta.org>
8163 * replace.el (replace-highlight): Set isearch-word to nil
8164 unconditionally. (Bug#10887)
8166 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8168 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8169 mairix-replace-illegal-chars; all callers changed. Don't remove
8170 ^, ~, and = characters: they are meaningful in mairix search specs.
8171 (mairix-widget-create-query): Add usage information about mairix
8172 search forms: negating words, searching for substrings, etc.
8174 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8176 * international/fontset.el (font-encoding-alist): Add an entry for
8179 2012-03-10 Richard Stallman <rms@gnu.org>
8181 * mail/sendmail.el (mail-encode-header):
8182 Set rfc2047-encode-encoded-words.
8184 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8186 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8187 view buffer means not swapped.
8188 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8189 (rmail-write-region-annotate): Error if real text has disappeared.
8191 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8193 2012-03-10 Chong Yidong <cyd@gnu.org>
8195 * emulation/cua-rect.el (cua--init-rectangles):
8196 * emulation/cua-base.el (cua--init-keymaps):
8197 Add delete-forward-char to remappings (Bug#9666).
8199 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8201 * speedbar.el (speedbar-unhighlight-one-tag-line):
8202 Avoid unhighlighting due to frame switching (Bug#10275).
8204 2012-03-10 Chong Yidong <cyd@gnu.org>
8206 * minibuffer.el (completion-in-region, completion-help-at-point):
8207 Give the completion field overlay a high priority (Bug#6830).
8209 * dired.el (dired-goto-file): Recognize absolute file name
8210 listings (Bug#7126).
8211 (dired-goto-file-1): New helper function.
8212 (dired-toggle-read-only): Inhibit warnings.
8214 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8216 * net/dbus.el (dbus-property-handler): Return empty array if
8217 there are no properties.
8219 2012-03-09 Leo Liu <sdl.web@gmail.com>
8221 * savehist.el (savehist-printable): Stricter check for string
8224 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8226 * mail/smtpmail.el (smtpmail-send-it):
8227 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8230 2012-03-09 Glenn Morris <rgm@gnu.org>
8232 * files.el (dir-locals-find-file):
8233 Don't check result is regular, readable.
8234 (dir-locals-read-from-file): Demote errors.
8236 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8238 * international/quail.el (quail-insert-kbd-layout):
8239 Insert invisible LRM characters before each character in a keyboard
8240 layout cell, to prevent their reordering by bidi display engine.
8241 For details, see the discussion in
8242 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8244 2012-03-08 Alan Mackenzie <acm@muc.de>
8246 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8247 the starting position; make it extend the marked region when
8248 invoked repeatedly - all under appropriate circumstances.
8249 Fixes bugs #5525, #10906.
8251 2012-03-08 Glenn Morris <rgm@gnu.org>
8253 * files.el (locate-dominating-file, dir-locals-find-file):
8254 Undo 2012-03-06 change.
8256 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8258 * international/quail.el (quail-help):
8259 Force bidi-paragraph-direction be left-to-right. See discussion in
8260 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8263 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8265 Avoid superfluous registering of signals. (Bug#10807)
8267 * notifications.el (notifications-on-action-object)
8268 (notifications-on-close-object): New defvars.
8269 (notifications-on-action-signal, notifications-on-closed-signal):
8270 Unregister the signal if not needed any longer.
8271 (notifications-notify): Register `notifications-action-signal' or
8272 `notifications-closed-signal', if :on-action or :on-close has been
8275 2012-03-07 Chong Yidong <cyd@gnu.org>
8277 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8280 2012-03-06 Glenn Morris <rgm@gnu.org>
8282 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8283 (x-disown-selection-internal, x-get-selection-internal):
8284 Doc fix (add arglist signatures). (Bug#10783)
8286 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8288 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8289 Handle breakpoints with no "type".
8291 2012-03-06 Glenn Morris <rgm@gnu.org>
8293 * files.el (locate-dominating-file): Add optional predicate argument.
8294 (dir-locals-find-file): Make use of above change.
8296 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8298 * info.el (Info-insert-dir): Also try "dir.gz".
8300 2012-03-06 Glenn Morris <rgm@gnu.org>
8302 * files.el (dir-locals-find-file):
8303 Ignore non-readable or non-regular files. (Bug#10928)
8305 * files.el (locate-dominating-file): Doc fix.
8307 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8309 * calendar/calendar.el (calendar-set-mode-line):
8310 `getenv' returns a string. (Bug#10951)
8312 2012-03-05 Leo Liu <sdl.web@gmail.com>
8314 * simple.el (backward-delete-char-untabify): Constrain point to
8317 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8319 2012-03-05 Chong Yidong <cyd@gnu.org>
8321 * simple.el (count-words): If called from Lisp, return the word
8322 count, for symmetry with `count-lines'. Arglist changed.
8323 (count-words--message): Args changed. Consolidate counting code
8324 from count-words and count-words-region.
8325 (count-words-region): Caller changed.
8326 (count-lines-region): Make it an obsolete alias.
8328 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8330 * saveplace.el (save-place-to-alist)
8331 (save-place-ignore-files-regexp): Allow value nil to disable this
8334 2012-03-04 Chong Yidong <cyd@gnu.org>
8336 * faces.el (face-spec-reset-face): For the default face, reset the
8337 attributes to default values (Bug#10748).
8339 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8341 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8342 previous patch: Check `message-send-mail-function', and not the
8343 default function (bug#10897).
8345 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8347 * notifications.el (notifications-on-action-signal)
8348 (notifications-on-closed-signal): Check for unique service name of
8349 incoming event. Fix error in removing entry.
8350 (top): Register for signals with wildcard service name.
8351 (notifications-notify): Use daemon unique service name for map entries.
8353 2012-03-04 Chong Yidong <cyd@gnu.org>
8355 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8357 2012-03-04 Glenn Morris <rgm@gnu.org>
8359 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8360 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8361 (expand-abbrev, define-abbrev-table): Doc fixes.
8363 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8366 `message-default-send-mail-function' and not `send-mail-function'
8367 when doing the prompting for `sendmail-query-once' before sending
8368 in Message buffers (bug#10897).
8370 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8371 This is inconsistent with all the other stream functions, which leave
8372 the setting up to the higher levels (if so wanted) (bug#10931).
8374 2012-03-02 Alan Mackenzie <acm@muc.de>
8376 Depessimize the handling of very large macros.
8378 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8379 (c-macro-cache-syntactic): New variables to implement a one
8380 element macro cache.
8381 (c-invalidate-macro-cache): New function.
8382 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8383 Adapt to use the new cache.
8384 (c-state-safe-place): Use better the cache of safe positions.
8385 (c-state-semi-nonlit-pos-cache)
8386 (c-state-semi-nonlit-pos-cache-limit):
8387 New variables for...
8388 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8389 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8390 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8391 Use c-state-semi-safe-place.
8393 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8394 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8396 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8398 * jka-compr.el (jka-compr-call-process):
8399 Apply `file-accessible-directory-p' only when the default directory is
8402 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8404 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8405 access of FILE2, if FILE1 does not exist.
8407 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8408 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8410 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8411 Add "PAGER=" to `process-environment'.
8413 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8415 * progmodes/sql.el: Bug fix
8416 (sql-get-login-ext): Save login values in globals.
8417 (sql-get-login): Use new version of `sql-get-login-ext'.
8418 (sql-interactive-mode): Set global `sql-connection' to nil.
8419 (sql-connect): Set global values for connection.
8420 (sql-product-interactive): Save global values as buffer local.
8422 2012-02-29 Leo Liu <sdl.web@gmail.com>
8424 * abbrev.el (define-abbrevs): Reset sys to nil.
8426 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8428 * files.el (file-equal-p): Rename from `files-equal-p'.
8429 Return nil when one or both files don't exist.
8430 (file-subdir-of-p): Now only top directory must exists,
8431 return nil if it doesn't.
8432 (copy-directory): No need to test with `file-subdir-of-p' after
8434 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8437 2012-02-28 Glenn Morris <rgm@gnu.org>
8439 * shell.el (shell-mode):
8440 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8441 * play/landmark.el (landmark-font-lock-face-O):
8442 * play/handwrite.el (handwrite):
8443 * play/gomoku.el (gomoku-O):
8444 * net/browse-url.el (browse-url-browser-display):
8445 * international/mule.el (define-charset):
8446 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8447 * filesets.el (filesets-find-file-delay):
8448 * eshell/em-xtra.el (eshell-xtra):
8449 * eshell/em-unix.el (eshell-grep):
8450 * emulation/viper.el (viper-mode):
8451 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8452 * emacs-lisp/easymenu.el (easy-menu-define):
8453 * calendar/timeclock.el (timeclock-use-display-time):
8455 * bookmark.el (bookmark-save-flag):
8456 Doc fix (standardize possessive apostrophe usage).
8458 2012-02-27 Chong Yidong <cyd@gnu.org>
8460 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8461 Fix key-binding lookup for ESC key (Bug#9146).
8463 * font-lock.el (font-lock-specified-p): Rename from
8464 font-lock-spec-present. Callers changed.
8466 2012-02-27 Daniel Hackney <dan@haxney.org>
8468 * emacs-lisp/package.el (package-compute-transaction):
8469 Handle holding a package version to t in package-load-list.
8471 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8473 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8474 (tramp-get-inode, tramp-get-device): Use cached values.
8476 2012-02-26 Alan Mackenzie <acm@muc.de>
8478 Check there is a font-lock specification before doing initial
8481 * font-core.el (font-lock-mode): Move the conditional from
8482 :after-hook to font-lock-initial-fontify.
8483 (font-lock-default-function): Move the check for a specification
8484 to font-lock-spec-present.
8486 * font-lock.el (font-lock-initial-fontify): Call ...
8487 (font-lock-spec-present): New function.
8489 2012-02-26 Jim Blandy <jimb@red-bean.com>
8491 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8492 (gdb-send): Apply it to the operand of the '-interpreter-exec
8493 console' command, so that we can pass arguments with (say) quotes
8494 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8496 2012-02-26 Chong Yidong <cyd@gnu.org>
8498 * help-fns.el (describe-function-1): Clarify description of
8499 remapping (Bug#10844).
8501 * files.el (files-equal-p): Doc fix.
8502 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8503 and quit the loop once a mismatch is found.
8505 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8507 * bs.el (bs--show-with-configuration): Don't throw an error
8508 if the window cannot be split; otherwise, subsequent calls to
8509 bs-show fail, restoring a stale window config. (Bug#10882)
8511 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8513 * term/ns-win.el (global-map): Bind ns-drag-file to
8514 ns-find-file (Bug#5855, Bug#10050).
8516 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8518 * calendar/parse-time.el (parse-time-string): Allow extractor to
8521 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8523 * net/tramp.el (tramp-file-name-for-operation):
8524 Add `files-equal-p' and `file-subdir-of-p'.
8526 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8527 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8528 Add COPY-CONTENTS argument.
8530 2012-02-25 Chong Yidong <cyd@gnu.org>
8532 Add custom groups for VC backends, for consistency with vc-bzr.
8534 * vc/vc-arch.el (vc-arch):
8535 * vc/vc-cvs.el (vc-cvs):
8536 * vc/vc-git.el (vc-git):
8537 * vc/vc-hg.el (vc-hg):
8538 * vc/vc-mtn.el (vc-mtn):
8539 * vc/vc-rcs.el (vc-rcs):
8540 * vc/vc-sccs.el (vc-sccs):
8541 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8542 All relevant defcustoms reassigned.
8544 2012-02-25 Chong Yidong <cyd@gnu.org>
8546 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8548 * term/x-win.el (x-initialize-window-system): Reduce default for
8549 x-selection-timeout to 5 seconds (Bug#8869).
8551 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8553 * files.el (files-equal-p, file-subdir-of-p): New functions.
8554 (copy-directory): Error when trying to copy a directory on itself.
8555 Add missing copy-contents arg to tramp handler.
8556 * dired-aux.el (dired-copy-file-recursive): Same.
8557 (dired-create-files): Modify destination when source is equal to
8558 dest when copying files.
8559 Return also when dest is a subdir of source. (Bug#10489)
8561 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8563 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8566 2012-02-23 Alan Mackenzie <acm@muc.de>
8568 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8569 parameter "after-hook:" to allow the expansion to run code after
8570 the execution of the mode hooks.
8572 * font-lock.el (font-lock-initial-fontify): New function extracted
8573 from font-lock-mode-internal.
8575 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8578 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8580 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8581 (completion--cache-all-sorted-completions): New function.
8582 (completion-all-sorted-completions): Use it.
8583 (completion--do-completion, minibuffer-force-complete):
8584 Use it to re-instate the flush hook.
8586 * icomplete.el (icomplete-completions): Replace last fix with a better
8589 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8591 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8592 when it might call us back infinitely (bug#10797).
8594 2012-02-23 Glenn Morris <rgm@gnu.org>
8596 * minibuffer.el (completion-category-overrides): Doc fix.
8598 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8600 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8601 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8603 2012-02-23 Glenn Morris <rgm@gnu.org>
8605 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8606 (authors-obsolete-files-regexps, authors-ignored-files)
8607 (authors-ambiguous-files, authors-renamed-files-alist):
8610 2012-02-23 Juri Linkov <juri@jurta.org>
8612 * isearch.el (isearch-occur): Sync interactive spec with occur's
8613 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8615 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8617 2012-02-22 Juri Linkov <juri@jurta.org>
8619 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8620 (ucs-insert): Doc fix. Check for hex digits in the string.
8621 Don't display `nil' in the error message. (Bug#10857)
8623 2012-02-22 Alan Mackenzie <acm@muc.de>
8625 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8627 2012-02-22 Glenn Morris <rgm@gnu.org>
8629 * ffap.el (ffap-c-path):
8630 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8632 2012-02-22 Chong Yidong <cyd@gnu.org>
8634 * custom.el (load-theme): Doc fix.
8636 2012-02-22 Glenn Morris <rgm@gnu.org>
8638 * dired-x.el (dired-guess-shell-alist-default):
8639 Remove escape sequences from nroff output. (Bug#172)
8641 2012-02-21 Glenn Morris <rgm@gnu.org>
8643 * vc/emerge.el (emerge-defvar-local):
8644 Set `permanent-local' property rather than unused `preserved'.
8646 * textmodes/picture.el (picture-delete-char): New alias.
8647 (picture-mode-map): Use it. (Bug#10860)
8648 (picture-mode): Doc fix.
8650 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8652 * newcomment.el (uncomment-region-default): Remove unused binding.
8654 2012-02-21 Glenn Morris <rgm@gnu.org>
8656 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8657 (picture-self-insert, picture-tab-chars): Doc fix.
8658 (picture-mode-map): Fix C-a, C-e.
8660 2012-02-20 Glenn Morris <rgm@gnu.org>
8662 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8664 2012-02-20 Leo Liu <sdl.web@gmail.com>
8666 * icomplete.el (icomplete-completions): Check FROM arg before
8667 passing to substring (Bug#10850).
8669 2012-02-19 Chong Yidong <cyd@gnu.org>
8671 * comint.el: Require ansi-color.
8672 (comint-output-filter-functions): Add ansi-color-process-output.
8674 * ansi-color.el: Don't set comint-output-filter-functions; it is
8675 now in the initial value defined in comint.el.
8676 (ansi-color-apply-face-function): New variable.
8677 (ansi-color-apply-on-region): Use it.
8678 (ansi-color-apply-overlay-face): New function.
8680 * shell.el (shell): No need to require ansi-color.
8681 (shell-mode): Use ansi-color-apply-face-function to highlight
8682 color escapes using font-lock-face property (Bug#10835).
8684 2012-02-19 Chong Yidong <cyd@gnu.org>
8686 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8687 mode-line formats (Bug#10839).
8689 2012-02-18 Glenn Morris <rgm@gnu.org>
8691 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8693 * mail/undigest.el (unforward-rmail-message): Doc fix.
8695 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8697 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8699 * international/characters.el (script-list): Sync with the latest
8700 Unicode Character Database.
8702 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8704 * international/titdic-cnv.el: Remove duplicate coding tag.
8705 * language/cham.el: Likewise.
8706 * language/tai-viet.el: Likewise.
8708 2012-02-18 Glenn Morris <rgm@gnu.org>
8710 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8711 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8712 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8713 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8714 * calendar/holidays.el (holiday-bahai-holidays)
8715 (calendar-holidays, list-holidays):
8716 Use utf-8 Bahá'à in doc-strings, menus, etc.
8718 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8720 * saveplace.el (save-place-ignore-files-regexp): New variable
8721 allowing for excluding files from saving their location of point.
8722 The default value matches the temporary commit message editing
8723 files from Git, SVN, Bazaar, and Mercurial.
8724 (save-place-to-alist): Use it.
8726 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8727 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * newcomment.el (uncomment-region-default): Don't leave extra space
8730 when an arg is provided (bug#8150).
8732 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8734 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8736 2012-02-17 Glenn Morris <rgm@gnu.org>
8738 * net/socks.el: Require network-stream. (Bug#10599)
8740 2012-02-17 Kenichi Handa <handa@m17n.org>
8742 * international/charprop.el:
8743 * international/uni-name.el:
8744 * international/uni-old-name.el:
8745 * international/uni-comment.el: Regenerate.
8747 2012-02-16 Glenn Morris <rgm@gnu.org>
8749 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8750 Interactively in calendar buffer, give an error if not on a date.
8752 2012-02-15 Glenn Morris <rgm@gnu.org>
8754 * shell.el (shell-delimiter-argument-list):
8755 Revert 2011-02-17 change. (Bug#8027)
8757 2012-02-15 Chong Yidong <cyd@gnu.org>
8759 * minibuffer.el (completion-at-point-functions): Doc fix.
8761 * custom.el (defcustom): Doc fix; note use of defvar.
8763 2012-02-15 Glenn Morris <rgm@gnu.org>
8765 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8768 2012-02-14 Glenn Morris <rgm@gnu.org>
8770 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8772 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8774 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8775 way the ports list is computed.
8776 (smtpmail-query-smtp-server): Prompt the user for a port number if
8777 we can't connect to any of the standard ports (bug#10810).
8779 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8781 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8783 2012-02-13 Glenn Morris <rgm@gnu.org>
8785 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8787 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8789 * net/gnutls.el (gnutls-trustfiles): New variable.
8790 (gnutls-negotiate): Use it.
8792 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8794 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8795 does its stuff if Gnus is running.
8797 2012-02-13 Alan Mackenzie <acm@muc.de>
8799 Fix a loop in c-set-fl-decl-start.
8801 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8802 c-backward-syntactic-ws actually moves backwards.
8804 2012-02-13 Leo Liu <sdl.web@gmail.com>
8806 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8807 beginning so that all \C-o chars are removed.
8809 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8811 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8813 2012-02-12 Alan Mackenzie <acm@muc.de>
8815 Fix infinite loop with long macros.
8816 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8818 2012-02-12 Chong Yidong <cyd@gnu.org>
8820 * window.el (display-buffer): Doc fix (Bug#10785).
8822 2012-02-12 Glenn Morris <rgm@gnu.org>
8824 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8825 (x-disown-selection-internal, x-get-selection-internal):
8826 Sync docs with the xselect.c versions.
8828 * allout-widgets.el: Add missing license notice.
8830 2012-02-11 Glenn Morris <rgm@gnu.org>
8832 * select.el (x-get-selection-internal, x-own-selection-internal)
8833 (x-disown-selection-internal):
8834 * x-dnd.el (x-get-selection-internal): Update declarations.
8836 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8838 * window.el (window-sides-slots):
8839 * tool-bar.el (tool-bar-position):
8840 * term/xterm.el (xterm-extra-capabilities):
8841 * ses.el (ses-self-reference-early-detection):
8842 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8843 (verilog-auto-wire-type)
8844 (verilog-auto-delete-trailing-whitespace)
8845 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8846 (verilog-auto-tieoff-declaration):
8847 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8848 (sql-oracle-statement-starters, sql-oracle-scan-on):
8849 * progmodes/prolog.el (prolog-align-comments-flag)
8850 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8851 (prolog-left-indent-regexp, prolog-paren-indent-p)
8852 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8853 (prolog-types, prolog-mode-specificators)
8854 (prolog-determinism-specificators, prolog-directives)
8855 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8856 (prolog-electric-dot-flag)
8857 (prolog-electric-dot-full-predicate-template)
8858 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8859 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8860 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8861 (prolog-program-switches, prolog-prompt-regexp)
8862 (prolog-debug-on-string, prolog-debug-off-string)
8863 (prolog-trace-on-string, prolog-trace-off-string)
8864 (prolog-zip-on-string, prolog-zip-off-string)
8865 (prolog-use-standard-consult-compile-method-flag)
8866 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8867 (prolog-imenu-max-lines, prolog-info-predicate-index)
8868 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8869 (prolog-char-quote-workaround):
8870 * progmodes/cc-vars.el (c-defun-tactic):
8871 * net/tramp.el (tramp-encoding-command-interactive)
8872 (tramp-local-end-of-line):
8873 * net/soap-client.el (soap-client):
8874 * net/netrc.el (netrc-file):
8875 * net/gnutls.el (gnutls):
8876 * minibuffer.el (completion-category-overrides)
8877 (completion-cycle-threshold)
8878 (completion-pcm-complete-word-inserts-delimiters):
8879 * man.el (Man-name-local-regexp):
8880 * mail/feedmail.el (feedmail-display-full-frame):
8881 * international/characters.el (glyphless-char-display-control):
8882 * eshell/em-ls.el (eshell-ls-date-format):
8883 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8884 (lisp-lambda-list-keyword-parameter-indentation)
8885 (lisp-lambda-list-keyword-parameter-alignment):
8886 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8887 * dired-x.el (dired-omit-verbose):
8888 * cus-theme.el (custom-theme-allow-multiple-selections):
8889 * calc/calc.el (calc-highlight-selections-with-faces)
8890 (calc-lu-field-reference, calc-lu-power-reference)
8891 (calc-note-threshold):
8892 * battery.el (battery-mode-line-limit):
8893 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8894 (archive-7z-update):
8895 * allout.el (allout-prefixed-keybindings)
8896 (allout-unprefixed-keybindings)
8897 (allout-inhibit-auto-fill-on-headline)
8898 (allout-flattened-numbering-abbreviation):
8899 * allout-widgets.el (allout-widgets-auto-activation)
8900 (allout-widgets-icons-dark-subdir)
8901 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8902 (allout-widgets-theme-dark-background)
8903 (allout-widgets-theme-light-background)
8904 (allout-widgets-item-image-properties-emacs)
8905 (allout-widgets-item-image-properties-xemacs)
8906 (allout-widgets-run-unit-tests-on-load)
8907 (allout-widgets-time-decoration-activity)
8908 (allout-widgets-hook-error-post-time)
8909 (allout-widgets-track-decoration):
8910 Add missing :version tags to new defcustoms and defgroups.
8912 * progmodes/sql.el (sql-ansi-statement-starters)
8913 (sql-oracle-statement-starters): Add custom type.
8915 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8916 (prolog-system-version): Give it a type.
8918 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8920 * term/pc-win.el (x-select-text, x-selection-owner-p)
8921 (x-own-selection-internal, x-disown-selection-internal)
8922 (x-get-selection-internal): Sync doc strings and argument lists
8923 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8925 2012-02-11 Leo Liu <sdl.web@gmail.com>
8927 * progmodes/python.el (python-end-of-statement): Fix infinite
8930 2012-02-10 Glenn Morris <rgm@gnu.org>
8932 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8933 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8935 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8937 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8938 about SMTP before checking the From header.
8940 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8941 into own function for reuse by emacsbug.el.
8943 2012-02-10 Leo Liu <sdl.web@gmail.com>
8945 * subr.el (condition-case-unless-debug): Rename from
8946 condition-case-no-debug. All callers changed.
8947 (with-demoted-errors): Fix caller.
8949 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8950 * nxml/rng-valid.el (rng-do-some-validation):
8951 * emacs-lisp/package.el (package-refresh-contents)
8952 (package-menu-execute):
8953 * desktop.el (desktop-create-buffer):
8954 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8956 2012-02-10 Glenn Morris <rgm@gnu.org>
8958 * textmodes/bibtex.el:
8959 Add missing :version tags for new/changed defcustoms.
8961 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8963 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8965 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8966 (smtpmail-via-smtp): Use it, or fall back on the From address.
8967 (smtpmail-send-it): Ditto.
8969 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8971 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8972 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8973 (byte-compile-tmp-var): New const.
8974 (byte-compile-defvar): Use it to minimize .elc size.
8975 Just use `defvar' rather than simulate it (bug#10761).
8977 2012-02-09 Glenn Morris <rgm@gnu.org>
8979 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8981 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8984 * progmodes/compile.el (compilation-error-screen-columns)
8985 (compilation-first-column, compilation-filter-start): Doc fixes.
8987 * vc/log-view.el (log-view-toggle-entry-display):
8988 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8990 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8991 (report-emacs-bug-can-use-xdg-email):
8992 (report-emacs-bug-insert-to-mailer): Doc fixes.
8993 (report-emacs-bug): Message fix.
8995 * net/browse-url.el (browse-url-can-use-xdg-open)
8996 (browse-url-xdg-open): Doc fixes.
8998 * electric.el (electric-indent-mode, electric-pair-mode)
8999 (electric-layout-rules, electric-layout-mode): Doc fixes.
9000 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9002 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9004 * server.el (server-unselect-display): Don't inadvertently kill
9005 the current buffer. (Bug#10729)
9007 2012-02-08 Glenn Morris <rgm@gnu.org>
9009 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9010 (sql-list-table): Doc fixes.
9012 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9013 Comment out (does nothing).
9015 * completion.el (dynamic-completion-mode):
9016 * dirtrack.el (dirtrack-debug-mode):
9017 * electric.el (electric-layout-mode):
9018 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9019 * face-remap.el (text-scale-mode, buffer-face-mode):
9020 * iimage.el (iimage-mode):
9021 * image-mode.el (image-transform-mode):
9022 * minibuffer.el (completion-in-region-mode):
9023 * scroll-lock.el (scroll-lock-mode):
9024 * simple.el (next-error-follow-minor-mode):
9025 * tar-mode.el (tar-subfile-mode):
9026 * tooltip.el (tooltip-mode):
9027 * vcursor.el (vcursor-use-vcursor-map):
9028 * wid-browse.el (widget-minor-mode):
9029 * emulation/tpu-edt.el (tpu-edt-mode):
9030 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9031 * international/iso-ascii.el (iso-ascii-mode):
9032 * language/thai-util.el (thai-word-mode):
9033 * mail/supercite.el (sc-minor-mode):
9034 * net/goto-addr.el (goto-address-mode):
9035 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9036 * progmodes/cwarn.el (cwarn-mode):
9037 * progmodes/flymake.el (flymake-mode):
9038 * progmodes/glasses.el (glasses-mode):
9039 * progmodes/hideshow.el (hs-minor-mode):
9040 * progmodes/pascal.el (pascal-outline-mode):
9041 * textmodes/enriched.el (enriched-mode):
9042 * vc/smerge-mode.el (smerge-mode):
9043 Doc fixes (minor mode argument).
9045 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9047 * ls-lisp.el (ls-lisp-sanitize): New function.
9048 (ls-lisp-insert-directory): Use it to fix or remove any elements
9049 in file-alist with missing attributes. (Bug#4673)
9051 2012-02-07 Alan Mackenzie <acm@muc.de>
9053 Fix spurious recognition of c-in-knr-argdecl.
9055 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9056 putative K&R region.
9058 2012-02-07 Alan Mackenzie <acm@muc.de>
9060 * progmodes/cc-engine.el (c-forward-objc-directive):
9061 Prevent looping in "#pragma mark @implementation".
9063 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9065 * notifications.el (notifications-on-closed-signal): Make `reason'
9066 optional. (Bug#10744)
9068 2012-02-07 Glenn Morris <rgm@gnu.org>
9070 * emacs-lisp/easy-mmode.el (define-minor-mode):
9071 Doc fixes for the macro and the mode it defines.
9073 * image.el (imagemagick-types-inhibit): Doc fix.
9075 * cus-start.el (imagemagick-render-type): Add it.
9077 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9079 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9080 Set the default at load time, too, so that `font-lock-fontify-buffer'
9081 can be called without setting up the entire mode first. This fixes
9082 a bug in `mm-inline-text' with C MIME parts.
9084 2012-02-06 Chong Yidong <cyd@gnu.org>
9086 * simple.el (list-processes--refresh): Delete exited processes
9089 * comint.el (comint-next-prompt): next-single-char-property-change
9090 and prev-single-char-property-change never return nil (Bug#8657).
9092 * custom.el (defcustom): Doc fix (Bug#9711).
9094 2012-02-05 Chong Yidong <cyd@gnu.org>
9096 * cus-edit.el (custom-variable-reset-backup): Quote the value
9097 before storing it in the customized-value property (Bug#6712).
9098 (custom-display): Add a customization type tag.
9099 (custom-buffer-create-internal): Improve tooltip message.
9101 * wid-edit.el (widget-field-value-get): New optional arg to
9102 suppress trailing whitespace truncation.
9103 (character): Use it (Bug#2689).
9105 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9107 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9108 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9110 2012-02-05 Chong Yidong <cyd@gnu.org>
9112 * cus-edit.el (custom-variable-value-create): For mismatched
9113 types, show the current value (Bug#7600).
9115 * custom.el (defcustom): Doc fix.
9117 2012-02-05 Glenn Morris <rgm@gnu.org>
9119 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9121 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9123 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9124 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9125 (pp-last-sexp): Use `looking-at-p'.
9127 2012-02-04 Glenn Morris <rgm@gnu.org>
9129 * files.el (revert-buffer):
9130 Doc fix (mention revert-buffer-in-progress-p).
9132 * emacs-lisp/ert-x.el (ert-simulate-command):
9133 Check deferred-action-list (which is obsolete) is bound.
9135 * subr.el (with-wrapper-hook): Doc fixes.
9137 * simple.el (filter-buffer-substring-functions)
9138 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9140 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9142 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9143 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9145 2012-02-04 Leo Liu <sdl.web@gmail.com>
9147 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9149 2012-02-04 Glenn Morris <rgm@gnu.org>
9151 * image.el (image-extension-data): Add obsolete alias.
9153 * isearch.el (isearch-update): Doc fix.
9155 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9157 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9159 2012-02-03 Glenn Morris <rgm@gnu.org>
9161 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9162 (image-animate-timeout): Doc fix.
9164 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9166 2012-02-02 Glenn Morris <rgm@gnu.org>
9168 * server.el (server-auth-dir): Doc fix.
9169 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9171 * subr.el (run-mode-hooks): Doc fix.
9173 2012-02-02 Juri Linkov <juri@jurta.org>
9175 * image-mode.el (image-toggle-display-image): Remove tautological
9176 `major-mode' from the `derived-mode-p' test.
9178 2012-02-02 Kenichi Handa <handa@m17n.org>
9180 * composite.el (compose-region): Cancel previous change.
9182 2012-02-02 Kenichi Handa <handa@m17n.org>
9184 * composite.el (compose-region, compose-string): Signal error for
9185 a null string component (Bug#6988).
9187 2012-02-01 Chong Yidong <cyd@gnu.org>
9189 * view.el (view-buffer-other-window, view-buffer-other-frame):
9190 Handle special modes like view-buffer (Bug#10650).
9191 (view-buffer): Simplify.
9193 * frame.el (set-frame-font): Tweak meaning of third argument.
9195 * dynamic-setting.el (font-setting-change-default-font):
9196 Use set-frame-font (Bug#9982).
9198 2012-02-01 Glenn Morris <rgm@gnu.org>
9200 * progmodes/compile.el (compilation-internal-error-properties):
9201 Respect compilation-first-column in the "*compilation*" buffer.
9203 * emacs-lisp/easy-mmode.el (define-minor-mode):
9204 Relax :variable's test for a named function.
9206 2012-01-31 Alan Mackenzie <acm@muc.de>
9208 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9211 2012-01-31 Chong Yidong <cyd@gnu.org>
9213 * frame.el (set-frame-font): New arg ALL-FRAMES.
9215 * menu-bar.el (menu-set-font): Use set-frame-font.
9217 * faces.el (face-spec-reset-face): Don't apply unspecified
9218 attribute values to the default face.
9220 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9222 * progmodes/cwarn.el (cwarn): Remove dead link.
9223 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9224 Remove * from defcustom docstrings.
9225 (turn-on-cwarn-mode): Make obsolete.
9226 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9227 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9229 2012-01-31 Glenn Morris <rgm@gnu.org>
9231 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9232 Fix :variable handling of mode a symbol not equal to modefun.
9233 Allow named functions to be used as the cdr of :variable.
9235 2012-01-30 Glenn Morris <rgm@gnu.org>
9237 * emacs-lisp/authors.el (authors-fixed-entries):
9238 Remove reference to deleted file rnewspost.el.
9240 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9242 * window.el (window-with-parameter): Remove unused variable `windows'.
9243 (window--side-check): Remove unused variable `code'.
9244 (window--resize-siblings): Remove unused variable `first'.
9245 (adjust-window-trailing-edge): Remove unused variable `failed'.
9246 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9247 Use `let', not `let*'.
9248 (balance-windows-2): Remove unused variable `found'.
9249 (window--state-put-2): Remove unused variable `splits'.
9250 (window-state-put): Remove unused variable `selected'.
9251 (same-window-p): Use `string-match-p'.
9252 (display-buffer-assq-regexp): Remove unused variable `value'.
9253 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9254 Mark argument ALIST as ignored.
9255 (pop-to-buffer): Remove unused variable `old-window'.
9257 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9259 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9260 and .lzma compressed files.
9262 2012-01-29 Chong Yidong <cyd@gnu.org>
9264 * frame.el (window-system-default-frame-alist): Doc fix.
9266 * dynamic-setting.el (font-setting-change-default-font): Don't
9267 change the default face if SET-FONT argument is non-nil (Bug#9982).
9269 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9271 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9273 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9275 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9276 breakpoints in files outside current directory (Bug#6098).
9278 2012-01-29 Chong Yidong <cyd@gnu.org>
9280 * progmodes/python.el: Require ansi-color at top-level.
9282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9283 Define and use in Emacs Lisp mode (Bug#9360).
9284 (lisp-mode-abbrev-table): Add doc.
9285 (lisp-mode-variables): Don't set local-abbrev-table.
9286 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9288 2012-01-28 Roland Winkler <winkler@gnu.org>
9290 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9292 2012-01-28 Roland Winkler <winkler@gnu.org>
9294 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9295 (bibtex-set-dialect): Use it. Either set global values of
9296 dialect-dependent variables or bind these variables buffer-locally
9298 (bibtex-mode): Call bibtex-set-dialect via
9299 hack-local-variables-hook.
9300 (bibtex-dialect): Update docstring.
9301 Add safe-local-variable predicate.
9302 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9304 (bibtex-mode-map): Define menu for each dialect.
9305 (bibtex-entry): Fix docstring.
9307 2012-01-28 Chong Yidong <cyd@gnu.org>
9309 * eshell/esh-arg.el (eshell-quote-argument): New function.
9311 * eshell/esh-ext.el (eshell-invoke-batch-file):
9312 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9313 first arg to eshell-parse-command (Bug#10523).
9315 2012-01-28 Drew Adams <drew.adams@oracle.com>
9317 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9318 `default-directory' is non-nil.
9320 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9322 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9323 line that displays system-configuration-options. (Bug#9924)
9325 2012-01-28 Drew Adams <drew.adams@oracle.com>
9327 * descr-text.el (describe-char): Show information about POS, in
9328 addition to information about the character at POS. Improve and
9329 update the doc string. Change "code point" to "code point in
9330 charset", to avoid confusion with the character's Unicode code
9331 point shown above that. (Bug#10129)
9333 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9335 * descr-text.el (describe-char): Show the raw character, not only
9336 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9337 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9340 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9342 * emacs-lisp/package.el (package-install):
9343 Run package-refresh-contents if there is no archive yet (Bug#9798).
9345 2012-01-28 Chong Yidong <cyd@gnu.org>
9347 * emacs-lisp/package.el (package-maybe-load-descriptor):
9348 New function, split from package-maybe-load-descriptor.
9349 (package-maybe-load-descriptor): Use it.
9350 (package-download-transaction): Fully load required packages
9351 inside the loop, so that `require' calls work (Bug#10593).
9352 (package-install): No need to call package-initialize now.
9354 2012-01-28 Chong Yidong <cyd@gnu.org>
9356 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9358 * tooltip.el (tooltip-mode): Doc fix.
9359 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9361 * frame.el (set-cursor-color): Doc fix (Bug#352).
9363 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9364 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9366 * cus-edit.el (custom-buffer-create-internal): Fix search button
9368 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9370 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9372 * dired.el (dired-mark-files-regexp):
9373 Include any subdirectory components. (Bug#10445)
9375 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9377 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9378 Handle [host]:port syntax. (Bug#10533)
9380 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9382 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9384 2012-01-26 Glenn Morris <rgm@gnu.org>
9386 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9387 * term.el (term-raw-escape-map): Use Control-X-prefix.
9388 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9390 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9392 * window.el (window-state-get, window--state-get-1): Don't deal
9393 with fixed-sizeness of windows. Simplify code.
9395 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9397 * window.el (window--state-get-1, window--state-put-2):
9398 Don't save and restore the mark.
9400 2012-01-25 Chong Yidong <cyd@gnu.org>
9402 * custom.el (custom-variable-p): Doc fix.
9404 2012-01-25 Glenn Morris <rgm@gnu.org>
9406 * dired.el (dired-goto-file): Handle some of the more common
9407 characters that `ls -b' escapes. (Bug#10596)
9409 * progmodes/compile.el (compilation-next-error-function):
9410 Respect compilation-first-column in the "*compilation*" buffer.
9411 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9413 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9415 2012-01-24 Glenn Morris <rgm@gnu.org>
9417 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9419 2012-01-24 Julien Danjou <julien@danjou.info>
9421 * color.el (color-rgb-to-hsl): Fix value computing.
9422 (color-hue-to-rgb): New function.
9423 (color-hsl-to-rgb): New function.
9424 (color-clamp, color-saturate-hsl, color-saturate-name)
9425 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9426 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9428 2012-01-24 Glenn Morris <rgm@gnu.org>
9430 * vc/vc-rcs.el (vc-rcs-create-tag):
9431 * vc/vc-sccs.el (vc-sccs-create-tag):
9432 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9434 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9436 * eshell/esh-util.el (eshell-read-hosts-file):
9437 Skip comment lines. (Bug#10549)
9439 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9441 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9443 * subr.el (display-delayed-warnings): Doc fix.
9444 (collapse-delayed-warnings): New function to collapse identical
9446 (delayed-warnings-hook): Add it.
9448 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9450 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9452 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9453 (tramp-default-user-alist): Don't add "pscp".
9454 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9455 property "login-as", if set. (Bug#10530)
9457 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9459 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9460 "plink1" and "psftp". (Bug#10530)
9462 2012-01-21 Kenichi Handa <handa@m17n.org>
9464 * international/mule-cmds.el (prefer-coding-system): Show a
9465 warning message if the default value of file-name-coding-system
9468 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9470 * windmove.el (windmove-reference-loc):
9471 Fix windmove-reference-loc miscalculation.
9473 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9475 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9478 2012-01-21 Glenn Morris <rgm@gnu.org>
9480 * international/mule.el (auto-coding-alist): Add .tbz.
9482 * files.el (local-enable-local-variables): Doc fix.
9483 (inhibit-local-variables-regexps): Rename from
9484 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9485 Doc fix. Add some extensions from auto-coding-alist.
9486 (inhibit-local-variables-suffixes):
9487 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9488 (inhibit-local-variables-p):
9489 New function, extracted from set-auto-mode-1.
9490 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9491 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9492 (hack-local-variables): Doc fix. Make the mode-only case
9493 respect enable-local-variables and friends.
9494 Respect inhibit-local-variables-regexps for file-locals, but
9495 not for directory-locals.
9496 (set-visited-file-name):
9497 Take account of inhibit-local-variables-regexps.
9498 Whether it applies may change as the file name is changed.
9499 * jka-cmpr-hook.el (jka-compr-install):
9500 * jka-compr.el (jka-compr-uninstall):
9501 Update for inhibit-first-line-modes-suffixes name change.
9503 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9505 * help-macro.el (make-help-screen): Temporarily restore original
9506 binding for minor-mode-map-alist (Bug#10454).
9508 2012-01-19 Julien Danjou <julien@danjou.info>
9510 * color.el (color-name-to-rgb): Use the white color to find the max
9511 color component value and return correctly computed values.
9512 (color-name-to-rgb): Add missing float conversion for max value.
9514 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9516 * window.el (window--state-get-1, window-state-get): Do not use
9517 special state value for window-persistent-parameters.
9518 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9519 (window--state-put-2): Reset all window parameters to nil before
9520 assigning values of persistent parameters.
9522 2012-01-18 Alan Mackenzie <acm@muc.de>
9524 Eliminate sluggishness and hangs in fontification of "semicolon
9527 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9528 Change value 10000 -> 3000.
9529 (c-state-safe-place): Reformulate so it doesn't stack up an
9530 infinite number of wrong entries in c-state-nonlit-pos-cache.
9531 (c-determine-limit-get-base, c-determine-limit): New functions to
9532 determine backward search limits disregarding literals.
9533 (c-find-decl-spots): Amend commenting.
9534 (c-cheap-inside-bracelist-p): New function which detects "={".
9536 * progmodes/cc-fonts.el
9537 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9539 (c-font-lock-declarations): Fix an occurrence of point being
9540 undefined. Check additionally for point being in a bracelist or
9541 near a macro invocation without a semicolon so as to avoid a
9542 fruitless time consuming search for a declarator. Give a more
9543 precise search limit for declarators using the new
9546 2012-01-18 Glenn Morris <rgm@gnu.org>
9548 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9549 (set-auto-mode): Doc fixes.
9551 2012-01-17 Glenn Morris <rgm@gnu.org>
9553 * isearch.el (search-nonincremental-instead): Fix doc typo.
9555 * dired.el (dired-insert-directory): Handle newlines in directory name.
9556 (dired-build-subdir-alist): Unescape newlines in directory name.
9558 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9560 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9561 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9562 (tramp-action-terminal): Use it. (Bug#10530)
9564 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9568 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9570 * window.el (window-state-ignored-parameters): Remove variable.
9571 (window--state-get-1): Rename argument MARKERS to IGNORE.
9572 Handle persistent window parameters. Make copy of clone-of
9573 parameter only if requested. (Bug#10348)
9574 (window--state-put-2): Install a window parameter only if it has
9575 a non-nil value or an existing parameter shall be overwritten.
9577 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9579 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9581 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9583 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9584 don't pass the (nil) value of `upnode' to string-match.
9586 2012-01-14 Chong Yidong <cyd@gnu.org>
9588 * startup.el (command-line): Fix X resource class for cursorColor.
9589 Fix values recognized by the cursorBlink resource.
9591 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9593 * epg.el (epg--make-temp-file): Avoid permission race condition
9594 when running on old Emacs versions (bug#10403).
9596 2012-01-14 Glenn Morris <rgm@gnu.org>
9598 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9600 2012-01-13 Alan Mackenzie <acm@muc.de>
9602 Fix filling for when filladapt mode is enabled.
9604 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9605 c-mask-paragraph, pass in `fill-paragraph' rather than
9606 `fill-region-as-paragraph'. (This is a reversion of a previous
9608 * progmodes/cc-mode.el (c-basic-common-init):
9609 Make fill-paragraph-handle-comment buffer local and set it to nil.
9611 2012-01-13 Glenn Morris <rgm@gnu.org>
9613 * dired.el (dired-switches-escape-p): New function.
9614 (dired-insert-directory): Use dired-switches-escape-p.
9615 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9617 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9619 2012-01-12 Glenn Morris <rgm@gnu.org>
9621 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9622 changes in adaptive-fill-regexp. (Bug#10276)
9624 2012-01-11 Alan Mackenzie <acm@muc.de>
9626 Fix Emacs bug #10463 - put `widen's around the critical spots.
9628 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9629 widen around each invocation of c-state-pp-to-literal. Remove an
9630 unused let variable.
9632 2012-01-11 Glenn Morris <rgm@gnu.org>
9634 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9637 2012-01-10 Chong Yidong <cyd@gnu.org>
9639 * net/network-stream.el (network-stream-open-starttls):
9640 Avoid emitting a confusing error message when the server gives a bad
9641 response to the capability command.
9643 2012-01-10 Glenn Morris <rgm@gnu.org>
9645 * mail/unrmail.el (unrmail): Tweak previous change.
9647 2012-01-09 Chong Yidong <cyd@gnu.org>
9649 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9651 2012-01-08 Alan Mackenzie <acm@muc.de>
9653 Optimise font locking in long enum definitions.
9655 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9656 arm to a cond form to handle enums.
9657 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9658 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9660 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9662 * files.el (move-file-to-trash): Preserve default file modes on error.
9665 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9667 * faces.el (set-face-attribute): Clarify the meaning of the nil
9670 * subr.el (with-selected-frame): Mention that the selected frame
9671 is restored (bug#9980).
9673 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9676 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9677 (password-read): Don't autoload unused function.
9679 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9681 * progmodes/which-func.el (which-func-mode): Turn into a
9682 non-interactive function and mark as obsolete (bug#10428).
9684 2012-01-06 Chong Yidong <cyd@gnu.org>
9686 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9687 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9688 functions, along with 1 and -1.
9690 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9692 * time.el (display-time-load-average)
9693 (display-time-default-load-average): Doc fixes. See the thread
9695 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9698 2012-01-06 Glenn Morris <rgm@gnu.org>
9700 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9701 has no messages. (Bug#10377)
9703 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9704 than Info-edit. (Bug#10385)
9706 * time.el (display-time-load-average, display-time-next-load-average):
9709 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9710 local setting of buffer-read-only to the input buffer. (Bug#10419)
9712 * calendar/calendar.el (calendar-mode):
9713 Locally set scroll-margin to 0. (Bug#10379)
9715 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9717 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9719 2012-01-05 Glenn Morris <rgm@gnu.org>
9721 * eshell/em-unix.el (diff-no-select): Autoload it.
9722 (eshell/diff): Use diff-no-select. (Bug#10420)
9724 2012-01-05 Chong Yidong <cyd@gnu.org>
9726 * shell.el (shell-dynamic-complete-functions): Revert last change.
9727 (shell-command-completion-function): New function.
9728 (shell-completion-vars): Use it to implement
9729 shell-completion-execonly (Bug#10417).
9731 * custom.el (enable-theme): Don't set custom-safe-themes.
9733 * cus-theme.el (custom-theme-merge-theme):
9734 Ignore custom-enabled-themes and custom-safe-themes.
9736 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9738 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9739 first prompt in `sql-interacive-mode'.
9740 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9742 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9743 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9744 context of original buffer. Invoke `sql-login-hook'.
9746 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9748 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9749 letters in cite-prefix.
9751 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9753 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9755 2012-01-03 Chong Yidong <cyd@gnu.org>
9757 * shell.el (shell-dynamic-complete-functions):
9758 Put pcomplete-completions-at-point, so as to try
9759 comint-filename-completion first (Bug#10417).
9761 2012-01-02 Richard Stallman <rms@gnu.org>
9763 * battery.el (battery-status-function):
9764 Detect when to use battery-yeeloong-sysfs.
9765 (battery-echo-area-format): Add string for Yeeloong.
9766 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9767 (battery-yeeloong-sysfs): New function.
9769 2012-01-02 Chong Yidong <cyd@gnu.org>
9771 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9772 (dirtrack): Merge code for handling relative filenames in prompt
9773 from shell-dir-cookie-watcher.
9774 (dirtrack-debug-message): New arg to avoid excess format calls.
9776 * shell.el (shell-dir-cookie-re): Variable deleted.
9777 (shell-dir-cookie-watcher): Function deleted.
9778 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9781 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9783 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9784 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9787 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9789 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9791 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9793 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9794 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9796 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9798 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9799 also for alternative shells.
9800 (tramp-open-connection-setup-interactive-shell): Check, whether
9801 the shell is a busybox.
9802 (tramp-send-command): Don't suppress multiple prompts for
9803 busyboxes, it hurts.
9805 2011-12-28 Chong Yidong <cyd@gnu.org>
9807 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9808 (gdb-get-source-file): Move mode line update to
9809 gdb-get-source-file (Bug#10087).
9811 2011-12-25 Chong Yidong <cyd@gnu.org>
9813 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9814 gud-gdb-marker-filter without taking it as an argument.
9815 (gud-gdb-run-command-fetch-lines): Caller changed.
9816 (gud-gdb-completion-function): New variable.
9817 (gud-gdb-completion-at-point): Use it.
9818 (gud-gdb-completions-1): Split from gud-gdb-completions.
9820 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9821 function as separate arguments.
9822 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9823 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9824 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9825 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9826 (gdb-stopped, def-gdb-auto-update-trigger)
9827 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9828 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9830 (gud-gdbmi-completions): New function.
9831 (gdb): Use it for generating the completion table.
9833 2011-12-24 Alan Mackenzie <acm@muc.de>
9835 Introduce a mechanism to widen the region used in context font
9836 locking. Use this to protect declarations from losing their contexts.
9838 * progmodes/cc-langs.el (c-before-font-lock-functions):
9839 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9840 (c-before-context-fontification-functions): New defvar, a list of
9841 functions to be run just before context (etc.) font locking.
9843 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9844 New, functionality extracted from
9845 c-neutralize-syntax-in-and-mark-CPP.
9846 (c-in-after-change-fontification): New variable.
9847 (c-after-change): Set c-in-after-change-fontification.
9848 (c-set-fl-decl-start): Rejig its interface, so it can be called
9849 from both after-change and context fontifying.
9850 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9852 (c-standard-font-lock-fontify-region-function): New variable.
9853 (c-font-lock-fontify-region): New function.
9855 2011-12-24 Juri Linkov <juri@jurta.org>
9857 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9860 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9862 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9863 existence of source file. (Bug#10325)
9865 2011-12-23 Alan Mackenzie <acm@muc.de>
9867 Fix unstable fontification inside templates.
9869 * progmodes/cc-langs.el (c-before-font-lock-functions):
9870 Newly created from the singular version. The (c c++ objc) entry now
9871 additionally has c-set-fl-decl-start. The other languages (apart
9872 from AWK) have that as a single entry.
9874 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9875 The functionality for "local" declarations has been extracted to
9876 c-set-fl-decl-start.
9878 * progmodes/cc-mode.el (c-common-init, c-after-change):
9879 Changes due to pluralisation of c-before-font-lock-functions.
9880 (c-set-fl-decl-start): New function, extracted from
9881 c-font-lock-enclosing-decls and enhanced.
9883 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9885 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9887 2011-12-22 Juri Linkov <juri@jurta.org>
9889 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9891 2011-12-22 Chong Yidong <cyd@gnu.org>
9893 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9895 2011-12-21 Drew Adams <drew.adams@oracle.com>
9897 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9899 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9901 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9903 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9905 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9906 highlighting and support. Fix up comments for capitalization.
9907 (cfengine-mode-debug): New var.
9908 (cfengine3-mode): Change the modeline indicator to "CFE3".
9909 (cfengine3-font-lock-keywords): Improve defun highlighting.
9910 (cfengine2-actions): Rename from `cfengine-actions'.
9911 (cfengine2-font-lock-keywords): Rename from
9912 `cfengine-font-lock-keywords'.
9913 (cfengine2-imenu-expression): Rename from
9914 `cfengine-imenu-expression'.
9915 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9916 (cfengine2-beginning-of-defun): Rename from
9917 `cfengine-beginning-of-defun'.
9918 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9919 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9920 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9921 modeline indicator to "CFE2".
9922 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9923 (cfengine-mode-abbrevs): Mark obsolete.
9925 2011-12-21 Chong Yidong <cyd@gnu.org>
9927 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9930 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9932 * window.el (window-normalize-buffer-to-display): Remove.
9933 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9935 2011-12-19 Chong Yidong <cyd@gnu.org>
9937 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9938 Don't signal an error in a predicate function; return non-nil.
9939 (vc-dir-mark-file): Move the error here.
9940 (vc-dir-mark-unmark): If acting on the region, keep going if one
9941 of the entries cannot be marked/unmarked.
9942 (vc-dir-mark-all-files): If current entry is a directory, mark
9943 only child files, as documented.
9945 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9947 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9948 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9951 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9953 * term/ns-win.el (ns-get-selection-internal)
9954 (ns-store-selection-internal): Declare.
9955 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9956 Declare as obsolete.
9957 (ns-get-pasteboard, ns-paste-secondary):
9958 Use ns-get-selection-internal.
9959 (ns-set-pasteboard, ns-copy-including-secondary):
9960 Use ns-store-selection-internal.
9962 2011-12-17 Chong Yidong <cyd@gnu.org>
9964 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9965 (vc-deduce-fileset): Doc fix.
9967 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9969 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9971 2011-12-13 Sam Steingold <sds@gnu.org>
9973 * man.el (Man-getpage-in-background): When running under a
9974 window-system, ignore $MANWIDTH and $COLUMNS.
9976 2011-12-15 Kenichi Handa <handa@m17n.org>
9978 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9979 (setup-ethiopic-environment-internal): Comment out key-binding for
9980 ethio-toggle-punctuation.
9982 2011-12-13 Alan Mackenzie <acm@muc.de>
9984 Add the switch statement to AWK Mode.
9986 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9987 "default" to the keywords regexp.
9989 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9990 expression as the rest.
9991 (c-nonlabel-token-key): Allow string literals for AWK.
9992 Refactor for the other modes.
9994 Large brace-block initialisation makes CC Mode slow: Fix.
9995 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9996 routines. Limit backward searching in c-font-lock-enclosing.decl.
9998 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9999 pp-state and literal type in addition to the limits.
10000 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10001 (c-state-literal-at): Use the above new defun.
10002 (c-slow-in-literal, c-fast-in-literal): Remove.
10003 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10005 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10006 being in a literal. Add a limit for backward searching.
10008 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10011 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10013 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10015 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10017 * window.el (delete-other-windows): Use correct frame in call to
10018 window-with-parameter.
10020 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10022 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10023 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10024 (makefile-gmake-statements, makefile-makepp-statements):
10025 Use it and add new makepp keywords.
10026 (makefile-makepp-font-lock-keywords): Add new patterns.
10027 (makefile-match-function-end): Match new [...] and [[...]].
10029 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10031 * ses.el (ses-call-printer-return, ses-cell-property-get)
10032 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10033 (ses-create-cell-variable, ses-reset-header-string)
10034 (ses-cell-set-formula, ses-repair-cell-reference-all)
10035 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10036 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10037 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10038 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10039 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10040 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10041 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10042 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10043 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10044 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10045 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10046 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10048 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10050 * ses.el: The overall change is to add cell renaming, that is
10051 setting fancy names for cell symbols other than name matching
10052 "\\`[A-Z]+[0-9]+\\'" regexp .
10053 (ses-create-cell-variable): New defun.
10054 (ses-relocate-formula): Relocate formulas only for cells the
10055 symbols of which are not renamed, i.e. symbols whose names do not
10056 match regexp "\\`[A-Z]+[0-9]+\\'".
10057 (ses-relocate-all): Relocate values only for cells the symbols of
10058 which are not renamed.
10059 (ses-load): Create cells variables as the (ses-cell ...) are read,
10060 in order to check row col consistency with cell symbol name only
10061 for cells that are not renamed.
10062 (ses-replace-name-in-formula): New defun.
10063 (ses-rename-cell): New defun.
10065 2011-12-11 Chong Yidong <cyd@gnu.org>
10067 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10068 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10070 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10072 * window.el (other-window): Fix docstring.
10074 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10076 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10077 `from' or `to' address before taking its substring.
10078 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10079 encoded name is chopped in the middle of the encoded string, and
10080 thus displayed encoded.
10082 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10084 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10086 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10088 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10089 to use texinfo-update-node and commands that call it if the
10090 Texinfo file uses @node lines without next/prev/up pointers.
10091 Correct outdated description about texinfo-master-menu.
10092 (texinfo-all-menus-update, texinfo-master-menu)
10093 (texinfo-update-node, texinfo-every-node-update)
10094 (texinfo-multiple-files-update): Doc fix. Warn against updating
10095 all the @node lines.
10096 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10097 argument is numeric. Explain better in the doc string what the
10098 function really does.
10099 (texinfo-insert-master-menu-list): Improve the error message
10100 displayed if there's no menu in the Top node.
10101 (Bug#2975) See also this thread:
10102 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10104 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10106 * speedbar.el (speedbar-supported-extension-expressions):
10107 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10109 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10111 * printing.el (pr-mode-alist):
10112 * simple.el (filter-buffer-substring-functions)
10113 (completion-list-insert-choice-function):
10114 * window.el (window-with-parameter, window-atom-root)
10115 (window-sides-slots, window-size-fixed, window-min-delta)
10116 (window-max-delta, window--resize-mini-window)
10117 (window--resize-child-windows-normal, window-tree)
10118 (delete-other-windows, quit-window, split-window)
10119 (display-buffer-record-window, special-display-buffer-names)
10120 (special-display-regexps, special-display-popup-frame)
10121 (same-window-p, split-window-sensibly)
10122 (display-buffer-overriding-action, display-buffer-alist)
10123 (display-buffer-base-action, display-buffer, switch-to-buffer)
10124 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10125 (fit-window-to-buffer, recenter-positions)
10126 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10127 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10128 and remove unneeded backslashes in docstrings.
10130 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10134 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10135 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10137 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10138 when reading the makefile (bug#10116).
10140 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10145 2011-12-06 Glenn Morris <rgm@gnu.org>
10147 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10149 2011-12-06 Chong Yidong <cyd@gnu.org>
10151 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10153 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10155 * textmodes/table.el (table-shorten-cell): Fix typo.
10157 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10159 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10161 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10163 * descr-text.el (describe-char): Fix display of strong
10164 right-to-left characters and directional embeddings and overrides.
10166 * simple.el (what-cursor-position): Fix display of codepoints of
10167 strong right-to-left characters.
10169 2011-12-05 Chong Yidong <cyd@gnu.org>
10171 * faces.el (read-color): Doc fix.
10173 2011-12-05 Glenn Morris <rgm@gnu.org>
10175 * align.el (align--set-marker): Add doc-string.
10176 Don't try to move something that is not a marker. (Bug#10216)
10178 2011-12-04 Glenn Morris <rgm@gnu.org>
10180 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10181 overly zealous deletion of trailing whitespace.
10183 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10185 * server.el (server-delete-client): On Windows, do not try to delete
10187 (server-process-filter): On Windows, treat requests for a tty frame as
10188 if they were for a GUI frame if the running server is in GUI mode.
10190 2011-12-03 Glenn Morris <rgm@gnu.org>
10192 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10194 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10196 * electric.el: Streamline electric-indent's hook.
10197 (electric-indent-chars): Revert to simple list.
10198 (electric-indent-functions): New var.
10199 (electric-indent-post-self-insert-function): Use it.
10201 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10202 there's no inferior buffer (bug#10196).
10203 (prolog-consult-compile): Don't use toggle-read-only.
10205 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10207 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10208 interrupt. (Bug#10187)
10210 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10212 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10215 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10218 2011-12-02 Juri Linkov <juri@jurta.org>
10220 * info.el (Info-search): Display "end of manual" when Isearch
10221 reaches the end of single-file Info manual. (Bug#9918)
10223 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10225 * isearch.el (isearch-message-prefix): Run the input method part
10226 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10228 2011-12-02 Juri Linkov <juri@jurta.org>
10230 * isearch.el (isearch-occur): Use `word-search-regexp' for
10232 (isearch-search-and-update): Add condition for `isearch-word' and
10233 call `word-search-regexp'. (Bug#10145)
10235 2011-12-01 Glenn Morris <rgm@gnu.org>
10237 * eshell/em-hist.el (eshell-hist-initialize):
10238 Handle eshell-history-size nil and HISTSIZE set or unset.
10239 (eshell-history-file-name, eshell-history-size): Fix custom type.
10241 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10245 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10247 * progmodes/verilog-mode.el (verilog-pretty-expr):
10248 Rework verilog-pretty-expr to handle new assignment operators in system
10249 verilog, such as += *= and the like.
10250 (verilog-assignment-operator-re): Regular expression to find the
10251 assigment operator in a verilog assignment.
10252 (verilog-assignment-operation-re): Regular expression to find an
10253 assignment statement for pretty-expr.
10254 (verilog-in-attribute-p): Query returns true if point is in an
10255 attribute context; used to skip these for expression line up from
10257 (verilog-in-parameter-p): Query returns true if point is in an
10258 parameter definition context; used to skip these for expression
10259 line up from pretty-expr.
10260 (verilog-in-parenthesis-p): Query returns true if point is in a
10261 parenthetical expression, specifically ( ) but not [ ] or { };
10262 used by pretty-expr.
10263 (verilog-just-one-space): If there is no space, don't add one.
10264 (verilog-get-lineup-indent-2): Specifically skip just attribute
10265 contexts for expression lineup, rather than skipping all
10266 parenthetical expressions.
10267 (verilog-calculate-indent): Fix comment, and fix indent.
10268 (verilog-do-indent): Indent declarations in lists (suggested by
10270 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10272 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10275 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10277 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10278 parameters with embedded comments. Reported by Ray Stevens.
10279 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10280 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10281 Reported by Tim Holt.
10282 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10283 instantiated by upper module causing wrong expansion until AUTOed a
10284 second time. Reported by K C Buckenmaier.
10285 (verilog-diff-auto): Fix showing .* as a difference when
10286 `verilog-auto-star-save' off. Reported by Dan Dever.
10287 (verilog-auto-reset, verilog-read-always-signals)
10288 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10289 temporary signals in reset list if
10290 verilog-auto-reset-blocking-in-non is nil, and match assignment
10291 style to each signal's assignment type, bug381.
10292 Reported by Thomas Esposito.
10293 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10294 (verilog-uvm-statement-re): Support UVM indentation and
10295 highlighting, with old OVM keywords only.
10296 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10297 Support AUTOTIEOFF creating non-wire data types.
10298 Suggested by Jonathan Greenlaw.
10299 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10300 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10301 (verilog-inject-sense, verilog-read-inst-pins)
10302 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10303 Fix mismatching parenthesis inside commented out code when deleting
10304 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10305 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10306 non-numeric vector width. Reported by Alex Reed.
10307 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10308 detecting signals with parameter widths. Reported by Alex Reed.
10309 (verilog-auto-delete-trailing-whitespace):
10310 With `verilog-auto-delete-trailing-whitespace' remove trailing
10311 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10312 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10313 Fix verilog-scan-cache corruption when running user AUTO expansion
10314 hooks that call indentation routines.
10315 (verilog-simplify-range-expression): Fix typo ignoring lower case
10317 (verilog-delete-auto): Fix delete-autos to also remove user created
10318 automatics, as long as they start with AUTO.
10319 (verilog-batch-diff-auto, verilog-diff-auto)
10320 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10321 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10322 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10323 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10324 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10325 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10326 is disabled and its cache will get corrupt, causing AUTOS not to
10327 expand. Instead use only -quick functions.
10328 (verilog-scan-region): Fix scanning over escaped quotes.
10329 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10330 (verilog-re-search-backward-quick)
10331 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10332 related functions now ignore strings, to fix misparsing of strings
10333 with magic comments embedded in them.
10334 (verilog-read-auto-template):
10335 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10336 Reported by Brad Dobbie.
10337 (verilog-read-auto-template):
10338 Fix 'verilog-auto-inst-template-numbers' with comments.
10339 Reported by Brad Dobbie.
10340 (verilog-auto-inst, verilog-auto-inst-param)
10341 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10342 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10343 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10344 debugging templates without merge conflicts, bug357.
10345 Reported by Brad Dobbie.
10346 (verilog-read-auto-template):
10347 Fix verilog-auto-inst-template-numbers with multiple templates.
10348 Reported by Brad Dobbie.
10349 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10350 abbrevs so user won't be asked to save.
10351 (verilog-read-auto-lisp-present): Fix to start at beginning of
10352 buffer in case called outside of verilog-auto.
10353 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10354 to "X-2". Reported by Matthew Myers.
10355 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10356 all inputs from module templates. Reported by Leith Johnson.
10357 (verilog-module-inside-filename-p): Fix locating programs as with
10359 (verilog-auto-inst-port): Fix vl-width expressions when using
10360 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10361 (verilog-decls-get-regs, verilog-decls-get-signals,
10362 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10363 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10364 verilog-read-decls): Combine reg and wire structures into one var
10365 structure to represent SystemVerilog concepts.
10366 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10367 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10368 (verilog-auto-wire-type, verilog-insert-definition):
10369 Add verilog-auto-wire-type and AUTOLOGIC to support using
10370 SystemVerilog "logic" keyword instead of "wire"/"reg".
10371 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10372 to declares outputs that also have assignments (presumably in an
10373 ifdef or generate if so there's not a driver conflict).
10374 Reported by Matthew Myers.
10375 (verilog-auto-declare-nettype, verilog-insert-definition):
10376 Add verilog-auto-declare-nettype to fix declarations using
10377 `default_nettype none. Reported by Julian Gorfajn.
10378 (verilog-read-always-signals-recurse, verilog-read-decls)
10379 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10380 malformed end statement, bug325. Reported by Joshua Wise and
10382 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10383 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10384 when expanding .* in interfaces, bug320.
10385 Reported by Pierre-David Pfister.
10386 (verilog-read-module-name): Fix import statements between module
10387 name and open parenthesis, bug317.
10388 Reported by Pierre-David Pfister.
10389 (verilog-simplify-range-expression): Fix simplification of
10390 multiplications inside AUTOWIRE connections, bug303.
10391 (verilog-auto-inst-port): Support parameter expansion in
10392 multidimensional arrays.
10393 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10394 after "assert property". Reported by Julian Gorfajn.
10395 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10396 with multiplication, bug303.
10397 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10398 Reported by Jan Frode Lonnum.
10400 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10402 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10403 (hfy-shell-file-name, hfy-shell):
10404 * international/fontset.el (x-decompose-font-name): Fix typos.
10406 2011-11-29 Ken Brown <kbrown@cornell.edu>
10408 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10409 (gdb-version): Remove defvar.
10410 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10411 (gdb-gud-context-command, gdb-non-stop-handler)
10412 (gdb-current-context-command, gdb-stopped): Use it.
10413 (gdb-init-1): Enable pretty printing here.
10414 (gdb-non-stop-handler): Don't enable pretty-printing here.
10415 Check to see if the target supports non-stop mode; if not, turn off
10416 non-stop mode. Use the following.
10417 (gdb-check-target-async): New defun.
10418 (gud-watch, gdb-stopped): Fix whitespace.
10419 (gdb-get-source-file): Don't try to display the source file if
10420 `gdb-main-file' is nil.
10422 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10424 * align.el: Try to generate fewer markers (bug#10047).
10425 (align--set-marker): New macro.
10426 (align-region): Use it.
10428 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10430 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10432 2011-11-29 Chong Yidong <cyd@gnu.org>
10434 * indent.el (indent-for-tab-command, indent-according-to-mode):
10436 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10438 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10440 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10441 aware of remote file names. (Bug#10124)
10443 2011-11-29 Chong Yidong <cyd@gnu.org>
10445 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10447 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * files.el (find-file): Don't use force-same-window (bug#10144).
10450 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10451 use pop-to-buffer if the selected window can't be used.
10452 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10454 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10456 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10459 2011-11-28 Chong Yidong <cyd@gnu.org>
10461 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10463 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10465 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10466 gdb-get-source-file-list on gdb-create-source-file-list.
10468 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10470 * whitespace.el (whitespace-newline): Use a different foreground
10471 color for 16-color light-background displays.
10473 2011-11-24 Chong Yidong <cyd@gnu.org>
10475 * window.el (display-buffer--special-action): Doc fix.
10477 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10479 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10480 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10481 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10482 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10483 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10484 (avl-tree-stack-first):
10485 * emacs-lisp/cconv.el (cconv--analyse-use):
10486 * net/gnutls.el (gnutls-negotiate): Fix typos.
10488 2011-11-24 Glenn Morris <rgm@gnu.org>
10490 * lpr.el (lpr-windows-system, lpr-lp-system):
10491 * mail/binhex.el (binhex-begin-line):
10492 * progmodes/grep.el (grep-history, grep-find-history):
10493 * textmodes/flyspell.el:
10494 * vc/pcvs-defs.el (cvs-global-menu):
10495 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10496 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10497 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10499 * net/tls.el: Fix case of "GnuTLS".
10501 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10503 * version.el (emacs-build-system): Give it a doc-string.
10505 2011-11-24 Juri Linkov <juri@jurta.org>
10507 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10509 2011-11-24 Glenn Morris <rgm@gnu.org>
10511 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10512 if called on a non-mime message just toggle the headers. (Bug#8006)
10514 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10516 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10517 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10518 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10519 (allout-rebullet-heading, allout-open-sibtopic)
10520 (allout-toggle-current-subtree-encryption)
10521 (allout-toggle-subtree-encryption, allout-encrypt-string)
10522 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10523 (allout-distinctive-bullets-string, allout-auto-activation):
10524 * window.el (window-normalize-buffer-to-display):
10525 * progmodes/verilog-mode.el (verilog-batch-indent):
10526 * textmodes/bibtex.el (bibtex-field-braces-opt)
10527 (bibtex-field-strings-opt):
10528 * vc/cvs-status.el (cvs-tree-merge):
10531 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10533 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10534 `non-essential' to t, in order to avoid remote connections.
10536 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10538 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10539 On MS-DOS and MS-Windows, compare with loaddefs.el
10540 case-insensitively.
10542 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10544 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10546 2011-11-23 Glenn Morris <rgm@gnu.org>
10548 * paths.el (rmail-file-name): Reformat the doc-string so that it
10551 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10552 (rmail-auto-file): Ignore case in the "special" field names,
10553 as mail-fetch-field does for all others.
10555 * mail/rmail.el (rmail-forward):
10556 * mail/rmailkwd.el (rmail-set-label):
10557 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10558 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10560 * mail/rmail.el (rmail-current-message): Doc fix.
10562 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10564 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10568 2011-11-22 Glenn Morris <rgm@gnu.org>
10570 * mail/rmailmm.el (test-rmail-mime-handler)
10571 (test-rmail-mime-bulk-handler)
10572 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10574 2011-11-21 Juri Linkov <juri@jurta.org>
10576 * calc/calc.el (calc-read-key-sequence):
10577 Let-bind `input-method-function' to nil. (Bug#10018)
10579 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10581 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10582 Tell the caller that the next line needs recomputation, even
10583 though it doesn't start a sexp (bug#10094).
10585 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10587 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10589 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10592 Use force-same-window.
10594 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10596 * descr-text.el (describe-char-unicode-data):
10597 * json.el (json-string-escape):
10598 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10599 (Footnote-unicode, Footnote-style-p):
10600 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10602 2011-11-20 Chong Yidong <cyd@gnu.org>
10604 * window.el (replace-buffer-in-windows): Restore interactive spec.
10606 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10610 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10611 (byte-compile-global-not-obsolete-vars): New var.
10612 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10614 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10616 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10618 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10619 * progmodes/pascal.el (electric-pascal-equal):
10620 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10621 * xml.el (xml-substitute-special): Fix typos.
10623 2011-11-20 Glenn Morris <rgm@gnu.org>
10625 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10626 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10628 (rmail-decode-mime-charset): Mark as obsolete.
10630 * mail/rmailsum.el (rmail-message-regexp-p-1):
10631 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10632 Before using mime functions, check they are set. (Bug#10077)
10634 2011-11-19 Juri Linkov <juri@jurta.org>
10636 * info.el (Info-finder-find-node): Use `package--builtins' instead
10637 of `package-alist'. Use node names formed by the pattern "Keyword "
10638 and the keyword name.
10640 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10642 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10644 2011-11-19 Juri Linkov <juri@jurta.org>
10646 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10647 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10648 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10649 `old-history', `old-history-forward'. Add let-binding
10650 `window-selected'. Remove calls to `kill-buffer',
10651 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10652 before calling `Info-find-node', so `Info-find-node-2' will reread
10653 the Info file. Restore window positions only when `window-selected'
10656 2011-11-19 Juri Linkov <juri@jurta.org>
10658 * isearch.el (isearch-lazy-highlight-new-loop):
10659 Remove condition `(not isearch-error)'. (Bug#9918)
10661 * misearch.el (multi-isearch-search-fun): Add condition
10662 `(not bound)' to ignore lazy-highlighting search.
10663 Add the search-failed message "end of multi" when the end of
10664 multi-sequence is reached. Uncapitalize the search-failed
10665 message "Repeat for next buffer".
10667 * info.el (Info-search): Add the search-failed message
10668 "end of the manual" when the end of the manual is reached
10671 2011-11-19 Juri Linkov <juri@jurta.org>
10673 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10674 Use non-destructive `remove' instead of `delete' because
10675 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10676 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10678 2011-11-19 Juri Linkov <juri@jurta.org>
10680 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10681 to nil instead of binding `search-ring' and `regexp-search-ring'.
10684 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10686 * simple.el (line-move): Force movement by logical lines for any
10687 hscrolled window, not only when auto-hscroll-mode is on.
10688 (line-move-visual): Update doc string to that effect. (Bug#10076)
10690 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10692 * language/european.el (macintosh): Define as alias for mac-roman.
10694 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10696 * mail/rmailmm.el (rmail-mime-display-header)
10697 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10698 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10699 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10700 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10701 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10703 (rmail-mime-entity-segment): To get past the tagline, move forward
10704 2 more lines, to account for the 2 empty lines that precede and
10705 follow the line with the buttons.
10706 (rmail-mime-update-tagline): Move one more line, to get past the
10707 empty line that follows the buttons in the tagline. (Bug#9520)
10709 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10711 * window.el (window-max-delta-1, window-min-delta-1)
10712 (window-min-size-1, window-state-get-1, window-state-put-1)
10713 (window-state-put-2): Use "window--" prefix.
10715 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10718 (smie-warning-count): New var.
10719 (smie-set-prec2tab): Use it.
10720 (smie-bnf->prec2): Improve warnings. Add docstring.
10721 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10722 (smie-bnf--set-class): New function.
10723 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10726 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10727 (compilation-error-properties, compilation-move-to-column):
10728 Handle compilation-first-column while in the target buffer.
10730 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10731 Don't hardcode point-min==1.
10733 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10734 (eshell-rewrite-for-command): Remove workaround.
10735 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10736 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10737 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10739 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10741 2011-11-17 Glenn Morris <rgm@gnu.org>
10743 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10744 Ignore buffer-local generated-autoload-file if it is the same
10745 as the global value. (Bug#10049)
10747 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10749 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10750 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10751 (reftex-toc-previous-heading, reftex-toc-max-level)
10752 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10753 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10754 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10755 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10756 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10757 (reftex-toc-rename-label, reftex-toc-visit-location)
10758 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10759 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10760 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10761 leaving "*toc*" only for references to the buffer.
10763 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10765 * window.el (window-resize, delete-window, split-window):
10766 Replace window-splits by window-combination-resize.
10767 * cus-start.el (window-splits): Replace by window-combination-resize.
10769 2011-11-17 Glenn Morris <rgm@gnu.org>
10771 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10772 Make bash entry derive from sh entry, not shell entry.
10774 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10776 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10779 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10781 * menu-bar.el (menu-bar-file-menu):
10782 * printing.el (pr-ps-utility):
10783 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10784 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10785 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10786 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10787 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10788 (icalendar--convert-cyclic-to-ical)
10789 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10790 (icalendar--convert-ical-to-diary)
10791 (icalendar--convert-recurring-to-diary)
10792 (icalendar--convert-non-recurring-all-day-to-diary)
10793 (icalendar-import-format-sample):
10794 * progmodes/idlw-shell.el (idlwave-shell-mode):
10795 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10796 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10797 (vhdl-ps-print-init): Fix typos.
10799 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10801 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10802 FSF and collapse date sequence, obscure author/maintainer email address
10803 better, remove extra version line, track relocation of author's webpage.
10805 * progmodes/python.el (python-pdbtrack-input-prompt)
10806 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10807 regular python pdb prompts. Adjustments shamelessly taken exactly as
10808 suggested in EmacsWiki page (tiny change):
10809 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10811 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10813 * expand.el (expand-pos, expand-index, expand-point):
10814 Remove redundant info from docstring.
10815 (expand-add-abbrevs): Doc fix.
10816 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10817 (expand-sample-perl-mode-expand-list): Fix typos.
10819 * net/dbus.el (dbus-event-member-name):
10820 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10821 * term/pc-win.el (msdos-create-frame-with-faces):
10822 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10824 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10826 * window.el (split-window, window-state-get-1)
10827 (window-state-put-1, window-state-put-2): Rename occurrences of
10828 window-nest to window-combination-limit.
10829 * cus-start.el (window-nest): Rename to window-combination-limit.
10831 2011-11-16 Chong Yidong <cyd@gnu.org>
10833 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10834 regexp (Bug#10033).
10836 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10839 `completing-read' will remove *Completions* and will preserve
10840 current-buffer for us.
10841 (tmm-add-prompt): Users of *Completions* will always (re)set its
10843 (tmm-old-comp-map): Remove.
10845 2011-11-16 Glenn Morris <rgm@gnu.org>
10847 * mail/rmailedit.el: Require rmailmm when compiling.
10848 (rmail-old-mime-state): New declaration.
10849 (rmail-edit-current-message): If editing a mime message,
10850 edit the "raw" message from the mbox buffer.
10851 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10853 2011-11-15 Glenn Morris <rgm@gnu.org>
10855 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10856 which wasn't being used. Add optional arg to force given state.
10857 (rmail-mime): Add optional arg to force given state.
10859 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10861 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10862 * frame.el (display-mm-dimensions-alist):
10863 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10864 (outline-move-subtree-down):
10865 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10866 (newsticker--treeview-do-get-node):
10867 * net/quickurl.el (quickurl-list-buffer-name):
10868 * progmodes/dcl-mode.el (dcl-mode):
10869 * progmodes/gdb-mi.el (gdb-mapcar*):
10870 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10872 2011-11-15 Glenn Morris <rgm@gnu.org>
10874 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10875 in a boolean sense, so just make it a boolean, and fix the doc.
10876 (rmail-show-mime-function, rmail-mime-feature)
10877 (rmail-require-mime-maybe): Doc fixes.
10878 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10880 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10882 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10884 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10885 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10886 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10887 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10889 2011-11-15 Glenn Morris <rgm@gnu.org>
10891 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10892 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10893 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10894 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10895 (rmail-mime, rmail-show-mime): Doc fixes.
10897 * term/ns-win.el (mode-line-frame-identification):
10898 Leave it alone. (Bug#10051)
10900 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10902 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10903 Handle empty buffers. (Bug#9978)
10905 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10907 * international/mule.el (define-charset):
10908 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10909 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10910 * progmodes/verilog-mode.el (verilog-backward-token):
10911 * textmodes/ispell.el (lookup-words):
10912 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10914 2011-11-14 Glenn Morris <rgm@gnu.org>
10916 * progmodes/executable.el
10917 (executable-make-buffer-file-executable-if-script-p):
10918 Handle file-modes returning nil.
10920 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10921 message - not necessary, and causes problems. (Bug#9831)
10923 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10925 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10927 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10928 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10929 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10931 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10933 * window.el (window-resize, delete-window): Use window-splits
10934 variable instead of function.
10935 (window-state-get-1, window-state-put-2, window-state-put):
10936 Don't deal with windows' splits status.
10938 2011-11-12 Glenn Morris <rgm@gnu.org>
10940 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10941 (apropos-documentation): Doc fixes.
10943 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10945 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10946 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10948 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10950 * electric.el (electric-indent-post-self-insert-function): Make it
10951 possible for a char to only indent in some circumstances.
10952 (electric-indent-mode): Simplify.
10954 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10956 * window.el (windows-with-parameter): Remove unused function.
10957 (windows-at-side): Rename to window-at-side-list.
10958 (window-check, window-atom-check, window-atom-check-1)
10959 (window-side-check, window-size-ignore, window-size-fixed-1)
10960 (window-in-direction-2): Prefix with "window--".
10961 (window-tree-1): Rename to window--subtree, fix doc-string.
10963 2011-11-11 Glenn Morris <rgm@gnu.org>
10965 * subr.el (eval-after-load): If FILE is already loaded,
10966 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10968 2011-11-10 Glenn Morris <rgm@gnu.org>
10970 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10971 Call svn via vc-svn-command rather than vc-do-command.
10972 (vc-svn-command): Add --non-interactive. (Bug#9993)
10973 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10975 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10976 Add toggle-read-only. (Bug#7292)
10977 * files.el (toggle-read-only): Mention that it should only
10978 be used interactively. (Bug#10006)
10980 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10983 Adjust regexp for OCaml warnings.
10985 * electric.el (electric-pair-post-self-insert-function): Let user
10986 turn it off buffer-locally (bug#9932).
10988 * progmodes/python.el (python-beginning-of-statement):
10989 Rewrite (bug#2703).
10991 * progmodes/compile.el: Better handle TABs (bug#9749).
10992 (compilation-internal-error-properties)
10993 (compilation-next-error-function): Obey the target buffer's
10994 compilation-error-screen-columns.
10996 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10998 * progmodes/meta-mode.el: Remove obsolete comments.
10999 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11000 Fix typos in docstrings.
11002 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11004 * window.el (window-size-fixed-p): Rewrite doc-string.
11005 (window-resizable-p): Rename to window--resizable-p. Update callers.
11006 (window--resizable): New function. Make all callers of
11007 window-resizable call window--resizable instead.
11008 (window-resizable): Rewrite in terms of window--resizable.
11010 2011-11-08 Glenn Morris <rgm@gnu.org>
11012 * progmodes/delphi.el (delphi-mode-syntax-table):
11013 Let define-derived-mode define a proper syntax table. (Bug#9994)
11015 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11017 * window.el: Stay away from defsubst.
11018 (window-list-no-nils): Remove.
11019 (window-state-get-1, window-state-get): Use backquote instead.
11021 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11023 * emacs-lisp/find-func.el (find-function-read):
11024 Fix incorrect use of default argument in `completing-read'.
11026 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11028 * window.el (display-buffer-function, special-display-function):
11029 Mention display-buffer-record-window but do not mention
11030 help-setup parameter in doc-strings.
11031 (window-min-delta): Fix doc-string typo.
11033 2011-11-08 Chong Yidong <cyd@gnu.org>
11035 * window.el (window-total-height, window-total-width): Doc fix.
11036 (window-body-size): Move from C.
11037 (window-body-height, window-body-width): Move to C.
11039 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11041 * window.el: Make special-display like display-buffer-alist (bug#9532).
11042 (display-buffer--special-action): New function, morphed
11043 from display-buffer--special.
11044 (display-buffer): Use it to handle special-display-buffers at higher
11045 priority (just after display-buffer-alist).
11046 (display-buffer-fallback-action, display-buffer--other-frame-action)
11047 (pop-to-buffer-same-window): Remove display-buffer--special.
11049 2011-11-07 Glenn Morris <rgm@gnu.org>
11051 * calendar/cal-menu.el (cal-menu-set-date-title):
11052 Do nothing if not in a calendar. (Bug#9976)
11054 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * files.el (find-file): Always use selected-window.
11058 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11060 * window.el (window-combinations): Make WINDOW argument
11061 mandatory. Rewrite doc-string.
11062 (walk-window-subtree, window-atom-check, window-min-delta)
11063 (window-max-delta, window--resize-this-window)
11064 (window--resize-root-window-vertically, window-tree)
11065 (balance-windows, window-state-put): Rewrite doc-strings as to
11066 not mention the term "subwindow".
11067 (window--resize-subwindows-skip-p): Rename to
11068 window--resize-child-windows-skip-p.
11069 (window--resize-subwindows-normal): Rename to
11070 window--resize-child-windows-normal.
11071 (window--resize-subwindows): Rename to
11072 window--resize-child-windows.
11073 (window-or-subwindow-p): Rename to window--in-subtree-p.
11075 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11077 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11078 Ensure that mbox format messages end in two newlines (Bug#9974).
11080 2011-11-06 Chong Yidong <cyd@gnu.org>
11082 * window.el (window-combination-p): Function deleted; its
11083 side-effect is not used in any existing code.
11084 (window-combinations, window-combined-p): Call window-*-child
11087 2011-11-05 Chong Yidong <cyd@gnu.org>
11089 * window.el (window-valid-p): Rename from window-any-p.
11090 (window-size-ignore, window-state-get): Callers changed.
11091 (window-normalize-window): Rename from window-normalize-any-window.
11092 New arg LIVE-ONLY, replacing window-normalize-live-window.
11093 (window-normalize-live-window): Delete.
11094 (window-combination-p, window-combined-p, window-combinations)
11095 (walk-window-subtree, window-atom-root, window-min-size)
11096 (window-sizable, window-sizable-p, window-size-fixed-p)
11097 (window-min-delta, window-max-delta, window-resizable)
11098 (window-resizable-p, window-full-height-p, window-full-width-p)
11099 (window-current-scroll-bars, window-point-1, set-window-point-1)
11100 (window-at-side-p, window-in-direction, window-resize)
11101 (adjust-window-trailing-edge, maximize-window, minimize-window)
11102 (window-deletable-p, delete-window, delete-other-windows)
11103 (record-window-buffer, unrecord-window-buffer)
11104 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11105 (quit-window, split-window, window-state-put)
11106 (set-window-text-height, fit-window-to-buffer)
11107 (shrink-window-if-larger-than-buffer): Callers changed.
11109 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11111 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11112 rfc2047-decode-string.
11113 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11116 * window.el (window-body-height, window-body-width): Mention in
11117 the doc string that the return values are in frame's canonical
11120 2011-11-03 Alan Mackenzie <acm@muc.de>
11122 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11123 change in cc-engine.el.
11125 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11127 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11129 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11131 * window.el (quit-window): Call unrecord-window-buffer after
11132 showing another buffer in the window. (Bug#9937)
11133 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11135 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11137 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11138 Accept status with more than 9 shelves. (Bug#9935)
11139 Reported by Colin D Bennett <colin@gibibit.com>.
11141 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11143 * help.el (with-help-window): Don't reference
11144 temp-buffer-show-specifiers in doc-string.
11146 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11148 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11151 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11153 * whitespace.el: New version 13.2.2.
11154 (whitespace-newline-mode): Disable properly. Reported by Sarah
11157 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11159 * net/newst-treeview.el: Remove "Time-stamp".
11160 (newsticker--group-manage-orphan-feeds): Do not call
11161 newsticker--treeview-tree-update.
11162 (newsticker-treeview-update, newsticker-treeview):
11163 Call newsticker--treeview-tree-update if necessary.
11165 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11167 * window.el (window-iso-combination-p, window-iso-combined-p)
11168 (window-iso-combinations): Remove "iso-" infix.
11169 Suggested by Chong Yidong.
11170 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11171 (window-max-delta-1, window-resize, window--resize-siblings)
11172 (window--resize-this-window, adjust-window-trailing-edge)
11173 (split-window, balance-windows-1)
11174 (shrink-window-if-larger-than-buffer):
11175 * calendar/calendar.el (calendar-generate-window):
11176 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11178 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11181 in place (bug#9907).
11182 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11183 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11184 (eshell-structure-basic-command, eshell-rewrite-while-command)
11185 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11186 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11187 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11188 (eshell-do-pipelines-synchronously, eshell-eval-command):
11189 Use backquotes and prefer setq to set.
11190 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11191 (eshell-macrop): Use functionp.
11192 (eshell-do-eval): Handle multiple expressions in `while' body.
11194 2011-10-30 Chong Yidong <cyd@gnu.org>
11196 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11197 instead of set-mark (Bug#9810).
11199 2011-10-30 Chong Yidong <cyd@gnu.org>
11201 * window.el (split-window-below, split-window-right): Rename from
11202 split-window-above-each-other and split-window-side-by-side
11203 respectively. All callers changed.
11204 (split-window-sensibly, split-window-sensibly): Use them.
11205 (split-window-keep-point): Doc fix.
11207 * isearch.el: Add isearch-scroll property to split-window-below
11208 and split-window-right.
11210 * follow.el (follow-mode):
11211 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11212 * progmodes/ada-xref.el (ada-gdb-application):
11213 * emulation/vip.el (vip-buffer-in-two-windows):
11214 * image-dired.el (image-dired-dired-with-window-configuration):
11215 * dired-x.el (dired-do-find-marked-files):
11216 * dired.el (dired-pop-to-buffer):
11217 * bs.el (bs--show-with-configuration):
11218 * vc/emerge.el (emerge-setup-windows):
11219 * textmodes/two-column.el (2C-two-columns):
11220 * textmodes/reftex-toc.el (reftex-toc):
11221 * progmodes/gdb-mi.el (gdb-setup-windows):
11222 * progmodes/fortran.el (fortran-window-create):
11223 * net/newst-treeview.el (newsticker--treeview-window-init):
11224 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11225 * emulation/tpu-edt.el (tpu-gold-map):
11226 * emulation/crisp.el (crisp-mode-map):
11227 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11229 2011-10-29 Chong Yidong <cyd@gnu.org>
11231 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11233 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11235 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11236 forged Ispell output (Bug#7904).
11238 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11240 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11242 * doc-view.el: Avoid ugly errors about not finding nil.
11243 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11244 (doc-view-dvipdf-program, doc-view-unoconv-program)
11245 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11246 Avoid nil or absolute file name as default value.
11247 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11249 2011-10-28 Alan Mackenzie <acm@muc.de>
11251 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11253 2011-10-28 Alan Mackenzie <acm@muc.de>
11255 Amend the handling of c-beginning/end-of-defun in nested declaration
11258 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11259 cc-langs.el. Change it to a defcustom.
11261 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11264 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11265 Prevent "class foo : bar" being spuriously recognized as a label.
11267 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11268 Add parameter `inclusive' (to include enclosing braces in the region).
11269 (c-widen-to-enclosing-decl-scope): New function.
11270 (c-while-widening-to-decl-block): New macro.
11271 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11272 outward for defun boundaries, and correspondingly change symbol
11273 `respect-enclosure' to `go-outward'.
11274 (c-declaration-limits): Change algorithm to report only the "innermost"
11275 defun's boundaries.
11277 2011-10-28 Deniz Dogan <deniz@dogan.se>
11279 * net/rcirc.el (rcirc-mode): Use hard newlines.
11281 2011-10-28 Alan Mackenzie <acm@muc.de>
11283 Amend to indent and fontify macros "which include their own semicolon"
11284 correctly, using the "virtual semicolon" mechanism.
11286 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11288 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11289 Recode to scan one line at a time rather than having \n and \r
11290 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11291 (c-forward-label): Amend for virtual semicolons.
11292 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11294 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11295 of the new C macros.
11297 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11298 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11299 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11300 (c-opt-cpp-macro-define): Make into a full language variable.
11301 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11302 AWK Mode (including \n, \r) removed, no longer needed.
11304 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11305 Invoke c-make-macro-with-semi-re.
11307 * progmodes/cc-vars.el (c-macro-with-semi-re):
11308 (c-macro-names-with-semicolon): New variables.
11309 (c-make-macro-with-semi-re): New function.
11311 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * vc/log-edit.el: Fill empty field rather than adding new one.
11314 (log-edit-add-field): New function.
11315 (log-edit-insert-changelog): Use it.
11317 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11319 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11321 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11324 (gdb--check-interpreter): New function.
11327 2011-10-27 Glenn Morris <rgm@gnu.org>
11329 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11330 (least-positive-float, least-negative-float)
11331 (least-positive-normalized-float, least-negative-normalized-float)
11332 (float-epsilon, float-negative-epsilon):
11333 Remove unnecessary declarations.
11335 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11336 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11337 (least-positive-float, least-negative-float)
11338 (least-positive-normalized-float, least-negative-normalized-float)
11339 (float-epsilon, float-negative-epsilon): Add doc-strings,
11340 based on those in cl.texi.
11342 * files.el (set-visited-file-name): If the major-mode changed,
11343 reload the local variables. (Bug#9796)
11345 2011-10-27 Chong Yidong <cyd@gnu.org>
11347 * subr.el (change-major-mode-after-body-hook): New hook.
11348 (run-mode-hooks): Run it.
11350 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11351 Use change-major-mode-before-body-hook.
11353 * simple.el (fundamental-mode):
11354 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11355 change introducing fundamental-mode-hook.
11357 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11359 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11361 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11363 * ido.el (ido-file-name-all-completions-1): Do not require
11364 tramp.el explicitly. (Bug#7583)
11366 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * progmodes/octave-mod.el:
11369 * progmodes/octave-inf.el: Update maintainer.
11371 2011-10-26 Chong Yidong <cyd@gnu.org>
11373 * subr.el (with-wrapper-hook): Rewrite doc.
11375 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11377 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11378 filenames "/method:foo:". (Bug#9793)
11380 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11382 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11385 2011-10-24 Glenn Morris <rgm@gnu.org>
11387 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11389 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11391 * notifications.el: Add the requirement of a running D-Bus session
11392 bus to the Commentary.
11394 2011-10-24 Juri Linkov <juri@jurta.org>
11396 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11397 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11400 2011-10-24 Juri Linkov <juri@jurta.org>
11402 * info.el (Info-following-node-name-re): Add newline to the list
11403 of allowed characters for leading space. (Bug#9824)
11405 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * progmodes/octave-inf.el (inferior-octave-mode-map):
11408 Fix C-c C-h binding.
11409 * progmodes/octave-mod.el (octave-help): Remove.
11411 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11413 Sync with Tramp 2.2.3.
11415 * net/tramp-cache.el (top): Pacify byte-compiler using
11416 `init-file-user' and `site-run-file'.
11418 * net/trampver.el: Update release number.
11420 2011-10-23 Chong Yidong <cyd@gnu.org>
11422 * files.el (toggle-read-only): Remove obsolete comment about
11425 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11426 for toggle-read-only. Note that this hasn't called vc-next-action
11427 since 2008-05-02, though it wasn't documented at the time.
11429 * vc/ediff-init.el (ediff-toggle-read-only-function):
11430 Use toggle-read-only.
11432 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11434 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11437 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11438 correct faulty logical expression.
11439 (c-parse-state-state, c-record-parse-state-state):
11440 (c-replay-parse-state-state): New defvar/defuns.
11441 (c-debug-parse-state): Use new functions.
11443 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11445 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11446 last fix. Use window-in-direction correctly.
11448 2011-10-21 Chong Yidong <cyd@gnu.org>
11450 * progmodes/idlwave.el (idlwave-mode):
11451 * progmodes/vera-mode.el (vera-mode): No need to set
11452 require-final-newline; that's done in prog-mode.
11453 Suggested by Stefan Monnier.
11455 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11457 * mouse.el (mouse-drag-window-above)
11458 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11459 (mouse-drag-mode-line-1, mouse-drag-header-line)
11460 (mouse-drag-vertical-line-rightward-window): Remove.
11461 (mouse-drag-line): New function.
11462 (mouse-drag-mode-line, mouse-drag-header-line)
11463 (mouse-drag-vertical-line): Call mouse-drag-line.
11464 * window.el (window-at-side-p, windows-at-side): New functions.
11466 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11468 * tar-mode.el (tar-grind-file-mode):
11469 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11471 2011-10-21 Chong Yidong <cyd@gnu.org>
11473 * progmodes/idlwave.el (idlwave-mode):
11474 * progmodes/vera-mode.el (vera-mode):
11475 Use mode-require-final-newline.
11477 2011-10-20 Glenn Morris <rgm@gnu.org>
11479 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11481 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11483 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11485 2011-10-20 Chong Yidong <cyd@gnu.org>
11487 * emulation/cua-base.el (cua-mode):
11488 * mail/footnote.el (footnote-mode):
11489 * mail/mailabbrev.el (mail-abbrevs-mode):
11490 * net/xesam.el (xesam-minor-mode):
11491 * progmodes/bug-reference.el (bug-reference-mode):
11492 * progmodes/cap-words.el (capitalized-words-mode):
11493 * progmodes/compile.el (compilation-minor-mode)
11494 (compilation-shell-minor-mode):
11495 * progmodes/gud.el (gud-tooltip-mode):
11496 * progmodes/hideif.el (hide-ifdef-mode):
11497 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11498 * progmodes/subword.el (subword-mode):
11499 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11500 * progmodes/which-func.el (which-function-mode):
11501 * term/tvi970.el (tvi970-set-keypad-mode):
11502 * term/vt100.el (vt100-wide-mode):
11503 * textmodes/flyspell.el (flyspell-mode):
11504 * textmodes/ispell.el (ispell-minor-mode):
11505 * textmodes/nroff-mode.el (nroff-electric-mode):
11506 * textmodes/paragraphs.el (use-hard-newlines):
11507 * textmodes/refill.el (refill-mode):
11508 * textmodes/reftex.el (reftex-mode):
11509 * textmodes/rst.el (rst-minor-mode):
11510 * textmodes/sgml-mode.el (html-autoview-mode)
11511 (sgml-electric-tag-pair-mode):
11512 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11513 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11514 * emulation/crisp.el (crisp-mode):
11515 * emacs-lisp/eldoc.el (eldoc-mode):
11516 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11517 minor mode behavior.
11519 2011-10-19 Juri Linkov <juri@jurta.org>
11521 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11522 the list of hard-coded chars with escape-glyph face.
11524 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11526 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11528 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11530 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11533 2011-10-19 Glenn Morris <rgm@gnu.org>
11535 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11536 Ignore ignored files. (Bug#9726)
11538 2011-10-19 Chong Yidong <cyd@gnu.org>
11540 Doc fix for minor modes, stating that an omitted argument enables
11541 the mode unconditionally when called from Lisp.
11543 * abbrev.el (abbrev-mode):
11544 * allout.el (allout-mode):
11545 * autoinsert.el (auto-insert-mode):
11546 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11547 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11548 (global-auto-revert-mode):
11549 * battery.el (display-battery-mode):
11550 * composite.el (global-auto-composition-mode)
11551 (auto-composition-mode):
11552 * delsel.el (delete-selection-mode):
11553 * desktop.el (desktop-save-mode):
11554 * dired-x.el (dired-omit-mode):
11555 * dirtrack.el (dirtrack-mode):
11556 * doc-view.el (doc-view-minor-mode):
11557 * double.el (double-mode):
11558 * electric.el (electric-indent-mode, electric-pair-mode):
11559 * emacs-lock.el (emacs-lock-mode):
11560 * epa-hook.el (auto-encryption-mode):
11561 * follow.el (follow-mode):
11562 * font-core.el (font-lock-mode):
11563 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11564 * help.el (temp-buffer-resize-mode):
11565 * hilit-chg.el (highlight-changes-mode)
11566 (highlight-changes-visible-mode):
11567 * hi-lock.el (hi-lock-mode):
11568 * hl-line.el (hl-line-mode, global-hl-line-mode):
11569 * icomplete.el (icomplete-mode):
11570 * ido.el (ido-everywhere):
11571 * image-file.el (auto-image-file-mode):
11572 * image-mode.el (image-minor-mode):
11573 * iswitchb.el (iswitchb-mode):
11574 * jka-cmpr-hook.el (auto-compression-mode):
11575 * linum.el (linum-mode):
11576 * longlines.el (longlines-mode):
11577 * master.el (master-mode):
11578 * mb-depth.el (minibuffer-depth-indicate-mode):
11579 * menu-bar.el (menu-bar-mode):
11580 * minibuf-eldef.el (minibuffer-electric-default-mode):
11581 * mouse-sel.el (mouse-sel-mode):
11582 * msb.el (msb-mode):
11583 * mwheel.el (mouse-wheel-mode):
11584 * outline.el (outline-minor-mode):
11585 * paren.el (show-paren-mode):
11586 * recentf.el (recentf-mode):
11587 * reveal.el (reveal-mode, global-reveal-mode):
11588 * rfn-eshadow.el (file-name-shadow-mode):
11589 * ruler-mode.el (ruler-mode):
11590 * savehist.el (savehist-mode):
11591 * scroll-all.el (scroll-all-mode):
11592 * scroll-bar.el (scroll-bar-mode):
11593 * server.el (server-mode):
11594 * shell.el (shell-dirtrack-mode):
11595 * simple.el (auto-fill-mode, transient-mark-mode)
11596 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11597 (line-number-mode, column-number-mode, size-indication-mode)
11598 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11599 * strokes.el (strokes-mode):
11600 * time.el (display-time-mode):
11601 * t-mouse.el (gpm-mouse-mode):
11602 * tool-bar.el (tool-bar-mode):
11603 * tooltip.el (tooltip-mode):
11604 * type-break.el (type-break-mode-line-message-mode)
11605 (type-break-query-mode):
11606 * view.el (view-mode):
11607 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11608 (global-whitespace-mode, global-whitespace-newline-mode):
11609 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11612 Fix autogenerated docstring.
11614 2011-10-19 Juri Linkov <juri@jurta.org>
11616 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11617 by checking environment variables "DESKTOP_SESSION" and
11618 "XDG_CURRENT_DESKTOP". (Bug#9779)
11620 2011-10-19 Juri Linkov <juri@jurta.org>
11622 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11623 (browse-url-chromium-program, browse-url-chromium-arguments):
11625 (browse-url-default-browser): Check for `browse-url-chromium' and
11626 call `browse-url-chromium-program'.
11627 (browse-url-chromium): New command. (Bug#9779)
11629 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11631 * facemenu.el (list-colors-duplicates): On Windows, detect more
11632 duplicates by assuming that only colors matching "^System" are
11633 special "system colors". (Bug#9722)
11635 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11637 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11638 to distinguish the author from the committer.
11640 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11642 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11644 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11646 * international/mule.el (sgml-html-meta-auto-coding-function):
11647 Add support for detecting encoding in HTML5 specified only as
11648 <meta charset="UTF-8">. Implementation just makes http-equiv and
11649 content-type parts from HTML4 encoding string optional. (Bug#9716)
11651 2011-10-18 Glenn Morris <rgm@gnu.org>
11653 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11655 2011-10-18 Chong Yidong <cyd@gnu.org>
11657 * faces.el (cursor): Doc fix.
11659 2011-10-17 Chong Yidong <cyd@gnu.org>
11661 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11663 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11665 * dirtrack.el (dirtrack): Support shell buffers with path
11666 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11668 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11670 * json.el: Bump version to 1.3 and note change in History.
11671 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11673 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11675 * comint.el (comint-insert-input, comint-send-input)
11676 (comint-get-old-input-default, comint-backward-matching-input)
11677 (comint-next-prompt): Use nil instead of `input' for field property of
11678 past user input (bug#114).
11680 * minibuffer.el (completion--replace): Inherit surrounding properties
11682 (minibuffer-complete-and-exit): Use it.
11684 * comint.el (comint--table-subvert): Quote the all-completions output
11687 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11689 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11691 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11692 window on right of selected. (Bug#9350) Reword other window
11693 entries and separate them from frame entries.
11695 2011-10-15 Glenn Morris <rgm@gnu.org>
11697 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11700 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11702 * net/network-stream.el (network-stream-open-starttls):
11703 Improve detection of failure due to lack of TLS support.
11705 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11706 putting the input text in front and in bold.
11708 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11710 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11712 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11715 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11716 unread-command-events rather than pushing yet-another event.
11718 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11720 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11721 the explanation of the possible choices. Make the options passed
11722 to completing-read shorter.
11724 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
11726 * textmodes/flyspell.el (flyspell-large-region): Make sure
11727 extended character mode is used if defined (Bug#1339).
11729 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11731 * simple.el (what-cursor-position): Fix the display of the
11732 character info for LRE, LRO, RLE, and RLO characters by appending
11735 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11738 even in case of error; add debug spec; simplify data flow.
11739 (with-timeout-handler): Remove.
11741 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11743 Fix Bug#6019, Bug#9315.
11745 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11746 complete `buffer-file-name', the local file name part could look
11747 remotely (for example on VMS).
11749 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11750 `tramp-run-real-handler'.
11751 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11752 already quoted by '"'.
11754 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11755 Let `file-name-handler-alist' be nil, the local file name part
11756 could look remotely (for example on VMS).
11758 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11760 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11762 (flyspell-post-command-hook): ...to here.
11764 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11768 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11769 using completion. Protect against "slow" callers.
11770 Remove the "message hack".
11772 2011-10-11 Juri Linkov <juri@jurta.org>
11774 * isearch.el (isearch-lazy-highlight-word): New variable.
11775 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11778 2011-10-11 Glenn Morris <rgm@gnu.org>
11780 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11781 like f90-previous-statement does.
11783 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11785 * eshell/eshell.el (eshell-command): History should be saved
11786 only in interactive use, to avoid error.
11788 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11790 * minibuffer.el (completion-file-name-table): Fix last change,
11791 i.e. ignore normal errors but not the other ones.
11793 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11795 * window.el (special-display-buffer-names)
11796 (special-display-regexps): Remove some remnants of earlier
11797 changes from doc-strings.
11798 (quit-windows-on): New function.
11800 * vc/vc.el (vc-revert, vc-rollback):
11801 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11802 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11803 (Bug#6183) (Bug#7074) (Bug#7447)
11805 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11807 * window.el (frame-auto-hide-function): Add version tag.
11810 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11812 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11815 2011-10-09 Leo Liu <sdl.web@gmail.com>
11817 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11820 2011-10-08 Glenn Morris <rgm@gnu.org>
11822 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11823 before the first code statement zero indent. (Bug#9690)
11825 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11827 * simple.el (count-words-region): Always count in the region.
11828 Report the number of lines and characters too.
11829 (count-words): New command, which counts in the buffer if the
11830 region is inactive, as count-words-region used to.
11831 (count-words--message): New function. Handle plurals.
11832 (count-lines-region): Make it an alias for count-words-region.
11834 * bindings.el (esc-map): Replace count-lines-region with
11835 count-words-region.
11837 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11839 * window.el (window--delete): Delete dedicated frame
11840 unconditionally when argument KILL is non-nil. (Bug#9699)
11841 (switch-to-buffer): Fix doc-string typo.
11843 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11845 * eshell/eshell.el (eshell-command): Avoid using hooks.
11847 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11849 * bindings.el ([M-left],[M-right]): Bind to left-word and
11850 right-word respectively.
11852 2011-10-07 Glenn Morris <rgm@gnu.org>
11854 * cus-start.el (debug-on-quit): Fix custom type.
11856 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11858 * subr.el (define-key-after): Clarify that the function is not
11859 useful for non-menu keymaps.
11861 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11863 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11865 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11866 in current minibuffer (Fix bug with recursive minibuffers).
11868 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11870 * progmodes/gdb-mi.el (gdb): Doc fix.
11872 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11874 * window.el (frame-auto-hide-function): New option replacing
11875 frame-auto-delete. Suggested by Stefan Monnier.
11876 (window--delete): Call frame-auto-hide-function instead of
11877 investigating frame-auto-delete.
11878 (window-point-1, set-window-point-1): New functions.
11879 (window-in-direction, record-window-buffer, window-state-get-1)
11880 (display-buffer-record-window): Use window-point-1 instead of
11882 (set-window-buffer-start-and-point): Use set-window-point-1.
11884 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11886 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11888 2011-10-05 Glenn Morris <rgm@gnu.org>
11890 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11891 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11893 2011-10-05 Leo Liu <sdl.web@gmail.com>
11895 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11896 works with buffer object.
11898 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * mpc.el (mpc-tool-bar-map): Add labels.
11902 2011-10-04 Glenn Morris <rgm@gnu.org>
11904 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11906 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11908 * window.el (window--delete): New function.
11909 (frame-auto-delete): Resuscitate option.
11910 (bury-buffer, replace-buffer-in-windows)
11911 (quit-window): Rewrite using window--delete.
11912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11913 Pass display-buffer-mark-dedicated to window--display-buffer-2
11916 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11918 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11919 returns a list (bug#9554). Add remote file name completion.
11920 * comint.el (comint--table-subvert): Curry and get quote&unquote
11921 functions as arguments.
11922 (comint--complete-file-name-data): Adjust call accordingly.
11923 * pcomplete.el (pcomplete--table-subvert): Remove.
11924 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11926 * minibuffer.el (completion-table-case-fold): Use currying.
11927 (completion--styles-type, completion--cycling-threshold-type):
11929 (completion-styles, completion-category-overrides)
11930 (completion-cycle-threshold): Use them.
11931 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11932 completion-table-case-fold.
11934 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11936 * minibuffer.el (completion-category-overrides): Fix type of styles
11937 and add more user friendly tags (bug#9660).
11939 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11941 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11942 (mule-input-method-string): New widget.
11943 (default-input-method, language-info-custom-alist): Use it.
11945 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11947 * pcomplete.el: Require comint.
11948 (pcomplete--common-suffix): Remove.
11949 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11950 (pcomplete--table-subvert): Sync with comint--table-subvert.
11951 (pcomplete--entries): Use comint-completion-file-name-table.
11952 * comint.el (comint-unquote-filename): Simplify.
11953 (comint-completion-file-name-table): New function (bug#9616).
11954 (comint--complete-file-name-data): Use it.
11956 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11957 (pcmpl-gnu-tar-buffer): Remove.
11958 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11959 around. Make sure pcomplete-suffix-list is only changed temporarily.
11960 Don't look inside the tar's file if it's too large.
11962 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11964 * cus-edit.el (custom-mode-map):
11965 * epa.el (epa-key-list-mode-map):
11966 * man.el (Man-mode-map):
11967 * startup.el (splash-screen-keymap):
11968 * simple.el (special-mode-map): Use scroll-up-command and
11969 scroll-down-command.
11971 * progmodes/idlw-help.el (idlwave-help-mode-map):
11972 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11973 * net/newst-plainview.el (newsticker-mode-map):
11974 * emulation/ws-mode.el (wordstar-mode-map):
11975 * emulation/vi.el (vi-com-map):
11976 * calc/calc-graph.el (calc-graph-show-dumb):
11977 * term/sun.el (terminal-init-sun):
11978 * term/ns-win.el (global-map):
11979 * progmodes/grep.el (grep-mode-map):
11980 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11981 * mail/rmail.el (rmail-mode-map):
11982 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11984 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11985 custom-safe-themes as special.
11987 2011-10-01 Julien Danjou <julien@danjou.info>
11989 * notifications.el (notifications-notify): Fix docstring.
11991 2011-10-01 Per Starbäck <per@starback.se>
11993 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11995 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11997 * startup.el (command-line-1): Fix last fix by inserting
11998 initial-scratch-message into *scratch* before displaying it.
11999 (Bug#9605) and (Bug#9636)
12001 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12003 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12004 window is hscrolled, move by logical lines. (Bug#9607)
12005 (line-move-visual): Update the doc string to the above effect.
12007 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12009 * window.el (display-buffer-record-window): When WINDOW is the
12010 selected window use `point' instead of `window-point'. (Bug#9626)
12012 * startup.el (command-line-1): Use insert-before-markers when
12013 inserting initial-scratch-message. (Bug#9605)
12015 * help.el (help-window): Remove variable.
12017 2011-09-29 Glenn Morris <rgm@gnu.org>
12019 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12021 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12023 * descr-text.el (describe-char-categories): Accept category
12024 descriptions more than one line long.
12026 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * simple.el (delete-trailing-whitespace): Fix last change.
12030 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12031 Don't confuse "y => 3" as the beginning of a `y' operation.
12033 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12034 object has more than 4 slots (bug#9613).
12036 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12038 * subr.el (with-output-to-temp-buffer):
12039 * net/quickurl.el (quickurl, quickurl-browse-url):
12040 Fix typos in docstrings.
12042 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12044 * minibuffer.el (completion-styles)
12045 (completion-category-overrides): Cross reference each other in doc
12048 2011-09-27 Glenn Morris <rgm@gnu.org>
12050 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12051 to split-string. (Bug#9606)
12053 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12055 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12058 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12060 * emacs-lisp/package.el (list-packages): Fix echo area message.
12062 2011-09-27 Leo Liu <sdl.web@gmail.com>
12064 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12066 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12068 * net/dbus.el (dbus-unregister-object): Don't release services for
12069 registered signals. (Bug#9581)
12071 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12073 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12074 function that picks between cfengine 2 and 3 support
12075 automatically. Update docs accordingly.
12077 2011-09-22 Kenichi Handa <handa@m17n.org>
12079 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12081 (indian-itrans-v5-table-for-tamil): New variable.
12082 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12084 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12086 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12087 that's true if the current command involved collapsing of text.
12088 It's reset to false at the beginning of the next command.
12089 (allout-post-command-business): Move the cursor to the beginning
12090 of entry if the cursor is hidden and collapsing activity just
12093 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12095 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12096 tracking (Bug#9541).
12098 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12100 * net/newst-reader.el (newsticker-html-renderer)
12101 (newsticker-show-news): Automatically load html rendering package
12102 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12103 because w3m-fill-column is let-bound" and the error "Symbol's value
12104 as variable is void: w3m-fill-column".
12106 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12108 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12109 Release services only if they are defined. (Bug#9581)
12111 2011-09-23 Richard Stallman <rms@gnu.org>
12113 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12114 distinguish start of paragraph from start of its text.
12116 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12118 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12119 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12120 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12122 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12124 * international/mule-diag.el (mule-diag): Insert a newline after
12125 each fontset description.
12127 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * simple.el (delete-trailing-whitespace):
12130 Document last change; simplify.
12132 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12134 * simple.el (delete-trailing-whitespace): Also delete
12135 extra newlines at the end of the buffer.
12137 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12138 (picture-newline): Use forward-line so as to ignore fields.
12140 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12142 * subr.el (with-wrapper-hook): Fix edebug spec.
12144 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12146 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12149 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12151 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12152 Fix nasty bug using wrong cached values.
12154 2011-09-23 Alan Mackenzie <acm@muc.de>
12156 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12158 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12160 * window.el (pop-to-buffer): Ensure right window is selected if we
12161 chose another frame.
12163 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12165 * simple.el (what-cursor-position): Use get-char-property-change
12166 and next-single-char-property-change, to be able to show display
12167 properties that come from overlays as well as text properties.
12169 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12171 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12173 * cmuscheme.el (run-scheme, switch-to-scheme):
12174 * cus-edit.el (customize-group, custom-buffer-create)
12175 (customize-browse):
12177 * shell.el (shell):
12178 * mail/sendmail.el (mail):
12179 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12181 2011-09-22 Richard Stallman <rms@gnu.org>
12183 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12184 move back only to line beg, don't move back over blank lines.
12186 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12188 * files.el (copy-directory): Set directory attributes only in case
12189 they could be retrieved from the source directory. (Bug#9565)
12191 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12193 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12194 (hs-find-block-beginning, hs-hide-level-recursive):
12195 Ignore strings as well as comments. (Bug#9502)
12197 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12199 * progmodes/sql.el (sql-comint-postgres):
12200 Convert port number to a string. (Bug#9566)
12202 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12204 * window.el (quit-window): Undedicate window when switching to
12205 previous buffer. Reported by Thierry Volpiatto
12206 <thierry.volpiatto@gmail.com>.
12207 (special-display-popup-frame): When popping up a new frame reset
12208 its previous buffers to nil. Simplify code.
12210 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12212 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12213 and process filter, as done also in `shell-command'.
12215 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12217 * window.el (set-window-buffer-start-and-point):
12218 Call set-window-start with NOFORCE argument t.
12219 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12220 (quit-window): Reword doc-string. Handle new format of
12221 quit-restore parameter. Don't delete window if it has a
12222 previous buffer we can show instead of the present one.
12223 (display-buffer-record-window): Rewrite using a new format for
12224 the quit-restore window parameter
12225 (special-display-popup-frame, display-buffer-same-window)
12226 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12227 (display-buffer-pop-up-window, display-buffer-use-some-window):
12228 Adapt symbol passed to display-buffer-record-window.
12229 * help.el (help-window-setup): Handle new format of quit-restore
12232 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12234 * faces.el (face-list): Fix docstring (bug#9564).
12236 * window.el (display-buffer--action-function-custom-type):
12237 Don't include internal functions in the Custom interface.
12239 2011-09-20 Juri Linkov <juri@jurta.org>
12241 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12242 (Info-forward-node, Info-backward-node, Info-next-preorder)
12243 (Info-last-preorder): Use it. (Bug#9528)
12245 2011-09-20 Juri Linkov <juri@jurta.org>
12247 * info.el (Info-last-preorder): Visit last menu item only when
12248 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12250 2011-09-20 Julien Danjou <julien@danjou.info>
12252 * password-cache.el (password-cache-remove): Remove entries even if the
12253 value is nil, so that password with a nil value (negative caching) is
12254 possible to invalidate.
12256 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12258 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12259 all whitespace around breakpoint. (Bug#9553)
12260 (f90-find-breakpoint): Only break at whitespace inside a comment.
12262 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12264 * minibuffer.el (completion-file-name-table): Keep track of errors.
12265 (completion-table-with-predicate): Handle the case where pred1 is nil.
12266 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12268 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12270 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12271 (debugger-return-value): Signal an error if the debugging context does
12272 not await any return value.
12274 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12275 * image-mode.el (image-toggle-display-text)
12276 (image-toggle-display-image): Stay away from evil `intangible'.
12278 2011-09-19 Leo Liu <sdl.web@gmail.com>
12280 * replace.el (occur-revert-arguments): Make it permanent-local.
12281 (occur-mode): Don't call font-lock-defontify.
12283 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12285 * net/ldap.el (ldap-search-internal): Don't push empty search
12288 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12290 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12292 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12294 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12295 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12297 2011-09-18 Juri Linkov <juri@jurta.org>
12299 * buff-menu.el (Buffer-menu-mode-map):
12300 * dired.el (dired-mode-map):
12301 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12302 (lisp-interaction-mode-map):
12303 * emacs-lisp/package.el (package-menu-mode-map):
12304 * epa.el (epa-key-list-mode-map):
12305 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12306 (menu-bar-options-menu):
12307 * outline.el (outline-mode-menu-bar-map):
12308 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12309 * vc/vc-dir.el (vc-dir-menu-map):
12310 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12311 Capitalize non-function content words in menu item strings.
12313 * dired.el (dired-mode-map): Add menu item for
12314 `image-dired-dired-toggle-marked-thumbs'.
12316 2011-09-18 Juri Linkov <juri@jurta.org>
12318 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12319 to `isearch-case-fold-search' and restore its original value
12320 after the `isearch-mode' call.
12322 2011-09-18 Juri Linkov <juri@jurta.org>
12324 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12325 because `zgrep' returns 1 for successful matches (bug#9226).
12327 2011-09-18 Juri Linkov <juri@jurta.org>
12329 * info.el (Info-extract-menu-node-name): Check the second match
12330 for empty string (second test-case of bug#9528).
12331 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12332 intermediate nodes to the history (first test-case of bug#9528).
12334 2011-09-18 Juri Linkov <juri@jurta.org>
12336 * info.el (Info-mode-syntax-table): New variable.
12337 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12339 2011-09-18 Juri Linkov <juri@jurta.org>
12341 * info.el (Info-file-supports-index-cookies):
12342 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12343 outputs one more line for long file names (bug#4142).
12345 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12347 * newcomment.el (comment-normalize-vars): If prompting for
12348 comment-start, set comment-start-skip too (Bug#8424).
12350 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12352 * icomplete.el: Fix previous fix of Bug#5849.
12353 (icomplete-mode): Don't set completion-show-inline-help.
12354 (icomplete-minibuffer-setup): Set completion-show-inline-help
12355 locally during icompletion.
12357 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12359 * woman.el (woman2-process-escapes): Don't delete unrecognized
12360 escapes (Bug#7843).
12362 * files.el (inhibit-first-line-modes-regexps): Add image files.
12363 (hack-local-variables-prop-line): Return nil for malformed
12364 prop-lines (Bug#9044).
12366 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12368 * net/tramp.el (top): Don't require 'shell.
12369 (tramp-methods): Fix docstring.
12370 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12371 Return complete remote file name. Handle "smb" case.
12372 Use `tramp-tmpdir', if defined for the respective method.
12373 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12375 * net/tramp-compat.el (top): Require 'shell.
12377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12378 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12379 `tramp-current-host'.
12380 (tramp-get-remote-tmpdir): Remove.
12382 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12383 `tramp-tmpdir' entries.
12384 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12385 (tramp-smb-handle-file-attributes): Ignore errors.
12386 (tramp-smb-wait-for-output): Check also for process end.
12388 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12391 when sending QUIT (bug#9312).
12393 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12395 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12396 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12397 occur-mode-display-occurrence.
12398 (occur-edit-mode): Add usage message.
12399 (occur-cease-edit): New command.
12400 (occur-after-change-function): Use text properties to find the
12401 position of the prefix text.
12402 (occur-engine): Set stickiness of prefix text properties.
12404 2011-09-17 Glenn Morris <rgm@gnu.org>
12406 * progmodes/etags.el (complete-tag):
12407 Fix call to completion-in-region. (Bug#9526)
12409 2011-09-17 Juri Linkov <juri@jurta.org>
12411 * textmodes/ispell.el (ispell-word): Add to the error message
12412 the word, ispell program name and current dictionary (bug#9121).
12413 (ispell-tex-arg-end): Capitalize "error" in the error message.
12415 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12417 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12420 2011-09-17 Juri Linkov <juri@jurta.org>
12422 * window.el (window-safe-min-height, window-safe-min-width):
12423 Fix typos (followup to bug#9522).
12425 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12427 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12429 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12431 * simple.el (line-move): If goal-column is set, move by logical
12432 lines, not by display lines. (Bug#971)
12433 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12434 to reflect the above change.
12436 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12438 * image.el (imagemagick-register-types): Use regexp-opt.
12440 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12442 * window.el (display-buffer-base-action): Rename from
12443 display-buffer-default-action. Make default value empty.
12444 (display-buffer-overriding-action): Convert to defvar.
12445 (display-buffer-fallback-action): New var.
12447 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12449 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12451 (package--add-to-archive-contents): If there is a duplicate entry
12452 with an older version, remove it.
12453 (package-menu-mark-delete, package-menu-mark-install)
12454 (package-menu-mark-unmark): Make unused args optional.
12455 (package-menu-mark-obsolete-for-deletion):
12456 Use package-menu-get-status instead of a regexp search.
12457 (package-menu-get-status): Use tabulated-list-entry.
12458 (package-menu-mark-upgrades): New command.
12459 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12460 (package-menu-execute): Do installation before deletion.
12461 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12462 instead of checking major-mode.
12463 (package-menu--find-upgrades): New function.
12465 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12467 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12468 passwords in the log buffer.
12469 (smtpmail-process-filter): Update the process marker so that the
12470 "broken by peer" status message is inserted in the right place.
12472 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12475 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12476 bibtex-completion-at-point-function.
12477 (bibtex-completion-at-point-function): Use them.
12479 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12481 * mpc.el (mpc-constraints-tag-lookup): New function.
12482 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12483 also to browser "album|playlist".
12485 2011-09-14 Juri Linkov <juri@jurta.org>
12487 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12488 (isearch-edit-string): Use length of `isearch-string' when
12489 `isearch-fail-pos' returns nil.
12490 (isearch-message): Remove duplicate code and call
12491 `isearch-fail-pos' with arg `t'.
12493 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12495 * replace.el (occur-mode-goto-occurrence): Don't force using other
12498 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12500 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12502 * window.el (display-buffer-window): Remove.
12503 (display-buffer-record-window): Use help-setup window parameter
12504 instead of variable display-buffer-window.
12505 (display-buffer-function, special-display-buffer-names)
12506 (special-display-function): Mention help-setup parameter instead
12507 of display-buffer-window in doc-string.
12508 * help.el (help-window-setup): New argument help-window.
12509 Use help-window-setup parameter instead of display-buffer-window.
12510 Reword some messages.
12511 (with-help-window): Pass window used for displaying the buffer
12512 to help-window-setup. Don't set display-buffer-window.
12514 2011-09-13 Glenn Morris <rgm@gnu.org>
12516 * emacs-lisp/debug.el (debugger-make-xrefs):
12517 Preserve point. (Bug#9462)
12519 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12521 * window.el (window-deletable-p): Use next-frame.
12523 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12525 * window.el (window-auto-delete): Remove.
12526 (window-deletable-p): Remove argument FORCE. Don't deal with
12527 dedication and previous buffers.
12528 (switch-to-prev-buffer): Don't delete window.
12529 (delete-windows-on): Delete a window's frame if and only if the
12530 window is dedicated.
12531 (replace-buffer-in-windows): Delete buffer's window or frame if
12532 and only if window is dedicated.
12533 (quit-window): Handle quit-restore as before last change.
12534 (bury-buffer): Delete window only if window-deletable-p returns t.
12536 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12538 * window.el (window-deletable-p): Never delete the last frame on a
12541 2011-09-13 Glenn Morris <rgm@gnu.org>
12543 * help.el (describe-key-briefly): Copy previous standard-output change.
12545 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12547 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12549 2011-09-13 Glenn Morris <rgm@gnu.org>
12551 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12552 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12554 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12556 * dired-aux.el (dired-mark-read-string): Don't return default
12557 value on empty input (Bug#9361).
12558 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12559 Omit initial minibuffer contents.
12560 (dired-do-chmod): Signal an error on empty input.
12561 (dired-mark-read-string): Don't return default on empty input.
12563 * files.el (file-modes-symbolic-to-number): Doc fix.
12565 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12567 * international/mule-cmds.el (ucs-completions): Remove.
12568 (read-char-by-name): Use complete-with-action instead; add metadata.
12570 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12572 * window.el (display-buffer--action-function-custom-type)
12573 (display-buffer--action-custom-type): New vars.
12574 (display-buffer-alist, display-buffer-default-action)
12575 (display-buffer-overriding-action): Add defcustom types.
12577 * frame.el (delete-other-frames): Doc fix (Bug#276).
12579 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12581 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12583 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12585 Change modes that used same-window-* vars to use switch-to-buffer.
12587 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12588 Use switch-to-buffer.
12590 * cus-edit.el (customize-group, custom-buffer-create)
12591 (customize-browse, custom-buffer-create-other-window):
12592 Use switch-to-buffer or switch-to-buffer-other-window.
12594 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12595 (Info-prev, Info-up, Info-speedbar-goto-node)
12596 (info-display-manual): Use switch-to-buffer.
12597 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12599 * mail/sendmail.el (mail): Use switch-to-buffer.
12600 (mail-recover): Use switch-to-buffer-other-window.
12602 * cmuscheme.el (run-scheme, switch-to-scheme):
12604 * shell.el (shell):
12605 * net/rlogin.el (rlogin):
12606 * net/telnet.el (telnet, rsh):
12607 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12609 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12611 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12613 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12616 so don't mention it (bug#9301).
12617 (dired-sort-toggle-or-edit): Clarify string further.
12619 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12620 match `x', `w32' and `ns', like the manual says (bug#9029).
12622 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12623 (process-kill-buffer-query-function): Mention the buffer name in
12626 * image-mode.el (image-next-line): The line parameter is mandatory
12629 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12630 which can be useful (bug#9301).
12632 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12634 * subr.el (match-string): Mention that the current buffer should
12635 be the same as the search was done in (bug#9282).
12637 * facemenu.el: Disable the remove-* commands if the mark isn't
12640 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12642 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12644 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12646 * replace.el (occur-mode-goto-occurrence)
12647 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12648 and display-buffer.
12650 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12653 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12654 special-display and same-window variables.
12655 (mail-other-window): Use switch-to-buffer-other-window.
12656 (mail-other-frame): USe switch-to-buffer-other-frame.
12658 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12659 Use display-buffer-other-frame.
12660 (gdb-display-gdb-buffer): Use pop-to-buffer.
12662 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12664 * progmodes/python.el: Don't set same-window-buffer-names.
12666 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12668 * window.el (display-buffer-alist): Add *Python*.
12670 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12672 * window.el (display-buffer-alist): Add entry for buffers
12673 previously handled same-window-*.
12674 (display-buffer-alist, display-buffer-default-action)
12675 (display-buffer-overriding-action): Mark as risky.
12676 (display-buffer-alist): Document action function changes.
12677 (display-buffer--same-window-action)
12678 (display-buffer--other-frame-action): New variables.
12679 (switch-to-buffer, display-buffer-other-frame): Use them.
12680 (display-buffer): Rename reuse-frame entry to reusable-frames.
12681 (display-buffer-reuse-selected-window): Function deleted.
12682 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12683 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12684 (display-buffer-special): New function.
12685 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12686 display-buffer-reuse-or-pop-window. Split off special-display
12687 part into display-buffer-special.
12688 (display-buffer-use-some-window): Don't perform any special
12689 pop-up-frames handling.
12690 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12691 (display-buffer--maybe-same-window): Rename from
12692 display-buffer-maybe-same-window.
12694 * info.el: Don't set same-window-regexps.
12695 (info-setup): New function.
12696 (info-other-window, info): Call it.
12698 * cus-edit.el: Don't set same-window-regexps.
12699 (customize-group): New argument.
12700 (customize-group-other-window): Use it.
12701 (customize-face, customize-face-other-window): Likewise.
12702 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12706 * progmodes/gud.el: Don't set same-window-regexps.
12711 * mail/sendmail.el:
12712 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12714 2011-09-10 Juri Linkov <juri@jurta.org>
12716 * isearch.el (isearch-edit-string): Remove obsolete mention of
12717 `C-w' (`isearch-yank-word-or-char') from docstring.
12718 (isearch-query-replace): Fix typo in docstring (bug#9466).
12720 2011-09-10 Juri Linkov <juri@jurta.org>
12722 * paren.el (show-paren-function): Don't show escaped parens.
12723 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12725 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12727 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12728 (mm-default-file-encoding): Remove autoload forms, they are
12729 replaced with autoload cookies in mml.el and mm-encode.el.
12730 (mail-add-attachment): New command.
12731 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12732 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12734 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12736 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12738 * simple.el (count-words-region): Use buffer if there's no region
12741 2011-09-09 Juri Linkov <juri@jurta.org>
12743 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12744 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12745 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12747 2011-09-09 Alan Mackenzie <acm@muc.de>
12749 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12750 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12752 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12754 Fix for Savannah bug#9392.
12755 * simple.el (mail-encode-mml): New defvar.
12757 * mail/rmail.el (mail-encode-mml): Add a defvar.
12758 (rmail-enable-mime-composing): Default to t.
12759 (rmail-forward): Use MIME method of forwarding only if both
12760 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12761 Set mail-encode-mml non-nil if the MIME method was used.
12763 * mail/sendmail.el (mml-to-mime): Add autoload form.
12764 (mail-encode-mml): Add a defvar.
12765 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12767 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12768 message through mml-to-mime, and reset mail-encode-mml to nil.
12770 2011-09-09 Glenn Morris <rgm@gnu.org>
12772 * woman.el (woman-if-body): When processing an .el block,
12773 do not delete the next .el block as well. (Bug#9447)
12774 (woman-special-characters): Add oq, cq, and hy characters.
12776 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12778 * window.el (window-deletable-p): Make sure window is live before
12779 invoking window-prev-buffers.
12781 2011-09-08 Leo Liu <sdl.web@gmail.com>
12783 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12785 2011-09-08 Juri Linkov <juri@jurta.org>
12787 * progmodes/compile.el (compilation-environment): Make it
12788 a defcustom (bug#8340).
12790 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12792 * window.el (frame-auto-delete): Rename to window-auto-delete.
12793 Make it control auto-deletion of windows and/or frames.
12794 (window-deletable-p): New argument FORCE. Rewrite conditions
12795 for deleting window/frame. (Bug#9419)
12796 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12797 Rewrite handling of case when window/frame can be deleted.
12798 (delete-windows-on): Call window-deletable-p with new FORCE
12799 argument t. (Bug#9456)
12801 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12803 * help-mode.el (help-mode): Restore autoload.
12805 2011-09-07 Juri Linkov <juri@jurta.org>
12807 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12808 `compilation-environment'. Set buffer-local
12809 `compilation-environment' to `thisenv' later after (funcall mode).
12812 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12813 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12814 instead of replacing its value. (Bug#8340)
12816 2011-09-07 Juri Linkov <juri@jurta.org>
12818 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12819 based on text properties put by `grep-filter' instead of matching
12821 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12822 to the value of `grep-error-screen-columns' (bug#9438).
12824 2011-09-07 Juri Linkov <juri@jurta.org>
12826 * simple.el (next-error-highlight, next-error-highlight-no-select):
12827 Doc fix (bug#9432).
12829 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12831 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12832 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12834 2011-09-07 Leo Liu <sdl.web@gmail.com>
12836 * net/rcirc.el (rcirc-mode): Conditionally initialize
12839 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12841 * emacs-lisp/find-func.el (find-function-C-source): Only set
12842 find-function-C-source-directory after checking that we found a source
12843 file there (bug#9440).
12845 2011-09-06 Alan Mackenzie <acm@muc.de>
12847 * isearch.el (isearch-other-meta-char): Wherever a key list is
12848 unread, "unread" the prefix arg, too. This fixes bug #8901.
12850 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12852 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12854 2011-09-05 Juri Linkov <juri@jurta.org>
12856 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12858 2011-09-05 Juri Linkov <juri@jurta.org>
12860 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12861 keeping point where processing of grep matches begins, and
12862 continue to delete remaining escape sequences from the same point.
12863 (grep-filter): Make leading zero optional in "0?1;31m" because
12864 git-grep emits "\033[1;31m" escape sequences unlike expected
12865 "\033[01;31m" as GNU Grep does (bug#9408).
12866 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12868 2011-09-05 Juri Linkov <juri@jurta.org>
12870 * subr.el (y-or-n-p): Capitalize "yes".
12872 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12874 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12875 `tramp-cache-unload-hook' where appropriate.
12876 (tramp-methods): Rename `tramp-remote-sh' to
12877 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12878 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12880 * net/tramp-sh.el (top): Don't require 'shell.
12881 (tramp-methods): Add `tramp-remote-shell' and
12882 `tramp-remote-shell-args' entries.
12883 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12884 (tramp-sh-handle-shell-command): Remove.
12885 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12886 Use `tramp-remote-shell'.
12888 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12890 * mail/sendmail.el (sendmail-query-once-function): Delete.
12891 (sendmail-query-once): Save directly to send-mail-function.
12892 Update message-send-mail-function too.
12894 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12896 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12898 * progmodes/python.el (python-mode-map): Use correct function to
12899 start python interpreter from menu-bar (as reported by Geert
12901 (inferior-python-mode-map): Fix typo.
12902 (python-shell-map): Remove.
12904 2011-09-03 Deniz Dogan <deniz@dogan.se>
12906 * net/rcirc.el (rcirc-print): Simplify code for
12907 rcirc-scroll-show-maximum-output. There is no need to walk
12908 through all windows to find the right one.
12910 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12912 * help.el (help-return-method): Doc fix.
12914 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12916 * window.el (window-deletable-p): Don't return a non-nil value
12917 when there's a buffer that was shown in the window before.
12919 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12920 Set window's previous buffers to nil.
12922 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12924 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12925 newline before and after the tag line, so it doesn't interfere
12926 with determining the paragraph direction of bidirectional text.
12928 2011-09-03 Leo Liu <sdl.web@gmail.com>
12930 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12932 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12934 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12935 (pop-to-buffer): Change interactive spec. Pass second argument
12936 directly to display-buffer.
12937 (display-buffer): Fix interactive spec. Use functionp to
12938 distinguish between a function and a list of functions.
12940 * abbrev.el (edit-abbrevs):
12941 * arc-mode.el (archive-extract):
12942 * autoinsert.el (auto-insert):
12943 * bookmark.el (bookmark-bmenu-list):
12944 * files.el (find-file):
12945 * view.el (view-buffer):
12946 * progmodes/compile.el (compilation-goto-locus):
12947 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12949 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12951 * window.el (display-buffer-alist): Doc fix.
12952 (display-buffer): Add docstring. Don't treat
12953 display-buffer-default specially.
12954 (display-buffer-reuse-selected-window)
12955 (display-buffer-same-window, display-buffer-maybe-same-window)
12956 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12957 (display-buffer-pop-up-window)
12958 (display-buffer-reuse-or-pop-window)
12959 (display-buffer-use-some-window): New functions.
12960 (display-buffer-default-action): Use them.
12961 (display-buffer-default): Delete.
12962 (pop-to-buffer-1): Fix choice of actions.
12964 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12966 * minibuffer.el (completion--insert-strings): Don't get confused by
12967 completion entries that end with an LF char.
12969 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12971 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12973 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12975 * window.el (display-buffer): Restore interactive spec.
12976 (display-buffer-same-window, display-buffer-other-window):
12978 (pop-to-buffer-1): New function. Use the above.
12979 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12980 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12982 * view.el (view-buffer-other-window, view-buffer-other-frame):
12983 Just use pop-to-buffer.
12985 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12987 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12989 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12991 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12993 2011-08-31 Richard Stallman <rms@gnu.org>
12995 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12996 of the separation of rmail-view-buffer from rmail-buffer.
12997 If you say no to "replace original", the decrypt is in the
12998 view buffer. If you say yes, the decrypt goes into the
13001 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13003 * window.el (display-buffer-window): Rewrite doc-string.
13004 (display-buffer-record-window): New function.
13005 (display-buffer-macro-specifiers)
13006 (display-buffer-even-window-sizes, display-buffer-set-height)
13007 (display-buffer-set-width, display-buffer-in-window)
13008 (display-buffer-reuse-window, display-buffer-split-specifiers)
13009 (display-buffer-side-specifiers, display-buffer-split-window-1)
13010 (display-buffer-split-window, display-buffer-split-atom-window)
13011 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13012 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13013 (display-buffer-other-window-means-other-frame)
13014 (display-buffer-normalize-special)
13015 (display-buffer-normalize-default)
13016 (display-buffer-normalize-argument)
13017 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13018 (display-buffer-normalize-specifiers, display-buffer-frame)
13019 (display-buffer-same-window, display-buffer-same-frame)
13020 (display-buffer-other-window)
13021 (display-buffer-same-frame-other-window)
13022 (display-buffer-other-frame, pop-to-buffer-same-window)
13023 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13024 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13025 (switch-to-buffer-same-frame)
13026 (switch-to-buffer-other-window-same-frame)
13027 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13028 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13029 (display-buffer-alist-set): Remove.
13030 (display-buffer-function, special-display-buffer-names)
13031 (special-display-regexps, special-display-function):
13032 In doc-string refer to display-buffer-window and quit-restore
13034 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13035 (special-display-frame-alist, special-display-popup-frame)
13036 (same-window-buffer-names, same-window-regexps, same-window-p)
13037 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13038 (split-window-preferred-function, split-height-threshold)
13039 (split-width-threshold, window-splittable-p)
13040 (split-window-sensibly, window--try-to-split-window)
13041 (window--frame-usable-p, even-window-heights)
13042 (window--even-window-heights, window--display-buffer-1)
13043 (window--display-buffer-2, display-buffer-other-frame):
13044 Restore old Emacs 23 code, order and doc-strings where applicable.
13045 (display-buffer-default, display-buffer-assq-regexp): New functions.
13046 (display-buffer-alist): Rewrite doc-string.
13047 (display-buffer-default-action)
13048 (display-buffer-overriding-action): New variables.
13049 (display-buffer, switch-to-buffer): Rewrite.
13050 (pop-to-buffer): Restore Emacs 23 behavior but use
13051 window-normalize-buffer-to-display.
13052 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13053 Restore Emacs 23 behavior but use
13054 window-normalize-buffer-to-switch-to.
13055 (pop-to-buffer-same-window): Rewrite.
13056 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13057 Rewrite using Emacs 23 options.
13059 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13061 * net/tramp.el (tramp-root-regexp): Remove.
13062 (tramp-completion-file-name-regexp-unified)
13063 (tramp-completion-file-name-regexp-separate)
13064 (tramp-completion-file-name-regexp-url): Don't use leading volume
13065 letter on w32 systems. (Bug#5303, Bug#9311)
13066 (tramp-drop-volume-letter): Simplify definition.
13067 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13069 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13071 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13074 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13076 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13078 2011-08-29 Juri Linkov <juri@jurta.org>
13080 * isearch.el (isearch-done): Don't display message "Mark saved"
13081 when arg `edit' is non-nil to prevent its flicker in the echo area.
13083 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13085 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13086 obsolete packages for deletion.
13088 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13090 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13091 (help-mode): Derive help-mode from special-mode. Don't invoke
13092 view-mode from help-mode.
13093 (help-xref-override-view-map): Remove.
13094 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13095 view-mode is not used anymore.
13097 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13099 * server.el (server-port): Doc fix.
13101 * cus-theme.el (custom-theme-choose-mode): Inherit from
13102 special-mode (Bug#9124).
13103 (custom-theme-choose-mode-map): Add special-mode to parent.
13105 2011-08-28 Alan Mackenzie <acm@muc.de>
13107 * progmodes/cc-fonts.el
13108 (c-make-font-lock-BO-decl-search-function): New function.
13109 (c-basic-matchers-after - "Fontify the clauses after various
13110 keywords"): Extract the three keyword lists for the 3 erroneous
13111 constructs from the list of four, and use the new function above
13112 in place of an old one.
13114 2011-08-28 Deniz Dogan <deniz@dogan.se>
13116 * net/rcirc.el (rcirc-insert-prev-input)
13117 (rcirc-insert-next-input): Remove unused argument.
13119 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13121 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13123 2011-08-27 Alan Mackenzie <acm@muc.de>
13125 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13126 handle function pointer parameters properly.
13128 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13130 * window.el (display-buffer-reuse-window): Fix case where
13131 selected window was reused with non-nil OTHER-WINDOW argument.
13134 2011-08-27 Deniz Dogan <deniz@dogan.se>
13136 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13137 oftc's NickServ messages.
13139 2011-08-27 Glenn Morris <rgm@gnu.org>
13141 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13143 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13145 * emacs-lisp/package.el (package-install): Call package-initialize
13146 if called interactively.
13148 2011-08-26 Leo Liu <sdl.web@gmail.com>
13150 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13152 2011-08-25 Juri Linkov <juri@jurta.org>
13154 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13155 `search-whitespace-regexp' (bug#9364).
13157 2011-08-25 Juri Linkov <juri@jurta.org>
13159 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13160 `regexp-search-ring' to their global values to protect from
13161 updating by `read-from-minibuffer' (bug#9185).
13163 2011-08-25 Juri Linkov <juri@jurta.org>
13165 * textmodes/ispell.el (ispell-command-loop): Add newline
13166 at the end of the "Use option `i'..." line.
13168 2011-08-25 Juri Linkov <juri@jurta.org>
13170 * battery.el (display-battery-mode): If `battery-status-function'
13171 or `battery-mode-line-format' is nil, display the message and set
13172 `display-battery-mode' to nil (bug#9363).
13174 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13176 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13177 bidi-string-mark-left-to-right; they are unnecessary now.
13179 2011-08-25 Deniz Dogan <deniz@dogan.se>
13181 * net/quickurl.el: Documentation typo fixes.
13183 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13185 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13187 2011-08-25 Glenn Morris <rgm@gnu.org>
13189 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13191 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13192 (smtpmail-via-smtp): Handle nil response from smtp.
13194 2011-08-24 Juri Linkov <juri@jurta.org>
13196 * proced.el (proced-marked): Inherit from `error' instead of
13197 `font-lock-warning-face'.
13199 * ibuffer.el (ibuffer-marked-face): Change default face from
13200 `font-lock-warning-face' to `warning'.
13201 (ibuffer-deletion-face): Change default face from
13202 `font-lock-type-face' to `error'.
13204 * battery.el (battery-update): Use the face `error' instead of
13205 `font-lock-warning-face' (bug#6117).
13207 2011-08-24 Juri Linkov <juri@jurta.org>
13209 * faces.el (success): Change face color from "Green3" to
13210 "ForestGreen" on light background (bug#9353).
13212 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13214 * window.el (quit-window): Rename from quit-restore-window.
13215 Use same arglist as old quit-window.
13216 (frame-auto-delete): Doc fix.
13218 * view.el (view-mode-exit): Use quit-window.
13220 2011-08-24 Juri Linkov <juri@jurta.org>
13222 * isearch.el (isearch-ring-adjust1): Start visiting previous
13223 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13224 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13225 for empty search string (when the last search string is reused
13226 automatically) to adjust the isearch ring to the last element and
13227 prepare the correct index for further M-p commands (bug#9185).
13229 2011-08-24 Kenichi Handa <handa@m17n.org>
13231 * international/ucs-normalize.el: If decomposition property of
13232 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13234 (nfd, nfkd): Likewise.
13236 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13238 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13239 from process filters aren't reliably transmitted to the surrounding
13240 accept-process-output.
13241 (mpc-proc-check): New function.
13242 (mpc-proc-sync): Use it (bug#8293)
13244 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13246 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13247 Add compatibility functions (bug#9313).
13249 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13251 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13253 * international/uni-bidi.el: Regenerate.
13255 2011-08-23 Kenichi Handa <handa@m17n.org>
13257 * international/charprop.el:
13258 * international/uni-bidi.el:
13259 * international/uni-category.el:
13260 * international/uni-combining.el:
13261 * international/uni-comment.el:
13262 * international/uni-decimal.el:
13263 * international/uni-decomposition.el:
13264 * international/uni-digit.el:
13265 * international/uni-lowercase.el:
13266 * international/uni-mirrored.el:
13267 * international/uni-name.el:
13268 * international/uni-numeric.el:
13269 * international/uni-old-name.el:
13270 * international/uni-titlecase.el:
13271 * international/uni-uppercase.el: Regenerate.
13273 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13275 * help.el (help-window-setup): Fix message displayed when other
13276 window is reused. (Bug#9341)
13278 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13280 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13281 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13283 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13285 * shell.el (shell-parse-pcomplete-arguments): New function.
13286 (shell-completion-vars): Use it instead (bug#9160).
13288 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13290 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13291 strings and comments (bug#9333).
13293 * emacs-lisp/debug.el (debug-arglist): New function.
13294 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13295 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13297 2011-08-22 Juri Linkov <juri@jurta.org>
13299 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13300 Revert regexp that highlights output switches to its old
13301 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13303 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13304 to check for empty output (bug#9226).
13306 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13308 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13309 symbol-constituent as the default, as that stops font-lock from
13310 working properly (Bug#8843).
13312 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13314 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13315 `coding-system-for-*' around the process open call to avoid
13316 auth-source side effects.
13317 (smtpmail-try-auth-methods): Expand the secret password.
13318 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13321 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13323 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13325 * emacs-lisp/find-func.el (find-function-noselect): New arg
13328 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13329 signal an error for built-in functions (Bug#6664).
13331 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13333 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13334 (smtpmail-try-auth-methods): Use it.
13336 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13338 * font-lock.el (font-lock-fontify-region)
13339 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13340 (font-lock-default-unfontify-buffer)
13341 (font-lock-default-fontify-region)
13342 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13344 * progmodes/compile.el (compilation-error-properties):
13345 Fix confusion between file struct and message struct (Bug#9319).
13346 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13349 * net/browse-url.el (browse-url-firefox): Don't call
13350 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13352 2011-08-20 Glenn Morris <rgm@gnu.org>
13354 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13356 * tutorial.el (tutorial--default-keys): Update some default bindings.
13358 * files.el (hack-local-variables): Fully ignore case for "mode:".
13360 2011-08-20 Alan Mackenzie <acm@muc.de>
13362 Resolve invalid use of a regexp in regexp-opt.
13364 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13365 detection for a java annotation.
13367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13368 detection for a java annotation.
13370 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13372 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13374 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13376 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13379 2011-08-20 Alan Mackenzie <acm@muc.de>
13381 Fontify CPP expressions correctly when starting in the middle of
13382 such a construct. Mainly for when jit-lock etc. starts a chunk
13385 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13387 (c-make-font-lock-search-form): New function, extracted from
13388 c-make-font-lock-search-function.
13389 (c-make-font-lock-search-function): Use the above function.
13390 (c-make-font-lock-context-search-function): New function.
13391 (c-cpp-matchers): Enhance the preprocessor expression case with
13393 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13394 which takes an expression.
13396 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13398 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13400 * window.el (display-buffer-reuse-window)
13401 (display-buffer-pop-up-window): Don't reuse or split a side
13404 2011-08-19 Glenn Morris <rgm@gnu.org>
13406 * files.el (hack-local-variables-prop-line, hack-local-variables):
13407 Downcase "Mode:". (Bug#9331)
13409 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13411 * international/characters.el: Add L and R categories.
13413 * subr.el (bidi-string-mark-left-to-right): Rename from
13414 string-mark-left-to-right. Use category search.
13416 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13418 2011-08-18 Juri Linkov <juri@jurta.org>
13420 * faces.el (error, warning, success): New faces with definitions
13421 copied from old default values of `font-lock-warning-face',
13422 `compilation-warning', `compilation-info' (bug#6117).
13424 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13426 * progmodes/compile.el (compilation-error): Inherit from `error'.
13427 (compilation-warning): Inherit from `warning'.
13428 (compilation-info): Inherit from `success'.
13430 * dired.el (dired-marked): Inherit from `warning'.
13431 (dired-flagged): Inherit from `error'.
13433 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13435 * mail/smtpmail.el (auth-source): Require to avoid problems with
13436 binding variables (bug#9298). Also clean up some unused
13439 * net/network-stream.el (network-stream-open-starttls):
13440 Support using starttls.el without using gnutls-cli.
13442 2011-08-17 Juri Linkov <juri@jurta.org>
13444 * progmodes/grep.el (rgrep): Handle the case when
13445 `grep-find-command' is a cons cell (bug#9278).
13447 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13449 * window.el (display-buffer-pop-up-frame): Run frame creation
13450 function with BUFFER current (as special-display-popup-frame
13451 does). Reported by Drew Adams.
13453 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13455 * epa-mail.el: Simplify GnuPG group expansion using
13457 (epa-mail-group-alist, epa-mail-group-modtime)
13458 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13459 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13460 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13463 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13465 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13467 2011-08-16 Alan Mackenzie <acm@muc.de>
13469 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13470 Correct, to avoid the inside of macros.
13472 2011-08-16 Richard Stallman <rms@gnu.org>
13474 * epa-mail.el: Handle GnuPG group definitions.
13475 (epa-mail-group-alist, epa-mail-group-modtime)
13476 (epa-mail-gnupg-conf-file): New variables.
13477 (epa-mail-parse-groups, epa-mail-sync-groups)
13478 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13479 (epa-mail-expand-recipients): New functions.
13480 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13482 * mail/rmail.el (rmail-epa-decrypt): New command.
13484 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13485 Don't bind buffer-read-only, just inhibit-read-only.
13486 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13487 (epa-decrypt-armor-in-region): Make error message clearer.
13489 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13491 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13492 and "a2b" to "ab" for `prefix'.
13494 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13496 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13498 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13499 Fourquet (Bug#8804).
13501 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13503 * startup.el (argi): Declare as global variable (bug#9275).
13505 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13507 * subr.el (string-mark-left-to-right): Search the entire string
13508 for RTL script, not just the terminating character. Doc fix.
13510 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13512 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13514 (js--regexp-literal, js-syntax-propertize-function): Remove.
13515 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13516 (js-mode-map): Don't rebind electric keys.
13517 (js-insert-and-indent): Remove.
13518 (js-mode): Setup electric-layout and electric-indent instead.
13520 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13522 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13524 * epa.el (epa-progress-callback-function): Fix the logic of
13525 displaying progress.
13526 * epa-file.el (epa-file-insert-file-contents): Make progress
13527 display more user-friendly.
13528 (epa-file-write-region): Ditto.
13530 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13532 * subr.el (string-mark-left-to-right): New function.
13534 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13535 Use string-mark-left-to-right.
13536 (list-buffers-noselect): Caller changed.
13538 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13539 Use string-mark-left-to-right.
13540 (tabulated-list-print): Recenter after moving point.
13542 2011-08-10 Juri Linkov <juri@jurta.org>
13544 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13545 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13546 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13548 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13550 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13553 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13555 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13556 character. (Bug#6594)
13558 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13560 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13561 (image-dired--with-db-file): New macro.
13562 (image-dired-write-tags, image-dired-remove-tag)
13563 (image-dired-create-gallery-lists, image-dired-write-comments)
13564 (image-dired-get-comment, image-dired-mark-tagged-files)
13565 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13566 (image-dired-gallery-generate): Use insert-file-contents.
13568 * time.el (display-time-world-list, display-time-world-display):
13569 * time-stamp.el (time-stamp-string):
13570 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13571 set-time-zone-rule (Bug#7337).
13573 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13575 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13576 (epg-error-to-string, epg-errors-to-string): New function.
13577 (epg-wait-for-completion): Reverse errors list.
13578 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13579 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13580 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13581 (epg-sign-keys, epg-generate-key-from-file)
13582 (epg-generate-key-from-string): Format errors by using
13583 epg-errors-to-string (bug#9255).
13584 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13586 2011-08-07 Juri Linkov <juri@jurta.org>
13588 * faces.el (list-faces-display): Remove extra angle bracket
13589 from `help-mode-map'.
13591 * info.el (Info-history-toc-nodes): Doc fix.
13593 * longlines.el (longlines-mode): Doc fix.
13595 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13597 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13598 of statements and in a few more cases (bug#9183).
13600 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13602 (cl-transform-lambda): Use them (bug#9239).
13604 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13606 * window.el (display-buffer-same-window)
13607 (display-buffer-same-frame, display-buffer-other-window)
13608 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13609 (pop-to-buffer-other-window)
13610 (pop-to-buffer-same-frame-other-window)
13611 (pop-to-buffer-other-frame): Make them defuns.
13612 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13614 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * subr.el (make-composed-keymap): Move from C. Change calling
13617 convention, and improve docstring to bring attention to a subtle point.
13618 * minibuffer.el (completing-read-default): Adjust accordingly.
13620 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13622 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13623 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13625 * net/trampver.el: Update release number.
13627 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13632 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13634 * mail/sendmail.el (sendmail-query-once): Restore the current
13635 buffer after querying (bug#9074).
13637 * dired.el (dired-flagged): Use different faces for marked and
13638 flagged files (bug#6117).
13640 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13643 * ido.el (ido-mode): Switch off the message if called
13646 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13647 before 587, since it appears that that's more likely to work for
13650 * cus-edit.el (custom-file): When running under emacs -q, always
13651 refuse to save the customizations, even if the .emacs file doesn't
13654 * info.el: Remove the `Info-beginning-of-buffer' function
13657 * net/network-stream.el (network-stream-open-starttls):
13658 Use `starttls-available-p' to see whether starttls.el can be used.
13660 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13662 * window.el (display-buffer-in-window): Don't set dedicated status
13663 of window here (Bug#9215).
13664 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13665 (display-buffer-pop-up-side-window)
13666 (display-buffer-in-side-window): Set dedicated status of window here.
13668 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13671 before binding generated-autoload-file.
13673 2011-08-01 Deniz Dogan <deniz@dogan.se>
13675 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13677 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13679 Sync with Tramp 2.2.2.
13681 * net/trampver.el: Update release number.
13683 2011-07-30 Juri Linkov <juri@jurta.org>
13685 * dired-aux.el (dired-touch-initial): Remove function.
13686 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13687 current time, and `default' to the last modification time of the
13688 current marked file (bug#6887).
13690 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13692 * simple.el (goto-line): Use string-to-number to provide a
13693 numeric argument to read-number (bug#9163).
13695 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13697 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13698 connection process, it could be nil.
13700 2011-07-27 Leo Liu <sdl.web@gmail.com>
13702 Simplify url handling in rcirc-mode.
13704 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13705 (rcirc-browse-url-at-mouse): Remove.
13706 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13708 2011-07-26 Alan Mackenzie <acm@muc.de>
13710 Fontify bitfield declarations properly.
13712 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13713 (c-symbol-chars): Now exported as a lang variable.
13714 (c-not-primitive-type-keywords): New lang variable.
13716 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13717 QT keyword "more" to prevent "more slots: ...." being spuriously
13718 parsed as a bitfield declaration.
13720 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13721 Refactor and enhance to handle bitfield declarations.
13722 (c-punctuation-in): New function.
13723 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13724 declarations properly.
13726 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13728 * calendar/icalendar.el (icalendar--all-events): Take care of
13729 multiple vcalendars in a single file.
13730 (icalendar--convert-float-to-ical): Checkdoc fixes.
13732 2011-07-25 Deniz Dogan <deniz@dogan.se>
13734 * image.el (insert-image): Clarifying docstring.
13736 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13738 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13739 `tramp-send-command-and-check' if there is no error.
13740 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13742 2011-07-22 Alan Mackenzie <acm@muc.de>
13744 Prevent cc-langs.elc being loaded at run time.
13746 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13749 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13750 "(require 'cc-langs)". Quote a form so it will evaluate at
13751 (cc-mode's) compilation time.
13753 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13755 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13756 loading. (Bug#9114)
13758 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13760 * window.el (display-buffer-pop-up-window)
13761 (display-buffer-pop-up-side-window)
13762 (display-buffer-in-side-window): Call display-buffer-set-height
13763 and display-buffer-set-width after setting the new window's
13764 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13766 2011-07-20 Sam Steingold <sds@gnu.org>
13768 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13769 (etags-tags-included-tables): Call `convert-standard-filename' on
13770 the file names contained in TAGS so that windows Emacs can handle
13771 TAGS files created by cygwin ctags.
13773 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13775 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13776 which apparently didn't work.
13778 2011-07-19 Roland Winkler <winkler@gnu.org>
13780 * proced.el (proced-send-signal): For *Marked Processes* buffer
13781 put point at beginning of buffer.
13783 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13785 * proced.el (proced-format): Make header lines align with the text
13788 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13790 * view.el (view-buffer): Allow running in `special' modes if we're
13791 visiting a file (bug#8615).
13793 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13795 * window.el (display-buffer-alist-of-strings-p)
13796 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13798 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13801 2011-07-18 Alan Mackenzie <acm@muc.de>
13803 Fontify declarators properly when, e.g., a jit-lock chunk begins
13804 inside a declaration.
13806 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13810 (c-complex-decl-matchers): Insert reference to
13811 c-font-lock-enclosing-decls.
13813 * progmodes/cc-engine.el (c-backward-single-comment):
13814 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13815 to nil around calls to (forward-comment -1).
13817 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13819 * image.el (put-image): Doc typo fix.
13821 * progmodes/etags.el (tags-search): Doc typo fix.
13823 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13824 password if we get errors 550 to 554.
13826 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13828 * net/gnutls.el (gnutls-log-level): Remove.
13830 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13831 indentation character (bug#6380).
13833 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13835 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13836 to clarify what the problem is (bug#4291).
13838 * simple.el (current-kill): Clarify what
13839 `interprogram-paste-function' does (bug#7500).
13840 (auto-fill-mode): Document `auto-fill-function' in relation to
13841 `auto-fill-mode' (bug#2470).
13843 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13845 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13846 method if slot is read-only (bug#9035).
13848 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13850 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13851 * window.el (pop-to-buffer): Select window used even if it was
13852 selected before, see discussion of (Bug#8615), (Bug#6954).
13853 Pass argument NORECORD on to select-frame-set-input-focus.
13855 2011-07-15 Glenn Morris <rgm@gnu.org>
13857 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13860 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13862 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13863 (gnutls-negotiate): Use it.
13865 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13867 * net/gnutls.el (gnutls-negotiate):
13868 Upcase `gnutls-algorithm-priority'.
13870 2011-07-15 Glenn Morris <rgm@gnu.org>
13872 * jka-compr.el (jka-compr-verbose): Move from here...
13873 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13874 Add missing :version tag.
13875 * info.el: No need to require jka-compr when compiling.
13877 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13879 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13880 (gnutls-negotiate): Use it.
13882 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13884 * info.el (Info-beginning-of-buffer): New command.
13885 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13886 announcing `b' as the key (bug#8325).
13887 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13889 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13891 * international/mule-cmds.el
13892 (describe-specified-language-support): Make the error message
13893 clearer (bug#8905).
13895 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13897 * isearch.el (isearch-barrier): Add a doc string, since it's
13898 mentioned in a function doc string (bug#8678).
13900 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13902 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13903 buffer argument (Bug#9083) and self-identifying label argument.
13905 2011-07-15 Glenn Morris <rgm@gnu.org>
13907 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13909 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13911 * man.el (Man-fontify-manpage): Fix message when formatting the
13912 man page (bug#7929).
13914 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13916 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13917 argument LRM; if non-nil, append an invisible LRM character to the
13919 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13920 last argument non-nil, when formatting buffer names.
13921 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13922 paragraph direction.
13924 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13926 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13927 the man page name (bug#7929).
13929 * image.el (put-image): Mention the `put-image' overlay property
13932 * scroll-bar.el (set-scroll-bar-mode): Mention that
13933 `scroll-bar-mode' lists the values (bug#7772).
13935 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13936 command (bug#7729).
13938 * rect.el (apply-on-rectangle): Return the point after the last
13940 (string-rectangle): Go to the point after the last operation
13943 * printing.el (pr-toggle-region): Clarify the documentation
13944 slightly (bug#7493).
13946 * time.el (display-time-update):
13947 Allow `display-time-mail-function' to return nil (bug#7158).
13948 Fix suggested by Detlev Zundel.
13950 * vc/diff.el (diff): Clarify the order the file names are read
13953 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13954 the doc string (bug#7015).
13956 * font-lock.el (font-lock-maximum-decoration): Mention what
13957 numeric levels mean (bug#6935).
13959 * startup.el (initial-buffer-choice): Don't mention the `none'
13960 selection, which is against policy.
13962 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13964 * window.el (display-buffer-normalize-special):
13965 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13967 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13969 * subr.el (version<, version<=, version=): Mention "-CVS" and
13970 "-12345" alpha version numbers.
13972 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13974 * bindings.el: Add advertised binding for set-mark-command
13977 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13979 * bindings.el (mode-line-other-buffer):
13980 * bookmark.el (bookmark-bmenu-2-window):
13981 * bs.el (bs-cycle-next, bs-cycle-previous):
13982 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13985 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13988 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13990 * follow.el (follow-debug-message, follow-redisplay):
13991 * jka-cmpr-hook.el (with-auto-compression-mode):
13992 Fix typos in docstrings.
13994 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13996 * subr.el (with-silent-modifications): Clarify somewhat what the
13997 macro inhibits (bug#6525).
13999 * simple.el (eval-expression): Note what it does if called
14000 interactively (bug#6495).
14002 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14004 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14005 Use pop-to-buffer buffer-or-name if it is nil.
14007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14008 Remove switch-to-buffer.
14010 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14012 * files.el (make-directory): Clarify that an error will be raised
14013 if there's an error (bug#6397).
14015 * startup.el (initial-buffer-choice): Add `none' as a choice
14018 * subr.el (add-hook): Clarify section about buffer-local hooks
14021 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14023 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14025 * tabify.el (untabify): Preserve the current column so that point
14026 doesn't move (bug#6032).
14028 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14030 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14031 Rewrite to avoid awkward possessive "s" (bug#5986).
14033 2011-07-13 Glenn Morris <rgm@gnu.org>
14035 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14036 (dired-insert-directory): Give a message the first time
14037 if ls is found not to support --dired.
14039 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14041 * simple.el (toggle-truncate-lines): Clarify what is toggled
14042 (bug#5580). Text by Drew Adams.
14044 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14046 * simple.el (blink-matching-open): Make the error message from the
14047 last change less verbose.
14049 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14051 * font-lock.el (font-lock-comment-face): Use the high contrast
14052 "yellow" color for font-lock-comment-face on low color terminals
14053 using a dark background color (bug#4221).
14055 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14057 * dired.el (dired-insert-set-properties): Make the doc string
14058 reflect what it does now (bug#5325).
14060 * simple.el (blink-matching-open): Say that we were unable to find
14061 the match within the limit, if we're limited (bug#5122).
14063 * international/mule-cmds.el (prefer-coding-system): Add an
14064 example (bug#4869).
14066 * progmodes/etags.el (tags-search): Document `file-list-form'
14069 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14071 * net/browse-url.el (browse-url-default-browser)
14072 (browse-url-browser-function): Make the default browser choice a
14073 bit more logical (bug#4300). Also clean up the doc string.
14075 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14077 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14078 binary endings (bug#4440).
14080 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14082 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14083 which can be pretty annoying (bug#8971).
14085 * jka-compr.el (jka-compr-verbose): New variable, and use
14086 throughout (bug#8971).
14088 * info.el (Info-find-file): Fall back on the installation
14089 directory if we can't find the info node anywhere else.
14091 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14093 * vc/vc.el (vc-revert-file):
14094 Don't set file time-stamp in the past. (Bug#5181)
14096 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14098 * files.el (after-find-file): Give a better error message when
14099 trying to find a symlink that points to a file that doesn't exist
14102 * progmodes/cc-vars.el: Remove (probably) misleading comment
14105 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14107 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14109 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14111 * mouse-sel.el: Hack restoring functionality, while keeping
14112 compatibility with 2010-07-03 changes to mouse selection.
14113 (mouse-sel-primary-overlay): New var.
14114 (mouse-sel-selection-alist): Use it.
14115 (mouse-sel-mode): Doc fix; remove points that are default features
14118 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14121 Fix previous fix (bug#2490).
14123 2011-07-12 Roland Winkler <winkler@gnu.org>
14125 * textmodes/bibtex.el (bibtex-initialize):
14126 Use pop-to-buffer-same-window.
14127 (bibtex-search-entries): Fix interactive call.
14129 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14132 Fontise bytecomp Error lines more correctly (bug#2490).
14133 Fix suggested by Johan Bockgård.
14135 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14137 * dired-x.el (dired-guess-default): Use `delete-dups'.
14139 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14141 * dired.el (dired-mark-prompt):
14142 * dired-aux.el (dired-read-shell-command): Doc fix.
14144 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14146 * mail/sendmail.el (sendmail-query-once):
14147 Use `customize-save-variable' unconditionally, now that it works under
14150 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14152 * cus-edit.el (custom-file): Take an optional no-error variable.
14153 (customize-save-variable): Set the variable, and give a warning if
14154 running under "emacs -q".
14156 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14158 * loadhist.el (unload-feature-special-hooks):
14159 Add `auto-coding-functions', `fill-nobreak-predicate' and
14160 `find-directory-functions' (bug#5327).
14162 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14164 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14166 * cus-edit.el (custom-guess-name-alist): -alist variables should
14167 use the `alist' type (bug#3120). Suggested by Drew Adams.
14169 * printing.el: Add documentation to all the `pr-toggle-' commands.
14171 2011-07-11 Leo Liu <sdl.web@gmail.com>
14173 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14174 backends where it makes sense (bug#2623).
14176 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14178 * dired-x.el (dired-guess-default): Remove duplicate shell command
14179 entries (bug#2028).
14180 (dired-guess-default): Fix grammar in doc string (bug#2028).
14181 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14183 * subr.el (remove-duplicates): New conveniency function.
14185 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14187 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14190 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14192 * window.el (display-buffer-normalize-default): Don't invert
14193 meaning of even-window-heights. Reported by Eli Zaretskii
14196 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14198 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14200 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14202 * window.el (display-buffer): Fix arguments to
14203 display-buffer-reuse-window in last change.
14205 * faces.el (link): Use a less saturated blue on light backgrounds.
14207 * startup.el (fancy-startup-text, fancy-about-text)
14208 (fancy-startup-tail): Use font-lock faces, for background safety.
14210 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14212 * emulation/viper-cmd.el (viper-change-state-to-vi):
14213 Limit triggering of abbrev expansion (Bug#9038).
14215 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14217 * window.el (display-buffer-default-specifiers): Remove.
14218 (display-buffer-macro-specifiers): Remove default specifiers.
14219 (display-buffer-alist): Default to nil.
14220 (display-buffer-reuse-window): New optional argument other-window.
14221 (display-buffer-pop-up-window): Allow splitting internal
14222 windows. Check whether a live window was created.
14223 (display-buffer-other-window-means-other-frame)
14224 (display-buffer-normalize-arguments): Rename to
14225 display-buffer-normalize-argument and rewrite. Set the
14226 other-window specifier.
14227 (display-buffer-normalize-special): New function.
14228 (display-buffer-normalize-options): Rename to
14229 display-buffer-normalize-default and rewrite.
14230 (display-buffer-normalize-options-inhibit): Remove.
14231 (display-buffer-normalize-specifiers): Rewrite.
14232 (display-buffer): Process other-window specifier and call
14233 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14235 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14236 (display-buffer-alist-set): Don't handle 'unset default values.
14237 (display-buffer-in-window, display-buffer-alist-set):
14238 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14239 <tassilo@member.fsf.org>.
14241 2011-07-09 Leo Liu <sdl.web@gmail.com>
14243 * register.el (insert-register): Restore accidental change on
14244 2011-06-26. (Bug#9028)
14246 2011-07-09 Glenn Morris <rgm@gnu.org>
14248 * subr.el (remq): Handle the empty list. (Bug#9024)
14250 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14252 * mail/sendmail.el (send-mail-function): No longer delay custom
14254 * custom.el (custom-initialize-delay): Doc fix.
14256 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14258 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14260 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14262 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14263 human-friendly prompt.
14265 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14267 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14268 provided by a particular plugin.
14270 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14272 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14273 save customizations (with "emacs -Q"), just set the variable
14274 instead of erroring out.
14276 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14278 2011-07-08 Juri Linkov <juri@jurta.org>
14280 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14281 (archive-zip-update-case): Use 7z if found by `executable-find'.
14282 The order of searching the available programs is the same as in
14283 `archive-zip-extract' (bug#8968).
14285 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14287 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14288 (menu-bar-options-menu): Tweak descriptions.
14290 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14293 menu items into verb phrases (bug#1421). Also refill to fit under
14296 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14298 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14299 (Info-read-node-name): Doc fix (Bug#1084).
14301 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14302 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14303 (end-of-sexp, beginning-of-sexp)
14304 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14305 (forward-symbol, forward-same-syntax, word-at-point)
14306 (sentence-at-point): Doc fix (Bug#1144).
14308 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14310 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14311 should cover it (bug#1281).
14313 * cus-edit.el (custom-show): Mark as obsolete.
14315 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14316 negotiation fails, then possibly try again with a non-encrypted
14317 connection (bug#9017).
14319 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14322 2011-07-07 Richard Stallman <rms@gnu.org>
14324 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14325 property, and handle its changed format.
14326 Look for the correct line number.
14327 Use file's line contents (but not past first =) to find
14328 correct line in message.
14330 2011-07-07 Kenichi Handa <handa@m17n.org>
14332 * international/characters.el (build-unicode-category-table):
14334 (unicode-category-table): Set it by unicode-property-table-internal.
14336 * international/mule-cmds.el (char-code-property-alist): Move to
14338 (get-char-code-property): Call unicode-property-table-internal to
14339 load a file. Call get-unicode-property-internal where necessary.
14340 (put-char-code-property): Call unicode-property-table-internal to
14341 load a file. Call put-unicode-property-internal where necessary.
14342 put-unicode-property-internal where necessary.
14343 (char-code-property-description):
14344 Call unicode-property-table-internal to load a file.
14346 * international/charprop.el:
14347 * international/uni-bidi.el:
14348 * international/uni-category.el:
14349 * international/uni-combining.el:
14350 * international/uni-comment.el:
14351 * international/uni-decimal.el:
14352 * international/uni-decomposition.el:
14353 * international/uni-digit.el:
14354 * international/uni-lowercase.el:
14355 * international/uni-mirrored.el:
14356 * international/uni-name.el:
14357 * international/uni-numeric.el:
14358 * international/uni-old-name.el:
14359 * international/uni-titlecase.el:
14360 * international/uni-uppercase.el: Regenerate.
14362 * loadup.el: Load international/charprop.el before
14363 international/characters.
14365 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14367 * window.el (next-buffer, previous-buffer): Signal an error if
14368 called from a minibuffer window.
14370 * bindings.el: Revert 2011-07-04 change.
14372 2011-07-06 Richard Stallman <rms@gnu.org>
14374 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14375 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14376 Treat markers like ints.
14377 (rmail-mime-entity): Doc fix.
14379 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14381 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14382 defcustom again for backwards compatibility.
14384 * simple.el (shell-command-on-region): Fill.
14386 * dired-aux.el (dired-kill-line): Add a doc string.
14388 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14389 to "\\sw\\|\\s_" (bug#358).
14391 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14392 (dired-unmark-backward): Ditto.
14393 (dired-flag-backup-files): Ditto.
14395 * dired-x.el (dired-mark-sexp): Ditto.
14397 2011-07-06 Richard Stallman <rms@gnu.org>
14399 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14400 (rmail-mime-entity): New arg TRUNCATED.
14401 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14403 (rmail-mime-save): Warn if entity is truncated.
14404 (rmail-mime-toggle-hidden): Likewise, for showing.
14405 (rmail-mime-process-multipart): Record when an entity is truncated.
14407 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14408 if ENTITY is a string.
14410 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14412 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14413 of faces when `M-C-x'-ing their definitions (bug#8378).
14414 Also clean up the code slightly.
14416 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14417 because that makes the colors go away.
14419 * mail/sendmail.el (send-mail-function): Change the default to
14420 `sendmail-query-once'.
14421 (sendmail-query-once): Add an autoload cookie.
14423 * net/network-stream.el (network-stream-open-starttls): Try using
14424 a plain connection even if the server offered STARTTLS, and we
14425 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14426 capability. This should make smtpmail.el work in slightly more
14429 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14431 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14433 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14435 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14437 * progmodes/sql.el: Version 3.0
14438 (sql-product-alist): Add product :completion-object,
14439 :completion-column, and :statement attributes.
14440 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14441 (sql-mode-syntax-table): Mark all punctuation.
14442 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14444 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14445 (sql-mode-oracle-font-lock-keywords): Improve.
14446 (sql-oracle-show-reserved-words): New function for development.
14447 (sql-product-font-lock): Simplify for source code buffers.
14448 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14450 (sql-highlight-product): Set product specific syntax table.
14451 (sql-mode-map): Add statement movement functions.
14452 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14454 (sql-statement-regexp, sql-beginning-of-statement)
14455 (sql-end-of-statement, sql-signum): New functions.
14456 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14457 (sql-show-sqli-buffer): Bug fix.
14458 (sql-interactive-mode): Store connection data as buffer local.
14459 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14460 with sql-interactive-mode.
14461 (sql-save-connection): Save buffer local settings.
14462 (sql-connection-menu-filter): Change menu entry name.
14463 (sql-product-interactive): Bug fix.
14464 (sql-preoutput-hold): New variable.
14465 (sql-interactive-remove-continuation-prompt): Bug fixes.
14466 (sql-debug-redirect): New variable.
14467 (sql-str-literal): New function.
14468 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14470 (sql-oracle-save-settings, sql-oracle-restore-settings)
14471 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14472 (sql-completion-object, sql-completion-column)
14473 (sql-completion-sqlbuf): New variables.
14474 (sql-build-completions-1, sql-build-completions)
14475 (sql-try-completion): New functions.
14476 (sql-read-table-name): Use them.
14477 (sql-contains-names): New buffer local variable.
14478 (sql-list-all, sql-list-table): Use it.
14479 (sql-oracle-completion-types): New variable.
14480 (sql-oracle-completion-object, sql-sqlite-completion-object)
14481 (sql-postgres-completion-object): New functions.
14483 2011-07-06 Glenn Morris <rgm@gnu.org>
14485 * window.el (pop-to-buffer): Doc fix.
14487 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14489 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14491 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14493 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14495 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14497 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14499 * button.el (button): Inherit from link face. Suggested by Dan
14502 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14504 * progmodes/gdb-mi.el: Fit in 80 columns.
14505 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14508 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14509 if imenu is simply not configured (bug#8941).
14511 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14513 * allout.el (allout-post-undo-hook): New allout outline-change
14514 event hook to signal undo activity.
14515 (allout-post-command-business): Run allout-post-undo-hook if an
14516 undo just occurred.
14517 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14518 * allout-widgets.el (allout-widgets-after-undo-function):
14519 Ensure the integrity of the current item's decoration after it has been
14520 in the vicinity of an undo.
14521 (allout-widgets-mode): Include allout-widgets-after-undo-function
14522 on the new allout-post-undo-hook.
14524 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14526 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14527 Let define-derived-mode define it.
14528 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14529 cycles of abbrev-table inheritance (bug#8998).
14531 2011-07-05 Roland Winkler <winkler@gnu.org>
14533 * textmodes/bibtex.el: Add support for biblatex.
14534 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14535 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14536 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14537 (bibtex-entry-alist, bibtex-field-alist): New variables.
14538 (bibtex-entry-field-alist): Obsolete alias for
14539 bibtex-BibTeX-entry-alist.
14540 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14541 (bibtex-set-dialect): New command.
14542 (bibtex-entry-type, bibtex-entry-head)
14543 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14544 Bind via bibtex-set-dialect.
14545 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14546 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14547 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14548 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14549 Define via bibtex-set-dialect.
14550 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14551 Obey bibtex-no-opt-remove-re.
14552 (bibtex-vec-push, bibtex-vec-incr): New functions.
14553 (bibtex-format-entry, bibtex-field-list)
14554 (bibtex-print-help-message, bibtex-validate)
14555 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14557 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14559 * progmodes/compile.el (compilation-goto-locus):
14560 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14561 * bs.el (bs-cycle-next, bs-cycle-previous):
14562 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14563 * bindings.el (mode-line-other-buffer):
14564 * autoinsert.el (auto-insert):
14565 * arc-mode.el (archive-extract):
14566 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14568 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14570 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14571 Fix check of `emacs-lock-unlockable-modes'.
14572 Coerce true values of `emacs-lock--try-unlocking' to t.
14574 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14576 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14577 * emacs-lock.el: New file.
14579 2011-07-05 Julien Danjou <julien@danjou.info>
14581 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14582 than `boundp' to check if face is set.
14584 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14586 * register.el (registerv-make):
14587 * window.el (window-min-height): Fix typos in docstrings.
14589 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14591 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14594 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14596 * server.el (server-execute): Catch quit and call
14597 `server-return-error' to pass the error back to emacsclient and
14598 close the connection (bug#8942).
14600 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14602 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14603 insecure exception for current topic. Also note that auto-saves
14604 are handled differently.
14606 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14607 State variables for tracking auto-save inhibition situation.
14609 (allout-write-contents-hook-handler): Rename from
14610 'allout-write-file-hook-handler', and describe how it depends on
14611 write-contents-functions sensitivity to non-nil value to prevent
14614 (allout-auto-save-hook-handler): Remove. auto-save does not check
14615 this in individual buffers, only in the starting buffer, so this
14616 is not the right way for us to inhibit auto-save in a buffer
14617 according to its condition.
14619 (allout-mode): Use new allout-write-contents-hook-handler, and
14620 only with write-contents-functions. Remove auto-save provisions -
14621 they're implemented elsewhere.
14623 (allout-before-change-handler): If undo is in progress, note that
14624 for attention of allout-post-command-business.
14626 (allout-post-command-business): If the command we're following was
14627 an undo, check for change in the status of encrypted items and
14628 adjust auto-save inhibitions accordingly.
14630 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14631 according to whether there are or aren't any plain-text topics
14632 pending encryption.
14634 (allout-inhibit-auto-save-info-for-decryption):
14635 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14636 if there are plain-text topics pending encryption.
14638 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14639 buffer-saved-size and some allout state to not inhibit auto-saves
14640 if there are no longer any plain-text topics pending encryption.
14642 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14643 No longer provide for exemption of the current topic.
14645 2011-07-04 Juri Linkov <juri@jurta.org>
14647 Add 7z operations to delete and save changed members (bug#8968).
14648 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14650 (archive-7z-write-file-member): New function.
14651 (archive-7z-summarize): Fix the number of dashes in the
14654 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14656 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14659 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14661 * bindings.el: Ignore next-buffer and previous-buffer in
14662 minibuffer-local-map.
14664 * font-lock.el (font-lock-builtin-face): Change light background
14665 color to dark slate blue (Bug#6693).
14667 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14669 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14671 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14673 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14674 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14675 Add switch-to-buffer.
14677 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14679 * isearch.el (isearch-search-fun-function): Clarify further the
14680 meaning of the function returned.
14682 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14684 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14686 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14687 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14689 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14690 `tramp-default-remote-path' does not exist.
14691 (tramp-send-command-and-read): New optional argument NOERROR.
14692 (tramp-open-connection-setup-interactive-shell)
14693 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14694 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14695 (tramp-process-sentinel): Flush also process' connection property.
14696 (tramp-sh-handle-start-file-process): Do not set process
14697 sentinel. It is done now ...
14698 (tramp-maybe-open-connection): ... here. (Bug#8929)
14700 2011-07-04 MON KEY <monkey@sandpframing.com>
14702 * play/animate.el (animate-string): Doc fixes and allow changing
14703 the buffer name (bug#5417).
14705 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14707 * play/animate.el (animation-buffer-name): Rename from *animate*.
14709 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14711 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14712 This is simpler and helps future-proof the code.
14713 (timer-until): Use time-subtract and float-time.
14714 (timer--time-less-p): Use time-less-p.
14716 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14718 * type-break.el (timep): Use the value of `float-time' to avoid a
14719 byte-compiler warning.
14721 * server.el (server-eval-and-print): Return any result, even nil.
14723 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14725 * type-break.el: Accept time formats that the builtins accept.
14726 (timep, type-break-time-difference): Accept any format that
14727 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14728 This is simpler and helps future-proof the code.
14729 (type-break-time-difference): Round rather than ignoring
14730 subseconds components.
14732 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14734 * info.el (Info-apropos-matches): Make non-interactive, since it
14735 doesn't seem to do anything useful as a command (bug#8829).
14737 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14739 * frame.el (frame-background-mode, frame-set-background-mode):
14740 Move from faces.el.
14741 (frame-default-terminal-background): New function.
14743 * custom.el (custom-push-theme): Don't record faces in `changed'
14744 theme; this doesn't work correctly for per-frame face settings.
14745 (disable-theme): Use face-set-after-frame-default to reset faces.
14746 (custom--frame-color-default): New function.
14748 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14750 * dired.el (dired-flagging-regexp): Remove unused variable
14753 2011-03-29 Kevin Ryde <user42@zip.com.au>
14755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14756 `perl-Test2' extend to match possible "fail #N" rep count
14759 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14761 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14762 `smtpmail-via-smtp' now returns the error instead of nil.
14764 * isearch.el (isearch-search-fun-function): Clarify the doc string
14767 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14769 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14770 unnecessary spaces (bug#8987).
14772 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14774 * net/network-stream.el (open-network-stream): Use the
14775 :end-of-capability command thoughout.
14777 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14779 * net/network-stream.el (open-network-stream): Add the
14780 :end-of-capability command parameter, used by pop3.el.
14782 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14784 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14786 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14787 for list)" (bug#6475).
14789 * files.el (file-expand-wildcards): Ignore non-readable
14790 sub-directories while trying to find matches instead of signaling
14791 an error (bug#6297).
14793 * man.el (Man-reference-regexp): Allow matching possible
14794 word-wrapped references (bug#6289).
14796 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14797 for consistency with the other vc buffers (bug#6197).
14798 (vc-checkin): Ditto.
14800 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14802 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14804 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14806 * custom.el (defcustom): Clarify that :set is only used in the
14807 Customize user interface (bug#6089).
14809 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14810 associated with a file, refuse to run instead of erroring out
14813 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14814 the doc string, since it appears that using `fill-column' always
14815 controls the width (bug#7845).
14817 * simple.el (shell-command-on-region): Say where the error output
14818 went if `shell-command-default-error-buffer' is set (bug#6857).
14820 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14822 * allout.el (allout-yank-processing): Adjust cursor position for
14823 backwards-deleted space.
14825 (allout-rebullet-heading): Register changes with
14826 allout-exposure-changed-hook, so the modified topic is properly
14829 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831 * minibuffer.el (completion-in-region): Document PREDICATE
14834 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14835 of keyword/argument pairs (bug#6904).
14837 * replace.el (multi-occur):
14838 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14840 2011-07-02 Drew Adams <drew.adams@oracle.com>
14842 * dired.el (dired-mark-if): Make the message about whether it's
14843 marking or unmarking clearer (bug#8523).
14845 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14847 * disp-table.el (display-table-print-array): New function.
14848 (describe-display-table): Use it to print the vectors more pretty
14851 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14853 * window.el (window-state-get-1): Don't assign clone numbers.
14854 Add clone-of item to list of window parameters.
14855 (window-state-put-2): Don't process clone numbers.
14856 (display-buffer-alist): Fix doc-string.
14858 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14860 * subr.el (remq): Don't allocate if it's not needed.
14861 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14862 (keymap--merge-bindings): New functions.
14863 (keymap-canonicalize): Use them to refine the canonicalization.
14864 * minibuffer.el (minibuffer-local-completion-map)
14865 (minibuffer-local-must-match-map): Move initialization from C.
14866 (minibuffer-local-filename-completion-map): Move initialization from C;
14867 don't inherit from anything here.
14868 (minibuffer-local-filename-must-match-map): Make obsolete.
14869 (completing-read-default): Use make-composed-keymap to combine
14870 minibuffer-local-filename-completion-map with either
14871 minibuffer-local-must-match-map or
14872 minibuffer-local-filename-completion-map.
14874 2011-07-01 Glenn Morris <rgm@gnu.org>
14876 * type-break.el (type-break-time-sum): Use dolist.
14878 * textmodes/flyspell.el (flyspell-word-search-backward):
14879 Replace CL function.
14881 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14883 * mouse.el (mouse--strip-first-event): New function.
14884 (function-key-map): Use it to map fringe clicks to normal clicks
14887 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14888 (vc-bzr-revision-completion-table): Add support for annotate and date.
14890 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14891 inherit from parent.
14893 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14895 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14896 (dired-show-file-type): Doc fixup (bug#8818).
14898 * dired.el (dired-mode): Fix up the doc string as suggested by
14899 Drew Adams (bug#8817).
14901 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14902 cookie, since the manual says that it should be possible to add
14903 this function to `find-file-hook' (bug#8709).
14905 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14907 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14908 here. Noted Ted Zlatanov as the maintainer.
14909 (cfengine-common-settings, cfengine-common-syntax): New functions
14910 to set up common things between `cfengine-mode' and
14912 (cfengine3-mode): New mode.
14913 (cfengine3-defuns cfengine3-defuns-regex
14914 (cfengine3-class-selector-regex cfengine3-category-regex)
14915 (cfengine3-vartypes cfengine3-font-lock-keywords)
14916 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14917 (cfengine3-indent-line): Add from cfengine3.el.
14919 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14921 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14923 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14925 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14927 * window.el (same-window-buffer-names, same-window-regexps)
14928 (same-window-p, special-display-frame-alist)
14929 (special-display-popup-frame, special-display-function)
14930 (special-display-buffer-names, special-display-regexps)
14931 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14932 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14933 (split-window-preferred-function, split-height-threshold)
14934 (split-width-threshold, even-window-heights)
14935 (display-buffer-mark-dedicated, window-splittable-p)
14936 (split-window-sensibly, window-safely-shrinkable-p):
14938 (display-buffer): Don't spread args with function specifier
14939 because special-display-popup-frame won't like it.
14941 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14943 Time-stamp simplifications and fixes.
14944 These improve accuracy slightly, and future-proof the code
14945 against some potential changes to current-time format.
14947 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14948 by using time-since and float-time.
14950 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14951 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14952 + NNN microseconds".
14954 * type-break.el (type-break-time-sum): Rewrite using time-add.
14956 * play/hanoi.el (hanoi-current-time-float): Remove.
14957 All uses replaced by float-time.
14959 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14960 This yields a more-accurate answer.
14961 (rng-time-to-float): Remove; no longer needed.
14963 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14965 * calendar/timeclock.el (timeclock-seconds-to-time):
14966 Defalias to seconds-to-time, since they're the same thing.
14968 * emacs-lisp/elp.el (elp-elapsed-time):
14969 * emacs-lisp/benchmark.el (benchmark-elapse):
14970 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14972 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14974 * window.el (bury-buffer): Don't iconify the only frame.
14975 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14976 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14978 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14980 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14981 Add mouse-yank-primary.
14983 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14985 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14987 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14989 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14990 (find-library-name): Use it to find relative load names when provided
14991 absolute file name (bug#8803).
14993 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14995 * textmodes/flyspell.el (flyspell-word): Consider words that
14996 differ only in case as potential doublons (bug#5687).
14998 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14999 Remove two rather uninteresting debugging-like messages to make
15000 debbugs.el more silent.
15002 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15003 a password-like phrase.
15005 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15007 * progmodes/cc-guess.el: New file.
15009 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15011 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15012 derived from `c-basic-common-init'.
15014 * progmodes/cc-mode.el (top-level): Require cc-guess.
15015 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15017 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15019 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15021 2011-06-30 Alan Mackenzie <acm@muc.de>
15023 * progmodes/cc-engine.el (c-guess-continued-construct):
15024 Correct the handling of template-args-cont, particularly for when font
15025 lock is disabled. Name this case as "CASE G".
15027 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15029 * allout.el (allout-yank-processing): Fix injection of extra space
15030 between bullet and non-whitespace character in first topic when
15031 pasting, ensuring that the actual spacing in the pasted topic
15032 following the bullet char is preserved. This extra space was
15033 causing pasted encrypted topics to get a decrypted status even
15034 when the content was actually still encrypted. Now the decryption
15035 status from before the paste is preserved.
15037 (allout-flag-region): Set all allout overlays so they evaporate
15038 when reduced to zero length (evanescent), to prevent overlay
15041 2011-06-30 Glenn Morris <rgm@gnu.org>
15043 * w32-fns.el (w32-charset-info-alist): Declare.
15045 * find-dired.el (find-grep-options): Simplify.
15047 * term/ns-win.el (ns-set-resource): Declare.
15049 * ses.el (row, col): Declare dynamic variables honestly.
15051 * textmodes/reftex-parse.el (index-tags): Declare.
15053 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15055 * cus-edit.el (customize-push-and-save): New function.
15057 * files.el (hack-local-variables-confirm): Use it.
15059 * custom.el (load-theme): New arg NO-CONFIRM.
15060 Use customize-push-and-save (Bug#8720).
15061 (custom-enabled-themes): Doc fix.
15063 * cus-theme.el (customize-create-theme)
15064 (custom-theme-merge-theme): Callers to load-theme changed.
15066 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15069 short URLs have at least one dot in them (bug #7614).
15071 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15072 nil, because using a pty is apparently too slow (bug #895).
15074 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15076 * mail/sendmail.el (sendmail-query-once): New function.
15077 (sendmail-query-once-function): New variable.
15079 2011-06-29 Glenn Morris <rgm@gnu.org>
15081 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15083 * ses.el (top-level): Require cl when compiling.
15084 (ses-set-localvars): Fix error statement.
15085 Call it at compile time to silence a storm of warnings.
15087 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15089 * window.el (normalize-live-buffer): Rename to
15090 window-normalize-buffer.
15091 (normalize-live-frame): Rename to window-normalize-frame.
15092 (normalize-any-window): Rename to window-normalize-any-window.
15093 (normalize-live-window): Rename to window-normalize-live-window.
15094 (make-window-atom): Rename to window-make-atom.
15095 (window-resize-reset): Rename to window--resize-reset.
15096 (window-resize-reset-1): Rename to window--resize-reset-1.
15097 (resize-mini-window): Rename to window--resize-mini-window.
15098 (resize-subwindows-skip-p): Rename to
15099 window--resize-subwindows-skip-p.
15100 (resize-subwindows-normal): Rename to
15101 window--resize-subwindows-normal.
15102 (resize-subwindows): Rename to window--resize-subwindows.
15103 (resize-other-windows): Rename to window--resize-siblings.
15104 (resize-this-window): Rename to window--resize-this-window.
15105 (resize-root-window): Rename to window--resize-root-window.
15106 (resize-root-window-vertically): Rename to
15107 window--resize-root-window-vertically.
15108 (normalize-buffer-to-display): Rename to
15109 window-normalize-buffer-to-display.
15110 (normalize-buffer-to-switch-to): Rename to
15111 window-normalize-buffer-to-switch-to.
15112 Correspondingly update all callers of the functions listed
15114 (display-buffer-alist, display-buffer-normalize-arguments)
15115 (display-buffer-normalize-options, display-buffer)
15116 (display-buffer-alist-set): Use "function" instead of
15119 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15121 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15122 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15123 debbugs.gnu.org. Mention acknowledgment email.
15125 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15127 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15128 buffer multibyteness, since it shouldn't matter.
15130 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15132 * window.el (display-buffer-in-side-window): Handle dedicated
15133 windows as in display-buffer-reuse-window.
15134 (display-buffer-normalize-alist): Use value of override
15136 (display-buffer-normalize-specifiers): Use value of
15137 other-window-means-other-frame specifier.
15138 (display-buffer-alist): Rewrite some texts in widgets.
15139 (display-buffer): Spread arguments when calling function
15140 specified by fun-with-args.
15142 2011-06-28 Deniz Dogan <deniz@dogan.se>
15144 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15147 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15148 selectors (Bug#5732).
15149 (css-proprietary-nmstart-re): Use `regexp-opt'.
15151 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15153 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15154 (eshell-ls-date-format): New defcustom.
15155 (eshell-ls-file): Use it.
15157 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15159 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15161 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15163 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15164 (ange-ftp-make-tmp-name): New arg.
15165 (ange-ftp-file-local-copy): Use it.
15167 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15169 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15170 no-conversion (Bug#8870).
15172 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15174 * window.el (window-right, window-left, window-child)
15175 (window-child-count, window-last-child)
15176 (window-iso-combination-p, walk-window-tree-1)
15177 (window-atom-check-1, window-tree-1, delete-window)
15178 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15179 new naming conventions - window-vchild, window-hchild,
15180 window-next and window-prev are now called window-top-child,
15181 window-left-child, window-next-sibling and window-prev-sibling
15183 (resize-window-reset): Rename to window-resize-reset.
15184 (resize-window-reset-1): Rename to window-resize-reset-1.
15185 (resize-window): Rename to window-resize.
15186 (window-min-height, window-min-width)
15187 (resize-mini-window, resize-this-window, resize-root-window)
15188 (resize-root-window-vertically, adjust-window-trailing-edge)
15189 (enlarge-window, shrink-window, maximize-window)
15190 (minimize-window, delete-window, quit-restore-window)
15191 (split-window, balance-windows, balance-windows-area-adjust)
15192 (balance-windows-area, window-state-put-2)
15193 (display-buffer-even-window-sizes, display-buffer-set-height)
15194 (display-buffer-set-width, set-window-text-height)
15195 (fit-window-to-buffer): Rename all "resize-window" prefixed
15196 calls to use the "window-resize" prefix convention.
15197 (display-buffer-alist): Fix symbol for label specifier.
15198 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15199 corresponding specifier.
15200 Reported by Juanma Barranquero <lekktu@gmail.com>.
15202 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15204 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15206 (ses-call-printer): Does not pass an empty string to formatter when the
15207 cell is empty to keep from barking printer Calc math-format-value.
15209 2011-06-27 Richard Stallman <rms@gnu.org>
15211 * battery.el (battery-mode-line-limit): New variable.
15212 (battery-update): Handle it.
15214 * mail/rmailmm.el (rmail-mime-process-multipart):
15215 Handle truncated messages.
15217 2011-06-27 Glenn Morris <rgm@gnu.org>
15219 * progmodes/flymake.el (flymake-err-line-patterns):
15220 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15222 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15224 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15225 (ses--clean-!, ses--clean-_): New functions.
15226 (ses-range): Add configurability of readout order, and conversion
15229 * ses.el (ses-repair-cell-reference-all): New function.
15230 (ses-cell-symbol): Set macro as safe, so that it can be used in
15233 * ses.el: Update cycle detection algorithm.
15234 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15235 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15236 (ses-set-localvars): New function.
15237 (ses-make-cell): Add property-list as a cell element.
15238 (ses-cell-property-get-fun, ses-cell-property-get)
15239 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15240 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15242 (ses-cell-property-set, ses-cell-property-pop)
15243 (ses-cell-property-get-handle): New macro.
15244 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15245 New aliases, used for code readability.
15246 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15248 (ses-self-reference-early-detection): New defcustom.
15249 (ses-formula-references): Robustify against self-referring cells.
15250 (ses-mode): Use ses-set-localvars.
15251 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15252 before lauching the update processing.
15253 (ses-initialize-Dijkstra-attempt): New function.
15254 (ses-recalculate-cell): Update for cycle detection based on
15255 Dijkstra algorithm.
15257 * ses.el: Fix commenting and indenting convention.
15259 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15261 * bs.el (bs-cycle-next): Complete last change.
15263 2011-06-27 Drew Adams <drew.adams@oracle.com>
15265 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15267 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15269 * net/network-stream.el (network-stream-open-starttls):
15270 Don't re-get capabilities unless we've reestablished connection.
15271 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15273 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15274 to binary to possibly avoid line encoding issues on Windows (among
15277 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279 * net/network-stream.el (open-network-stream): Return an :error
15280 saying what the problem was, if possible.
15282 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15285 * net/network-stream.el (network-stream-open-starttls): If we
15286 wanted to use STARTTLS, and the server offered it, but we weren't
15287 able to because we had no STARTTLS support, then close the connection.
15288 (open-network-stream): Return an :error element, if present.
15290 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15292 * hl-line.el (hl-line-sticky-flag): Doc fix.
15293 (global-hl-line-sticky-flag): New option (Bug#8323).
15294 (global-hl-line-highlight): Obey it.
15296 * vc/vc.el (vc-revert-show-diff): Default to t.
15298 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15300 * allout-widgets.el (allout-widgets-post-command-business):
15301 Stop decorating intermediate isearch matches. They're not being
15302 undecorated when an isearch is continued past, and isearch
15303 automatically collapses them. This leads to "widget leaks", where
15304 decorated items accumulate in collapsed areas. Lines with lots of
15305 hidden widgets can slow down cursor travel, substantially.
15306 Too much complicated machinery would be needed to ensure undecoration,
15307 so we're doing without this nicety.
15309 (allout-widgets-tally-string): Don't try to do a hash-table-count
15310 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15311 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15312 *Messages* when allout-widgets-maintain-tally is t.
15314 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15316 * window.el (display-buffer-normalize-argument): Rename to
15317 display-buffer-normalize-arguments. Handle special meaning of
15318 LABEL argument. Respect special-display-function when popping up
15319 a new frame. Fix code searching for a window showing the buffer
15321 (display-buffer-normalize-specifiers):
15322 Call display-buffer-normalize-arguments.
15323 (display-buffer-in-window): Don't undedicate the window if its
15324 buffer remains the same.
15325 Reported by Drew Adams <drew.adams@oracle.com>.
15326 (display-buffer-alist): Add choice for same-window macro
15328 (display-buffer): Mention special meaning of LABEL argument in
15329 doc-string. Fix quoting. Don't pop up a new frame even as
15332 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15334 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15335 avoid deleting the current window in some cases (bug#8911).
15337 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15339 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15342 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15344 * net/network-stream.el (network-stream-open-starttls):
15345 Use built-in TLS support if `gnutls-available-p' is true.
15346 (network-stream-open-tls): Ditto.
15348 2011-06-26 Leo Liu <sdl.web@gmail.com>
15350 * register.el (registerv): New struct.
15351 (registerv-make): New function.
15352 (jump-to-register, describe-register-1, insert-register):
15353 Support the jump-func, print-func and insert-func slot of a registerv
15356 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15358 * vc/vc.el (vc-revert-show-diff): New defcustom.
15359 (vc-diff-internal): New arg specifying diff buffer.
15360 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15361 reuse an existing *vc-diff* buffer (Bug#8927).
15363 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15365 2011-06-26 Glenn Morris <rgm@gnu.org>
15367 * progmodes/f90.el (f90-critical-indent): New option.
15368 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15369 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15370 (f90-mode): Doc fix.
15371 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15372 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15373 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15374 (f90-match-end): Handle block, critical.
15376 2011-06-25 Glenn Morris <rgm@gnu.org>
15378 * calendar/diary-lib.el (diary-included-files): Doc fix.
15379 (diary-include-files): New function, extracted from
15380 diary-include-other-diary-files and diary-mark-included-diary-files.
15381 (diary-include-other-diary-files, diary-mark-included-diary-files):
15382 Just call diary-include-files.
15383 (diary-mark-entries): Reset diary-included-files on first call.
15385 * calendar/diary-lib.el (diary-mark-entries)
15386 (diary-mark-included-diary-files):
15387 Visit included diary-files in temp buffers.
15389 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15390 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15391 (f90-start-block-re, f90-imenu-generic-expression)
15392 (f90-looking-at-program-block-start, f90-no-block-limit):
15393 Add support for submodules.
15395 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15396 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15398 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15400 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15401 buffer-file-type before setting its value, to avoid disastrous
15402 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15404 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15406 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15408 * ses.el (ses-unload-function):
15409 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15411 * proced.el (proced-unload-function):
15412 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15414 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15416 * server.el (server-create-window-system-frame): Add parameters arg.
15417 (server-process-filter): Doc fix. Handle frame-parameters.
15419 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15421 Fix bug#8730, bug#8781.
15423 * loadhist.el (unload--set-major-mode): New function.
15424 (unload-feature): Use it.
15426 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15427 (python-unload-function): New function.
15429 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15433 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15435 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15436 the candidates list.
15438 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15440 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15442 2011-06-23 Richard Stallman <rms@gnu.org>
15444 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15445 (rmail-variables): Set next-error-move-function.
15446 (rmail-what-message): Take argument POS.
15447 (rmail-next-error-move): New function.
15449 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15451 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15452 messages for adjacent non-terminals.
15454 2011-06-23 Richard Stallman <rms@gnu.org>
15456 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15457 (rmail-show-message-1): Preserve buffer modified flag.
15458 (rmail-start-mail): Don't specify use of rmail-mail-return;
15459 that's done by mail-bury now.
15460 (rmail-mail-return): Handle arg NEWBUF.
15462 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15464 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15467 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15469 * window.el (get-lru-window, get-mru-window)
15470 (get-largest-window): Never return a minibuffer window.
15471 (display-buffer-pop-up-window): Fix a bug that could lead to
15472 reusing the minibuffer window.
15473 (display-buffer): Pass original specifier argument to
15474 display-buffer-function instead of the normalized one.
15475 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15477 2011-06-22 Leo Liu <sdl.web@gmail.com>
15479 * minibuffer.el (completing-read-function)
15480 (completing-read-default): Move from minibuf.c
15482 2011-06-22 Richard Stallman <rms@gnu.org>
15484 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15485 to Rmail even if not started by a special Rmail command.
15487 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15488 Copy the buffer currently showing just one message.
15490 2011-06-22 Roland Winkler <winkler@gnu.org>
15492 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15493 (bibtex-clean-entry): First delete the old key so that a
15494 customized algorithm for generating the new key does not get
15495 confused by the old key.
15496 (bibtex-url): Obey regexp of first step.
15497 (bibtex-search-entries): Do not use add-to-list with local
15500 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15502 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15503 stored a user name, then query for the password first, instead of
15504 waiting for SMTP to give an error message and the trying again.
15506 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15508 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15509 BUFFER in call-process.
15511 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15513 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15515 (smtpmail-try-auth-methods): Require user name and password from
15518 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15520 * window.el (display-buffer-default-specifiers)
15521 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15522 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15523 (split-window): Normalize SIDE argument (Bug#8916).
15525 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15526 (special-display-frame-alist, special-display-popup-frame):
15527 Remove duplicate declarations. These are now in window.el.
15529 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15531 * mail/smtpmail.el (smtpmail-via-smtp):
15532 Set :use-starttls-if-possible so that we always use STARTTLS if the
15533 server supports it. SMTP servers that support STARTTLS commonly
15536 * net/network-stream.el (network-stream-open-starttls): Support
15537 upgrading to STARTTLS always, even if we don't have built-in support.
15538 (open-network-stream): Add the :always-query-capabilities keyword.
15540 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15541 upgrades with `open-network-stream', and rely solely on
15542 auth-source for all credentials. Big changes throughout the file,
15544 (smtpmail-auth-credentials): Remove.
15545 (smtpmail-starttls-credentials): Remove.
15546 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15549 * net/network-stream.el (network-stream-open-starttls):
15550 Provide support for client certificates both for external and built-in
15552 (auth-source): Require.
15553 (open-network-stream): Document the :client-certificate keyword.
15554 (network-stream-certificate): Change cert-cert to cert and
15557 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15559 * net/tramp-cache.el (top): Don't load the persistency file when
15560 "emacs -Q" has been called.
15562 2011-06-21 Tim Harper <timcharper@gmail.com>
15564 * term/ns-win.el (ns-initialize-window-system):
15565 Set application-specific `ApplePressAndHoldEnabled' system
15566 resource to NO as it is not yet supported by the NS port.
15568 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15570 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15571 (list-dynamic-libraries): ...not here.
15573 2011-06-21 Leo Liu <sdl.web@gmail.com>
15575 * subr.el (sha1): Implement sha1 using secure-hash.
15577 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15579 * window.el (display-buffer-alist): In default value do not
15580 enforce searching a window on any but the selected frame.
15581 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15582 (display-buffer-select-window): Remove function.
15583 (display-buffer-in-window): When a window on another frame gets
15584 reused, do not select it any more but just raise its frame if
15585 necessary (Bug#8851) and (Bug#8856).
15586 (display-buffer-normalize-options): Handle pop-up-frames related
15587 options more faithfully.
15588 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15589 window if it is on another frame.
15590 (display-buffer-alist, display-buffer-default-specifiers):
15591 Don't make new frame unsplittable by default.
15592 (display-buffer-normalize-argument): Fix doc-string typo and use
15593 'same-frame-other-window instead of 'other-window when associating
15594 with display-buffer-macro-specifiers.
15596 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15598 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15600 (5x5-mode-map, 5x5-mode-menu): Bind them.
15601 (5x5-draw-grid): Tweak the solver's rendering.
15603 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15605 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15606 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15608 2011-06-21 Drew Adams <drew.adams@oracle.com>
15610 * menu-bar.el: Use function variable instead of switch-to-buffer.
15611 (menu-bar-select-buffer-function): New variable.
15612 (menu-bar-update-buffers): Use it (bug#8876).
15614 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15616 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15619 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15621 * x-dnd.el (x-dnd-version-from-flags)
15622 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15623 and long as number (Bug#8899).
15624 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15626 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15629 (completion-try-completion, completion-all-completions): Compute the
15630 metadata argument if it's missing; make it optional (bug#8795).
15632 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15633 (widget-complete): Use new :completion-function property.
15634 (widget-completions-at-point): New function.
15635 (default): Use :completion-function instead of :complete.
15636 (widget-default-completions): Rename from widget-default-complete;
15638 (widget-string-complete, widget-file-complete, widget-color-complete):
15640 (file, symbol, function, variable, coding-system, color):
15641 * international/mule-cmds.el (default-input-method, charset)
15642 (language-info-custom-alist):
15643 * cus-edit.el (face): Use new property :completions.
15645 * progmodes/pascal.el (pascal-completions-at-point): New function.
15646 (pascal-mode): Use it.
15647 (pascal-mode-map): Use completion-at-point.
15648 (pascal-toggle-completions): Make obsolete.
15649 (pascal-complete-word, pascal-show-completions):
15650 * progmodes/octave-mod.el (octave-complete-symbol):
15651 Redefine as obsolete alias.
15652 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15653 Signal absence of completion info for old Octave,
15654 (inferior-octave-complete): Redefine as obsolete alias.
15655 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15656 (meta-completions-at-point): Rename from meta-complete-symbol and
15657 adapt it for use on completion-at-point-functions.
15658 (meta-common-mode): Use it.
15659 (meta-looking-at-backward, meta-match-buffer): Remove.
15660 (meta-complete-symbol): Redefine as obsolete alias.
15661 (meta-common-mode-map): Use completion-at-point.
15662 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15663 (makefile-mode-map): Use completion-at-point.
15664 (makefile-completions-at-point): Rename from makefile-complete and
15665 adapt it for use on completion-at-point-functions.
15666 (makefile-mode): Use it.
15667 (makefile-complete): Redefine as obsolete alias.
15669 2011-06-20 Deniz Dogan <deniz@dogan.se>
15671 * net/rcirc.el: Delete trailing whitespaces once and for all.
15673 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15675 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15677 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15679 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15681 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15683 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15685 * window.el (display-buffer-other-window-means-other-frame):
15686 Call display-buffer-normalize-alist.
15687 (display-buffer-normalize-specifiers-1): Rename to
15688 display-buffer-normalize-argument. New argument other-frame.
15690 (display-buffer-normalize-specifiers-2): Rename to
15691 display-buffer-normalize-options.
15692 (display-buffer-normalize-alist-1): New function.
15693 (display-buffer-normalize-specifiers-3): Rename to
15694 display-buffer-normalize-alist.
15695 Call display-buffer-normalize-alist-1.
15696 (display-buffer-normalize-options-inhibit): New variable.
15697 (display-buffer-normalize-specifiers): Rewrite calling
15698 display-buffer-normalize-alist,
15699 display-buffer-normalize-argument, and
15700 display-buffer-normalize-options. Don't call the latter if
15701 display-buffer-normalize-options-inhibit is non-nil.
15702 (frame-auto-delete): New option.
15703 (window-deletable-p): Use frame-auto-delete.
15704 (window-list-no-nils, window-state-ignored-parameters)
15705 (window-state-get-1, window-state-get, window-state-put-list)
15706 (window-state-put-1, window-state-put-2, window-state-put):
15708 (display-buffer-normalize-options): Move special-display-p group
15709 after pop-up-frame group (Bug#8851) and (Bug#8856).
15711 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15713 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15715 (rx-submatch-n): New function.
15718 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15721 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15723 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15725 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15726 anytime existing face settings are present (Bug#8889).
15728 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15729 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15730 Remove unused argument.
15732 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15734 * window.el (display-buffer-default-specifiers):
15735 Remove pop-up-frame. Add pop-up-window-min-height,
15736 pop-up-window-min-width, and another reuse-window specifier
15737 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15738 (display-buffer-normalize-specifiers-2):
15739 Handle split-height-threshold and split-width-threshold also when
15740 pop-up-windows is unset. Add a reuse-window specifier for the
15741 case popping up a new window fails.
15742 (special-display-popup-frame): Remove double quoting.
15743 (display-buffer-normalize-specifiers-1): Fix thinko.
15745 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15747 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15748 according to comint-completion-addsuffix.
15750 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15751 (pcomplete-suffix-list): Mark as obsolete.
15752 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15753 pcomplete-seen in the closure.
15754 (pcomplete-comint-setup): Setup completion-at-point as well.
15755 (pcomplete--entries): New function.
15756 (pcomplete--env-regexp): New var.
15757 (pcomplete-entries): Rewrite to work with partial-completion and
15758 without relying on pcomplete-suffix-list.
15759 (pcomplete-pare-list): Remove, unused.
15761 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15763 * window.el (display-buffer-alist): Set pop-up-window-min-height
15764 and pop-up-window-min-width in default value. Reported by
15765 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15766 other-window-means-other-frame.
15767 (display-buffer-macro-specifiers): Comment out entry for
15768 other-window specifier.
15769 (display-buffer-other-window-means-other-frame): New function.
15770 (display-buffer-normalize-specifiers-1): New arguments
15771 buffer-name and label. Treat other-window case specially.
15772 (display-buffer-normalize-specifiers-2): Treat other-window case
15774 (display-buffer-normalize-specifiers-3): New function.
15775 (display-buffer-normalize-specifiers):
15776 Call display-buffer-normalize-specifiers-3.
15778 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15780 * window.el (same-window-p): Fix two typos introduced when
15781 adding with-no-warnings.
15782 (display-buffer-normalize-specifiers-1): Don't check
15783 pop-up-frames for 'unset initialization.
15784 (display-buffer-normalize-specifiers-2): Major rewrite using
15785 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15786 (pop-up-frames, display-buffer-reuse-frames)
15787 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15788 Suggested by David Engster <deng@randomsample.de>.
15789 (even-window-heights): Initialize to 'unset.
15790 (display-buffer-alist-set): Handle new 'unset initializations.
15791 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15794 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15796 * window.el (display-buffer-normalize-specifiers-1):
15797 Respect current value of pop-up-frames for most reasonable values of
15798 second argument of display-buffer (Bug#8865).
15799 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15800 (switch-to-buffer-other-window-same-frame)
15801 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15803 (display-buffer): Don't check noninteractive when calling
15804 display-buffer-pop-up-frame.
15805 (display-buffer-pop-up-frame): Never pop up a frame in
15806 noninteractive mode (Bug#8857).
15807 (enlarge-window, shrink-window): Don't report an error when the
15808 window can't be resized as requested (Bug#8862).
15810 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15812 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15814 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15816 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15818 2011-06-15 Alan Mackenzie <acm@muc.de>
15820 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15821 for declarators, disable knr checking to speed up for normal files.
15822 2: Refactor, replacing a sequence of nested if forms by a cond form.
15824 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15826 * net/network-stream.el (open-network-stream): Add the keyword
15827 :always-query-capabilities for the case where you want to force a
15828 `plain' network connection, but the protocol still requires the
15829 capabilitiy command (i.e., SMTP and EHLO).
15831 * subr.el (process-live-p): Rename from `process-alive-p' for
15832 consistency with other `-live-p' functions.
15834 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * window.el (same-window-buffer-names, same-window-regexps)
15837 (special-display-frame-alist, special-display-popup-frame)
15838 (special-display-function, special-display-buffer-names)
15839 (special-display-regexps, pop-up-frame-alist)
15840 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15841 (pop-up-windows, split-window-preferred-function)
15842 (split-height-threshold, split-width-threshold, even-window-heights)
15843 (display-buffer-mark-dedicated): Don't encourage the use of
15844 display-buffer-alist from Elisp code.
15846 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15848 * progmodes/python.el (python-mode): Derive from prog-mode.
15849 * progmodes/ps-mode.el (ps-mode):
15850 * progmodes/mixal-mode.el (mixal-mode):
15851 * progmodes/cfengine.el (cfengine-mode):
15852 * progmodes/ld-script.el (ld-script-mode): Likewise.
15854 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15856 * window.el (display-buffer-alist): Trim default value to avoid
15857 popping up a new frame (Bug#8857) or reusing an arbitrary window
15859 (display-buffer): Do not fall back on popping up a new frame in
15860 batch mode (Bug#8857).
15862 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15864 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15865 (custom-theme-summary): New function.
15866 (customize-themes): Use it.
15868 2011-06-13 Glenn Morris <rgm@gnu.org>
15870 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15872 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15874 * help.el (help-window): Remove variable.
15875 (help-window-point-marker, temp-buffer-max-height)
15876 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15877 (help-print-return-message): Don't set help-window.
15878 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15879 (help-window-setup-finish): Remove.
15880 (help-window-display-message, help-window-setup)
15881 (with-help-window): Major rewrite based on new
15882 display-buffer-window variable.
15884 * help-mode.el (help-mode-finish): Remove help-window related
15887 * view.el (view-exits-all-viewing-windows): Remove reference to
15888 view-return-to-alist in doc-string.
15889 (view-return-to-alist): Make obsolete.
15890 (view-buffer): Call pop-to-buffer-same-window and remove
15892 (view-buffer-other-window): Call pop-to-buffer-other-window and
15893 simplify code. Ignore second argument.
15894 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15895 simplify code. Ignore second argument.
15896 (view-return-to-alist-update): Make obsolete.
15897 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15898 Rewrite using quit-restore window parameters.
15899 (view-mode-exit): Rename second argument to EXIT-ONLY.
15900 Rewrite using quit-restore-window.
15901 (View-exit, View-exit-and-edit, View-leave, View-quit)
15902 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15903 appropriate arguments.
15904 (view-end-message): Use quit-restore window parameter.
15906 * window.el (display-buffer-function): Rewrite doc-string.
15907 (display-buffer-window, display-buffer-alist): New variables.
15908 (display-buffer-split-specifiers)
15909 (display-buffer-side-specifiers)
15910 (display-buffer-macro-specifiers): New constants.
15911 (display-buffer-even-window-sizes, display-buffer-set-height)
15912 (display-buffer-set-width, display-buffer-select-window)
15913 (display-buffer-in-window, display-buffer-reuse-window)
15914 (display-buffer-split-window-1, display-buffer-split-window)
15915 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15916 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15917 (display-buffer-in-side-window, normalize-buffer-to-display)
15918 (display-buffer-normalize-specifiers-1)
15919 (display-buffer-normalize-specifiers-2)
15920 (display-buffer-normalize-specifiers, display-buffer-frame):
15922 (display-buffer): Major rewrite.
15923 (display-buffer-other-window, display-buffer-other-frame)
15924 (pop-to-buffer, switch-to-buffer-other-window)
15925 (switch-to-buffer-other-frame): Rewrite.
15926 (display-buffer-same-window, display-buffer-same-frame)
15927 (display-buffer-same-frame-other-window)
15928 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15929 (pop-to-buffer-other-window)
15930 (pop-to-buffer-same-frame-other-window)
15931 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15932 (switch-to-buffer-other-window-same-frame): New functions.
15933 (same-window-p, special-display-p): Rewrite disabling warnings.
15935 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15936 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15938 (same-window-buffer-names, same-window-regexps)
15939 (special-display-frame-alist, special-display-popup-frame)
15940 (special-display-function, special-display-buffer-names)
15941 (special-display-regexps, pop-up-frame-alist)
15942 (pop-up-frame-function, split-window-preferred-function)
15943 (split-height-threshold, split-width-threshold)
15944 (even-window-heights): Make obsolete.
15946 2011-06-12 Glenn Morris <rgm@gnu.org>
15948 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15949 Misc simplifications.
15951 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15953 * window.el (window-safely-shrinkable-p): Restore function which
15954 was inadvertently removed in change from 2011-06-11. Declare as
15957 * calendar/calendar.el (calendar-generate-window):
15958 Use window-iso-combined-p instead of combination of one-window-p and
15959 window-safely-shrinkable-p.
15961 2011-06-12 Glenn Morris <rgm@gnu.org>
15963 * progmodes/fortran.el (fortran-mode-syntax-table):
15964 * progmodes/f90.el (f90-mode-syntax-table):
15965 Set % to punctuation. (Bug#8820)
15966 (f90-find-tag-default): Remove, no longer needed.
15968 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15970 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15972 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15974 * image.el (image-animated-p): Return animation delay in seconds.
15975 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15976 (image-animate-timeout): Remove DELAY argument. Don't assume
15977 every subimage has the same delay; get it from image-animated-p.
15978 (image-animate): Caller changed.
15980 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15982 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15983 to ignored backtrace functions.
15985 2011-06-11 Glenn Morris <rgm@gnu.org>
15987 * calendar/appt.el (appt-disp-window-function): Doc fix.
15988 (appt-check): Handle overlapping appointments. (Bug#8337)
15990 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15992 * window.el (window-tree-1, window-tree): New functions, moving
15993 the latter to window.el.
15994 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15995 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15996 (bw-refresh-edges): Remove.
15997 (balance-windows-1, balance-windows-2): New functions.
15998 (balance-windows): Rewrite in terms of window tree functions,
15999 balance-windows-1 and balance-windows-2.
16000 (bw-adjust-window): Remove.
16001 (balance-windows-area-adjust): New function with functionality of
16002 bw-adjust-window but using resize-window.
16003 (set-window-text-height): Rewrite doc-string.
16004 Use normalize-live-window and resize-window.
16005 (enlarge-window-horizontally, shrink-window-horizontally):
16006 Rename argument to DELTA.
16007 (window-buffer-height): New function.
16008 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16009 Rewrite using new window resize routines.
16010 (kill-buffer-and-window, mouse-autoselect-window-select):
16011 Use ignore-errors instead of condition-case.
16012 (quit-window): Call delete-frame instead of delete-windows-on
16013 for the only buffer on frame.
16015 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16017 * loadup.el (top-level): Load window before files for the sake
16018 of replace-buffer-in-windows.
16020 * files.el (read-buffer-to-switch)
16021 (switch-to-buffer-other-window)
16022 (switch-to-buffer-other-frame, display-buffer-other-frame):
16025 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16026 (previous-buffer): Move to window.el.
16028 * bindings.el (unbury-buffer): Move to window.el.
16030 * window.el (delete-other-windows-vertically): Move after
16031 definition of delete-other-windows.
16032 (other-window, delete-windows-on, replace-buffer-in-windows):
16033 Move here from window.c.
16034 (record-window-buffer, unrecord-window-buffer)
16035 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16036 (switch-to-next-buffer): New functions.
16037 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16038 from simple.el. Call switch-to-next-buffer.
16039 (previous-buffer): Move here from simple.el.
16040 Call switch-to-prev-buffer.
16041 (bury-buffer): Move here from buffer.c. Switch to previous
16042 buffer when window cannot be deleted.
16043 (unbury-buffer): Move here from bindings.el.
16044 (ctl-x-map): Move binding for other-window from window.c to
16046 (read-buffer-to-switch, switch-to-buffer-other-window)
16047 (switch-to-buffer-other-frame): Move here from files.el.
16048 (normalize-buffer-to-switch-to): New functions.
16049 (switch-to-buffer): Move here from buffer.c.
16050 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16052 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16054 * window.el (window-min-height, window-min-width): Move here
16055 from window.c. Add defcustoms and rewrite doc-strings.
16056 (resize-mini-window, resize-window): New functions.
16057 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16058 Move here from window.c.
16059 (maximize-window, minimize-window): New functions.
16060 (delete-window, delete-other-windows, split-window): Move here
16062 (window-split-min-size): New function.
16063 (split-window-keep-point): Mention split-window-above-each-other
16064 instead of split-window-vertically.
16065 (split-window-above-each-other, split-window-vertically):
16066 Rename split-window-vertically to split-window-above-each-other
16067 and provide defalias for old definition.
16068 (split-window-side-by-side, split-window-horizontally):
16069 Rename split-window-horizontally to split-window-side-by-side
16070 and provide defalias for the old definition.
16071 (ctl-x-map): Move bindings for delete-window,
16072 delete-other-windows and enlarge-window here from window.c.
16073 Replace bindings for split-window-vertically and
16074 split-window-horizontally by bindings for
16075 split-window-above-each-other and split-window-side-by-side.
16077 * cus-start.el (all): Remove entries for window-min-height and
16078 window-min-width. Add entries for window-splits and
16081 2011-06-09 Glenn Morris <rgm@gnu.org>
16083 * calendar/appt.el (appt-mode-line): New function.
16084 (appt-check, appt-disp-window): Use it.
16086 * files.el (hack-one-local-variable-eval-safep):
16087 Allow minor-modes with explicit +/-1 arguments.
16089 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16091 * term/xterm.el (xterm): Add defgroup.
16092 (xterm-extra-capabilities): Add defcustom to supply known xterm
16093 capabilities, skip querying them, or query them (default).
16094 (terminal-init-xterm): Use it.
16095 (terminal-init-xterm-modify-other-keys): New function to set up
16096 modifyOtherKeys support to simplify `terminal-init-xterm'.
16098 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16100 * window.el (resize-window-reset, resize-window-reset-1)
16101 (resize-subwindows-skip-p, resize-subwindows-normal)
16102 (resize-subwindows, resize-other-windows, resize-this-window)
16103 (resize-root-window, resize-root-window-vertically)
16104 (window-deletable-p, window-or-subwindow-p)
16105 (frame-root-window-p): New functions.
16107 2011-06-09 Glenn Morris <rgm@gnu.org>
16109 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16110 (ange-ftp-get-files): Use it.
16112 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16114 * mail/sendmail.el (mail-recover-1, mail-recover):
16115 * files.el (recover-file, recover-session):
16116 Handle dired-listing-switches not being just a single short option.
16118 2011-06-09 Glenn Morris <rgm@gnu.org>
16120 * calendar/appt.el (appt-display-message, appt-disp-window):
16121 Handle lists of appointments.
16123 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16125 * window.el (one-window-p): Move down in code.
16126 Rewrite doc-string.
16127 (window-current-scroll-bars): Rewrite doc-string.
16128 Normalize live window argument.
16129 (walk-windows, get-window-with-predicate, count-windows):
16130 Rewrite doc-string. Use window-list-1.
16131 (window-in-direction-2, window-in-direction, get-mru-window):
16134 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16136 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16137 Doc fix (Bug#8713).
16139 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16141 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16143 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16145 * loadhist.el (unload-feature-special-hooks):
16146 Add `comint-output-filter-functions'.
16148 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16150 * calendar/appt.el (appt-check): Move some initializations into the let.
16152 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16154 * window.el (window-height): Defalias to window-total-height.
16155 (window-width): Defalias to window-body-width.
16157 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16159 * image-mode.el (image-toggle-animation): New command.
16160 (image-mode-map): Bind it to RET.
16161 (image-mode): Update message.
16162 (image-toggle-display-image): Avoid a spurious cache flush.
16163 (image-transform-rotation): Doc fix.
16164 (image-transform-properties): Return quickly in the normal case.
16165 (image-animate-loop): Rename from image-animate-max-time.
16167 * image.el (image-animate-max-time): Move to image-mode.el.
16168 (create-animated-image): Remove unnecessary function.
16169 (image-animate): Rename from image-animate-start. New arg.
16170 (image-animate-stop): Remove; just use image-animate-timer.
16171 (image-animate-timer): Use car-safe.
16172 (image-animate-timeout): Rename argument.
16174 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16176 * window.el (get-lru-window, get-largest-window): Move here from
16177 window.c. Rename first argument to ALL-FRAMES.
16178 Rephrase doc-strings.
16179 (get-buffer-window-list): Rewrite using window-list-1.
16180 Rephrase doc-string.
16181 (window-safe-min-height, window-safe-min-width): New constants.
16182 (window-size-ignore, window-min-size, window-min-size-1)
16183 (window-sizable, window-sizable-p, window-size-fixed-1)
16184 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16185 (window-max-delta-1, window-max-delta, window-resizable)
16186 (window-resizable-p, window-total-height, window-total-width)
16187 (window-body-width): New functions.
16188 (window-full-height-p, window-full-width-p): Rewrite using
16190 (window-body-height): Rewrite using window-body-size.
16192 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16194 * window.el (window-right, window-left, window-child)
16195 (window-child-count, window-last-child, window-any-p)
16196 (normalize-live-buffer, normalize-live-frame)
16197 (normalize-any-window, normalize-live-window)
16198 (window-iso-combination-p, window-iso-combined-p)
16199 (window-iso-combinations)
16200 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16201 (windows-with-parameter, window-with-parameter)
16202 (window-atom-root, make-window-atom, window-atom-check-1)
16203 (window-atom-check, window-side-check, window-check):
16205 (ignore-window-parameters, window-sides, window-sides-vertical)
16206 (window-sides-slots): New variables.
16207 (window-size-fixed): Move down in code. Minor doc-string fix.
16209 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16211 * comint.el (comint-dynamic-complete-as-filename)
16212 (comint-dynamic-complete-filename): Correctly call
16213 completion-in-region.
16215 2011-06-05 Deniz Dogan <deniz@dogan.se>
16217 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16220 2011-06-05 Deniz Dogan <deniz@dogan.se>
16222 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16223 (rcirc): Use it to prompt for encryption.
16225 2011-06-05 Roland Winkler <winkler@gnu.org>
16227 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16228 (bibtex-search-entries): New command bound to C-c C-a.
16229 (bibtex-display-entries): New function.
16231 2011-06-05 Roland Winkler <winkler@gnu.org>
16233 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16234 (bibtex-insert-kill): After yanking insert newline if necessary.
16235 (bibtex-initialize): Call bibtex-string-files-init only once.
16236 (bibtex-mode): Do not call easy-menu-add.
16237 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16238 (bibtex-yank): Set arg properly if nil.
16240 2011-06-05 Roland Winkler <winkler@gnu.org>
16242 * textmodes/bibtex.el (bibtex-search-entry-globally):
16244 (bibtex-search-entry): Use it.
16246 2011-06-05 Roland Winkler <winkler@gnu.org>
16248 * textmodes/bibtex.el (bibtex-entry-format): New option
16250 (bibtex-format-entry, bibtex-reformat): Honor this option.
16251 (bibtex-parse-entry): Return fields in proper order.
16253 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16255 * doc-view.el (doc-view-remove-if): Move computation of result out
16256 of `dolist' to silence misleading lexical-binding warning.
16258 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16260 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16261 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16263 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16265 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16268 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16270 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16271 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16272 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16273 (tramp-parse-putty):
16274 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16275 (tramp-completion-function-alist-ssh)
16276 (tramp-completion-function-alist-telnet)
16277 (tramp-completion-function-alist-su)
16278 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16281 * net/tramp-ftp.el:
16283 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16284 load "tramp.el" `tramp-set-completion-function'.
16286 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16288 * shell.el: Require and use pcomplete.
16289 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16290 (shell-completion-vars): Set pcomplete-default-completion-function.
16292 2011-06-04 Deniz Dogan <deniz@dogan.se>
16294 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16297 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16299 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16301 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16303 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16304 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16305 * vc/log-view.el (log-view-beginning-of-defun):
16306 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16307 (smerge-refine-forward, smerge-refine-chopup-region):
16308 Silence warning for unused `dotimes' counter variables.
16310 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16312 * net/tramp.el (tramp-with-progress-reporter): Rename from
16313 with-progress-reporter. Use `declare'.
16314 * net/tramp-smb.el:
16316 * net/tramp-gvfs.el: Update all uses.
16318 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16320 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16321 buffer isn't killed before making it current.
16323 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16325 Silence various byte-compiler warnings.
16326 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16327 `access-type' and new obsolescence format.
16328 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16330 (byte-compile-check-variable): New `access-type' argument.
16331 Only warn if the access-type is obsolete.
16332 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16333 (byte-compile-variable-set): Adjust callers.
16334 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16335 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16336 setting it as obsolete.
16337 * simple.el (minibuffer-completing-symbol):
16338 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16339 access as obsolete.
16340 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16342 * international/quail.el (quail-mouse-choose-completion): Remove unused
16343 code referring to obsolete var.
16344 (quail-choose-completion-string): Remove.
16345 * server.el (server-clients-with, server-kill-buffer-query-function)
16346 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16347 * proced.el (proced-send-signal):
16348 * emacs-lisp/lisp.el (lisp-complete-symbol):
16349 Replace completion-annotate-function with completion-extra-properties.
16351 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16353 * simple.el (goto-line): Use read-number.
16354 (overriding-map-is-bound): Remove.
16355 (saved-overriding-map): Change default.
16356 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16357 Take the map as argument.
16358 (universal-argument, negative-argument, digit-argument): Use it.
16359 (restore-overriding-map): Adjust.
16360 (do-auto-fill): Use fill-forward-paragraph.
16361 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16363 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16364 (minibuffer-inactive-mode): New major mode.
16365 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16366 the *Messages* buffer" hack.
16367 (mouse-popup-menubar): Don't burp if the event is a normal key.
16369 Miscellaneous tweaks.
16370 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16371 lexical scoping as in subr.el's dolist and dotimes.
16372 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16373 Silence compiler warning.
16374 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16375 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16376 * international/ccl.el (ccl-compile): Trivial simplification.
16377 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16378 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16379 `printflag' argument.
16380 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16381 Purecopy the whole obsolescence data.
16383 2011-06-01 Leo Liu <sdl.web@gmail.com>
16385 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16386 improve doc-string as suggested by Marco Pessotto
16387 <melmothx@gmail.com>.
16388 (rcirc-print): Fix last change.
16390 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16392 * minibuffer.el (complete-with-action): Return nil for the metadata and
16393 boundaries of non-functional tables.
16394 (completion-table-dynamic): Return nil for the metadata.
16395 (completion-table-with-terminator): Add default case, using
16396 complete-with-action.
16397 (completion--metadata): New function.
16398 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16399 to try and avoid pathological performance problems.
16400 (completion--embedded-envvar-table): Return `category' metadata.
16402 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16404 * subr.el (process-alive-p): New tiny convenience function.
16406 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16408 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16409 content but also its previous major mode.
16411 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16413 * emacs-lisp/debug.el (debug): Restore the previous content of the
16414 *Backtrace* buffer when we exit with C-M-c.
16416 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16418 * minibuffer.el: Add metadata method to completion tables.
16419 (completion-category-overrides): New defcustom.
16420 (completion-metadata, completion--field-metadata)
16421 (completion-metadata-get, completion--styles)
16422 (completion--cycle-threshold): New functions.
16423 (completion-try-completion, completion-all-completions):
16424 Add `metadata' argument to choose completion-styles.
16425 (completion--do-completion): Use metadata to choose cycling.
16426 (completion-all-sorted-completions): Use metadata for sorting.
16427 Remove :completion-cycle-penalty which is not needed any more.
16428 (completion--try-word-completion): Add `metadata' argument.
16429 (minibuffer-completion-help): Check metadata for annotation function
16431 (completion-file-name-table): Return `category' metadata.
16432 (minibuffer-completing-file-name): Make obsolete.
16433 * simple.el (minibuffer-completing-symbol): Make obsolete.
16434 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16435 completion-try-completion.
16437 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16439 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16441 2011-05-30 Leo Liu <sdl.web@gmail.com>
16443 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16444 (rcirc-print): Decode all incoming messages (bug#8744).
16445 (rcirc-decode-coding-system): Allow value nil for automatic coding
16448 2011-06-01 Glenn Morris <rgm@gnu.org>
16450 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16452 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16454 * image.el (image-animate-max-time): Allow nil and t values.
16456 (create-animated-image): Doc fix.
16457 (image-animate-start): Remove second arg; just use
16458 image-animate-max-time.
16459 (image-animate-timeout): Doc fix. Args changed.
16461 * image-mode.el (image-toggle-display-image): Ensure that the
16462 image spec passed to the animate timer is the same object as in
16463 the buffer's display property (Bug#6981).
16464 (image-transform-properties): Doc fix.
16466 * image.el (image-animate-max-time): Default to nil.
16468 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16470 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16471 entire buffer list (Bug#8184).
16473 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16475 * image.el (imagemagick-types-inhibit)
16476 (imagemagick-register-types): Doc fix.
16478 2011-05-29 Deniz Dogan <deniz@dogan.se>
16480 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16483 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16485 * select.el: Don't perform clipboard-manager saving in hooks;
16486 leave the hooks empty.
16488 2011-05-28 Leo Liu <sdl.web@gmail.com>
16490 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16491 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16492 (occur-edit-mode): New major mode (Bug#8463).
16493 (occur-after-change-function): New function.
16494 (occur-engine): Give Occur tags a read-only property.
16496 2011-05-28 Kevin Ryde <user42@zip.com.au>
16498 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16500 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16502 * bindings.el (help-echo): Make the initial non-indicator dash
16503 empty on graphical terminals (Bug#7295).
16505 * files.el (auto-mode-alist): Move config rule after the
16506 in-stripping one (Bug#8547).
16508 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16510 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16511 setting (Bug#8740).
16513 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16515 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16516 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16519 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16521 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16523 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16525 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16526 (hs-hide-block-at-point, hs-find-block-beginning)
16527 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16530 2011-05-28 Glenn Morris <rgm@gnu.org>
16532 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16534 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16536 * help-fns.el (describe-function-1): If the function is a derived
16537 major mode, print the parent mode.
16539 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16540 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16542 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16544 * minibuffer.el (completion--capf-wrapper): Check applicability before
16545 returning non-nil for non-exclusive completion data.
16546 * progmodes/etags.el (tags-completion-at-point-function):
16547 * info-look.el (info-lookup-completions-at-point): Mark as
16549 (info-complete): Adjust accordingly.
16551 * info-look.el: Convert to lexical-binding and completion-at-point.
16552 (info-lookup-completions-at-point): New function.
16553 (info-complete): Use it and completion-in-region.
16555 2011-05-28 Drew Adams <drew.adams@oracle.com>
16557 * isearch.el: Let M-e start with point at the first mismatched char.
16558 (isearch-fail-pos): New function.
16559 (isearch-edit-string): Use it.
16561 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16563 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16565 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16567 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16568 traversal functions for avl-trees.
16569 (avl-tree--stack): New struct.
16570 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16571 (avl-tree-enter): Add optional `updatefun' arg.
16572 (avl-tree--do-enter): Add optional `updatefun' arg.
16573 Change return value.
16574 (avl-tree-delete): Add optional `test' and `nilflag' args.
16575 (avl-tree--do-delete): Add `test' and `nilflag' args.
16576 Change return value.
16577 (avl-tree-member): Add optional `nilflag'
16578 (avl-tree-member-p): New function.
16579 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16580 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16581 (avl-tree-stack-empty-p): New functions.
16583 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16584 avl-tree--del-balance1 and make it work both ways.
16585 (avl-tree--del-balance2): Remove.
16586 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16587 make it work both ways.
16588 (avl-tree--enter-balance2): Remove.
16589 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16591 (avl-tree--mapc, avl-tree-map): Add direction argument.
16593 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16595 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16597 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16599 * select.el: Support clipboard managers with built-in function
16600 x-clipboard-manager-save, via delete-frame-functions and
16602 (xselect-convert-to-targets): Add MULTIPLE target to list.
16603 (xselect-convert-to-save-targets): New function.
16605 2011-05-27 Kenichi Handa <handa@m17n.org>
16607 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16608 let-binding rfc2047-encode-encoded-words to nil.
16610 2011-05-27 Glenn Morris <rgm@gnu.org>
16612 * mail/emacsbug.el: Don't require url-util.
16614 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16616 * files.el (set-auto-mode):
16617 Also respect mode: entries at the end of the file. (Bug#8586)
16619 2011-05-26 Glenn Morris <rgm@gnu.org>
16621 * files.el (hack-local-variables-prop-line, hack-local-variables):
16622 Downcase mode names, as seems to be traditional.
16623 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16625 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16626 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16628 2011-05-25 Julien Danjou <julien@danjou.info>
16630 * textmodes/rst.el (rst-define-level-faces): Do not define face
16631 symbol if it is already defined.
16633 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16635 * play/5x5.el (5x5-new-game, 5x5-randomize):
16636 Reset 5x5-solver-output to nil when a new grid is cast.
16637 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16638 these debugging traces, as defmacro breaks the compiled code.
16640 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16642 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16644 2011-05-24 Leo Liu <sdl.web@gmail.com>
16646 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16647 (vc-bzr-sha1): Adapt.
16649 * sha1.el: Remove. Function `sha1' is now builtin.
16651 * bindings.el: Provide sha1 feature.
16653 2011-05-24 Kenichi Handa <handa@m17n.org>
16655 * mail/sendmail.el: Require `rfc2047'.
16656 (mail-insert-from-field): Do not perform RFC2047 encoding.
16657 (mail-encode-header): New function.
16658 (sendmail-send-it): Set buffer-file-coding-system of the work
16659 buffer to the return value of select-message-coding-system.
16660 Call mail-encode-header.
16662 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16664 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16666 * mail/supercite.el (sc-default-cite-frame):
16667 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16669 2011-05-24 Glenn Morris <rgm@gnu.org>
16671 * progmodes/python.el (brm-menu): Declare.
16673 * emulation/viper.el (viper-set-hooks): Declare.
16675 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16676 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16677 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16678 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16679 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16680 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16682 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16684 Add an :exit-function for completion-at-point.
16686 * minibuffer.el (completion--done): New fun.
16687 (completion--do-completion): Use it. New arg `expect-exact'.
16688 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16689 since completion--do-completion does it for us now.
16690 (minibuffer-force-complete): Use completion--done and
16691 completion--replace. Handle sole-completion case with more care.
16692 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16693 (completion-extra-properties): New var.
16694 (completion-annotate-function): Make obsolete.
16695 (minibuffer-completion-help): Adjust accordingly.
16696 Use completion-list-insert-choice-function.
16697 (completion-at-point, completion-help-at-point):
16698 Bind completion-extra-properties.
16699 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16700 * simple.el (completion-list-insert-choice-function): New var.
16701 (completion-setup-function): Preserve it.
16702 (choose-completion): Pay attention to it, shuffle the code a bit.
16703 (choose-completion-string): New arg `insert-function'.
16705 * textmodes/bibtex.el: Convert to lexical binding.
16706 (bibtex-mode-map): Use completion-at-point.
16707 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16708 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16709 (bibtex-complete): Define as obsolete alias.
16710 (bibtex-complete-internal): Remove.
16711 (bibtex-format-entry): Remove unused sub-group in regexp.
16712 * shell.el (shell--command-completion-data)
16713 (shell-environment-variable-completion):
16714 * pcomplete.el (pcomplete-completions-at-point):
16715 * comint.el (comint--complete-file-name-data): Use :exit-function
16716 instead of completion-table-with-terminator so it also works for
16719 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16721 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16723 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16726 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16728 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16730 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16731 customization variable and implement: If non-nil, auto-fill will
16732 be inhibited while on topic's header line.
16734 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16736 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16737 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16738 always have a solution in grid size = 5 cases.
16739 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16740 (5x5-solver-output, 5x5-log-buffer): New vars.
16741 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16742 Make these variables buffer local to achieve 5x5 multi-session-ness.
16743 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16744 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16745 (5x5-solve-suggest): New funs.
16746 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16747 randomize a grid so that we ensure that there is always a solution.
16748 (5x5-make-random-grid): Allow other movement than flipping.
16750 2011-05-23 Kevin Ryde <user42@zip.com.au>
16752 * emacs-lisp/advice.el (ad-read-advised-function):
16753 Use `function-called-at-point' as the default, if it has
16754 advice and passes PREDICATE.
16756 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16758 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16759 byte-compile-lambda if it's actually a lambda.
16761 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16762 Fix function quoting. Use backquote better.
16764 2011-05-22 Yuanle Song <sylecn@gmail.com>
16766 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16767 matching (Bug#8516).
16769 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16771 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16772 different face (Bug#8178).
16774 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16776 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16777 defface (Bug#8144).
16779 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16781 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16782 funcall as well (bug#8712). Warn when performing those conversions.
16783 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16785 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16787 2011-05-22 Glenn Morris <rgm@gnu.org>
16789 * files.el (hack-local-variables-prop-line): Small simplifications.
16790 (hack-local-variables, hack-local-variables-prop-line):
16791 If MODE-ONLY, return the mode, rather than just `t'.
16793 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16795 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16797 2011-05-21 Glenn Morris <rgm@gnu.org>
16799 * files.el (hack-local-variables-prop-line, hack-local-variables):
16800 If only interested in the mode, don't bother doing the other stuff.
16802 * image-mode.el (image-after-revert-hook):
16803 Redraw all frames on which the image is visible. (Bug#8567)
16805 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16807 * wid-edit.el (widget-checklist-match-inline):
16808 Fix 2011-04-19 change. (Bug#8649)
16810 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16812 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16813 Also allow singlespace after single-letter capitals followed by a dot.
16815 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16816 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16818 2011-05-20 Nix <nix@esperi.org.uk>
16820 * files.el (basic-save-buffer-2):
16821 Fix handling of break-hardlink-on-save with non-existent files.
16823 2011-05-19 Deniz Dogan <deniz@dogan.se>
16825 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16826 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16828 2011-05-19 Glenn Morris <rgm@gnu.org>
16830 * progmodes/f90.el (f90-type-def-re):
16831 Handle "type, bind(c)". (Bug#8691)
16833 * emacs-lisp/autoload.el (batch-update-autoloads):
16834 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16836 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16838 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16839 property for the correct connection in case of multihops.
16841 2011-05-18 Glenn Morris <rgm@gnu.org>
16843 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16844 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16846 Rationalize calendar handling of day and month abbrev-arrays.
16847 * calendar/calendar.el (calendar-customized-p): New function.
16848 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16849 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16851 (calendar-abbrev-length, calendar-day-abbrev-array)
16852 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16853 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16854 Elements may no longer be nil.
16855 (calendar-day-name, calendar-month-name):
16856 Update for changed nature of abbrev arrays.
16857 * calendar/diary-lib.el (diary-name-pattern):
16858 Update for changed nature of abbrev arrays.
16859 (diary-mark-entries-1): Update calendar-make-alist calls.
16860 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16861 * calendar/cal-html.el (cal-html-day-abbrev-array):
16862 Simply inherit from calendar-day-abbrev-array.
16864 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16866 * progmodes/grep.el (grep-mode): Disable default
16867 compilation-directory-matcher setting (bug#8684).
16869 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16871 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16872 instead of "head" and "tail". There were problems with SunOS 5.9,
16873 and it performs better.
16875 2011-05-17 Glenn Morris <rgm@gnu.org>
16877 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16879 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16880 Replace obsolete function.
16882 * shell.el (pcomplete-parse-arguments-function): Declare.
16884 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16885 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16886 (appt-check): Doc fixes.
16887 (appt-disp-window-function, appt-delete-window-function):
16888 Remove needless special case in custom :type.
16889 (appt-display-count): Default to 0, not nil.
16890 (appt-check): Reset appt-display-count to 0, not nil.
16892 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16894 * progmodes/python.el (python-font-lock-keywords):
16895 Add the Python 3.X keyword "nonlocal" (bug#8639).
16897 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16899 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16901 2011-05-16 Kevin Ryde <user42@zip.com.au>
16903 * info-look.el (makefile-automake-mode): New setups, looking in
16904 automake manual, then makefile-mode.
16905 (makefile-mode): Remove automake manual, have it just in
16906 makefile-automake-mode since there's various things different or
16907 not relevant to plain make.
16908 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16909 believe a hypothetical automake-mode would go to makefile-mode,
16910 not the other way around.
16912 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16914 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16915 hunk-end tags (Bug#8672).
16917 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16918 vc-annotate-show-diff-revision-at-line (Bug#8671).
16920 2011-05-14 Glenn Morris <rgm@gnu.org>
16922 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16923 in the middle of an existing one with multiple authors. (Bug#8645)
16924 (change-log-font-lock-keywords): Also handle multiple author lines
16925 with leading tabs. (Bug#8644)
16927 * calendar/appt.el (appt-check): Rename some local variables.
16928 Some simplification/reordering.
16930 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16931 (feedmail-sendmail-f-doesnt-sell-me-out)
16932 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16933 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16934 (feedmail-queue-runner-message-sender): Set :version.
16935 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16936 (bbdb-dwim-net-address, vm-mail): Declare.
16937 (feedmail-binmail-gnulinuxish-template):
16938 Rename from feedmail-binmail-linuxish-template.
16939 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16940 Use insert-buffer-substring.
16942 2011-05-14 Bill Carpenter <bill@carpenter.org>
16944 * mail/feedmail.el (feedmail-patch-level): Increase.
16945 (feedmail-debug): New custom group.
16946 (feedmail-confirm-outgoing-timeout)
16947 (feedmail-sendmail-f-doesnt-sell-me-out)
16948 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16949 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16950 (feedmail-sender-line, feedmail-from-line)
16951 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16952 (feedmail-spray-this-address)
16953 (feedmail-spray-address-fiddle-plex-list)
16954 (feedmail-queue-use-send-time-for-date)
16955 (feedmail-queue-use-send-time-for-message-id)
16956 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16957 (feedmail-buffer-eating-function):
16959 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16960 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16961 (feedmail-message-action-scroll-down): New functions.
16962 (feedmail-queue-directory, feedmail-queue-draft-directory):
16963 Use expand-file-name.
16964 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16965 Remove C-v help entry.
16966 (feedmail-queue-buffer-file-name): New variable.
16967 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16968 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16969 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16970 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16971 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16972 (feedmail-message-action-toggle-spray)
16973 (feedmail-run-the-queue-no-prompts)
16974 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16975 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16976 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16977 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16978 (feedmail-envelope-deducer, feedmail-fiddle-from)
16979 (feedmail-fiddle-sender, feedmail-default-date-generator)
16980 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16981 (feedmail-fiddle-spray-address)
16982 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16983 (feedmail-fiddle-list-of-fiddle-plexes)
16984 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16985 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16986 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16987 Change default. Doc fix.
16988 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16989 (feedmail-binmail-linuxish-template): New constant.
16990 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16991 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16992 (feedmail-send-it): Add debug call.
16993 Use feedmail-queue-buffer-file-name, and
16994 feedmail-send-it-immediately-wrapper.
16995 (feedmail-message-action-send): Add debug call.
16996 Use feedmail-send-it-immediately-wrapper.
16997 (feedmail-queue-express-to-queue): Add debug call.
16998 Run feedmail-queue-express-hook.
16999 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17000 (feedmail-message-action-help-blat):
17001 Rename from feedmail-queue-send-edit-prompt-help-first.
17002 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17003 Check line-endings. Handle errors better.
17004 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17005 Doc fix. Add debug call.
17006 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17007 Use feedmail-queue-send-edit-prompt-inner.
17008 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17009 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17010 from feedmail-queue-send-edit-prompt.
17011 (feedmail-queue-send-edit-prompt-help)
17012 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17013 (feedmail-tidy-up-slug): Add debug call.
17014 Respect feedmail-queue-slug-suspect-regexp.
17015 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17016 (feedmail-dump-message-to-queue): Add debug call.
17017 Expand queue-directory.
17018 (feedmail-dump-message-to-queue): Change message slightly.
17019 Use feedmail-say-chatter.
17020 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17021 (feedmail-send-it-immediately-wrapper): New function.
17022 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17023 Insert empty string rather than newline. Handle full-frame case.
17024 Use catch/throw. Use feedmail-say-chatter.
17025 (feedmail-fiddle-from): Try mail-host-address.
17026 (feedmail-default-message-id-generator): Doc fix.
17027 Bind system-time-locale. Handle missing end.
17028 (feedmail-fiddle-x-mailer): Add debug call.
17029 Handle feedmail-x-mailer-line being nil.
17030 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17031 Add debug call. Use buffer-substring-no-properties.
17032 (feedmail-say-debug, feedmail-say-chatter): New functions.
17033 (feedmail-find-eoh): Give an explicit error.
17035 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17037 * net/newst-treeview.el (newsticker-treeview-face): Change default
17038 family from helvetica to sans.
17039 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17040 etc/images/newsticker.
17042 * net/newst-reader.el (newsticker-feed-face): Change default
17043 family from helvetica to sans.
17045 * net/newst-plainview.el (newsticker-new-item-face)
17046 (newsticker-old-item-face, newsticker-immortal-item-face)
17047 (newsticker-obsolete-item-face, newsticker-date-face)
17048 (newsticker-statistics-face): Change default family from
17050 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17051 etc/images/newsticker.
17053 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17054 (newsticker--process-auto-mark-filter-match): Tell user about
17057 2011-05-13 Didier Verna <didier@xemacs.org>
17059 Common Lisp indentation improvements on defmethod and lambda-lists.
17060 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17062 (lisp-lambda-list-keyword-parameter-indentation)
17063 (lisp-lambda-list-keyword-parameter-alignment)
17064 (lisp-lambda-list-keyword-alignment): New customizable user options.
17065 (lisp-indent-defun-method): Improve docstring.
17066 (extended-loop-p): Fix comment.
17067 (lisp-indent-lambda-list-keywords-regexp): New variable.
17068 (lisp-indent-lambda-list): New function.
17069 (lisp-indent-259): Use it.
17070 (lisp-indent-defmethod): Support for more than one
17071 method qualifier and properly indent methods lambda-lists.
17072 (defgeneric): Provide a missing common-lisp-indent-function property.
17074 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17076 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17077 bounds for the empty string (bug#8667).
17079 2011-05-13 Glenn Morris <rgm@gnu.org>
17081 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17083 * mail/sendmail.el (sendmail-program): Try executable-find first.
17084 (sendmail-send-it): `sendmail-program' cannot be unbound.
17086 * calendar/appt.el (appt-make-list): Simplify.
17087 (appt-time-msg-list): Doc fix.
17088 (appt-check): Change mode-line message at the time of the appointment.
17090 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17092 * progmodes/ld-script.el (ld-script-keywords)
17093 (ld-script-builtins): Update keywords list.
17095 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17097 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17099 * shell.el (shell-completion-vars): New function.
17101 * simple.el (read-shell-command): Use it.
17102 (blink-matching-open): No need for " [...]" in minibuffer-message.
17104 2011-05-12 Glenn Morris <rgm@gnu.org>
17106 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17107 (appt-check): Simplify.
17109 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17111 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17112 literal "/dev/null".
17114 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17116 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17119 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17121 * progmodes/which-func.el (which-function):
17122 Use add-log-current-defun instead of add-log-current-defun-function,
17123 which might not be defined (Bug#8260).
17125 2011-05-12 Glenn Morris <rgm@gnu.org>
17127 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17128 Let byte-compile-initial-macro-environment always take precedence.
17130 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17132 * net/rcirc.el: Add support for SSL/TLS connections.
17133 (rcirc-server-alist): New field `encryption'.
17134 (rcirc): Check `encryption' settings.
17135 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17136 Merge make-local-variable into `set'.
17137 (rcirc--connection-open-p): New function.
17138 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17139 the process is not a network process (e.g. running gnutls-cli).
17140 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17141 Make rcirc-(en|de)code-coding-system local here.
17142 (rcirc-mode): Merge make-local-variable into `set'.
17143 (rcirc-parent-buffer): Make permanent buffer-local.
17144 (rcirc-multiline-minor-mode): Don't do it here.
17145 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17146 there's no server buffer.
17148 2011-05-11 Glenn Morris <rgm@gnu.org>
17150 * newcomment.el (comment-kill): Prefix "unused" local.
17152 * term/w32console.el (get-screen-color): Declare.
17154 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17155 Handle symbol elements of byte-compile-initial-macro-environment.
17157 2011-05-10 Leo Liu <sdl.web@gmail.com>
17159 * bookmark.el (bookmark-bmenu-mode-map):
17160 Bind bookmark-bmenu-search to `/'.
17162 * mail/footnote.el: Convert to utf-8 encoding.
17163 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17164 (Footnote-unicode): New function.
17165 (footnote-style-alist): Add unicode style to the list.
17166 (footnote-style): Doc fix.
17168 2011-05-10 Jim Meyering <meyering@redhat.com>
17170 Fix doubled-word typos.
17171 * international/quail.el (quail-insert-kbd-layout): and and -> and
17172 * kermit.el: and and -> and
17173 * net/ldap.el (ldap-search-internal): to to -> to
17174 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17175 * progmodes/js.el (js-mode): and and -> and
17176 * textmodes/artist.el (artist-move-to-xy): at at -> at
17177 (artist-draw-region-trim-line-endings): if if -> if
17178 And Safetyc -> Safety.
17179 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17181 2011-05-10 Glenn Morris <rgm@gnu.org>
17182 Stefan Monnier <monnier@iro.umontreal.ca>
17184 * files.el (hack-one-local-variable-eval-safep):
17185 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17187 2011-05-10 Glenn Morris <rgm@gnu.org>
17189 * calendar/diary-lib.el (diary-list-entries-hook)
17190 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17191 (diary-nongregorian-marking-hook, diary-list-entries)
17192 (diary-include-other-diary-files, diary-mark-entries)
17193 (diary-mark-included-diary-files): Doc fixes.
17195 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17197 * misc.el: Require tabulated-list.el during compilation.
17199 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17201 * progmodes/compile.el (compilation-start):
17202 Run compilation-filter-hook for the async case too.
17203 (compilation-filter-hook): Doc fix.
17205 2011-05-09 Deniz Dogan <deniz@dogan.se>
17207 * wdired.el: Remove outdated installation comment. Fix usage
17210 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17212 * misc.el: Implement new command `list-dynamic-libraries'.
17213 (list-dynamic-libraries--loaded-only-p): New variable.
17214 (list-dynamic-libraries--refresh): New function.
17215 (list-dynamic-libraries): New command.
17217 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17220 Fix the ant regexp to handle end-line and end-column info from jikes.
17221 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17222 higher priority to avoid clobbering by gnu.
17224 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17226 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17227 if the face has existing theme settings (Bug#8454).
17229 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17231 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17232 Only match variables declared via `my' or `our' (Bug#8261).
17234 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17235 special file names `.' and `..' (Bug#8259).
17237 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17239 * progmodes/grep.el (grep-mode-font-lock-keywords):
17240 Remove buffer-changing entries.
17241 (grep-filter): New function.
17242 (grep-mode): Add it to compilation-filter-hook.
17244 * progmodes/compile.el (compilation-filter-hook)
17245 (compilation-filter-start): New defvars.
17246 (compilation-filter): Call compilation-filter-hook prior to
17247 updating the process mark.
17249 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17251 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17253 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17255 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17256 mailclient-send-it even if window-system is nil. (Bug#8595)
17258 * term/w32console.el (terminal-init-w32console):
17259 Call get-screen-color and use its output to set the frame
17260 background-mode. (Bug#8597)
17262 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17264 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17265 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17267 (defgeneric, eieio--defmethod): Use them.
17268 (eieio-defgeneric): Remove.
17269 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17271 2011-05-07 Glenn Morris <rgm@gnu.org>
17273 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17274 Use let rather than let*.
17275 (timeclock-find-discrep): Remove unused local.
17277 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17279 * calendar/appt.el (appt-time-msg-list): Doc fix.
17281 2011-05-06 Noah Friedman <friedman@splode.com>
17283 * apropos.el (apropos-print-doc): Only use
17284 emacs-lisp-docstring-fill-column when it is bound to an integer,
17285 per that variable's documentation.
17287 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17289 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17290 and warnings are not silently discarded (e.g. use -d instead of -P).
17292 2011-05-06 Glenn Morris <rgm@gnu.org>
17294 * calendar/appt.el (appt-message-warning-time): Doc fix.
17295 (appt-warning-time-regexp): New option.
17296 (appt-make-list): Respect appt-message-warning-time.
17298 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17300 (diary-add-to-list): Strip comments from the displayed string.
17301 (diary-mode): Set comment-start and comment-end.
17303 * vc/diff-mode.el (smerge-refine-subst): Declare.
17304 (diff-refine-hunk): Don't require smerge-mode when compiling.
17306 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17308 * simple.el (list-processes): Return nil as the docstring says.
17310 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17312 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17314 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17315 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17316 determining of binary transfer. (Bug#7383)
17318 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17321 Fix port computation bug. (Bug#8618)
17323 2011-05-05 Glenn Morris <rgm@gnu.org>
17325 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17327 * simple.el (shell-dynamic-complete-functions)
17328 (comint-dynamic-complete-functions): Declare.
17330 * net/network-stream.el (gnutls-negotiate):
17331 * simple.el (tabulated-list-print): Fix declarations.
17333 * progmodes/gud.el (syntax-symbol, syntax-point):
17334 Remove unnecessary and incorrect declarations.
17336 * emacs-lisp/check-declare.el (check-declare-scan):
17337 Handle byte-compile-initial-macro-environment in bytecomp.el
17339 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17341 Fix earlier half-done eieio-defmethod change (bug#8338).
17342 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17343 Streamline and change calling convention.
17344 (defmethod): Adjust accordingly and simplify.
17345 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17346 new eieio--defmethod.
17347 (slot-boundp): Minor CSE simplification.
17349 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17351 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17352 (glasses-make-readable): Use glasses-separate-capital-groups.
17354 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17356 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17357 (warning-series): Doc fix.
17358 (display-warning): Don't try to create the buffer if we just found it.
17360 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17362 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17363 (autoload-find-generated-file): New function.
17364 (generate-file-autoloads): Bind generated-autoload-file to
17366 (update-file-autoloads, update-directory-autoloads):
17367 Use autoload-find-generated-file. If called interactively, prompt for
17368 output file (Bug#7989).
17369 (batch-update-autoloads): Doc fix.
17371 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17373 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17375 2011-05-04 Glenn Morris <rgm@gnu.org>
17377 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17378 function, so it follows changes in calendar-date-style.
17379 (diary-fancy-date-matcher): New function.
17380 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17381 (diary-fancy-font-lock-fontify-region-function):
17382 Use diary-fancy-date-pattern as a function.
17384 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17385 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17387 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17389 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17390 instead of positional arguments. Allow :keylist and :crlfiles
17392 (open-gnutls-stream): Call it.
17394 * net/network-stream.el (network-stream-open-starttls): Adjust to
17395 call `gnutls-negotiate' with :process and :hostname arguments.
17397 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17399 * minibuffer.el (completion--message): New function.
17400 (completion--do-completion, minibuffer-complete)
17401 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17402 (completion--do-completion): Don't ignore completion-auto-help when in
17405 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17406 internal encoding (e.g. tibetan zero is not whitespace).
17407 (global-whitespace-mode): Prefer save-current-buffer.
17408 (whitespace-trailing-regexp): Remove useless save-match-data.
17409 (whitespace-empty-at-bob-regexp): Minor simplification.
17411 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17413 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17415 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
17417 * textmodes/ispell.el (ispell-add-per-file-word-list):
17418 Use `concat' to create string for insertion.
17420 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17422 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17423 Avoid open-line which runs post-self-insert-hook.
17424 (bibtex-fill-entry): Remove unused `end' var.
17426 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17428 * textmodes/ispell.el (ispell-add-per-file-word-list):
17429 Protect against `nil' value of `comment-start' (Bug#8579).
17431 2011-05-03 Leo Liu <sdl.web@gmail.com>
17433 * isearch.el (isearch-yank-pop): New command.
17434 (isearch-mode-map): Bind it to `M-y'.
17435 (isearch-forward): Mention it.
17437 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17439 * simple.el (minibuffer-complete-shell-command): Remove.
17440 (minibuffer-local-shell-command-map): Use completion-at-point.
17441 (read-shell-command): Setup completion vars here instead.
17442 (read-expression-map): Bind TAB to symbol completion.
17444 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17445 error directly rather via storing it into `results'.
17447 2011-05-02 Leo Liu <sdl.web@gmail.com>
17449 * vc/diff.el: Fix description.
17451 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17453 * server.el (server-eval-at): New function.
17455 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17457 * net/network-stream.el (open-network-stream): Take a :nowait
17458 parameter and pass it on to `make-network-process'.
17459 (network-stream-open-plain): Ditto.
17461 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17463 * faces.el (face-spec-set-match-display): Don't match toolkit
17464 options on terminal frames.
17466 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17468 * progmodes/pascal.el: Use lexical binding.
17469 (pascal-mode-map): Remove author preferences.
17471 * pcomplete.el (pcomplete-std-complete): Don't abuse
17472 completion-at-point.
17474 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17476 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17477 removing code that has been dead since 1991 or so.
17479 * startup.el (command-line): When warning about "_emacs", use a
17480 delayed warning to allow the user to filter it out.
17482 2011-04-28 Deniz Dogan <deniz@dogan.se>
17484 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17485 user has not joined.
17487 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17489 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17490 aren't any completions at point.
17492 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17494 * subr.el (display-delayed-warnings): New function.
17495 (delayed-warnings-hook): New variable.
17497 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17499 * minibuffer.el (completion-at-point, completion-help-at-point):
17500 Don't presume that a given completion-at-point-function will always
17501 use the same calling convention.
17503 * pcomplete.el (pcomplete-completions-at-point):
17504 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17505 pcomplete-seen is non-nil.
17506 (pcomplete-comint-setup): Also recognize the new comint/shell
17507 completion functions.
17508 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17509 pcomplete-seen is non-nil.
17511 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17513 * calendar/icalendar.el (diary-lib): Add require statement.
17514 (icalendar--create-uid): Read out a uid from a text-property on
17515 the first character in the entry. This allows for code to add its
17516 own uid to the entry.
17517 (icalendar--convert-float-to-ical): Add export of
17518 `diary-float'-entries save for those with the optional DAY
17521 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17523 * subr.el (shell-quote-argument): Use alternate escaping strategy
17524 when we spot a variable reference in a string.
17526 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17528 * cus-start.el (all): Define customization for debug-on-event.
17530 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17532 * subr.el (shell-quote-argument): Escape correctly under Windows.
17534 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17536 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17538 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17540 * net/tramp.el (tramp-process-actions): Add POS argument.
17541 Delete region between POS and (pos).
17543 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17544 Use `nil' position in `tramp-process-actions' call.
17545 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17547 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17548 position in `tramp-process-actions' call.
17550 * net/trampver.el: Update release number.
17552 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17554 * custom.el (defcustom): Obey lexical-binding.
17556 Fix octave-inf completion problems reported by Alexander Klimov.
17557 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17558 Inherit from octave-mode-syntax-table.
17559 (inferior-octave-mode): Set info-lookup-mode.
17560 (inferior-octave-completion-at-point): New function.
17561 (inferior-octave-complete): Use it and completion-in-region.
17562 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17563 comint-filename-completion.
17564 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17565 symbol elements which shouldn't be word elements.
17566 (octave-font-lock-keywords, octave-beginning-of-defun)
17567 (octave-function-header-regexp): Adjust regexps accordingly.
17568 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17570 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17572 * net/gnutls.el (gnutls-errorp): Declare before first use.
17574 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17576 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17577 verify-error, and verify-hostname-error parameters. Check whether
17578 default trustfile exists before going to use it. Add missing
17579 argument to gnutls-message-maybe call. Return value.
17580 Reported by Claudio Bley <claudio.bley@gmail.com>.
17581 (open-gnutls-stream): Add usage example.
17583 * net/network-stream.el (network-stream-open-starttls): Give host
17584 parameter to `gnutls-negotiate'.
17585 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17586 * subr.el (shell-quote-argument): Escape correctly under Windows.
17588 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17590 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17591 Use correct match group (bug#8438).
17593 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17595 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17596 (package-menu--generate): New arg specifying packages to show.
17597 (package-menu-refresh, package-menu-execute, list-packages):
17599 (package-show-package-list): New function, replacing deleted
17600 package--list-packages (renamed because it is non-internal).
17602 * finder.el (finder-list-matches): Use package-show-package-list
17603 instead of deleted package--list-packages.
17605 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17606 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17607 (vc-annotate-mode-map): Bind it to RET.
17609 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17611 * progmodes/etags.el (next-file): Don't use set-buffer to change
17612 buffers (Bug#8478).
17614 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17616 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17618 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17619 (apropos-accumulator): Doc fix.
17620 (apropos-function, apropos-macro, apropos-command)
17621 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17622 (apropos-plist): Add face property.
17623 (apropos-symbols-internal): Fix indentation.
17624 (apropos-print): Simplify help, and recognize apropos-multi-type.
17625 (apropos-print-doc): Use button-type-get to extract the button's
17626 face property. Fill docstring (Bug#8352).
17628 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17630 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17632 * play/mpuz.el (mpuz-silent): Doc fix.
17633 (mpuz-mode-map): Use mapc.
17634 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17635 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17636 Fix typos in docstrings.
17638 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17639 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17641 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17643 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17645 * minibuffer.el (completion--do-completion): Avoid the "Next char
17646 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17648 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17649 mouse-2 into unread-command-events, it is interpreted correctly.
17651 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17652 (image-toggle-display): Doc fix.
17654 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17656 * textmodes/page.el (what-page): Use line-number-at-pos to
17657 calculate line number (Bug#6825).
17659 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17661 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17662 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17663 Pass argument NO-DEFAULT to `find-tag-interactive'.
17665 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17667 Lexical-binding cleanup.
17669 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17670 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17671 * progmodes/ada-prj.el (ada-prj-initialize-values)
17672 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17673 (ada-prj-show-value):
17674 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17675 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17676 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17677 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17678 * progmodes/bug-reference.el (bug-reference-push-button):
17679 * progmodes/fortran.el (fortran-line-length):
17680 * progmodes/glasses.el (glasses-change):
17681 * progmodes/octave-mod.el (octave-fill-paragraph):
17682 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17683 (python-pdbtrack-grub-for-buffer, python-sentinel):
17684 * progmodes/sql.el (sql-save-connection):
17685 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17686 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17687 Mark unused parameters.
17689 * progmodes/compile.el (compilation--flush-directory-cache)
17690 (compilation--flush-parse, compile-internal): Mark unused parameters.
17691 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17692 (compilation-next-error-function): Remove unused variable `timestamp'.
17694 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17695 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17697 * progmodes/dcl-mode.el (dcl-end-of-command):
17698 Remove unused variable `start'.
17699 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17700 (dcl-option-value-basic, dcl-option-value-offset)
17701 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17702 Mark unused parameters.
17703 (dcl-save-local-variable): Remove unused variable `val'.
17706 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17707 Mark unused parameters.
17708 (delphi-ignore-changes): Move before first use.
17709 (delphi-charset-token-at): Remove unused variable `start'.
17710 (delphi-else-start): Remove unused variable `if-count'.
17711 (delphi-comment-block-start, delphi-comment-block-end):
17712 Remove unused variable `kind'.
17713 (delphi-indent-line): Remove unused variable `new-point'.
17715 * progmodes/ebrowse.el (ebrowse-files-list)
17716 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17717 Mark unused parameters. Don't quote `lambda'.
17718 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17719 Don't quote `lambda'.
17720 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17721 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17722 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17723 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17724 Use `ignore-errors'.
17725 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17726 (ebrowse-view/find-file-and-search-pattern)
17727 (ebrowse-view/find-member-declaration/definition):
17728 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17729 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17730 Rename parameter PREFIX-ARG to PREFIX.
17731 (ebrowse-tags-read-name): Remove unused variables `start' and
17733 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17736 * progmodes/etags.el (local-find-tag-hook): Declare.
17737 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17738 Mark unused parameters.
17740 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17741 (executable-interpret): Mark unused parameter.
17743 * progmodes/flymake.el (flymake-process-sentinel)
17744 (flymake-after-change-function)
17745 (flymake-create-temp-with-folder-structure)
17746 (flymake-get-include-dirs-dot): Mark unused parameters.
17747 (flymake-safe-delete-directory): Remove unused variable `err'.
17749 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17750 (speedbar-timer-fn, speedbar-line-text)
17751 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17752 (speedbar-center-buffer-smartly): Declare functions.
17753 (gdb-find-watch-expression): Remove unused variable `array'.
17754 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17755 (gdb-starting): Mark unused parameters.
17756 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17757 (gdb-table-string): Remove unused variable `res'.
17758 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17759 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17760 (gdb-display-buffer): Remove unused variable `cur-size'.
17762 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17763 allow lexical-binding compilation.
17764 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17765 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17766 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17767 Mark unused parameters.
17768 (gud-gdb-marker-filter): Remove unused variable `match'.
17769 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17770 lambda expressions and funcall them, instead of using `fset'.
17772 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17773 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17775 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17776 variable `header-beg'; use `let'.
17778 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17779 `restart', `last-sexp' and `at-do'.
17781 * progmodes/js.el (js--debug): Mark unused parameter.
17782 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17783 (js--splice-into-items): Remove unused variable `item'.
17784 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17786 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17787 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17788 (makefile-complete): Remove unused variable `try'.
17789 (makefile-fill-paragraph, makefile-match-function-end):
17790 Mark unused parameters.
17792 * progmodes/octave-inf.el (inferior-octave-complete):
17793 Remove unused variable `proc'.
17794 (inferior-octave-output-digest): Mark unused parameter.
17796 * progmodes/perl-mode.el (perl-calculate-indent):
17797 Remove unused variable `err'.
17799 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17800 (prolog-indent-line): Mark unused parameters.
17801 (prolog-indent-line): Remove unused variable `beg'.
17803 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17804 (reporter-dont-compact-list): Declare.
17806 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17807 Remove unused variable `char'.
17808 (sh-debug): Mark unused parameter.
17809 (sh-get-indent-info): Remove unused variable `start'.
17810 (sh-calculate-indent): Remove unused variable `var'.
17812 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17813 (simula-electric-keyword): Remove unused variable `null'.
17814 (simula-search-backward, simula-search-forward): Remove unused
17815 variables `begin' and `end'.
17817 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17818 Remove unused variable `pos'.
17819 (vera-electric-tab, vera-comment-uncomment-region):
17820 Mark unused parameters.
17821 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17823 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17825 * emacs-lisp/package.el (package--builtins, package-alist)
17826 (package-load-descriptor, package-built-in-p, package-activate)
17827 (define-package, package-installed-p)
17828 (package-compute-transaction, package-buffer-info)
17829 (package--push): Doc fix. Distinguish more clearly between
17830 version strings and version lists.
17832 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17834 Lexical-binding cleanup.
17836 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17837 (5x5-make-mutate-best):
17838 * play/fortune.el (fortune-in-buffer):
17839 * play/gomoku.el (gomoku-init-display):
17840 * play/solitaire.el (solitaire, solitaire-do-check):
17841 * play/tetris.el (tetris-default-update-speed-function):
17842 Mark unused parameters.
17844 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17845 (bubbles--shift): Remove unused variable `char-org'.
17846 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17847 (bubbles--show-images): Remove unused variable `char'.
17849 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17850 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17851 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17852 (decipher-analyze-buffer): Use ?\s.
17853 (decipher-make-checkpoint): Remove unused variable `mapping'.
17855 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17857 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17858 Remove unused variable `result'; use `let'.
17860 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17861 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17862 (gametree-children-shown-p, gametree-compute-reduced-score):
17863 Use `ignore-errors'.
17865 * play/handwrite.el (ps-lpr-switches): Declare.
17866 (handwrite): Remove unused variables `pmin' and `lastp'.
17868 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17870 * play/landmark.el (landmark-init-display)
17871 (landmark-update-naught-weights): Mark unused parameters.
17872 (landmark-y): Remove unused variable `noise'. Simplify.
17873 (landmark-human-plays): Remove unused variable `score'.
17875 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17876 (mpuz-try-proposal): Remove unused variable `game'.
17878 * play/zone.el (life-patterns): Declare.
17880 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17882 * vc/vc.el (ediff-vc-internal): Declare function.
17884 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17886 * shell.el: Use lexical-binding and std completion UI.
17887 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17888 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17889 comint-preoutput-filter-functions rather than on
17890 comint-output-filter-functions.
17891 (shell-command-completion, shell--command-completion-data)
17892 (shell-filename-completion, shell-environment-variable-completion)
17893 (shell-c-a-p-replace-by-expanded-directory): New functions.
17894 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17895 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17896 (shell-dynamic-complete-environment-variable): Use them.
17897 (shell-dynamic-complete-as-environment-variable)
17898 (shell-dynamic-complete-as-command): Remove.
17899 (shell-match-partial-variable): Match past point.
17900 * comint.el: Clean up use of completion-at-point-functions.
17901 (comint-completion-at-point): New function.
17902 (comint-mode): Use it completion-at-point-functions.
17903 (comint-dynamic-complete): Make it obsolete.
17904 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17905 (comint-c-a-p-replace-by-expanded-history): New function.
17906 (comint-dynamic-complete-functions)
17907 (comint-replace-by-expanded-history): Use it.
17908 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17909 termination strings. Try harder to avoid second try-completion.
17910 (completion-in-region-mode-map): Disable bindings that don't work yet.
17912 * comint.el: Use lexical-binding. Require CL.
17913 (comint-dynamic-complete-functions): Use comint-filename-completion.
17914 (comint-completion-addsuffix): Tweak custom type.
17915 (comint-filename-completion, comint--common-suffix)
17916 (comint--common-quoted-suffix, comint--table-subvert)
17917 (comint--complete-file-name-data): New functions.
17918 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17919 (comint-dynamic-list-filename-completions): Use them.
17920 (comint-dynamic-simple-complete): Make obsolete.
17922 * minibuffer.el (completion-in-region-mode):
17923 Keep completion-in-region-mode--predicate global.
17924 (completion-in-region--postch):
17925 Assume completion-in-region-mode--predicate is not null.
17927 * progmodes/flymake.el (flymake-start-syntax-check-process):
17928 Obey `dir'. Simplify.
17930 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17931 we're in VC after all.
17933 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17935 * vc/vc.el (vc-diff-build-argument-list-internal)
17936 (vc-version-ediff, vc-ediff): New commands.
17937 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17939 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17941 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17944 * obsolete/erc-hecomplete.el: Make obsolete.
17945 * obsolete/: Standardize obsolescence info in the header.
17947 2011-04-20 Glenn Morris <rgm@gnu.org>
17949 * calendar/solar.el (solar-horizontal-coordinates):
17950 Use the longitude argument rather than `calendar-longitude'.
17951 (solar-date-next-longitude): Remove unused locals.
17953 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17955 * whitespace.el: New version 13.2.1.
17957 2011-04-20 felix <EmacsWiki> (tiny change)
17959 * whitespace.el (global-whitespace-mode): Keep highlight when
17960 switching between major modes on a file.
17962 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17964 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17965 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17966 multi-line comments as well.
17968 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17970 Lexical-binding cleanup.
17972 * arc-mode.el (archive-mode-revert):
17973 * cmuscheme.el (scheme-interactively-start-process):
17974 * custom.el (custom-initialize-delay):
17975 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17976 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17977 * emacs-lock.el (emacs-lock-clear-sentinel):
17978 * ezimage.el (defezimage):
17979 * follow.el (follow-avoid-tail-recenter):
17980 * fringe.el (set-fringe-mode-1):
17981 * generic-x.el (bat-generic-mode-compile):
17982 * help-mode.el (help-info-variable, help-do-xref)
17983 (help-mode-revert-buffer):
17984 * help.el (view-emacs-todo):
17985 * iswitchb.el (iswitchb-completion-help):
17986 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17987 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17988 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17989 * locate.el (locate-update):
17990 * longlines.el (longlines-encode-region)
17991 (longlines-after-change-function):
17992 * outline.el (outline-isearch-open-invisible):
17993 * ps-def.el (declare-function, charset-dimension, char-width)
17995 * ps-mule.el (ps-mule-plot-string):
17996 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17997 (recentf-edit-list-select, recentf-edit-list-validate)
17998 (recentf-open-files-action):
17999 * rect.el (delete-whitespace-rectangle-line)
18000 (rectangle-number-line-callback):
18001 * register.el (window-configuration-to-register)
18002 (frame-configuration-to-register):
18003 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18004 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18005 (xselect-convert-to-targets, xselect-convert-to-delete)
18006 (xselect-convert-to-filename, xselect-convert-to-charpos)
18007 (xselect-convert-to-lineno, xselect-convert-to-colno)
18008 (xselect-convert-to-os, xselect-convert-to-host)
18009 (xselect-convert-to-user, xselect-convert-to-class)
18010 (xselect-convert-to-name, xselect-convert-to-integer)
18011 (xselect-convert-to-atom, xselect-convert-to-identity):
18012 * subr.el (declare, ignore, process-kill-without-query)
18013 (text-clone-maintain):
18014 * terminal.el (te-get-char, te-tic-sentinel):
18015 * tool-bar.el (tool-bar-make-keymap):
18016 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18017 * type-break.el (type-break-mode, type-break-noninteractive-query):
18018 * view.el (View-back-to-mark):
18019 * wid-browse.el (widget-browse-action, widget-browse-widget)
18020 (widget-browse-widgets, widget-browse-sexp):
18021 * widget.el (define-widget-keywords):
18022 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18023 Mark unused parameters.
18025 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18026 (align-areas): Remove unused variable `look'.
18027 (align-region): Remove unused variables `real-end' and `pos-list'.
18029 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18031 * bindings.el (mode-line-modified, mode-line-remote):
18032 Mark unused parameters.
18033 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18035 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18036 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18038 * comint.el (comint-history-isearch-pop-state)
18039 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18040 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18041 (comint-substitute-in-file-name): Doc fix.
18043 * completion.el (cmpl-statistics-block): Mark unused parameter.
18044 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18045 (save-completions-to-file, load-completions-from-file):
18046 Remove unused local variable `e'.
18048 * composite.el (compose-chars): Remove unused variable `len'.
18049 (lgstring-insert-glyph): Remove unused variable `g'.
18050 (compose-glyph-string): Remove unused variables `ascent',
18051 `descent', `lbearing' and `rbearing'.
18052 (compose-glyph-string-relative): Remove unused variables
18053 `lbearing', `rbearing' and `wadjust'.
18054 (compose-gstring-for-graphic): Remove unused variables `header',
18055 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18056 (compose-gstring-for-terminal): Remove unused variables `header'
18057 and `nchars'. Use `let', not `let*'.
18059 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18060 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18061 (Custom-buffer-done, custom-buffer-create-internal)
18062 (custom-browse-visibility-action, custom-browse-group-tag-action)
18063 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18064 (widget-magic-mouse-down-action, custom-toggle-parent)
18065 (custom-add-parent-links, custom-toggle-hide-variable)
18066 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18067 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18068 (custom-face-menu-create, custom-variable-menu-create, get)
18069 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18070 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18071 (customize-apropos): Remove unused variable `tests'.
18072 (custom-group-value-create): Remove unused variable `hidden-p'.
18073 (sort-fold-case): Declare.
18075 * cus-theme.el (custom-reset-standard-faces-list)
18076 (custom-reset-standard-variables-list): Declare.
18077 (customize-create-theme, custom-theme-revert, custom-theme-write)
18078 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18079 Mark unused parameters.
18081 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18083 * delim-col.el (delimit-columns-max): Move defvar before first use.
18085 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18086 (describe-char): Don't quote `lambda'. Mark unused parameter.
18088 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18089 (auto-insert): Declare.
18090 (desktop-restore-file-buffer): Rename desktop-* parameters;
18092 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18093 (desktop-buffer): Rename desktop-* parameters.
18095 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18096 (dframe-reposition-frame-xemacs, dframe-help-echo)
18097 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18098 Mark unused parameters.
18100 * dired-aux.el (backup-extract-version-start, overwrite-query)
18101 (overwrite-backup-query, rename-regexp-query)
18102 (rename-non-directory-query): Declare.
18103 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18104 (dired-add-entry): Remove unused variable `orig-file-name'.
18105 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18106 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18107 `dired-copy-preserve-time' directly.
18108 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18109 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18111 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18112 (dired-virtual-revert, dired-make-relative-symlink):
18113 Mark unused parameters.
18114 (manual-program): Declare.
18115 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18116 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18117 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18119 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18121 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18123 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18126 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18128 * electric.el (Electric-command-loop): Rename parameter
18129 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18131 * expand.el (expand-in-literal): Remove unused variable `here'.
18133 * facemenu.el (facemenu-add-new-color):
18134 Remove unused variable `docstring'.
18136 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18137 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18138 (face-attr-construct): Mark unused parameter. Doc fix.
18139 (read-color): Remove unused variable `hex-string'.
18141 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18142 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18143 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18144 (display-buffer-other-frame): Remove unused variable `old-window'.
18145 (kill-buffer-hook): Declare.
18146 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18147 Mark unused parameters.
18148 (after-find-file): Pass 1 to `auto-save-mode', not t.
18150 * files-x.el (auto-insert): Declare.
18151 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18153 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18154 variable `buf'. Mark unused parameter.
18155 (find-lisp-insert-directory): Mark unused parameter.
18157 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18158 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18159 (format-common-tail): Remove, unused.
18160 (format-deannotate-region): Remove unused variable `loc'.
18161 (format-annotate-region): Remove unused variable `p'.
18162 (format-annotate-single-property-change): Remove unused variables
18163 `default' and `tail'.
18165 * forms.el (read-file-filter): Declare.
18166 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18168 * frame.el (frame-creation-function-alist): Mark unused parameter.
18169 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18171 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18172 Remove unused parameters.
18173 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18174 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18176 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18177 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18178 (hfy-prepare-tag-map): Mark unused parameters.
18179 (htmlfontify-buffer): Use `called-interactively-p'.
18181 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18182 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18183 (ibuffer-do-occur): Mark unused parameters.
18184 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18185 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18187 * ibuffer.el: Don't quote `lambda'.
18188 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18189 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18190 Mark unused parameters.
18192 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18193 (ido-completing-read): Mark unused parameters.
18194 (ido-copy-current-word): Mark unused parameters;
18195 remove unused variable `name'.
18196 (ido-sort-merged-list): Remove unused parameter `dirs'.
18198 * ielm.el (ielm-input-sender): Mark unused parameter.
18199 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18200 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18201 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18202 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18203 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18205 * image-dired.el (image-dired-display-thumbs): Remove unused
18206 variables `curr-file' and `count'.
18207 (image-dired-remove-tag): Remove unused variable `start'.
18208 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18209 variable `curr-file'
18210 (image-dired-rotate-original): Remove unused variable `temp-file'.
18211 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18212 Remove unused variable `file'.
18213 (image-dired-gallery-generate): Remove unused variable `curr'.
18214 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18216 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18218 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18220 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18222 * isearch.el (minibuffer-history-symbol): Declare.
18223 (isearch-edit-string): Remove unused variable `err'.
18224 (isearch-message-prefix, isearch-message-suffix):
18225 Mark unused parameters.
18227 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18229 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18231 * makesum.el (double-column): Remove unused variable `cnt'.
18233 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18234 (ido-ignore-item-temp-list): Declare.
18236 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18237 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18238 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18239 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18242 * mouse-sel.el (mouse-extend-internal):
18243 Remove unused variable `orig-window-frame'.
18245 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18246 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18247 Move declarations before first use.
18248 (pcomplete-opt): Mark unused parameters; doc fix.
18250 * proced.el (proced-revert): Mark unused parameter.
18251 (proced-send-signal): Remove unused variable `err'.
18253 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18254 Rename parameter PREFIX-ARG to ARG.
18255 (ps-basic-plot-string, ps-basic-plot-whitespace):
18256 Mark unused parameters.
18258 * replace.el (replace-count): Define.
18259 (occur-revert-function): Mark unused parameters.
18260 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18261 (isearch-case-fold-search, isearch-string): Declare.
18262 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18263 bind `case-fold-search'. Remove unused variables `beg' and `end',
18265 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18266 COUNT and bind `replace-count'.
18267 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18270 * savehist.el (print-readably, print-string-length): Declare.
18272 * shadowfile.el (shadow-expand-cluster-in-file-name):
18273 Remove unused variable `cluster'.
18274 (shadow-copy-file): Remove unused variable `i'.
18275 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18276 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18277 (shadow-define-literal-group, shadow-define-regexp-group)
18278 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18280 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18281 (shell): Use `called-interactively-p'.
18282 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18284 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18285 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18286 (delete-backward-char): Remove unused variable `ocol'.
18287 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18288 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18289 (event-apply-hyper-modifier, event-apply-shift-modifier)
18290 (event-apply-control-modifier, event-apply-meta-modifier):
18291 Mark unused parameters.
18292 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18293 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18295 * speedbar.el (speedbar-ignored-directory-expressions)
18296 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18297 (speedbar-find-file, speedbar-dir-follow)
18298 (speedbar-directory-buttons-follow, speedbar-tag-find)
18299 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18300 (speedbar-buffers-line-directory, speedbar-buffer-click):
18301 Mark unused parameters.
18302 (speedbar-tag-file): Remove unused variable `mode'.
18303 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18305 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18307 * talk.el (talk): Remove unused variable `display'.
18309 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18310 (tar-write-region-annotate): Mark unused parameter.
18312 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18313 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18314 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18315 warning by another.
18317 * time-stamp.el (time-stamp-string-preprocess):
18318 Remove unused variable `require-padding'.
18320 * tree-widget.el (widget-glyph-enable): Declare.
18321 (tree-widget-action): Mark unused parameter.
18323 * w32-fns.el (x-get-selection): Mark unused parameter.
18324 (autoload-make-program, generated-autoload-file): Declare.
18326 * wdired.el (wdired-revert): Mark unused parameters.
18327 (wdired-xcase-word): Remove unused variable `err'.
18329 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18330 (whitespace-help-scroll): Remove unused variable `data-help'.
18332 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18333 (widget-image-insert, widget-after-change, default)
18334 (widget-default-format-handler, widget-default-notify)
18335 (widget-default-prompt-value, widget-info-link-action)
18336 (widget-url-link-action, widget-function-link-action)
18337 (widget-variable-link-action, widget-file-link-action)
18338 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18339 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18340 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18341 (widget-insert-button-action, widget-delete-button-action, visibility)
18342 (widget-documentation-link-action, widget-documentation-string-action)
18343 (widget-const-prompt-value, widget-regexp-match, symbol)
18344 (widget-coding-system-prompt-value)
18345 (widget-key-sequence-value-to-external, sexp)
18346 (widget-sexp-value-to-internal, character, vector, cons)
18347 (widget-choice-prompt-value, widget-boolean-prompt-value)
18348 (widget-color--choose-action): Mark unused parameters.
18349 (widget-item-match-inline, widget-choice-match-inline)
18350 (widget-checklist-match, widget-checklist-match-inline)
18351 (widget-group-match): Rename parameter VALUES to VALS.
18352 (widget-field-value-set): Remove unused variable `size'.
18353 (widget-color-action): Remove unused variables `value' and `start'.
18355 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18356 variable `dir'. Doc fix.
18357 (windmove-find-other-window): Don't pass it.
18359 * window.el (count-windows): Mark unused parameter.
18360 (bw-adjust-window): Remove unused variable `err'.
18362 * woman.el (woman-file-name): Remove unused variable `default'.
18363 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18364 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18365 (global-font-lock-mode): Declare.
18366 (woman-decode-region): Mark unused parameter.
18367 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18369 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18370 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18371 (x-dnd-handle-moz-url): Remove unused variable `title'.
18372 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18374 * xml.el (xml-parse-tag, xml-parse-attlist):
18375 Remove unused variable `pos'.
18377 2011-04-19 Glenn Morris <rgm@gnu.org>
18379 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18380 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18381 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18382 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18383 * calendar/cal-html.el (cal-html-insert-minical):
18384 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18385 (calendar-mark-date-pattern):
18386 Prefix "unused" locals.
18388 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18389 optional argument `style'.
18391 * calendar/appt.el (appt-make-list):
18392 * calendar/cal-china.el (calendar-chinese-date-string):
18393 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18394 (diary-hebrew-yahrzeit):
18395 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18396 * calendar/calendar.el (calendar-generate-window):
18397 * calendar/time-date.el (time-to-days):
18398 Remove unused local variables.
18400 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18402 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18403 glyphless-char-display table.
18404 (tabulated-list-glyphless-char-display): New var.
18406 2011-04-18 Sam Steingold <sds@gnu.org>
18408 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18409 to acknowledgments.
18411 2011-04-17 Glenn Morris <rgm@gnu.org>
18413 * calendar/diary-lib.el (diary-sexp-entry):
18414 * calendar/holidays.el (holiday-sexp):
18415 Set debug-on-error rather than the removed stack-trace-on-error.
18417 2011-04-16 Glenn Morris <rgm@gnu.org>
18419 * progmodes/f90.el: Use lexical-binding.
18420 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18422 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18424 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18425 (mail-mode): Setup mailalias completion here instead.
18426 * mail/mailalias.el: Use lexical-binding.
18427 (pattern, mailalias-done): Declare dynamic.
18428 (mail-completion-at-point-function): New function, from mail-complete.
18429 (mail-complete): Use it.
18430 (mail-completion-expand): New function.
18431 (mail-get-names): Use it.
18432 (mail-directory, mail-directory-process, mail-directory-stream):
18433 Don't use `pattern' for lexically bound arg.
18435 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18437 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18438 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18439 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18441 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18442 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18443 (byte-interactive-p): Define them again, for use when inlining
18446 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18448 * loadup.el: Use `string-to-number', not `string-to-int'.
18450 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18452 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18453 gud-gdb-complete-command.
18454 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18455 (gud-gdb-completion-at-point): New function.
18456 (gud-gdb-completions): Remove.
18458 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18460 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18461 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18462 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18463 whether `executable-find' is bound.
18465 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18467 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18469 * minibuffer.el (completion-in-region-mode-predicate)
18470 (completion-in-region-mode--predicate): New vars.
18471 (completion-in-region, completion-in-region--postch)
18472 (completion-in-region-mode): Use them.
18473 (completion--capf-wrapper): Also return the hook function.
18474 (completion-at-point, completion-help-at-point):
18475 Adjust and provide a predicate.
18477 Preserve arg names for advice of subr and lexical functions (bug#8457).
18478 * help-fns.el (help-function-arglist): Consolidate the subr and
18479 new-byte-code cases. Add argument `preserve-names' to extract names
18480 from the docstring when needed.
18481 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18482 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18483 (ad-arglist): Use help-function-arglist's new arg.
18484 (ad-definition-type): Use cond.
18486 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18488 * autorevert.el (auto-revert-handler):
18489 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18490 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18491 Don't quote lambda.
18493 * image-mode.el (image-transform-set-scale):
18494 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18496 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18498 * net/network-stream.el (network-stream-open-starttls): Only do
18499 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18500 Upgrades via gnutls-cli are too slow to be done opportunistically.
18502 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18504 * dframe.el (dframe-current-frame): Remove spurious quote.
18506 2011-04-12 Glenn Morris <rgm@gnu.org>
18508 * calendar/cal-tex.el (cal-tex-end-document):
18509 Try to automatically use latin1 input if needed.
18511 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18512 Don't try to cons a mark onto an empty element.
18514 2011-04-11 Leo Liu <sdl.web@gmail.com>
18516 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18518 (ido-kill-buffer-at-head): Support killing virtual buffers.
18520 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18522 * minibuffer.el (completion-show-inline-help): New var.
18523 (completion--do-completion, minibuffer-complete)
18524 (minibuffer-force-complete, minibuffer-complete-word):
18525 Inhibit minibuffer messages if completion-show-inline-help is nil.
18527 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18528 to avoid interference from inline help (Bug#5849).
18530 2011-04-10 Leo Liu <sdl.web@gmail.com>
18532 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18535 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18537 * image-mode.el (image-toggle-display-image): Signal an error if
18539 (image-transform-mode, image-transform-resize)
18540 (image-transform-set-rotation): Doc fix.
18541 (image-transform-set-resize): Delete.
18542 (image-transform-set-scale, image-transform-fit-to-height)
18543 (image-transform-fit-to-width): Handle image-toggle-display-image
18544 and image-transform-resize directly.
18546 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18548 * doc-view.el (doc-view-fit-width-to-window)
18549 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18550 New functions for fitting the shown image to the Emacs window size.
18551 (doc-view-mode-map): Add bindings for the new functions.
18553 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18555 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18556 Fix typo in docstring.
18558 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18560 * files.el (file-size-human-readable): Produce one digit after
18561 decimal, like "ls -lh" does.
18563 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18564 the file size representation.
18566 * simple.el (list-processes): If async subprocesses are not
18567 available, error out with a clear error message.
18569 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18571 * help.el (help-form-show): New function, to be called from C.
18572 Put help-form output in a buffer named differently than *Help*.
18574 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18576 * files.el (file-size-human-readable): New function.
18578 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18579 computing the representation inline. Don't require `cl'.
18581 2011-04-08 Glenn Morris <rgm@gnu.org>
18583 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18585 * net/browse-url.el (browse-url-firefox):
18586 Test system-type, not system-configuration.
18588 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18589 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18590 Use log-edit-empty-buffer-p. (Bug#7598)
18592 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18593 (rlogin-mode-map): Initialize in the defvar.
18594 (rlogin): Use ignore-errors.
18596 * replace.el (occur-mode-map): Some fixes for menu items.
18598 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18600 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18602 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18604 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18605 issuing unused warnings.
18607 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18610 * simple.el: Lisp reimplement of list-processes. Based on an
18611 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18612 (process-menu-mode): New major mode.
18613 (list-processes--refresh, list-processes):
18614 (process-menu-visit-buffer): New functions.
18616 * files.el (save-buffers-kill-emacs): Don't assume any return
18617 value of list-processes, which is undocumented anyway.
18619 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18621 * emacs-lisp/tabulated-list.el: New file.
18623 * emacs-lisp/package.el: Use Tabulated List mode.
18624 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18625 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18626 table format using Tabulated List mode variables.
18627 (package--push): New macro, replacing package-list-maybe-add.
18628 (package-menu--generate): Use package--push. Renamed from
18629 package--generate-package-list.
18630 (package-menu-refresh, list-packages): Use it.
18631 (package-menu--print-info): Rename from package-print-package.
18632 Return insertion data instead of inserting it directly.
18633 (package-menu-describe-package, package-menu-execute):
18634 Use tabulated-list-get-id.
18635 (package-menu-mark-delete, package-menu-mark-install)
18636 (package-menu-mark-unmark, package-menu-backup-unmark)
18637 (package-menu-mark-obsolete-for-deletion):
18638 Use tabulated-list-put-tag.
18639 (package--list-packages, package-menu-revert)
18640 (package-menu-get-package, package-menu-get-version)
18641 (package-menu-sort-by-column): Functions deleted.
18642 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18643 (package-menu--status-predicate, package-menu--version-predicate)
18644 (package-menu--name-predicate)
18645 (package-menu--description-predicate): Handle arguments in the
18646 Tabulated List format.
18647 (package-list-packages-no-fetch): Call list-packages.
18649 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18651 * files.el (after-find-file-from-revert-buffer): Remove variable.
18652 (after-find-file): Don't bind it.
18653 (revert-buffer-in-progress-p): New variable.
18654 (revert-buffer): Bind it.
18655 Pass nil for `after-find-file-from-revert-buffer'.
18657 * saveplace.el (save-place-find-file-hook): Use new variable
18658 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18660 2011-04-06 Glenn Morris <rgm@gnu.org>
18662 * Makefile.in (AUTOGEN_VCS): New variable.
18663 (autoloads): Use $AUTOGEN_VCS.
18665 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18666 * calendar/calendar.el (calendar-mode-map):
18667 Check for toolkit scroll bars. (Bug#8305)
18669 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18671 * minibuffer.el (completion-in-region--postch)
18672 (completion-in-region-mode): Remove unnecessary messages.
18674 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18676 * font-lock.el (font-lock-refresh-defaults):
18677 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18678 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18680 * info.el (Info-directory-list, Info-read-node-name-2)
18681 (Info-split-parameter-string): Doc fixes.
18682 (Info-virtual-nodes): Reflow docstring.
18683 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18684 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18685 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18686 Fix typos in docstrings.
18687 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18688 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18689 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18690 (Info-restore-desktop-buffer): Mark unused parameters.
18691 (Info-directory-find-file, Info-directory-find-node)
18692 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18693 (Info-virtual-index-find-node, Info-apropos-find-file)
18694 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18695 Mark unused parameters; fix typos in docstrings.
18696 (Info-virtual-index): Remove unused local variable `nodename'.
18698 2011-04-05 Deniz Dogan <deniz@dogan.se>
18700 * net/rcirc.el: Update my e-mail address.
18701 (rcirc-mode-map): Remove M-o binding.
18703 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18705 * startup.el (command-line): Save the cursor's theme-face
18706 directly, instead of using face-override-spec.
18708 * custom.el (load-theme): Minor optimization in assigning faces.
18710 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18712 * help-fns.el (describe-variable): Complete all variables having
18713 documentation, including keywords.
18714 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18716 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18718 Convert to lexical-binding.
18720 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18721 (bs--get-marked-string, bs--get-modified-string)
18722 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18723 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18724 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18726 * ehelp.el (electric-help-execute-extended)
18727 (electric-help-ctrl-x-prefix):
18728 * hexl.el (hexl-revert-buffer-function):
18729 * linum.el (linum-after-change, linum-after-scroll):
18730 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18732 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18734 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18741 * epg.el: Use lexical binding.
18743 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18745 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18747 * textmodes/flyspell.el (flyspell-word): Recognize default
18748 dictionary case for flyspell-mark-duplications-exceptions.
18749 Use regexp matching for languages.
18750 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18751 default dictionary (Bug#7926).
18753 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18755 * emacs-lisp/package.el (package--with-work-buffer):
18756 Recognize https URLs.
18758 * net/network-stream.el: Move from gnus/proto-stream.el.
18759 Change prefix to network-stream throughout.
18760 (open-protocol-stream): Merge into open-network-stream, leaving
18761 open-protocol-stream as an alias. Handle nil BUFFER args.
18763 * subr.el (open-network-stream): Move to net/network-stream.el.
18765 2011-04-02 Glenn Morris <rgm@gnu.org>
18767 * find-dired.el (find-exec-terminator): New option.
18768 (find-ls-option): Test for -ls support.
18769 (find-ls-subdir-switches): Test for -b in find-ls-option.
18770 (find-dired, find-grep-dired): Doc fixes.
18771 (find-dired): Use find-exec-terminator.
18773 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18774 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18775 (find-name-arg): Remove purecopy.
18777 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18778 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18779 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18780 accordingly. Don't add the null-device if not needed.
18782 * files.el (save-some-buffers): Doc fix.
18784 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18786 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18788 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18790 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18791 Use `dolist' rather than `mapcar'.
18793 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18795 Add lexical binding.
18797 * subr.el (apply-partially): Use new closures rather than CL.
18798 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18799 (dolist, dotimes): Use slightly different expansion for lexical code.
18800 (functionp): Move to C.
18801 (letrec): New macro.
18802 (with-wrapper-hook): Use it and apply-partially instead of CL.
18803 (eval-after-load): Preserve lexical-binding.
18804 (save-window-excursion, with-output-to-temp-buffer): Turn them
18807 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18809 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18811 (help-add-fundoc-usage): Don't add `Not documented'.
18812 (help-function-arglist): Handle closures, subroutines, and new
18813 byte-code-functions.
18814 (help-make-usage): Remove leading underscores.
18815 (describe-function-1): Handle closures.
18816 (describe-variable): Use special-variable-p for completion.
18818 * files.el (lexical-binding): Declare safe.
18820 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18821 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18822 (pcase): Add `let' pattern.
18823 Change memoization so it actually works.
18824 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18825 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18828 * emacs-lisp/macroexp.el: Use lexical binding.
18829 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18830 Don't convert ' to #' without checking that it's indeed quoting
18833 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18834 Use eval-sexp-add-defvars.
18835 (eval-sexp-add-defvars): New fun.
18837 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18839 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18841 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18842 than the internal `byte-compile-lambda'.
18843 (defmethod): Don't hide code under quotes.
18844 (eieio-defmethod): New `code' argument.
18846 * emacs-lisp/eieio-comp.el: Remove.
18848 * emacs-lisp/edebug.el (edebug-eval-defun)
18849 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18850 (edebug-toggle): Avoid `eval'.
18852 * emacs-lisp/disass.el (disassemble-internal): Handle new
18854 (disassemble-1): Handle new byte codes.
18856 * emacs-lisp/cl.el (pushnew): Silence warning.
18858 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18859 (cl-byte-compile-throw): Remove.
18860 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18862 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18865 * emacs-lisp/cconv.el: New file.
18867 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18868 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18869 (byte-compile-initial-macro-environment):
18870 Handle declare-function here.
18871 (byte-compile--lexical-environment): New var.
18872 (byte-stack-ref, byte-stack-set, byte-discardN)
18873 (byte-discardN-preserve-tos): New lap codes.
18874 (byte-interactive-p): Don't use any more.
18875 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18877 (byte-compile-lapcode): Use them and handle new lap codes.
18878 (byte-compile-obsolete): Remove.
18879 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18880 (byte-compile-arglist-warn): Check late def of inlinable funs.
18881 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18882 since they should have been expanded by now.
18883 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18884 (byte-compile-from-buffer): Remove unused second arg.
18885 (byte-compile-preprocess): New function.
18886 (byte-compile-toplevel-file-form): New function to distinguish
18887 file-form calls from outside from file-form calls from hunk-handlers.
18888 (byte-compile-file-form): Simplify.
18889 (byte-compile-file-form-defsubst): Remove.
18890 (byte-compile-file-form-defmumble): Simplify now that
18891 byte-compile-lambda always returns a byte-code-function.
18892 (byte-compile): Preprocess.
18893 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18894 Remove, not used any more.
18895 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18896 (byte-compile-make-args-desc): New funs.
18897 (byte-compile-lambda): Handle lexical functions. Always return
18898 a byte-code-function.
18899 (byte-compile-reserved-constants): New var, to make up room for
18900 closed-over variables.
18901 (byte-compile-constants-vector): Obey it.
18902 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18903 (byte-compile-macroexpand-declare-function): New function.
18904 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18905 byte-code-functions.
18906 (byte-compile-form): Check obsolescence here.
18907 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18908 (byte-compile-variable-ref): Remove.
18909 (byte-compile-dynamic-variable-op): New fun.
18910 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18911 (byte-compile-variable-set): New funs.
18912 (byte-compile-discard): Add 2 args.
18913 (byte-compile-stack-ref, byte-compile-stack-set)
18914 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18915 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18916 macroexpand-all instead.
18917 (byte-compile-quote-form): Remove.
18918 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18919 (byte-compile-bind, byte-compile-unbind): New funs.
18920 (byte-compile-let): Handle let* and lexical binding.
18921 (byte-compile-let*): Remove.
18922 (byte-compile-catch, byte-compile-unwind-protect)
18923 (byte-compile-track-mouse, byte-compile-condition-case):
18924 Handle a new :fun-body form, used for lexical scoping.
18925 (byte-compile-save-window-excursion)
18926 (byte-compile-with-output-to-temp-buffer): Remove.
18927 (byte-compile-defun): Simplify.
18928 (byte-compile-stack-adjustment): New fun.
18929 (byte-compile-out): Use it.
18930 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18932 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18935 * emacs-lisp/byte-opt.el: Use lexical binding.
18936 (byte-inline-lapcode): Remove (to bytecomp).
18937 (byte-compile-inline-expand): Pay attention to inlining to/from
18938 lexically bound code.
18939 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18941 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18942 any more and don't call compiler-macros.
18943 (byte-compile-splice-in-already-compiled-code): Remove.
18944 (byte-code): Don't inline any more.
18945 (disassemble-offset): Receive `bytes' as argument rather than via
18947 (byte-compile-tag-number): Declare before first use.
18948 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18949 `return' even if make-spliceable.
18950 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18951 obsolete interactive-p.
18952 (byte-optimize-lapcode): Optimize new lap-codes.
18953 Don't trip up on new form of `byte-constant' lap code.
18955 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18957 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18959 * custom.el (custom-initialize-default, custom-declare-variable):
18962 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18964 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18965 (COMPILE_FIRST): Add macroexp and cconv.
18966 * makefile.w32-in: Mirror changes in Makefile.in.
18968 * vc/cvs-status.el:
18972 * vc/smerge-mode.el:
18973 * textmodes/bibtex-style.el:
18974 * textmodes/css-mode.el:
18982 * emacs-lisp/smie.el:
18985 * abbrev.el: Use lexical binding.
18987 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18989 * info.el (info-display-manual): New function.
18991 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18993 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18995 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18997 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18998 an entry for that server in rcirc-authinfo. (Bug#8385)
19000 2011-03-31 Glenn Morris <rgm@gnu.org>
19002 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19004 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19006 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19008 * progmodes/python.el (python-default-interpreter)
19009 (python-python-command-args, python-jython-command-args)
19010 (python-which-shell, python-which-args, python-which-bufname)
19011 (python-file-queue, python-comint-output-filter-function)
19012 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19013 variables and functions.
19015 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19017 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19018 (completion-in-region-mode): New minor mode.
19019 (completion-in-region): Use it.
19020 (completion-in-region--data, completion-in-region-mode-map): New vars.
19021 (completion-in-region--postch): New function.
19022 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19024 (completion--capf-wrapper): New function.
19025 (completion-at-point): Use it to track well-behavedness of
19027 (completion-help-at-point): New command.
19029 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19031 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19032 syntax class to search for whitespace on a single line
19033 (Message-ID: <4D938140.4030905@redhat.com>).
19035 2011-03-30 Leo Liu <sdl.web@gmail.com>
19037 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19039 (edit-abbrevs-map): Bind them here.
19040 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19042 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19044 * allout.el (allout-hide-by-annotation, allout-flag-region):
19045 Reduce possibility of overlay leakage by making them volatile.
19047 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19048 hash is not shared between buffers. Mode initialization is
19049 responsible for giving it a useful starting value.
19050 (allout-item-span): Reduce possibility of overlay leakage by
19051 making them volatile.
19052 (allout-widgets-count-buttons-in-region): Add diagnostic function
19053 for tracking down button overlay leaks.
19055 2011-03-29 Leo Liu <sdl.web@gmail.com>
19057 * ido.el (ido-read-internal): Use the default history var
19058 minibuffer-history if no HISTORY is specified.
19060 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19062 * net/imap.el (imap-shell-open, imap-process-connection-type):
19063 Use imap-process-connection-type for 'shell' streams as well as
19064 Kerberos, SSL, other subprocesses.
19066 2011-03-28 Leo Liu <sdl.web@gmail.com>
19068 * abbrev.el (abbrev-table-empty-p): New function.
19069 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19070 nonempty ones. (Bug#5937)
19072 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19074 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19076 2011-03-27 Leo Liu <sdl.web@gmail.com>
19078 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19079 for foreground and background colors.
19080 (ansi-color-make-color-map): Adapt.
19082 2011-03-25 Leo Liu <sdl.web@gmail.com>
19084 * midnight.el (midnight-time-float): Remove. Note it calculates
19085 the microsecond component incorrectly and seconds-to-time does the
19087 Remove redundant (require 'timer).
19089 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19090 (ido-completions): Remove unused arguments. (Bug#8329)
19092 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19094 * minibuffer.el (completion--flush-all-sorted-completions):
19095 Remove itself from hook.
19096 (completion-at-point): Let the functions perform the completion
19097 immediately and return nil or t.
19098 * comint.el (comint-dynamic-complete-functions): Now identical to
19099 completion-at-point-functions.
19100 (comint-dynamic-list-input-ring): Remove unused var `index'.
19101 (comint--match-partial-filename, comint--unquote&expand-filename):
19102 New funs, split from comint-match-partial-filename.
19103 (comint-dynamic-complete): Use completion-at-point.
19104 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19106 2011-03-24 Drew Adams <drew.adams@oracle.com>
19108 * thingatpt.el: Support `defun'.
19110 2011-03-23 Leo Liu <sdl.web@gmail.com>
19112 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19114 * help-mode.el (help-mode-finish): Tweak regexp.
19116 2011-03-23 Glenn Morris <rgm@gnu.org>
19118 * eshell/esh-opt.el (eshell-eval-using-options):
19119 Do not bind unused local variable `eshell-option-stub'.
19121 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19123 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19125 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19126 keymap variable in `with-no-warnings' to avoid a warning when the
19127 keymap has been already `defconst'ed.
19129 2011-03-22 Leo Liu <sdl.web@gmail.com>
19131 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19132 encode all chars in abbrevs; otherwise use emacs-mule or
19133 utf-8-emacs. (Bug#8308)
19135 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19137 * simple.el (backward-delete-char-untabify):
19138 Avoid warning about using `delete-backward-char'.
19140 * image.el (image-type-file-name-regexps): Make it variable.
19141 `imagemagick-register-types' modifies it, and the user may want
19142 to add new extensions for known image types.
19143 (imagemagick-register-types): Throw error if not using ImageMagick.
19145 2011-03-22 Leo Liu <sdl.web@gmail.com>
19147 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19148 located before rcirc-prompt-end-marker.
19149 (rcirc-complete): Error if point is not after rcirc prompt.
19150 Handle the case when table is nil.
19151 (rcirc-user-authenticated): Define to fix compiler warning.
19153 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19155 * custom.el (custom--inhibit-theme-enable): Make it affect only
19156 custom-theme-set-variables and custom-theme-set-faces.
19157 (provide-theme): Ignore custom--inhibit-theme-enable.
19158 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19159 (custom-enabling-themes): Delete variable.
19160 (enable-theme): Accept only loaded themes as arguments.
19161 Ignore the special custom-enabled-themes variable.
19162 (custom-enabled-themes): Forbid themes from setting this.
19163 Eliminate use of custom-enabling-themes.
19164 (custom-push-theme): Quote "changed" custom var entry.
19166 2011-03-21 Leo Liu <sdl.web@gmail.com>
19168 * ido.el (ido-read-internal): Add ido-selected to history instead
19171 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19173 * subr.el (deferred-action-list, deferred-action-function):
19176 2011-03-21 Leo Liu <sdl.web@gmail.com>
19178 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19179 change on 2011-02-13 (bug#8309).
19181 * minibuffer.el (read-file-name-function): Change default value.
19182 (read-file-name--defaults): Rename from read-file-name-defaults.
19183 (read-file-name-default): Rename from read-file-name.
19184 (read-file-name): Call read-file-name-function.
19186 2011-03-21 Glenn Morris <rgm@gnu.org>
19188 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19191 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19193 * cus-theme.el: Add missing provide statement.
19194 (customize-create-theme): Extract theme value correctly.
19195 (custom-theme-visit-theme): Autoload.
19196 (customize-create-theme): Prompt before inserting default faces.
19198 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19200 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19201 units and musical notes.
19203 2011-03-20 Leo Liu <sdl.web@gmail.com>
19205 * ido.el (ido-read-internal): Use completing-read-default.
19206 (ido-completing-read): Fix compatibility with completing-read.
19208 2011-03-20 Christian Ohler <ohler@gnu.org>
19210 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19211 (ert-delete-all-tests): Use `called-interactively-p' rather than
19213 (ert--make-xrefs-region): Respect END.
19215 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19217 * dired-aux.el (dired-create-directory): Signal an error if the
19218 directory already exists (Bug#8246).
19220 * facemenu.el (list-colors-display): Call list-faces-display
19221 inside with-help-window.
19222 (list-colors-print): Use display property to align the final
19223 column, instead of checking window-width.
19225 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19227 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19228 windows-nt systems.
19229 (emerge-protect-metachars): Quote correctly for ms-dos and
19230 windows-nt systems.
19232 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19234 * info.el (info-initialize): Replace all uses of `:' with
19235 path-separator for compatibility with non-Unix systems.
19236 Cache quoting of path-separator. (Bug#8258)
19238 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19240 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19241 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19242 (mouse-avoidance-mode): Fix typos in docstrings.
19244 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19246 * startup.el (package-subdirectory-regexp): Move from package.el.
19247 Omit \\` and \\', and let callers add them.
19249 * emacs-lisp/package.el (package-strip-version)
19250 (package-load-all-descriptors): Add \\` and \\' to
19251 package-subdirectory-regexp before using it.
19252 (package-untar-buffer): New arg DIR; ensure that file untars only
19253 into this expected directory. Remove superfluous delete-region.
19254 (package-unpack): Caller changed.
19255 (package-tar-file-info): Use package-subdirectory-regexp.
19257 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19259 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19260 diff-mode-shared-map (bug#8284).
19261 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19263 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19265 * calendar/time-date.el (format-seconds): Use assoc instead of
19266 assoc-string, since assoc-string doesn't exist in XEmacs.
19268 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19270 * custom.el (custom-known-themes): Reflow docstring.
19271 (custom-theme-load-path): Fix typo in docstring.
19272 (load-theme): Fix typo in error message.
19273 (custom-available-themes, custom-variable-theme-value):
19274 Use `let', not `let*'.
19276 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19278 * calc/README: Mention inclusion of musical notes.
19280 * calc/calc-units.el (calc-lu-quant): Rename from
19281 `calc-logunits-quantity'.
19282 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19283 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19284 (calc-db): Rename from `calc-dblevel'.
19285 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19286 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19287 (calc-np): Rename from `calc-nplevel'.
19288 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19289 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19290 (calc-lu-plus): Rename from `calc-logunits-add'.
19291 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19292 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19293 (calc-lu-minus): Rename from `calc-logunits-sub'.
19294 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19295 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19296 (calc-lu-times): Rename from `calc-logunits-mul'.
19297 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19298 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19299 (calc-lu-divide): Rename from `calc-logunits-div'.
19300 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19301 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19303 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19304 functions being autoloaded.
19306 * calc/calc.el (calc-lu-power-reference): Rename from
19307 `calc-logunits-power-reference'.
19308 (calc-lu-field-reference): Rename from
19309 `calc-logunits-field-reference'.
19311 * calc/calc-help.el (calc-l-prefix-help):
19312 Mention musical note functions.
19314 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19316 * minibuffer.el (completion-all-sorted-completions):
19317 Use :completion-cycle-penalty text property if present.
19319 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19321 * allout.el (allout-yank-processing): Adjust for new rebulleting
19322 regime so bullet being yanked is used without prompting the user
19325 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19327 * startup.el (command-line): Warn the user that _emacs is deprecated.
19329 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19331 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19332 (delphi-verbose, delphi-comment-face, delphi-string-face)
19333 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19334 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19335 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19336 (delphi-new-comment-line, delphi-font-lock-defaults)
19337 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19338 Fix typos in docstrings.
19340 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19342 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19343 Invert the roles of character and string values for INSTEAD, so a
19344 string is used for the more common case of a defaulting prompt.
19346 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19348 * progmodes/ruby-mode.el (ruby-backward-sexp):
19349 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19350 * play/gamegrid.el (gamegrid-make-face):
19351 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19352 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19353 * notifications.el (notifications-notify):
19354 * net/xesam.el (xesam-search-engines):
19355 * net/quickurl.el (quickurl-list-insert):
19356 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19358 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19360 * startup.el (command-line): Update package subdirectory regexp.
19362 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19364 * allout.el (allout-abbreviate-flattened-numbering)
19365 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19367 * subr.el (read-char-choice): Only show the cursor after the prompt,
19368 not after the answer.
19370 2011-03-15 Kevin Ryde <user42@zip.com.au>
19372 * help-fns.el (variable-at-point): Skip leading quotes, if any
19375 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19377 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19380 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19382 * shell.el (shell): When called interactively, offer to change the
19383 shell file name on remote hosts.
19385 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19387 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19388 integration for LDAP parameters. The host, base, user or binddn,
19389 and secret tokens can be specified in a netrc file, for instance.
19390 This is optional because an `auth-source' parameter must be
19391 specified in the search attributes.
19393 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19395 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19397 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19399 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19400 into declaration. Remove redundant and harmful binding.
19402 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19404 * files.el (file-ownership-preserved-p): Pass `integer' as an
19405 explicit 2nd argument to `file-attributes'. If the file's owner
19406 is the Administrators group on Windows, and the current user is
19407 Administrator, consider that a match.
19409 * server.el (server-ensure-safe-dir): Consider server directory
19410 safe on MS-Windows if its owner is the Administrators group while
19411 the current Emacs user is Administrator. Use `=' to compare
19412 numerical UIDs, since they could be integers or floats.
19414 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19416 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19418 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19420 Sync with Tramp 2.2.1.
19422 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19424 * net/trampver.el: Update release number.
19426 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19428 * progmodes/compile.el (compilation--previous-directory): Fix up
19429 various nil/dead-marker mismatches (bug#8014).
19430 (compilation-directory-properties, compilation-error-properties):
19431 Don't call it at a position past the one we're about to change.
19433 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19434 Disable obsolescence warnings in the file that declares it.
19436 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19438 * allout-widgets.el (allout-widgets-tally):
19439 Initialize allout-widgets-tally as a hash table rather than nil to
19440 prevent mode-line redisplay warnings. Also, clarify the module
19441 description and fix a comment typo.
19443 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19445 * help-fns.el (describe-variable): Don't complete keywords.
19446 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19448 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19450 * emacs-lisp/package.el (package-version-join): Impose a standard
19451 string representation for pre/alpha/beta version lists.
19452 (package-unpack-single): Standardize the directory name by passing
19453 it through package-version-join.
19454 (package-strip-rcs-id): Accept any version string that does not
19455 signal an error in version-to-list.
19457 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19459 * simple.el (delete-trailing-whitespace): Return nil for the
19460 benefit of `write-file-functions'.
19462 2011-03-10 Glenn Morris <rgm@gnu.org>
19464 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19466 * vc/vc-git.el (vc-git-program): New option.
19467 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19468 (vc-git--call): Use it.
19470 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19472 * cus-edit.el (Custom-newline): If no button at point, look
19473 for a subgroup button at start-of-line. (Bug#2298)
19475 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19477 2011-03-10 Julien Danjou <julien@danjou.info>
19479 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19480 `cursor-type' is nil.
19482 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19484 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19486 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19488 * allout.el: Change so yank of distinctive-bullet items
19489 preserves the existing header prefix, rebulleting it if necessary,
19490 rather than replacing it. This is necessary for proper operation
19491 of cooperative addons like allout-widgets.
19492 (allout-make-topic-prefix, allout-rebullet-heading):
19493 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19494 value as alternate bullet to be used, instead of prompting the user
19495 for a bullet character.
19497 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19499 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19500 Do not use `tramp-file-name-port', because this returns also
19501 `tramp-default-port'.
19503 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19505 * net/rcirc.el (rcirc-handler-001): Remove useless
19506 with-rcirc-process-buffer.
19507 (rcirc-check-auth-status): Swap arguments to string-match.
19509 2011-03-09 Glenn Morris <rgm@gnu.org>
19511 * shell.el (shell-mode):
19512 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19514 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19515 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19517 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19519 * emacs-lisp/package.el (package-refresh-contents)
19520 (package-menu-execute): Use condition-case-no-debug.
19522 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19524 * simple.el (shell-command-to-string): Use `process-file'.
19526 * emacs-lisp/package.el (package-tar-file-info): Handle also
19529 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19530 Use `equal' for upload base check.
19532 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19534 * textmodes/texinfo.el (texinfo-environments):
19535 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19537 2011-03-08 Glenn Morris <rgm@gnu.org>
19539 * cus-start.el (cursor-in-non-selected-windows):
19540 Fix :set quoting oddness. (Bug#8192)
19542 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19543 in some setf expressions. (Bug#2159)
19545 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19547 * custom.el (custom-available-themes): Return themes in
19548 alphabetical order.
19550 See ChangeLog.15 for earlier changes.
19552 ;; Local Variables:
19556 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19558 This file is part of GNU Emacs.
19560 GNU Emacs is free software: you can redistribute it and/or modify
19561 it under the terms of the GNU General Public License as published by
19562 the Free Software Foundation, either version 3 of the License, or
19563 (at your option) any later version.
19565 GNU Emacs is distributed in the hope that it will be useful,
19566 but WITHOUT ANY WARRANTY; without even the implied warranty of
19567 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19568 GNU General Public License for more details.
19570 You should have received a copy of the GNU General Public License
19571 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.