From: Glenn Morris Date: Fri, 5 Oct 2012 07:38:05 +0000 (-0700) Subject: Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.ca X-Git-Tag: emacs-24.2.90~241^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8757f091a502b858912a4c267210e009227d6e6;p=emacs.git Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.ca --- e8757f091a502b858912a4c267210e009227d6e6 diff --cc doc/lispref/ChangeLog index db728d6fec0,2d942136bbe..8568b024f67 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,57 -1,8 +1,61 @@@ -2012-10-03 Bruno Félix Rezende Ribeiro (tiny change) ++2012-10-05 Bruno Félix Rezende Ribeiro (tiny change) + + * functions.texi (Function Safety): Copyedit. (Bug#12562) + -2012-09-25 Leo Liu +2012-10-01 Paul Eggert + + Revert the FOLLOW-SYMLINKS change for file-attributes. + * files.texi (File Attributes, Magic File Names): Undo last change. + +2012-09-30 Paul Eggert + + file-attributes has a new optional arg FOLLOW-SYMLINKS. + * files.texi (File Attributes): Describe it. + (Magic File Names): Use it. + +2012-09-30 Chong Yidong + + * commands.texi (Click Events): Define "mouse position list". + Remove mention of unimplemented horizontal scroll bars. + (Drag Events, Motion Events): Refer to "mouse position list". + (Accessing Mouse): Document posnp. + + * errors.texi (Standard Errors): Tweak arith-error description. + Tweak markup. Remove domain-error and friends, which seem to be + unused after the floating-point code revamp. + + * functions.texi (Obsolete Functions): Obsolescence also affects + documentation commands. Various clarifications. + (Declare Form): New node. + + * strings.texi (String Basics): Copyedits. + + * os.texi (Idle Timers): Minor clarifications. + (User Identification): Add system-users and system-groups. + + * macros.texi (Defining Macros): Move description of `declare' to + Declare Form node. + + * loading.texi (Autoload): + * help.texi (Documentation Basics): The special sequences can + trigger autoloading. + + * numbers.texi (Integer Basics): Copyedits. + (Float Basics): Consider IEEE floating point always available. + (Random Numbers): Document actual limits. + (Arithmetic Operations): Clarify division by zero. Don't mention + the machine-independence of negative division since it does not + happen in practice. + +2012-09-28 Chong Yidong + + * os.texi (Startup Summary): Document leim-list.el change. + +2012-09-25 Chong Yidong + + * functions.texi (Defining Functions): defun is now a macro. + +2012-09-28 Leo Liu * files.texi (Files): Fix typo. diff --cc doc/misc/ChangeLog index dc29868eb04,874252c34c7..55f81c7c798 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@@ -1,266 -1,11 +1,271 @@@ + 2012-10-05 Glenn Morris + + * newsticker.texi (Overview, Requirements, Usage, Configuration): + Copyedits. + -2012-08-24 Chong Yidong +2012-10-01 Eric Ludlam - * Version 24.2 released. + * ede.texi (Quick Start, Project Local Variables) + (Miscellaneous commands, ede-java-root, Development Overview) + (Detecting a Project): New nodes. + (Simple projects): Node deleted. + + * eieio.texi (Building Classes): Some slot attributes cannot be + overridden. + (Slot Options): Remove an example. + (Method Invocation, Documentation): New nodes. + +2012-10-01 Glenn Morris + + * Makefile.in ($(buildinfodir)/reftex$(INFO_EXT)), reftex.dvi) + (reftex.pdf): Add dependency on emacsver.texi. + * reftex.texi: Don't include directory part for emacsver.texi; + the Makefile's -I handles it. + +2012-09-30 Ralf Angeli + + Merge from standalone RefTeX repository. + + * reftex.texi: Express TeX, LaTeX, AUCTeX, BibTeX and RefTeX + with macros. + (Imprint): Mention Wolfgang in list of contributors. + (Creating Citations): Give a hint about how to + auto-revert the BibTeX database file when using external editors. + (Referencing Labels): Simplify section about reference macro + cycling. + (Options (Referencing Labels)): Adapt to new structure of + `reftex-ref-style-alist'. + (Referencing Labels, Reference Styles): Document changes in the + referencing functionality. + (Commands): Mention options for definition of header and footer in + BibTeX files. + (Options (Creating Citations)): Document + `reftex-create-bibtex-header' and `reftex-create-bibtex-footer'. + (Reference Styles): New section. + (varioref (LaTeX package), fancyref (LaTeX package)): Remove. + (Options (Referencing Labels)): Remove descriptions of deprecated + variables `reftex-vref-is-default' and `reftex-fref-is-default'. + Add descriptions for `reftex-ref-style-alist' and + `reftex-ref-style-default-list'. + (Referencing Labels): Update regarding reference styles. + (Citation Styles): Mention support for ConTeXt. + (Options (Defining Label Environments)): Fix typo. + (Options (Creating Citations)): Document + `reftex-cite-key-separator'. + +2012-09-30 Achim Gratz + + * org.texi: Add description of ORG_ADD_CONTRIB to info + documentation. Add link to Worg for more details. + + * org.texi: Clarify installation procedure. Provide link to the + build system description on Worg. + + * org.texi: Remove reference to utils/, x11idle.c is now in + contrib/scripts. + + * org.texi: Re-normalize to "Org mode" in manual. + + * org.texi (Installation): Adapt documentation to new build + system. Mention GNU ELPA (since it needs to be handled like Emacs + built-in Org). + +2012-09-30 Adam Spiers (tiny change) + + * org.texi: Fix typo in description of the 'Hooks' section. + + * org.texi: Add ID to the list of special properties. + +2012-09-30 Andrew Hyatt (tiny change) + + * org.texi (Moving subtrees): Document the ability to archive to a + datetree. + +2012-09-30 Bastien Guerry + + * org.texi (Installation, Feedback, Batch execution): Use + (add-to-list 'load-path ... t) for the contrib dir. + + * org.texi (results): Update documentation for ":results drawer" + and ":results org". + + * org.texi (Column width and alignment): Fix typo. + + * org.texi (Activation): Point to the "Conflicts" section. + + * org.texi (Conflicts): Mention filladapt.el in the list of + conflicting packages. + + * org.texi (Activation): Adding org-mode to `auto-mode-alist' is + not needed for versions of Emacs > 22.1. + + * org.texi (History and Acknowledgments): Fix typo. + + * org.texi (History and Acknowledgments): Add my own + acknowledgments. + + * org.texi (Agenda commands): Document the new command and the new + option. + + * org.texi (Agenda commands): Delete `org-agenda-action' section. + (Agenda commands): Reorder. Document `*' to toggle persistent + marks. + + * org.texi (Agenda dispatcher): Mention + `org-toggle-agenda-sticky'. + (Agenda commands, Exporting Agenda Views): Fix typo. + + * org.texi (Templates in contexts, Setting Options): Update to + reflect changes in how contexts options are processed. + + * org.texi (Templates in contexts): Document the new structure of + the variables `org-agenda-custom-commands-contexts' and + `org-capture-templates-contexts'. + + * org.texi (Templates in contexts): Document the new option + `org-capture-templates-contexts'. + (Storing searches): Document the new option + `org-agenda-custom-commands-contexts'. + + * org.texi (Formula syntax for Lisp): Reformat. + + * org.texi (Special properties, Column attributes) + (Agenda column view): Document the new special property + CLOCKSUM_T. + + * org.texi (Template expansion): Document the new %l template. + + * org.texi (Fast access to TODO states): Fix documentation about + allowed characters for fast todo selection. + + * org.texi (Weekly/daily agenda): Mention APPT_WARNTIME and its + use in `org-agenda-to-appt'. + + * org.texi (Comment lines): Update wrt comments. + + * org.texi (Resolving idle time): Document new keybinding. + + * org.texi (Clocking commands): Document the use of S-M- + on clock timestamps. + + * org.texi (Fast access to TODO states): Explicitely says only + letters are supported as fast TODO selection keys. + + * org.texi (Link abbreviations): Illustrate the use of the "%h" + specifier. Document the new "%(my-function)" specifier. + + * org.texi (Clocking commands): New cindex. + (Clocking commands): Update documentation for `org-clock-in'. + Document `org-clock-in-last'. Mention `org-clock-out' and + `org-clock-in-last' as commands that can be globally bound. + (Resolving idle time): Document continuous clocking. + + * org.texi (Top, Introduction): Fix formatting. + (Activation): Add index entries. + (Conventions): Update section. + (Embedded @LaTeX{}): Fix formatting. + + * org.texi (Visibility cycling): Document `show-children'. + + * org.texi (Using capture): Mention the `org-capture-last-stored' + bookmark as a way to jump to the last stored capture. + + * org.texi (Uploading files): Fix typo. + + * org.texi (Using capture): Document `C-0' as a prefix argument + for `org-capture'. + + * org.texi (Agenda commands): Document persistent marks. + + * org.texi (Template expansion): Update doc to reflect change. + + * org.texi (Radio tables): Document the :no-escape parameter. + + * org.texi (Repeated tasks): Document repeat cookies for years, + months, weeks, days and hours. + + * org.texi (Export options): State that you can use the d: option + by specifying a list of drawers. + + * org.texi (HTML preamble and postamble): Small doc improvement. + +2012-09-30 Brian van den Broek (tiny change) + + * org.texi: The sections in the Exporting section of the manual + left out articles in the description of the org-export-as-* + commands, among other places. This patch adds them, adds a few + missing prepositions, and switches instances of "an HTML" to "a + html" for internal consistency. + + * org.texi: Alter several examples of headings with timestamps in + them to include the timestamps in the body instead of the heading. + +2012-09-30 Carsten Dominik + + * org.texi (Agenda dispatcher): Document sticky agenda views and + the new key for them. + +2012-09-30 Charles (tiny change) + + * org.texi (Advanced features): Fix error in table. + +2012-09-30 Feng Shu + + * org.texi (@LaTeX{} fragments): Document imagemagick as an + alternative to dvipng. + +2012-09-30 François Allisson (tiny change) + + * org.texi: Remove extra curly bracket. + +2012-09-30 Giovanni Ridolfi (tiny change) + + * org.texi (org-clock-in-last and org-clock-cancel): Update the + defkeys. + +2012-09-30 Ippei FURUHASHI (tiny change) + + * org.texi (Agenda commands): Fix two typos by giving + corresponding function names, according to + `org-agenda-view-mode-dispatch'. + +2012-09-30 Jan Bäcker + + * org.texi (The spreadsheet): Fix typo. + +2012-09-30 Memnon Anon (tiny change) + + * org.texi (Tracking your habits): Point to the "Tracking TODO + state changes" section. + +2012-09-30 Nicolas Goaziou + + * org.texi (Literal examples): Remove reference to unknown + `org-export-latex-minted' variable. Also simplify footnote since + `org-export-latex-listings' documentation is exhaustive already. + + * org.texi (Plain lists): Remove reference to now hard-coded + `bullet' automatic rule. + +2012-09-30 Toby S. Cubitt + + * org.texi: Updated documentation accordingly. + +2012-09-13 Paul Eggert + + * texinfo.tex: Merge from gnulib. + +2012-09-12 Michael Albinus + + Sync with Tramp 2.2.6. + + * tramp.texi (Bug Reports): Cleanup caches before a test run. + + * trampver.texi: Update release number. + +2012-09-12 Paul Eggert + + * texinfo.tex: Merge from gnulib. 2012-08-06 Aurélien Aptel diff --cc etc/ChangeLog index c163683ea39,caec41133ea..ad6c6395e49 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@@ -1,220 -1,19 +1,224 @@@ -2012-10-03 Douglas Lewan (tiny change) ++2012-10-05 Douglas Lewan (tiny change) + + * tutorials/TUTORIAL.pt_BR: Fix typo. (Bug#12557) + -2012-08-24 Chong Yidong +2012-10-01 Eric Ludlam - * Version 24.2 released. + * srecode/cc.srt, srecode/ede-autoconf.srt: New files. -2012-06-01 Chong Yidong + * srecode/cpp.srt: Move parts to c.srt. - * Version 24.1 released. + * srecode/ede-make.srt: Extra templates for Arduino Makefiles. -2012-04-26 Jambunathan K +2012-10-01 Ralf Mattes (tiny change) - * org/OrgOdtStyles.xml (OrgDescriptionList): Modify style. With - this change, in a description list, if the description paragraph + * srecode/el.srt (variable-option): Add missing quote. + +2012-10-01 Chong Yidong + + * images/icons/hicolor/32x32/apps/emacs22.png: + * images/icons/hicolor/16x16/apps/emacs22.png: + * images/icons/hicolor/48x48/apps/emacs22.png: + * images/icons/hicolor/24x24/apps/emacs22.png: Remove old icons + (Bug#12536). + +2012-10-01 Paul Eggert + + Revert the FOLLOW-SYMLINKS change for file-attributes. + * NEWS: Undo last change. + +2012-09-30 Bastien Guerry + + * refcards/orgcard.tex: Update version number. + +2012-09-30 Jambunathan K + + * org/OrgOdtContentTemplate.xml: + * org/OrgOdtStyles.xml: Add Listing-related entries. + +2012-09-30 Paul Eggert + + file-attributes has a new optional arg FOLLOW-SYMLINKS. + * NEWS: Document the change. + +2012-09-30 Jan Djärv + + * NEWS: The NS port supports fullscreen. + Mention that the file dialog is used on NS. + +2012-09-17 Glenn Morris + + * refcards/emacsver.tex: New file. + * refcards/calccard.tex, refcards/cs-dired-ref.tex: + * refcards/cs-refcard.tex, refcards/cs-survival.tex: + * refcards/de-refcard.tex, refcards/dired-ref.tex: + * refcards/emacsver.tex, refcards/fr-dired-ref.tex: + * refcards/fr-refcard.tex, refcards/fr-survival.tex: + * refcards/orgcard.tex, refcards/pl-refcard.tex: + * refcards/pt-br-refcard.tex, refcards/refcard.tex: + * refcards/sk-dired-ref.tex, refcards/sk-refcard.tex: + * refcards/sk-survival.tex, refcards/survival.tex: + * refcards/vipcard.tex, refcards/viperCard.tex: Include emacsver.tex. + * refcards/calccard.tex (\emacsversionnumber): + Rename to \versionemacs, same as all the other refcards. + * refcards/Makefile (ENVADD): New variable. + (sk-dired-ref.pdf, sk-survival.pdf, pl-refcard.pdf) + (%.pdf, %,dvi, sk-dired-ref.dvi, sk-survival.dvi, pl-refcard.dvi): + Depend on emacsver.tex. Add "." to TEXINPUTS for TeX commands. + +2012-09-16 Paul Eggert + + Remove configure's --without-sync-input option (Bug#12450). + * TODO (Make SYNC_INPUT the default): Remove, as the code now + behaves as if SYNC_INPUT is always true. + +2012-09-13 Paul Eggert + + Use a more backwards-compatible timer format (Bug#12430). + * NEWS: Document it, plus fix a typo. + +2012-09-13 Jan Djärv + + * NEWS (--with-x-toolkit): Mention that Gtk+ 3 is now default. + +2012-09-13 Paul Eggert + + * NEWS: Document timer format change (Bug#12430). + +2012-09-11 Paul Eggert + + Simplify, document, and port floating-point (Bug#12381). + * NEWS: Document NaNs versus signaling-error change. + +2012-09-04 Paul Eggert + + Give more-useful info on a fatal error (Bug#12328). + * NEWS: Document the change. + +2012-09-01 Paul Eggert + + Better seeds for (random). + * NEWS: Document new behavior of (random), (random "string"). + +2012-08-28 Andreas Schwab + + * charsets/MULE-ethiopic.map: Fix typo in comment. + * charsets/MULE-ipa.map: Likewise. + * charsets/MULE-is13194.map: Likewise. + * charsets/MULE-lviscii.map: Likewise. + * charsets/MULE-sisheng.map: Likewise. + * charsets/MULE-tibetan.map: Likewise. + * charsets/MULE-uviscii.map: Likewise. + +2012-08-09 Chong Yidong + + * images/splash.svg, images/splash.png: Tweak SVG paths to improve + legibility. + +2012-08-08 Dmitry Antipov + + * NEWS: Mention --without-all and --enable-link-time-optimization. + +2012-07-31 Jan Djärv + + * TODO (NS port): Add text about event loop. + +2012-07-29 Paul Eggert + + deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) + * NEWS: Document these changes. + +2012-07-28 Juanma Barranquero + + * NEWS: Fix typo. + +2012-07-26 Paul Eggert + + Simplify export of symbols to GDB. + * emacs-buffer.gdb ($tagmask, $valmask): Remove. + (ygetptr): Adjust to recent changes in lisp.h and emacs.c, + by using VALMASK instead of $valmask, CHECK_LISP_OBJECT_TYPE + instead of gdb_use_union, and DATA_SEG_BITS instead of + gdb_data_seg_bits. Also, use $ptr.i rather than $ptr.u.val. + +2012-07-20 Eli Zaretskii + + * tutorials/TUTORIAL.he: Make the first sentence display correctly + in a left-to-right paragraph, such as what is shown on the fancy + splash screen. + +2012-07-15 Leo Liu + + * NEWS: Mention exclamation-mark and flymake. + +2012-07-08 Juanma Barranquero + + * tutorials/TUTORIAL.es: Sync with changes in 2012-07-07T10:34:37Z!cyd@gnu.org. + +2012-07-07 Michael Witten (tiny change) + + * tutorials/TUTORIAL: Copyedits (Bug#11689). + +2012-06-28 Glenn Morris + + * emacs.py, emacs2.py, emacs3.py: Remove files, no longer used. + +2012-06-24 Lawrence Mitchell + + * NEWS: Move and improve the defun/defalias changes (bug#11686). + +2012-06-22 Paul Eggert + + Support higher-resolution time stamps (Bug#9000). + * NEWS: Mention addition of picoseconds to time stamp format. + +2012-06-13 Deniz Dogan + + * tutorials/TUTORIAL.sv: Fix grammar and a couple of typos. + +2012-06-04 Paul Eggert + + * PROBLEMS (68000 C compiler problems): Remove obsolete section. + Not only are the compilers long-dead, the obsolete advice + typically doesn't apply to current Emacs sources. + +2012-06-03 Chong Yidong + + * themes/wheatgrass-theme.el: + * themes/deeper-blue-theme.el: + * themes/tango-dark-theme.el: + * themes/tsdh-dark-theme.el: Add compilation-mode-line-fail, + compilation-mode-line-run, and compilation-mode-line-exit faces. + + * themes/manoj-dark-theme.el: Remove :family attributes. + +2012-06-01 Paul Eggert + + Remove --disable-maintainer-mode option from 'configure'. (Bug#11555) + * NEWS: Mention this. + +2012-06-01 Andrew Beals (tiny change) + + * spook.lines: Additions. (Bug#11598) + +2012-05-31 Paul Eggert + + * PROBLEMS: Remove obsolete '#define static' cruft. + +2012-05-07 Glenn Morris + + * forms/forms-d2.el, forms/forms-pass.el: Move here from ../lisp. + * forms/forms-d2.dat: Move to forms/ subdirectory. + * forms/README: New. + +2012-05-03 Paul Eggert + + * NEWS: Do not limit current-time-string to years 1000..9999. + +2012-04-27 Jambunathan K + + * org/OrgOdtStyles.xml (OrgDescriptionList): Modify style. + With this change, in a description list, if the description paragraph spawns multiple lines then it will correctly indented. 2012-04-20 Glenn Morris diff --cc lisp/ChangeLog index eaef867e9e2,3f64b084f0b..16c64ae1394 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,519 -1,25 +1,538 @@@ + 2012-10-05 Glenn Morris + + * net/newst-treeview.el (newsticker-group-move-feed): Doc fix. + + * color.el (color-name-to-rgb, color-rgb-to-hex) + (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv) + (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl) + (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl) + (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes. + -2012-10-04 Glenn Morris - + * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577) + -2012-10-01 Juanma Barranquero ++2012-10-05 Juanma Barranquero + + * ido.el (ido-directory-too-big-p): Pass dir through file-truename + to get the correct size across symlinks. + ++ * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring. ++ +2012-10-04 Juri Linkov + + * replace.el (query-replace-interactive): Declare obsolete. + (query-replace-read-from): Add the last incremental search string + to the list of default values accessible via M-n. + (map-query-replace-regexp): Use `read-regexp'. + (query-replace, query-replace-regexp, query-replace-regexp-eval) + (map-query-replace-regexp, replace-string, replace-regexp): + Fix docstrings to replace mentions of `query-replace-interactive' + with alternatives. (Bug#12526) + +2012-10-04 Juri Linkov + + * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806) + (dired-pop-to-buffer): Declare obsolete. + (dired-mark-pop-up): Doc fix. + +2012-10-04 Fabián Ezequiel Gallina + + Allow user to set docstring style for fill-paragraph. + * progmodes/python.el + (python-fill-comment-function, python-fill-string-function) + (python-fill-decorator-function, python-fill-paren-function): + Remove :safe for defcustoms. + (python-fill-string-style): New defcustom + (python-fill-paragraph-function): Enhanced context detection. + (python-fill-string): Honor python-fill-string-style settings. + +2012-10-04 Martin Rudalics + + * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window + after setting its buffer (Bug#10805). + +2012-10-03 Fabián Ezequiel Gallina + + Fix cornercase for string syntax. + * progmodes/python.el (python-syntax-propertize-function): + Simplify and enhance the regexp for unescaped quotes. Now it also + matches quotes in weird situations like the single quote in + "something\"'". + (python-syntax-stringify): Simplify num-quotes detecting code. + +2012-10-03 Glenn Morris + + * help-macro.el (three-step-help): + Revert 2012-09-29 change. (Bug#12567) + +2012-10-03 Martin Rudalics + + * menu-bar.el (kill-this-buffer): Don't do anything when + `menu-frame' is not alive or visible (Bug#8184). + + * emacs-lisp/debug.el (debug): When quitting the debugger window + restore current buffer (Bug#12502). + +2012-10-02 Chong Yidong + + * progmodes/hideif.el (hif-lookup, hif-defined): Handle + semantic-c-takeover-hideif. + +2012-10-02 Paul Eggert + + Change sampling interval units from ms to ns. + * profiler.el (profiler-sampling-interval): Change units + from ms to ns, multiplying the default by 1000000 so that + it remains 1 ms. + (profiler-report-cpu-line-format): Give enough room for + the maximum counters on 64-bit hosts. + (profiler-report-render-calltree-1): Call them "CPU samples", + not "Time (ms)", since they are not milliseconds now (and + never really were). + +2012-10-02 Sergio Durigan Junior (tiny change) + + * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix + querying BBDB for entries without a last name (Bug#11580). + +2012-10-02 Chong Yidong + + * emacs-lisp/eieio.el: Restore Version header. + +2012-10-02 Stefan Monnier + + * vc/diff-mode.el (diff--auto-refine-data): New var. + (diff-hunk): Use it to delay refinement. + (diff-mode): Remove overlays when we turn off font-lock. + + * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode. + (table-initialize-table-fixed-width-mode) + (table-set-table-fixed-width-mode): Remove functions. + (table-command-list): Move initialization into declaration. + (table--tweak-menu-for-xemacs): Move defun outside mapcar. + (table-with-cache-buffer): Use `declare'. + (table-span-cell): Simplify via CSE. + (table-fixed-width-mode): Use define-minor-mode. + (table-call-interactively, table-funcall, table-apply): Remove. + (table-function): New function, to replace them. + + * bookmark.el (bookmark-search-pattern): Remove var. + (bookmark-read-search-input): Remove function. + (bookmark-bmenu-search): Reimplement using a minibuffer. + + * faces.el (modeline): Remove obsolete face name. + + * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar + and give a non-nil default value. + (add-change-log-entry): Simplify accordingly. + +2012-10-01 Dmitry Gutov + + * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function. + (vc-git-log-edit-toggle-amend): New function. + (vc-git-log-edit-toggle-signoff): New function. + (vc-git-log-edit-mode): New major mode. + (vc-git-log-edit-mode-map): Keymap for it. + (vc-git-checkin): Handle "Amend" and "Sign-Off" headers. + + * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in + header names. + (log-edit-toggle-header): New function. + (log-edit-extract-headers): Accept function values in HEADERS alist. + +2012-10-01 David Engster + + * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename + from symbol property and change message to be more consistent with + Emacs proper. + (eieio-describe-generic): Add filename for each implementation. + Fix indices for generic and normal methods. + (eieio-method-def, eieio-class-def): New buttons. + (eieio-help-find-method-definition) + (eieio-help-find-class-definition): New functions. + (eieio-help-mode-augmentation-maybee): Add buttons to filenames of + class, constructor and method definitions. + + * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file + information in symbol property. + (scoped-class): Remove. + (eieio-slot-name-index, call-next-method): Check if it is bound. + +2012-10-01 Leo P. White + + * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option. + (eieio-custom-mode): New major mode. + (eieio-customize-object): Use it. + +2012-10-01 Eric Ludlam + + * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args + specifying the expected class, and whether subclassing is allowed. + (eieio-persistent-convert-list-to-object): + (eieio-persistent-validate/fix-slot-value) + (eieio-persistent-slot-type-is-class-p): New functions. + (eieio-named::slot-missing): Doc fix. + + * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots): + Stop using unused publd variable. + + * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click): + (eieio-speedbar-description, eieio-speedbar-derive-line-path) + (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line) + (eieio-speedbar-handle-click): Do not specify a class for the + method. Fixes method invocation order problems with EDE. + +2012-10-01 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function. + (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508). + +2012-10-01 Karl Fogel + + * bookmark.el (bookmark-version-control): Give tags in the + :type choices (Bug#12309), and improve doc string. + (bookmark-write-file): Bind `print-circle' to `t' to allow + circular custom bookmark types. (Bug#12503) + +2012-10-01 Paul Eggert + + Revert the FOLLOW-SYMLINKS change for file-attributes. + * files.el (remote-file-name-inhibit-cache, after-find-file): + * time.el (display-time-file-nonempty-p): Undo last change. + + * profiler.el (profiler-sampling-interval): Change default back to 1. + See Stefan Monnier in + . + +2012-10-01 Fabián Ezequiel Gallina + + Shell output catching a la gud-gdb. + * progmodes/python.el (python-shell-fetch-lines-in-progress) + (python-shell-fetch-lines-string, python-shell-fetched-lines): + New Vars. + (python-shell-fetch-lines-filter): New function. + (python-shell-send-string-no-output): Use them. + +2012-09-30 Tomohiro Matsuyama + + * profiler.el (profiler-sampling-interval): Rename from + profiler-sample-interval. + (profiler-sampling-interval): Default to 10. + (profiler-find-profile): New command (was profiler-find-log). + (profiler-find-profile-other-window): New command. + (profiler-find-profile-other-frame): New command. + (profiler-profile): Introduce API-level data structure. + +2012-09-30 Paul Eggert + + file-attributes has a new optional arg FOLLOW-SYMLINKS. + * files.el (remote-file-name-inhibit-cache): + * time.el (display-time-file-nonempty-p): Use it. + * files.el (after-find-file): Don't chase links before calling + file-exists-p, as file-exists-p already does the right thing. + +2012-09-30 Ralf Angeli + + Merge from standalone RefTeX repository. + + The following ChangeLog entries are shortened versions of the + original ones with file paths adapted. A not so strongly edited + version of the original ChangeLog can be found in the commit log. + + * textmodes/reftex-auc.el: Move `provide' call to bottom of file. + (reftex-arg-cite): Use `reftex-cite-key-separator'. + Correctly handle new value type returned by `reftex-citation'. + + * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure + that entries with whitespace at various places are found. + Doc fix. Include entries that are cross-referenced from cited entries. + Include @String definitions in the resulting bib file. Add header + and footer defined in `reftex-create-bibtex-header' and + `reftex-create-bibtex-footer'. + (reftex-do-citation): Make it possible again to insert + non-existent entries. Save match data when asking for optional + arguments. Return all keys, not just the first one. + (reftex-all-used-citation-keys): Fix regexp to correctly extract + all citations in the same line. + (reftex-parse-bibtex-entry): Accept additional optional argument + `raw' and keep quotes or braces if it is non-nil. Match fields + containing hyphens besides word constituents. + (reftex-get-string-refs): New function. + (reftex-extract-bib-entries): Check if BibTeX file changed on disk + and ask if it should be reread in case it did. + (reftex-pop-to-bibtex-entry) + (reftex-extract-bib-entries-from-thebibliography): Match \bibitem + entries with spaces or tabs in front of arguments. + (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries) + (reftex-parse-bibtex-entry, reftex-create-bibtex-file): + Match entries containing numbers and symbol constituents. + (reftex-do-citation, reftex-figure-out-cite-format): + Use `reftex-cite-key-separator'. + + * textmodes/reftex-dcr.el: Move provide statement to end of file. + (reftex-mouse-view-crossref): Explain why point is set. + + * textmodes/reftex-global.el: Whitespace changes. + + * textmodes/reftex-index.el: Move provide statement to end of + file. + (reftex-index-selection-or-word): Use `reftex-region-active-p'. + (reftex-index-visit-phrases-buffer): Set marker when visiting + buffer. This allows for returning from the phrases file to the + file one was just editing instead of the file where the last + phrases was added from. + (reftex-index-phrases-syntax-table): New variable. Give ?\" + punctuation syntax as it usually is not used as string quote in + TeX-related modes and may occur unmatched. The change also + prevents fontification of quoted content. + (reftex-index-phrases-mode): Use it. + + * textmodes/reftex-parse.el (reftex-parse-from-file): + Move backward one char if a `\' was matched after a section macro. + (reftex-parse-from-file): Use beginning of match instead of end as + bound. + + * textmodes/reftex-ref.el: Adapt creation of + `reftex--' functions to new structure of + `reftex-ref-style-alist'. + (reftex-reference): Use `reftex-ref-style-list' function. + Adapt to new structure of `reftex-ref-style-alist'. Prompt for a + reference macro if `reftex-ref-macro-prompt' is non-nil. + (reftex-reference): Pass refstyle to `reftex-format-special'. + Determine reference macro by looking at + `reftex-ref-style-default-list' and `reftex-ref-style-alist'. + Use only one special format function. + (reftex-varioref-vref, reftex-fancyref-fref) + (reftex-fancyref-Fref): Remove definitions. The functions are now + generated from `reftex-ref-style-alist'. + (reftex-format-vref, reftex-format-Fref, reftex-format-fref): + Remove. + (reftex-format-special): New function. + + * textmodes/reftex-sel.el + (reftex-select-cycle-ref-style-internal): Adapt to new structure + of `reftex-ref-style-alist'. Remove code for testing macro type. + (reftex-select-toggle-varioref) + (reftex-select-toggle-fancyref): Remove. + (reftex-select-cycle-ref-style-internal) + (reftex-select-cycle-ref-style-forward) + (reftex-select-cycle-ref-style-backward): New functions. + (reftex-select-label-map): Use `v' and `V' for general cycling + through reference styles. Add `p' for switching between number + and page reference types. + + * textmodes/reftex-toc.el (reftex-re-enlarge): + Call `enlarge-window' only if there is something to do because in Emacs + the horizontal version throws an error even if the parameter is 0. + + * textmodes/reftex-vars.el (reftex-label-alist): Doc fix. + (reftex-plug-into-AUCTeX): Doc fix. + (reftex-vref-is-default, reftex-fref-is-default): Adapt doc + string. Adapt to new name. + (reftex-ref-style-alist): Change structure so that it is not + possible to use multiple different package names within a style. + Remove the symbols for symbols for macro type distinction. + Add characters for macro selection. + (reftex-ref-macro-prompt, reftex-create-bibtex-header) + (reftex-create-bibtex-footer): New variables. + (reftex-format-ref-function): Mention third argument of special + format function. + (reftex-ref-style-alist, reftex-ref-style-default-list): + New variables. + (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string + to new implementation. Mark as obsolete. Add compatibility code + for honoring the variable values in case they are set. + (reftex-cite-format-builtin, reftex-bibliography-commands): + Add support for ConTeXt. + (reftex-format-ref-function, reftex-format-cite-function): + Fix custom type. + (reftex-cite-key-separator): New variable. + + * textmodes/reftex.el (reftex-syntax-table-for-bib) + (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from + `reftex-syntax-table' because parens have to retain their paren + syntax in order for parsing of BibTeX entries like @book(...) to + work. + (reftex-in-comment): Do not error out if `comment-start-skip' is + not set. Deal correctly with escaped comment characters. + (reftex-tie-multifile-symbols): Add doc string. + Initialize `reftex-ref-style-list'. + (reftex-untie-multifile-symbols): Add doc string. + (reftex-add-index-macros): Doc fix. + (reftex-ref-style-activate, reftex-ref-style-toggle) + (reftex-ref-style-list): New functions. + (reftex-mode-menu): Use them. Adapt to new structure of + `reftex-ref-style-alist'. + (reftex-select-with-char): Kill the RefTeX Select buffer when + done. + (reftex-remove-if): New function. + (reftex-erase-all-selection-and-index-buffers) + (reftex-mode-menu): Reference styles are now computed from + `reftex-ref-style-alist'. Fix typo. + (reftex-report-bug): New function. + (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2) + algorithms with O(n log n). Introduce optional argument SORT (not + yet used). + +2012-09-30 Fabián Ezequiel Gallina + + Enhancements for triple-quote string syntax. + * progmodes/python.el (python-syntax-propertize-function): + Match both quote cases in one regexp. + (python-syntax-stringify): Handle matches properly. + +2012-09-30 Juri Linkov + + * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename' + to nil around the call to `insert' to prevent + directory time modification by lock_file. (Bug#2295) + * tar-mode.el (tar-summarize-buffer): Idem. + +2012-09-30 Juri Linkov + + * facemenu.el (list-colors-sort): Add option "Luminance". + (list-colors-sort-key): Implement it. + + * vc/diff-mode.el (diff-refine-removed): + * vc/ediff-init.el (ediff-fine-diff-A): + * vc/smerge-mode.el (smerge-refined-removed): + Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181) + +2012-09-30 Jan Djärv + + * term/ns-win.el (x-file-dialog): New function. + 2012-09-30 Juanma Barranquero - * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring. + * ido.el (ido-max-directory-size): Default to nil; the current + default is small for POSIX systems, and impractical on Windows 7 + now that lstat returns directory sizes for NTFS. + +2012-09-30 Martin Rudalics + + In buffer display functions handle window-height/window-width + alist entries. Suggested by Juri Linkov as fix for Bug#1806. + * window.el (window--display-buffer): New argument ALIST. + Obey window-height and window-width alist entries. + (window--try-to-split-window): New argument ALIST. + Bind window-combination-limit to t when the window's size shall be + changed and window-combination-limit equals `window-size'. + (display-buffer-in-atom-window) + (display-buffer-in-major-side-window) + (display-buffer-in-side-window, display-buffer-same-window) + (display-buffer-reuse-window, display-buffer-pop-up-frame) + (display-buffer-pop-up-window, display-buffer-below-selected) + (display-buffer-at-bottom, display-buffer-in-previous-window) + (display-buffer-use-some-window): Adjust all callers of + window--display-buffer and window--try-to-split-window. + (fit-frame-to-buffer): New option. + (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer + is non-nil. + (display-buffer-in-major-side-window): Evaluate window-height / + window-width alist entries. + + * help.el (temp-buffer-resize-frames) + (temp-buffer-resize-regexps): Remove options. + (temp-buffer-resize-mode): Adjust doc-string. + (resize-temp-buffer-window): Don't consult + temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of + temp-buffer-resize-frames. + + * dired.el (dired-mark-pop-up): + Call display-buffer-below-selected with a fit-window-to-buffer alist + entry. + +2012-09-30 Chong Yidong + + * server.el (server-host): Document the security implications. + (server-auth-key): Doc fix. + + * startup.el (initial-buffer-choice): Doc fix. + + * minibuffer.el (minibuffer-local-filename-syntax): Doc fix. + + * simple.el (delete-trailing-whitespace): Avoid an unnecessary + restriction change. + + * bindings.el (goto-map): Bind M-g TAB to move-to-column. + + * help-fns.el (help-fns--obsolete): Fix last change. + +2012-09-30 Stefan Monnier + + * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here. + (minor-mode-map-alist): Remove redundant code. + + * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently + visited in a buffer. + (cvs-insert-visited-file): New function. + (find-file-hook): Use it. + + * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces. + + * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to + chose face. + (log-edit-empty-buffer-p): Don't require a space after a header. + + * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1. + + * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook. + + * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it + a proper minor-mode. + + * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys. + +2012-09-29 Glenn Morris + + * winner.el (winner-mode): Remove variable (let define-minor-mode + handle it). + (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook): + Doc fixes. + (winner-mode-leave-hook): Rename to winner-mode-off-hook. + (winner-mode): Use define-minor-mode. + + * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get + the full definition in loaddefs, rather than duplicating it. + + * help-macro.el (three-step-help): No need to autoload defcustom. + + * progmodes/inf-lisp.el (inferior-lisp-filter-regexp) + (inferior-lisp-program, inferior-lisp-load-command) + (inferior-lisp-prompt, inferior-lisp-mode-hook): + No need to autoload defcustoms. + + * hippie-exp.el (hippie-expand-try-functions-list) + (hippie-expand-verbose, hippie-expand-dabbrev-skip-space) + (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction) + (hippie-expand-max-buffers, hippie-expand-ignore-buffers) + (hippie-expand-only-buffers): No need to autoload defcustoms. + * progmodes/vhdl-mode.el (vhdl-line-expand): + Explicitly load hippie-exp, so it does not get autoloaded + while hippie-expand-try-functions-list is let-bound. + +2012-09-28 Glenn Morris + + * emacs-lisp/cl.el (flet): Fix case of obsolescence message. + + * emacs-lisp/bytecomp.el (byte-compile-cl-file-p): + Only "cl.el" counts as cl these days. + +2012-09-28 Juri Linkov + + Display archive errors in the echo area instead of inserting + to the file buffer. + + * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE + to STDERR-TEST that can be a regexp matching a successful output. + Create a temporary file and redirect stderr to it. Search for + STDERR-TEST in the stderr output and display it in the echo area + if no match is found. + (archive-extract-by-file): New function like + `archive-extract-by-stdout' but extracting archives to files + and looking for successful matches in stdout. Function body is + mostly copied from `archive-rar-extract'. + (archive-rar-extract): Use `archive-extract-by-file'. + (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347) 2012-09-28 Leo Liu diff --cc lisp/color.el index 94a98615d94,39b172d1e55..f618d47a540 --- a/lisp/color.el +++ b/lisp/color.el @@@ -225,45 -219,45 +219,45 @@@ RED, GREEN and BLUE should be between 0 (defun color-xyz-to-lab (X Y Z &optional white-point) "Convert CIE XYZ to CIE L*a*b*. WHITE-POINT specifies the (X Y Z) white point for the - conversion. If omitted or nil, use `color-d65-xyz'." + conversion. If omitted or nil, use `color-d65-xyz'." - (destructuring-bind (Xr Yr Zr) (or white-point color-d65-xyz) - (let* ((xr (/ X Xr)) + (pcase-let* ((`(,Xr ,Yr ,Zr) (or white-point color-d65-xyz)) + (xr (/ X Xr)) - (yr (/ Y Yr)) - (zr (/ Z Zr)) - (fx (if (> xr color-cie-ε) - (expt xr (/ 1 3.0)) - (/ (+ (* color-cie-κ xr) 16) 116.0))) - (fy (if (> yr color-cie-ε) - (expt yr (/ 1 3.0)) - (/ (+ (* color-cie-κ yr) 16) 116.0))) - (fz (if (> zr color-cie-ε) - (expt zr (/ 1 3.0)) - (/ (+ (* color-cie-κ zr) 16) 116.0)))) - (list - (- (* 116 fy) 16) ; L - (* 500 (- fx fy)) ; a + (yr (/ Y Yr)) + (zr (/ Z Zr)) + (fx (if (> xr color-cie-ε) + (expt xr (/ 1 3.0)) + (/ (+ (* color-cie-κ xr) 16) 116.0))) + (fy (if (> yr color-cie-ε) + (expt yr (/ 1 3.0)) + (/ (+ (* color-cie-κ yr) 16) 116.0))) + (fz (if (> zr color-cie-ε) + (expt zr (/ 1 3.0)) + (/ (+ (* color-cie-κ zr) 16) 116.0)))) + (list + (- (* 116 fy) 16) ; L + (* 500 (- fx fy)) ; a - (* 200 (- fy fz)))))) ; b + (* 200 (- fy fz))))) ; b (defun color-lab-to-xyz (L a b &optional white-point) "Convert CIE L*a*b* to CIE XYZ. WHITE-POINT specifies the (X Y Z) white point for the - conversion. If omitted or nil, use `color-d65-xyz'." + conversion. If omitted or nil, use `color-d65-xyz'." - (destructuring-bind (Xr Yr Zr) (or white-point color-d65-xyz) - (let* ((fy (/ (+ L 16) 116.0)) + (pcase-let* ((`(,Xr ,Yr ,Zr) (or white-point color-d65-xyz)) + (fy (/ (+ L 16) 116.0)) - (fz (- fy (/ b 200.0))) - (fx (+ (/ a 500.0) fy)) - (xr (if (> (expt fx 3.0) color-cie-ε) - (expt fx 3.0) - (/ (- (* fx 116) 16) color-cie-κ))) - (yr (if (> L (* color-cie-κ color-cie-ε)) - (expt (/ (+ L 16) 116.0) 3.0) - (/ L color-cie-κ))) - (zr (if (> (expt fz 3) color-cie-ε) - (expt fz 3.0) - (/ (- (* 116 fz) 16) color-cie-κ)))) - (list (* xr Xr) ; X - (* yr Yr) ; Y + (fz (- fy (/ b 200.0))) + (fx (+ (/ a 500.0) fy)) + (xr (if (> (expt fx 3.0) color-cie-ε) + (expt fx 3.0) + (/ (- (* fx 116) 16) color-cie-κ))) + (yr (if (> L (* color-cie-κ color-cie-ε)) + (expt (/ (+ L 16) 116.0) 3.0) + (/ L color-cie-κ))) + (zr (if (> (expt fz 3) color-cie-ε) + (expt fz 3.0) + (/ (- (* 116 fz) 16) color-cie-κ)))) + (list (* xr Xr) ; X + (* yr Yr) ; Y - (* zr Zr))))) ; Z + (* zr Zr)))) ; Z (defun color-srgb-to-lab (red green blue) "Convert RGB to CIE L*a*b*." diff --cc src/ChangeLog index 85a4c829063,c48ae45a563..396240bb7b8 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,486 -1,8 +1,490 @@@ -2012-10-04 Ikumi Keita (tiny change) ++2012-10-05 Ikumi Keita (tiny change) + + * minibuf.c (Fcompleting_read): Doc fix. (Bug#12555) + -2012-09-24 Glenn Morris +2012-10-04 Eli Zaretskii + + * w32.c (utime): Test for INVALID_HANDLE_VALUE, not for NULL, to + see whether CreateFile failed. + +2012-10-04 Paul Eggert + + * profiler.c (handle_profiler_signal): Inhibit pending signals too, + to avoid similar races. + * keyboard.c (pending_signals): Now bool, not int. + + Port timers to OpenBSD, plus check for timer failures. + OpenBSD problem reported by Han Boetes. + * profiler.c (setup_cpu_timer): Check for failure of timer_settime + and/or setitimer. + (Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER. + * syssignal.h (HAVE_ITIMERSPEC): New macro. This is for platforms + like OpenBSD, which has timer_settime but does not declare it. + OpenBSD does not define SIGEV_SIGNAL, so use that when deciding + whether to use itimerspec-related primitives. All uses of + HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC. + +2012-10-02 Paul Eggert + + * profiler.c (handle_profiler_signal): Fix a malloc race + that caused Emacs to hang on Fedora 17 when profiling Lisp. + +2012-10-02 Jan Djärv + + * nsterm.m (windowDidEnterFullScreen): Remove fprintf. + +2012-10-02 Eli Zaretskii + + * w32proc.c (sys_wait): Declare 'signame' 'const char *', to be + consistent with the change in return value of 'safe_strsignal'. + +2012-10-02 Paul Eggert + + Prefer plain 'static' to 'static inline' (Bug#12541). + * bidi.c (bidi_get_type, bidi_check_type, bidi_get_category) + (bidi_set_sor_type, bidi_push_embedding_level) + (bidi_pop_embedding_level, bidi_remember_char, bidi_copy_it) + (bidi_cache_reset, bidi_cache_shrink, bidi_cache_fetch_state) + (bidi_cache_search, bidi_cache_ensure_space) + (bidi_cache_iterator_state, bidi_cache_find) + (bidi_peek_at_next_level, bidi_set_paragraph_end) + (bidi_count_bytes, bidi_char_at_pos, bidi_fetch_char) + (bidi_explicit_dir_char, bidi_resolve_neutral_1): + Now 'static', not 'static inline'. + + Count overruns when profiling; change units to ns. + * profiler.c (handle_profiler_signal): Count sampling intervals, not ms. + Give extra weight to samples after overruns, to attempt to count + the time more accurately. + (setup_cpu_timer): Change sampling interval units from ms to ns, since + the underlying primitives nominally do ns. + (Fprofiler_cpu_start): Document the change. Mention that + the sampling intervals are only approximate. + +2012-10-02 Stefan Monnier + + * frame.c (Fmake_terminal_frame): Prefer safer CONSP over !NILP. + + * coding.h (ENCODE_FILE, DECODE_FILE, DECODE_SYSTEM): Remove special + case for the special 0 coding-system. + + * buffer.c (Fset_buffer_multibyte): Signal an error instead of widening. + (Fmake_overlay): Remove redundant tests. + (fix_start_end_in_overlays): Remove redundant recentering. + +2012-10-02 Juanma Barranquero + + * makefile.w32-in ($(BLD)/alloc.$(O), $(BLD)/gmalloc.$(O)): + Update dependencies. + +2012-10-01 Paul Eggert + + Fix a malloc race condition involving strsignal. + A signal can arrive in the middle of a malloc, and Emacs's signal + handler can invoke strsignal, which can invoke malloc, which is + not portable. This race condition bug makes Emacs hang on GNU/Linux. + Fix it by altering the signal handler so that it does not invoke + strsignal. + * emacs.c (shut_down_emacs): Use safe_strsignal, not strsignal. + * process.c (status_message): Use const pointer, in case strsignal + is #defined to safe_strsignal. + * sysdep.c (sys_siglist, init_signals): Always define and + initialize a substitute sys_siglist if the system does not define + one, even if HAVE_STRSIGNAL. + (safe_strsignal): Rename from strsignal. Always define, + using sys_siglist. Return a const pointer. + * syssignal.h (safe_strsignal): New decl. + (strsignal) [!HAVE_STRSIGNAL]: Define in terms of safe_strsignal. + +2012-10-01 Eli Zaretskii + + * w32proc.c (timer_loop): Fix code that waits for timer + expiration, to avoid high CPU usage. + +2012-10-01 Stefan Monnier + + * fns.c (check_hash_table, get_key_arg, maybe_resize_hash_table) + (sweep_weak_table): Remove redundant prototypes. + +2012-10-01 Fabrice Popineau + + * emacs.c: Move the inclusion of TERM_HEADER after including + windows.h on WINDOWSNT. This avoids compilation problems with + MSVC. + +2012-10-01 Eli Zaretskii + + * unexw32.c (OFFSET_TO_RVA, RVA_TO_OFFSET) + (RVA_TO_SECTION_OFFSET): Encode all macro arguments in parentheses. + (RVA_TO_PTR): Cast the result of RVA_TO_OFFSET to 'unsigned char *', + as the previous version used 'void *'. + + * ralloc.c (ROUNDUP): Fix last change. + (MEM_ROUNDUP): Don't cast MEM_ALIGN, it is already of type + 'size_t'. + + * w32proc.c : New static flag. + (init_timers): Initialize it to zero, after creating the critical + sections used by the timer threads. + (term_timers): Set to 1 before deleting the critical sections. + (getitimer, setitimer): If disable_itimers is non-zero, return an + error indication without doing anything. Reported by Fabrice + Popineau as part of bug#12544. + (alarm) [HAVE_SETITIMER]: Be more conformant to the expected + return results. + [!HAVE_SETITIMER]: Behave as the previous version that didn't + support timers. + + * emacs.c (shut_down_emacs) [WINDOWSNT]: Move the call to + term_ntproc after all the other bookkeeping, to get timers working + as long as possible. + +2012-10-01 Paul Eggert + + * xdisp.c (syms_of_xdisp): Default message-log-max to 1000, not 100. + Suggested by Juri Linkov in + . + + Prefer plain 'static' to 'static inline' (Bug#12541). + With static functions, modern compilers inline pretty well by + themselves; advice from programmers often hurts as much as it helps. + On my host (x86-64, Fedora 17, GCC 4.7.2, default 'configure'), + this change shrinks the text size of the Emacs executable by 1.1% + without affecting CPU significantly in my benchmark. + * alloc.c (mem_find, live_string_p, live_cons_p, live_symbol_p) + (live_float_p, live_misc_p, live_vector_p, live_buffer_p) + (mark_maybe_object, mark_maybe_pointer, bounded_number): + * buffer.c (bset_abbrev_mode, bset_abbrev_table) + (bset_auto_fill_function, bset_auto_save_file_format) + (bset_auto_save_file_name, bset_backed_up, bset_begv_marker) + (bset_bidi_display_reordering, bset_buffer_file_coding_system) + (bset_cache_long_line_scans, bset_case_fold_search) + (bset_ctl_arrow, bset_cursor_in_non_selected_windows) + (bset_cursor_type, bset_display_table, bset_extra_line_spacing) + (bset_file_format, bset_file_truename, bset_fringe_cursor_alist) + (bset_fringe_indicator_alist, bset_fringes_outside_margins) + (bset_header_line_format, bset_indicate_buffer_boundaries) + (bset_indicate_empty_lines, bset_invisibility_spec) + (bset_left_fringe_width, bset_major_mode, bset_mark) + (bset_minor_modes, bset_mode_line_format, bset_mode_name) + (bset_name, bset_overwrite_mode, bset_pt_marker) + (bset_right_fringe_width, bset_save_length) + (bset_scroll_bar_width, bset_scroll_down_aggressively) + (bset_scroll_up_aggressively, bset_selective_display) + (bset_selective_display_ellipses, bset_vertical_scroll_bar_type) + (bset_word_wrap, bset_zv_marker, set_buffer_overlays_before) + (set_buffer_overlays_after): + * category.c (bset_category_table): + * charset.c (read_hex): + * coding.c (produce_composition, produce_charset) + (handle_composition_annotation, handle_charset_annotation) + (char_encodable_p): + * dispnew.c (swap_glyph_pointers, copy_row_except_pointers) + (assign_row, set_frame_matrix_frame, make_current) + (add_row_entry): + * eval.c (set_specpdl_symbol, set_specpdl_old_value): + * fns.c (maybe_resize_hash_table): + * frame.c (fset_buffer_predicate, fset_minibuffer_window): + * gmalloc.c (register_heapinfo): + * image.c (lookup_image_type): + * intervals.c (set_interval_object, set_interval_left) + (set_interval_right, copy_interval_parent, rotate_right) + (rotate_left, balance_possible_root_interval): + * keyboard.c (kset_echo_string, kset_kbd_queue) + (kset_keyboard_translate_table, kset_last_prefix_arg) + (kset_last_repeatable_command, kset_local_function_key_map) + (kset_overriding_terminal_local_map, kset_real_last_command) + (kset_system_key_syms, clear_event, set_prop): + * lread.c (digit_to_number): + * marker.c (attach_marker, live_buffer, set_marker_internal): + * nsterm.m (ns_compute_glyph_string_overhangs): + * process.c (pset_buffer, pset_command) + (pset_decode_coding_system, pset_decoding_buf) + (pset_encode_coding_system, pset_encoding_buf, pset_filter) + (pset_log, pset_mark, pset_name, pset_plist, pset_sentinel) + (pset_status, pset_tty_name, pset_type, pset_write_queue): + * syntax.c (bset_syntax_table, dec_bytepos): + * terminal.c (tset_param_alist): + * textprop.c (interval_has_some_properties) + (interval_has_some_properties_list): + * window.c (wset_combination_limit, wset_dedicated) + (wset_display_table, wset_hchild, wset_left_fringe_width) + (wset_left_margin_cols, wset_new_normal, wset_new_total) + (wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm) + (wset_right_fringe_width, wset_right_margin_cols) + (wset_scroll_bar_width, wset_start, wset_temslot, wset_vchild) + (wset_vertical_scroll_bar_type, wset_window_parameters): + * xdisp.c (wset_base_line_number, wset_base_line_pos) + (wset_column_number_displayed, wset_region_showing) + (window_box_edges, run_window_scroll_functions) + (append_glyph_string_lists, prepend_glyph_string_lists) + (append_glyph_string, set_glyph_string_background_width) + (append_glyph, append_composite_glyph) + (take_vertical_position_into_account): + * xfaces.c (x_create_gc, x_free_gc, merge_face_vectors) + (face_attr_equal_p, lface_equal_p, hash_string_case_insensitive) + (lface_hash, lface_same_font_attributes_p, lookup_face): + * xml.c (libxml2_loaded_p): + * xterm.c (x_set_mode_line_face_gc, x_set_glyph_string_gc) + (x_set_glyph_string_clipping, x_clear_glyph_string_rect): + Now 'static', not 'static inline'. + + * bidi.c: Tune. + (bidi_copy_it): Do the whole copy with a single memcpy. + (bidi_char_at_pos): Merge the two STRING_CHAR calls into one. + + Revert the FOLLOW-SYMLINKS change for file-attributes. + Doing it right would require several changes to Tramp, and there's + not enough time to get that tested before the freeze today. + * dired.c (directory_files_internal, Ffile_attributes): + Undo last change. + + * frame.c (x_report_frame_params): Port better to wider ints. + Do not assume that EMACS_UINT is the same width as uprintmax_t, + or that pointers can be printed in 15 decimal digits. + Avoid GCC warnings if EMACS_UINT is wider than a pointer. + +2012-09-30 Fabrice Popineau + + Support x64 build on MS-Windows. + * w32term.h (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK): Define for x64. + (SET_SCROLL_BAR_W32_WINDOW): Cast ID to intptr_t, for + compatibility with x64. + (x_get_focus_frame): Add prototype. + + * w32term.c (w32_draw_underwave): Don't use GCC extensions for + defining an XRectangle structure. + + * w32proc.c (RVA_TO_PTR, w32_executable_type): Fix pointer + arithmetics for compatibility with x64. + + * w32menu.c (add_menu_item): Use UINT_PTR instead of UINT, for + compatibility with x64. + + * w32heap.h: Adjust prototypes and declarations. + + * w32heap.c (RVA_TO_PTR, allocate_heap, sbrk, init_heap) + (round_heap): Use DWORD_PTR, ptrdiff_t and size_t instead of + DWORD, long, and unsigned long, for compatibility with x64. + (allocate_heap) [_WIN64]: Reserve 32GB of memory. + (sbrk): Argument is now of type ptrdiff_t. + + * w32fns.c (HMONITOR): Condition declaration on _WIN32_WINNT being + less than 0x0500. + (w32_msg_pump): Use WPARAM type for 'result'. + + * w32.c (init_environment, get_emacs_configuration): Support AMD64 + architecture. + (init_ntproc): Cast arguments of _open_osfhandle to intptr_t, for + compatibility with x64. + + * vm-limit.c (lim_data): Now size_t. + (check_memory_limits): Adjust prototypes of real_morecore and + __morecore to receive argument of type ptrdiff_t. Use size_t for + five_percent and data_size. + + * unexw32.c: Use DWORD_PTR instead of DWORD for file-scope + variables, for compatibility with x64. + (rva_to_section, offset_to_section, relocate_offset) + (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_SECTION_OFFSET) + (PTR_TO_RVA, RVA_TO_PTR, OFFSET_TO_PTR, get_section_info) + (copy_executable_and_dump_data): Use DWORD_PTR instead of DWORD + for compatibility with x64. + + * sysdep.c (STDERR_FILENO): Define if not already defined. + + * ralloc.c (real_morecore): Argument type is now ptrdiff_t. + (__morecore): Argument type is now ptrdiff_t. + (ROUNDUP, MEM_ROUNDUP): Use size_t instead of 'unsigned long'. + (relinquish): Use ptrdiff_t type for 'excess'. + (r_alloc_sbrk): Argument type is now ptrdiff_t. + + * makefile.w32-in (HEAPSIZE): Get value from EMACS_HEAPSIZE. + (bootstrap-temacs-CMD, bootstrap-temacs-SH): Use $(EMACS_PURESIZE) + instead of a literal number. + + * gmalloc.c [WINDOWSNT]: Include w32heap.h. + (min): Define only if not already defined. + + * frame.c (x_report_frame_params): Use EMACS_UINT for the return + value of FRAME_X_WINDOW, to fit a 64-bit pointer on 64-bit Windows + hosts. + + * image.c (x_bitmap_pixmap): Return ptrdiff_t, not int, since + 'bitmaps' is a pointer. + + * dispextern.h (x_bitmap_pixmap): Adjust prototype. + + * alloc.c (gdb_make_enums_visible): Now conditional on __GNUC__. + +2012-09-30 Paul Eggert + + file-attributes has a new optional arg FOLLOW-SYMLINKS. + * dired.c (directory_files_internal, Ffile_attributes): + New arg follow_symlinks. All uses changed. + +2012-09-30 Stefan Monnier + + * .gdbinit (xbacktrace): Adjust to recent "struct backtrace" change. + +2012-09-30 Eli Zaretskii + + Support atimers and CPU profiler via profile.c on MS-Windows. + * w32proc.c (sig_mask, crit_sig): New static variables. + (sys_signal): Support SIGALRM and SIGPROF. + (sigemptyset, sigaddset, sigfillset, sigprocmask) + (pthread_sigmask, setpgrp): Move here from w32.c. sigaddset, + sigfillset, and sigprocmask are no longer no-ops. + (sigismember): New function. + (struct itimer_data): New definition. + (ticks_now, real_itimer, prof_itimer, clocks_min, crit_real) + (crit_prof): New static variables. + (MAX_SINGLE_SLEEP): New definition. + (timer_loop, stop_timer_thread, term_timers, init_timers) + (start_timer_thread, getitimer, setitimer): New functions. + (alarm): No longer a no-op, calls setitimer. + + * w32.c (term_ntproc): Call term_timers. + (init_ntproc): Make sure all signals are unblocked at startup, to + erase any traces of dumping. Call init_timers. + + * w32fns.c (hourglass_timer, HOURGLASS_ID): Remove. + Windows-specific code to display the hourglass mouse pointer is no + longer used. + (w32_wnd_proc): Remove code that handled the WM_TIMER message due + to hourglass timer expiration. + (start_hourglass, cancel_hourglass, DEFAULT_HOURGLASS_DELAY): + Remove, no longer used. + (w32_note_current_window, show_hourglass, hide_hourglass): + New functions, in support of hourglass cursor display similar to other + window systems. + (syms_of_w32fns): Don't initialize hourglass_timer. + + * xdisp.c (start_hourglass, cancel_hourglass): Now used on + WINDOWSNT as well. + (start_hourglass) [WINDOWSNT]: Call w32_note_current_window. + + * w32.h (init_timers, term_timers): Add prototypes. + +2012-09-30 Kenichi Handa + + * coding.c (decode_coding_ccl, encode_coding_ccl): Pay attention + to the buffer relocation which may be caused by ccl_driver. + +2012-09-30 Jan Djärv + + * xfns.c (Fx_file_dialog): Update comment. + + * w32fns.c (Fx_file_dialog): Update comment. + + * nsfns.m (Fns_read_file_name): Add argument DIR_ONLY_P. + Initialize panel name field if OSX >= 10.6. + + * fileio.c (Fnext_read_file_uses_dialog_p): Add HAVE_NS. + + * nsfns.m (ns_frame_parm_handlers): Add x_set_fullscreen. + + * nsterm.m (NEW_STYLE_FS): New define. + (ns_fullscreen_hook, windowWillEnterFullScreen) + (windowDidEnterFullScreen, windowWillExitFullScreen) + (windowDidExitFullScreen, toggleFullScreen, handleFS) + (setFSValue): New functions. + (EmacsFSWindow): New implementation. + (canBecomeKeyWindow): New function for EmacsFSWindow. + (ns_create_terminal): Set fullscreen_hook to ns_fullscreen_hook. + (dealloc): Release nonfs_window if in fullscreen. + (updateFrameSize:): Call windowDidMove to update top/left. + (windowWillResize:toSize:): Check if frame is still maximized. + (initFrameFromEmacs:): Initialize fs_state, fs_before_fs, + next_maximized, maximized_width, maximized_height and nonfs_window. + Call setCollectionBehavior if NEW_STYLE_FS. Initialize bwidth and + tbar_height. + (windowWillUseStandardFrame:defaultFrame:): Update frame parameter + fullscreen. Set maximized_width/height. Act on next_maximized. + + * nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New. + (EmacsView): Add variables for fullscreen. + (handleFS, setFSValue, toggleFullScreen): New in EmacsView. + (EmacsFSWindow): New interface for fullscreen. + +2012-09-30 Juanma Barranquero + + * makefile.w32-in ($(BLD)/profiler.$(O)): Update dependencies. + +2012-09-30 Chong Yidong + + * fns.c (Frandom): Doc fix. + +2012-09-30 Martin Rudalics + + * window.c (Vwindow_combination_limit): New default value. + (Qwindow_size): New symbol replacing Qtemp_buffer_resize. + +2012-09-30 Paul Eggert + + * syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING. + Suggested by Eli Zaretskii in + . + +2012-09-30 Eli Zaretskii + + * profiler.c (Fprofiler_cpu_stop): Use timer_settime only if + HAVE_TIMER_SETTIME is defined. + +2012-09-30 Paul Eggert + + Profiler improvements: more-accurate timers, overflow checks. + * profiler.c: Don't include stdio.h, limits.h, sys/time.h, + signal.h, setjmp.h. Include systime.h instead. + (saturated_add): New function. + (record_backtrace, current_sample_interval): Use EMACS_INT, not size_t. + (record_backtrace, handle_profiler_signal): Saturate on fixnum overflow. + (profiler_timer, profiler_timer_ok) [HAVE_TIMER_SETTIME]: + New static vars. + (enum profiler_cpu_running): New enum. + (profiler_cpu_running): Now of that enum type, not bool. + All uses changed to store the new value. + (handle_profiler_signal): Rename from sigprof_handler_1, + for consistency with other handlers. Do not check whether + cpu_log is a hash-table if garbage collecting, since it + doesn't matter in that case. + (deliver_profiler_signal): Rename from sigprof_handler, + for consistency with other handlers. + (setup_cpu_timer): New function, with much of what used to be in + Fprofiler_cpu_start. Check for out-of-range argument. + Prefer timer_settime if available, and prefer + thread cputime clocks, then process cputime clocks, then + monotonic clocks, to the old realtime clock. Use make_timeval + to round more-correctly when falling back to setitimer. + (Fprofiler_cpu_start): Use it. + (Fprofiler_cpu_stop): Prefer timer_settime if available. + Don't assume that passing NULL as the 2nd argument of setitimer + is the same as passing a pointer to all-zero storage. + Ignore SIGPROF afterwards. + (malloc_probe): Saturate at MOST_POSITIVE_FIXNUM. + * sysdep.c (emacs_sigaction_init): Also mask out SIGPROF in + non-fatal signal handlers. Ignore SIGPROF on startup. + * syssignal.h (PROFILER_CPU_SUPPORT): Define this macro here, not + in profiler.c, since sysdep.c now uses it. + + * sysdep.c (handle_fatal_signal): Bump backtrace size to 40. + Suggested by Eli Zaretskii in + . + +2012-09-29 Juanma Barranquero + + * makefile.w32-in ($(BLD)/profiler.$(O)): Update dependencies. + +2012-09-29 Stefan Monnier + + * lisp.h (struct backtrace): Remove indirection for `function' field. + * xdisp.c (redisplay_internal): + * profiler.c (record_backtrace, sigprof_handler_1): + * alloc.c (Fgarbage_collect): + * eval.c (interactive_p, Fsignal, eval_sub, Ffuncall, Fbacktrace) + (Fbacktrace_frame): Adjust accordingly. + +2012-09-28 Glenn Morris * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success) (Frun_hook_with_args_until_failure): Doc fixes.