From: Jan D Date: Fri, 3 Apr 2015 10:32:13 +0000 (+0200) Subject: Merge branch 'master' into cairo X-Git-Tag: emacs-25.0.90~2008^2~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75c8741afba2321add3ad52c5143b4fdb1d63e18;p=emacs.git Merge branch 'master' into cairo --- 75c8741afba2321add3ad52c5143b4fdb1d63e18 diff --cc ChangeLog index a48b3055f9c,6df5a5a6344..35e28ab9cc5 --- a/ChangeLog +++ b/ChangeLog @@@ -1,10 -1,92 +1,99 @@@ + 2015-03-27 Pete Williamson (tiny change) + + Add NaCl target + * configure.ac: Add a target for Chromium Native Client (NaCl). + + 2015-03-29 Eli Zaretskii + + * build-aux/dir_top (File): Fix the description of selecting a + menu item by its number. (Bug#20213) + + 2015-03-29 Paul Eggert + + Fix 'commit-msg' to cite 'CONTRIBUTE' + As suggested in: + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00947.html + Also, have the two files match better. + * CONTRIBUTE: Match what's in build-aux/git-hooks/commit-msg. + * build-aux/git-hooks/commit-msg: Mention 'CONTRIBUTE'. + + 2015-03-23 Andreas Schwab + + * configure.ac: Fix jpeg version check to work with gcc >= 5. + + 2015-03-21 Samer Masterson + + * CONTRIBUTE (Test your changes.): New section. + (Document your changes.): Add doc tips. + + 2015-03-19 Paul Eggert + + Better port of pthread usage to FreeBSD + * configure.ac (ac_func_list): Omit pthread_sigmask, since + we check for that ourselves rather than relying on gnulib. + (HAVE_PTHREAD, LIB_PTHREAD): Port better to FreeBSD, + by also checking for pthread_create, pthread_self, pthread_sigmask. + Tighten the test for pthread_atfork while we're at it. + Fixes: bug#20136 + + Merge from gnulib + This incorporates: + 2015-03-19 fdopendir: port better to MinGW + 2015-03-18 fdopendir: fix typo in comment + 2015-02-24 glob, etc.: port to MSVC v18 on MS-Windows 8.1 + * lib/dirent.in.h, lib/fdopendir.c: Update from gnulib. + * lib/dirfd.c, m4/dirfd.m4: New files from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2015-03-02 Robert Pluim (tiny change) + + * configure.ac: Error out if with-file-notification=w32 is + specified on Cygwin. (Bug#19909) + + 2015-02-27 Paul Eggert + + Don't require GNU putenv + * configure.ac: Use system putenv even if it lacks GNU features, as + we don't need them. This works around a bug in FreeBSD 10.1 getenv. + Fixes: bug#19874 + + 2015-02-25 Paul Eggert + + Merge from gnulib + * lib/getdtablesize.c, m4/dup2.m4, m4/fcntl.m4: + Update from gnulib, incorporating: + 2015-02-23 dup2: doc and test for Android bug + 2015-02-23 Replace dup2() on Android + 2015-02-22 Android doesn't define RLIM_SAVED_* + + 2015-02-21 Paul Eggert + + Merge from gnulib + * lib/getdtablesize.c, lib/getopt.c, lib/signal.in.h, lib/tempname.c: + * lib/tempname.h, m4/dup2.m4, m4/fcntl.m4, m4/getdtablesize.m4: + Update from gnulib, incorporating: + 2015-02-20 getdtablesize: port better for Android + 2015-02-19 fcntl: Fix cross compiling + 2015-02-18 dup2, fcntl: cross-compile better for Android + 2015-02-18 getopt: don't crash on memory exhaustion + 2015-02-17 tempname: allow compilation with C++ (trivial) + 2015-02-17 dup2, fcntl: port to AIX + 2015-02-16 getdtablesize, dup2, fcntl: port to Android + 2015-02-11 getdtablesize, signal_h: Fix Android build + 2015-02-11 maint: various whitespace cleanups in tempname + + 2015-02-13 Jan Djärv + + * configure.ac: Set locallisppath to empty for NS self contained, + unless --enable-loadllisppath was given (Bug#19850). + +2015-02-11 Jan Djärv + + * configure.ac (with-cairo): New option. + (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo, + set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo. + Output "Does Emacs use cairo?". + 2015-02-09 Paul Eggert * configure.ac (HAVE_LIBXML2): Add missing comma. diff --cc lisp/ChangeLog index de2eb71696f,b004a2bba96..d7abeac9ba6 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,7 -1,1606 +1,1612 @@@ + 2015-04-03 Dmitry Gutov + + * progmodes/js.el (js-indent-line): Do nothing when bol is inside + a string (https://github.com/mooz/js2-mode/issues/227). + + 2015-04-02 Stefan Monnier + + * abbrev.el (define-abbrev-table): Treat a non-string "docstring" as + part of the "props" arguments rather than silently ignoring it. + + * emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer. + + 2015-04-01 Alan Mackenzie + + Fix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240. + + * progmodes/cc-mode.el (c-extend-after-change-region): + Widen before applying text properties. + * progmodes/cc-langs.el (c-before-font-lock-functions): Update an + entry to a new function name. + + 2015-04-01 Paul Eggert + + * emacs-lisp/package.el: Spelling fixes and use active voice. + + 2015-04-01 Artur Malabarba + + * emacs-lisp/package.el: Implement asynchronous refreshing. + (package--with-work-buffer-async) + (package--check-signature-content) + (package--update-downloads-in-progress): New functions. + (package--check-signature, package--download-one-archive) + (package--download-and-read-archives, package-refresh-contents): + Optional arguments for async usage. + (package--post-download-archives-hook): New variable. Hook run + after every refresh. + + * emacs-lisp/package.el: Make package-menu asynchronous. + (package-menu-async): New variable. Controls whether + `list-packages' is asynchronous. + (list-packages): Now asynchronous by default. + (package-menu--new-package-list): Always buffer-local. + (package-menu--post-refresh) + (package-menu--find-and-notify-upgrades) + (package-menu--populate-new-package-list): New functions. + + 2015-03-31 Simen Heggestøyl + + * textmodes/css-mode.el (css-mode): Derive from `prog-mode'. + + 2015-03-31 Stefan Monnier + + * jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error. + + Let jit-lock know the result of font-lock-extend-region-functions. + * jit-lock.el (jit-lock--run-functions): New function. + (jit-lock-fontify-now): Use it. Handle fontification bounds more + precisely in case the backend functions fontify more than requested. + Don't round up to whole lines since that shouldn't be needed + any more. + * font-lock.el (font-lock-fontify-region-function): Adjust docstring. + (font-lock-inhibit-thing-lock): Make obsolete. + (font-lock-default-fontify-region): Return the bounds actually used. + + * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): + Fix compilation error. + + 2015-03-30 Artur Malabarba + + * emacs-lisp/package.el: Reorganize package.el and divide it with + page-breaks and comments. + + 2015-03-30 Stefan Monnier + + * emacs-lisp/eieio-base.el (make-instance) : New instance + which stores the old-style object name argument into the + object-name field. + + 2015-03-30 Alan Mackenzie + + Correct calculation of CC Mode's font-lock region. + + * progmodes/cc-mode.el (c-fl-decl-start): Rename from + c-set-fl-decl-start. Change signature such that nil is returned + when no declaration is found. + (c-change-expand-fl-region): Rename from + c-change-set-fl-decl-start. This now also handles expanding the + font lock region to whole lines. + (c-context-expand-fl-region): Rename from + c-context-set-fl-decl-start. This now also handles expanding the + font lock region to whole lines. + (c-font-lock-fontify-region): When a change font lock region is + spuriously enlarged to the beginning-of-line by jit-lock, fontify + the extra bit separately from the region calculated by CC Mode. + (c-extend-after-change-region): Explicitly apply 'fontified + properties to the extended bits of the font lock region. + + * progmodes/cc-langs.el (c-before-font-lock-functions) + (c-before-context-fontification-functions): Use new names for + existing functions (see above). + + 2015-03-30 Richard Ryniker (tiny change) + + * mail/sendmail.el (sendmail-send-it): Do not attempt to switch + to non-existent buffer (errbuf is not created when customization + variable mail-interactive is nil). (Bug#20211) + + 2015-03-29 Stefan Monnier + + * emacs-lisp/smie.el (smie-backward-sexp-command) + (smie-forward-sexp-command): Don't pretend the arg is optional + (bug#20205). + + 2015-03-29 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): + Detect regexps after `!'. (Bug#19285) + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Use `font-lock-constant-face' for nil, true and false. + Highlight `self' as a keyword. (Bug#17733) + + 2015-03-29 Nobuyoshi Nakada + + * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): + Expect beginning of regexp also after open brace or vertical bar. + (Bug#20026) + + 2015-03-28 Jan Djärv + + * emacs-lisp/package.el (package-refresh-contents): Fix spelling + error in previous change. + + 2015-03-28 Tom Willemse (tiny change) + + * elec-pair.el (electric-pair-local-mode): New command. + (electric-pair-mode): Mention `electric-pair-local-mode' in the + docstring. + + 2015-03-28 Jan Djärv + + * emacs-lisp/package.el (package-refresh-contents): Add a message at + the end so it does not appear to have hanged (Bug#17879). + + 2015-03-27 Wolfgang Jenkner + + * font-lock.el (font-lock--remove-face-from-text-property): + New function. Adapted from the previously commented out + remove-single-text-property. + Remove previously unused and commented out auxiliary function + remove-text-property and obsolete comment. + * comint.el (comint-output-filter): Use it to remove + comint-highlight-prompt. + (comint-snapshot-last-prompt, comint-output-filter): + Use font-lock-prepend-text-property for comint-highlight-prompt. + (Bug#20084) + + 2015-03-26 Daniel Colascione + * progmodes/python.el + (python-indent-guess-indent-offset-verbose): New defcustom. + (python-indent-guess-indent-offset): Use it. + + 2015-03-26 Stefan Monnier + + * emacs-lisp/eieio.el (defclass): Change internal name so as to make + sure only EIEIO files should have "eieio--" prefixes in their .elc. + + * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. + + 2015-03-26 Boruch Baum (tiny change) + + * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177). + + 2015-03-25 Dmitry Gutov + + * json.el (json-special-chars): Don't treat `/' specially, there's + no need to. + (json-encode-string): Only escape quotation mark, backslash and + the control characters U+0000 to U+001F. + + 2015-03-25 Artur Malabarba + + * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): + Don't complain about args starting with _. + + 2015-03-25 Stefan Monnier + + * international/mule-cmds.el (mule--ucs-names-annotation): New func. + (read-char-by-name): Use it. + + * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit. + + 2015-03-25 Nicolas Petton + + * emacs-lisp/seq.el: Documentation improvements. + + 2015-03-25 Glenn Morris + + * net/browse-url.el (browse-url-browser-function) + (browse-url-default-browser): + Remove obsolete items from the explicit listing. + (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes. + (browse-url-netscape-program, browse-url-netscape-arguments) + (browse-url-netscape-startup-arguments) + (browse-url-galeon-program, browse-url-galeon-arguments) + (browse-url-galeon-startup-arguments) + (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments) + (browse-url-galeon-new-window-is-tab) + (browse-url-netscape-new-window-is-tab) + (browse-url-mosaic-program, browse-url-mosaic-arguments) + (browse-url-mosaic-pidfile, browse-url-CCI-port) + (browse-url-CCI-host, browse-url-netscape-version) + (browse-url-netscape, browse-url-netscape-sentinel) + (browse-url-netscape-reload, browse-url-netscape-send) + (browse-url-galeon, browse-url-galeon-sentinel) + (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci) + (browse-url-w3-gnudoit): Make obsolete. + * ffap.el (ffap-url-fetcher): Simplify default and doc. + + 2015-03-25 Olaf Rogalsky + + * xt-mouse.el: Add mouse-tracking support (bug#19416). + (xterm-mouse-translate-1): Handle mouse-movement events. + (xterm-mouse--read-event-sequence-1000) + (xterm-mouse--read-event-sequence-1006): Delete functions. + (xterm-mouse--read-event-sequence): New function that handles both at + the same time. Handle mouse-movements. + (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal): + New functions. + (xterm-mouse-event): Simplify. + (xterm-mouse-tracking-enable-sequence) + (xterm-mouse-tracking-disable-sequence): Enable mouse tracking. + + * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events. + + 2015-03-24 Michael Albinus + + * net/tramp-sh.el (tramp-do-file-attributes-with-ls) + (tramp-do-file-attributes-with-stat): Quote file names in output. + (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker. + + 2015-03-24 Daiki Ueno + + * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key" + invocation; make the PARAMETERS documentation clearer. + + 2015-03-24 Stefan Monnier + + Add cl-struct specific optimizations to pcase. + * emacs-lisp/cl-macs.el (cl--struct-all-parents) + (cl--pcase-mutually-exclusive-p): New functions. + (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns. + + * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string. + + 2015-03-23 Stefan Monnier + + Add new `cl-struct' and `eieio' pcase patterns. + * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern. + * emacs-lisp/eieio.el (eieio-pcase-slot-index-table) + (eieio-pcase-slot-index-from-index-table): New functions. + (eieio): New pcase pattern. + * emacs-lisp/pcase.el (pcase--make-docstring): New function. + (pcase): Use it to build the docstring. + (pcase-defmacro): Make sure the macro is lazy-loaded. + (\`): Move its docstring from `pcase'. + + 2015-03-23 Glenn Morris + + * emacs-lisp/authors.el (authors-aliases) + (authors-obsolete-files-regexps): Additions. + + 2015-03-23 Jan Djärv + + * simple.el (deactivate-mark): Only modify PRIMARY if we own + PRIMARY (Bug#18939). + + 2015-03-23 Martin Rudalics + + * emacs-lisp/debug.el (debug): Don't try using "previous" window + when its not live or on an invisible frame (Bug#17170). + + 2015-03-23 Dmitry Gutov + + * json.el (json-decode-char0): Delete this alias as well. + (json-read-escaped-char): Don't call it (bug#20154). + + 2015-03-23 Daniel Colascione + + * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function. + (lisp--el-match-keyword): Use it. + + 2015-03-23 Daiki Ueno + + * subr.el (start-process): New function, ported from the C + implementation. + + 2015-03-23 Daniel Colascione + + Automatically adjust process window sizes. + + * window.el (window-adjust-process-window-size-function): + New customizable variable. + (window-adjust-process-window-size) + (window-adjust-process-window-size-smallest) + (window-adjust-process-window-size-largest) + (window--process-window-list, window--adjust-process-windows): + New functions. + (window-configuration-change-hook): + Add `window--adjust-process-windows'. + * term.el (term-mode): Observe result of + `window-adjust-process-window-size-function'. + (term-check-size): Delete. + + 2015-03-22 Jackson Ray Hamilton + + * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom. + (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute + indentation (bug#20161). + + 2015-03-22 Dmitry Gutov + + * json.el (json-encode-char0): Delete this alias. + (json-encode-string): Rewrite to improve performance (bug#20154). + (json-encode-char): Fold into `json-encode-string'. + + 2015-03-22 Artur Malabarba + + * menu-bar.el (menu-bar-update-buffers): Count displayed buffers + for `buffers-menu-max-size', not total buffers. + + 2015-03-21 Titus von der Malsburg + + * window.el (window-font-width, window-font-height) + (window-max-chars-per-line): New functions. + + * simple.el (default-font-height): Doc fix. + (default-font-width): New function. + + 2015-03-21 Tassilo Horn + + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): + Also recognize (cl-)defmethod with (setf method) name. + + 2015-03-20 Tassilo Horn + + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): + Fix false positive in function name font-locking. + (lisp-cl-font-lock-keywords-1): Ditto. + + 2015-03-20 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive + occurrences of args via &cl-defs (bug#20149). + + 2015-03-20 Alan Mackenzie + + Fix debbugs#20146 + + * font-lock.el (font-lock-extend-jit-lock-region-after-change): + Return the calculated values, as per spec. + + 2015-03-20 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit' + and `callcc' to the "methods with required arguments" section, + they need a block argument. Remove a `throw' duplicate. + + 2015-03-19 Vibhav Pant + + * progmodes/cperl-mode.el (cperl-electric-backspace): + Call delete-backward-space interactively instead of delete-char. + + 2015-03-19 Stefan Monnier + + * emacs-lisp/pcase.el (pcase-lambda): Rewrite. + + * emacs-lisp/eieio.el (object-slots): Return slot names as before + (bug#20141). + + 2015-03-19 Stefan Monnier + + EIEIO: Change class's representation to unify instance and class slots + * emacs-lisp/eieio-core.el (eieio--class): Change field names and order + to match those of cl--class; use cl--slot for both instance slots and + class slots. + (eieio--object-num-slots): Use cl-struct-slot-info. + (eieio--object-class): Rename from eieio--object-class-object. + (eieio--object-class-name): Remove. + (eieio-defclass-internal): Adjust to new slot representation. + Store doc in class rather than in `variable-documentation'. + (eieio--perform-slot-validation-for-default): Change API to take + a slot object. + (eieio--slot-override): New function. + (eieio--add-new-slot): Rewrite. + (eieio-copy-parents-into-subclass): Rewrite. + (eieio--validate-slot-value, eieio--validate-class-slot-value) + (eieio-oref-default, eieio-oset-default) + (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new + slot representation. + (eieio--c3-merge-lists): Simplify. + (eieio--class/struct-parents): New function. + (eieio--class-precedence-bfs): Use it. + + * emacs-lisp/eieio.el (with-slots): Use macroexp-let2. + (object-class-fast): Change recommend replacement. + (eieio-object-class): Rewrite. + (slot-exists-p): Adjust to new slot representation. + (initialize-instance): Adjust to new slot representation. + (object-write): Adjust to new slot representation. + + * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function + extracted from eieio-help-class-slots. + (eieio-help-class-slots): Use it. Adjust to new slot representation. + + * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots): + Declare to silence warnings. + (data-debug-insert-object-button): Avoid `object-slots'. + (data-debug/eieio-insert-slots): Adjust to new slot representation. + + * emacs-lisp/eieio-custom.el (eieio-object-value-create) + (eieio-object-value-get): Adjust to new slot representation. + + * emacs-lisp/eieio-compat.el + (eieio--generic-static-symbol-specializers): + Extract from eieio--generic-static-symbol-generalizer. + (eieio--generic-static-symbol-generalizer): Use it. + + * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): + Manually map initargs to slot names. + (eieio-persistent-validate/fix-slot-value): Adjust to new + slot representation. + + * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'. + + 2015-03-19 Vibhav Pant + + * leim/quail/hangul.el (hangul-delete-backward-char) + (hangul-to-hanja-conversion): + * progmodes/cperl-mode.el (cperl-electric-keyword) + (cperl-electric-backspace): Use delete-char instead of + delete-backward-char, fixes compilation warnings. + + 2015-03-18 Michael Albinus + + * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat): + Mark apostrophs with ?/ instead of \037. (Bug#20117) + + 2015-03-18 Stefan Monnier + + Add classes as run-time descriptors of cl-structs. + * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function. + (cl--make-slot-desc): New constructor. + (cl--plist-remove, cl--struct-register-child): New functions. + (cl-struct-define): Rewrite. + (cl-structure-class, cl-structure-object, cl-slot-descriptor) + (cl--class): New structs. + (cl--struct-default-parent): Initialize it here. + * emacs-lisp/cl-macs.el (cl--find-class): New macro. + (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use. + (cl--struct-default-parent): New var. + (cl-defstruct): Adjust to new representation of classes; add + default parent. In accessors, signal `wrong-type-argument' rather than + a generic error. + (cl-struct-sequence-type, cl-struct-slot-info) + (cl-struct-slot-offset): Rewrite. + * emacs-lisp/cl-generic.el (cl--generic-struct-specializers) + (cl-generic-generalizers): Rewrite. + + * emacs-lisp/macroexp.el (macroexp--debug-eager): New var. + (internal-macroexpand-for-load): Use it. + + * emacs-lisp/debug.el (debug--implement-debug-on-entry): + Bind inhibit-debug-on-entry here... + (debug): Instead of here. + + 2015-03-18 Dima Kogan + + Have gud-display-line not display source buffer in gud window. + * progmodes/gud.el (gud-display-line): Make display-buffer + not reuse selected window. (Bug#17675, Bug#19901, Bug#20034) + + 2015-03-17 Tassilo Horn + + * emacs-lisp/byte-run.el (macro-declarations-alist): + New declaration no-font-lock-keyword. + (defmacro): Flush font-lock in existing elisp buffers. + + * emacs-lisp/lisp-mode.el (lisp--el-update-after-load) + (lisp--el-update-macro-regexp, lisp--el-macro-regexp): + Delete functions and defconst. + (lisp--el-match-keyword): Rename from lisp--el-match-macro. + (lisp--el-font-lock-flush-elisp-buffers): New function. + (lisp-mode-variables): Remove code for updating + lisp--el-macro-regexp, and add + lisp--el-font-lock-flush-elisp-buffers to after-load-functions. + + 2015-03-17 Simen Heggestøyl + + * textmodes/css-mode.el (css--font-lock-keywords): + Discriminate between pseudo-classes and pseudo-elements. + (css-pseudo-ids): Remove. + (css-pseudo-class-ids, css-pseudo-element-ids): New variables. + (css--complete-property): New function for completing CSS properties. + (css--complete-pseudo-element-or-class): New function + completing CSS pseudo-elements and pseudo-classes. + (css--complete-at-rule): New function for completing CSS at-rules. + (css-completion-at-point): New function. + (css-mode): Add support for completion. + (css-extract-keyword-list, css-extract-parse-val-grammar) + (css-extract-props-and-vals): Remove function in favor of manual + extraction. + (css-at-ids): Update list of CSS at-rule ids. + (css-property-ids): Update list of CSS properties. + + 2015-03-17 Bozhidar Batsov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock + more Kernel methods. + + 2015-03-17 Michael Albinus + + * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in + shell scripts. (Bug#20118) + + 2015-03-17 Eli Zaretskii + + * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is + nil, construct a menu of fixed fonts. This resurrects a feature + lost in Emacs 23. + + * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to + reset mouse-appearance-menu-map, so the font dialog is recomputed + the next time the menu is requested. + (w32-fixed-font-alist): Fix to use correct names of Courier fonts. + + 2015-03-17 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change + (bug#20125). + + 2015-03-17 Michael Albinus + + * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test + for ControlPath in order to avoid DNS timeouts. (Bug#20015) + + 2015-03-16 Alan Mackenzie + + Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074. + Also display the overlay arrow in go and go-nonstop modes. + + * emacs-lisp/edebug.el (edebug--display-1): Move the + `input-pending' test to after trace mode's `sit-for'. + (edebug--recursive-edit): Insert "(sit-for 0)" after + "(edebug-overlay-arrow)". + + 2015-03-16 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid + cl--do-arglist in more cases; add comments to explain what's going on. + (cl--do-&aux): New function extracted from cl--do-arglist. + (cl--do-arglist): Use it. + + * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes. + + * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg. + * isearchb.el (isearchb-iswitchb): Adjust accordingly. + * ido.el (ido-read-buffer): Add `predicate' argument. + * misearch.el (unload-function-defs-list): Declare before use. + + 2015-03-16 Vibhav Pant + + * net/browse-url.el (browse-url-browser-function): Add "Conkeror". + (browse-url-conkeror-program, browse-url-conkeror-arguments) + (browse-url-conkeror-new-window-is-buffer): New defcustoms. + (browse-url-default-browser): Check for `browse-url-conkeror' + and call `browse-url-conkeror-program'. + (browse-url-conkeror): New command. + (bug#19863) + + 2015-03-16 Vibhav Pant + + * eshell/esh-mode.el (eshell/clear): New function. + + 2015-03-16 Alan Mackenzie + + Make Edebug work with Follow Mode. + + * emacs-lisp/edebug.el (edebug--display-1): Remove call to + edebug-adjust-window. + (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil + over the recursive edit. + (edebug-adjust-window): Remove. + + 2015-03-15 Michael Albinus + + * net/tramp-adb.el: + * net/tramp-gvfs.el: + * net/tramp-sh.el: + * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms. + + * net/tramp.el (tramp-ssh-controlmaster-options) + (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el. + (tramp-default-method): Do not check for + `tramp-ssh-controlmaster-options'. + + * net/tramp-sh.el (tramp-use-ssh-controlmaster-options): + New defcustom, moved from tramp.el. + (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el + but with a nil initial value. + (tramp-ssh-controlmaster-options): New defun. + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use it. (Bug#20015) + + 2015-03-15 Tassilo Horn + + * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst. + (lisp--el-update-macro-regexp, lisp--el-update-after-load) + (lisp--el-match-macro): New functions. + (lisp-mode-variables): Update lisp--el-macro-regexp and add + lisp--el-update-after-load to after-load-functions. + + 2015-03-15 Daniel Colascione + + * emacs-lisp/cl-indent.el + (lisp-indent-backquote-substitution-mode): New user option. + (common-lisp-indent-function-1, common-lisp-loop-part-indentation) + (common-lisp-indent-function): Support normally indenting + backquote substitutions. + (extended-loop-p): Rename to `lisp-extended-loop-p'. + + 2015-03-14 Michael R. Mauger + + * progmodes/sql.el: Version 3.5 + (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts. + (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686) + + 2015-03-14 Daniel Colascione + + * widget.el (define-widget): Check that documentation is a string + or nil; prevent wailing and gnashing of teeth when users forget to + pass a docstring and wonder why their properties don't work. + + * startup.el (command-line): Process "--no-x-resources". + + 2015-03-13 Kevin Ryde + + info-look fixes for Texinfo 5 + * info-look.el (c-mode, bison-mode, makefile-mode) + (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode) + (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode): + Match `foo' and 'foo' and ‘foo’ for @item and similar. + (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in + suffix regexp. + + 2015-03-12 Juri Linkov + + * simple.el (next-line-or-history-element) + (previous-line-or-history-element): Remember the goal column of + possibly multi-line input, and restore it afterwards. (Bug#19824) + + 2015-03-12 Rasmus Pank Roulund + + * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist + files (bug#19335). + + 2015-03-12 Eli Zaretskii + + * international/fontset.el (script-representative-chars): Add a + representative character for 'vai'. + + 2015-03-11 Stefan Monnier + + * international/quail.el (quail-input-method): + Use with-silent-modifications. + + * simple.el (goto-history-element): Don't burp on t history. + + 2015-03-10 Paul Eggert + + Prefer "initialize" to "initialise" + * progmodes/js.el (js-indent-first-init): + Rename from js-indent-first-initialiser, to avoid worrying about + American vs British spelling. All uses changed. + + 2015-03-10 Glenn Morris + + * progmodes/js.el (js-indent-first-initialiser): + Fix doc, type, version. + + 2015-03-10 Jackson Ray Hamilton + + * progmodes/js.el (js-indent-first-initialiser): New option. + (js--maybe-goto-declaration-keyword-end): New function. + (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end. + + 2015-03-10 Thomas Fitzsimmons + + * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes + from RFC2798 Section 9.1.1. (Bug#8983) + + 2015-03-09 Nicolas Petton + + * emacs-lisp/seq.el (seq-into): New function. + Bump seq.el version to 1.3. + + 2015-03-09 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider + `=' a part of symbol when followed by `>'. (Bug#18644) + (ruby-syntax-before-regexp-re): Detect regexps after `!'. + (Bug#19285) + + 2015-03-09 Eli Zaretskii + + * dired.el (dired-delete-file): Doc fix. (Bug#20021) + + 2015-03-06 Sergio Durigan Junior + Thomas Fitzsimmons + + * net/eudcb-bbdb.el (eudc-bbdb-field): New function. + (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field. + (eudc-bbdb-format-record-as-result): Likewise. + + 2015-03-08 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Use `font-lock-constant-face' for nil, true and false. + Highlight `self' as a keyword. (Bug#17733) + + 2015-03-08 Nobuyoshi Nakada + + * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): + Expect beginning of regexp also after open brace or vertical bar. + (Bug#20026) + + 2015-03-07 Stefan Monnier + + * battery.el (battery-echo-area-format): Simplify default. + (battery-linux-sysfs): Standardize on energy&power. Accept ADP1 + for AC adapter. + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to + unfold `closure's since byte-compile-unfold-lambda doesn't know how to + do it. + + 2015-03-06 Oscar Fuentes + + * net/browse-url.el (browse-url-firefox): Remove outdated + MS-Windows limitations. + + 2015-03-06 Thomas Fitzsimmons + + * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as + obsolete. + (eudc-ldap-cleanup-record-filtering-addresses): Add docstring. + Don't clean up postal addresses if ldap-ignore-attribute-codings + is set. Combine mail addresses into one field. (Bug#17720) + (eudc-ldap-simple-query-internal): + Call eudc-ldap-cleanup-record-filtering-addresses instead of + eudc-ldap-cleanup-record-simple. + (eudc-ldap-get-field-list): Likewise. + + 2015-03-05 Ivan Shmakov + + * net/eww.el (eww-html-p): New function (bug#20009). + (eww-render): Use it. + + 2015-03-05 Artur Malabarba + + * desktop.el (desktop-buffer-info): Write docstring. + (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and + unquote lamda. + + * emacs-lisp/package.el (package-refresh-contents): Update doc. + + 2015-03-05 Dmitry Gutov + + * progmodes/js.el (js-mode-syntax-table): Add an entry for `. + + 2015-03-05 Stefan Monnier + + Replace *-function vars with generic functions in cl-generic. + * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct. + (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove. + (cl--generic-t-generalizer): New const. + (cl--generic-make-method): Rename from `cl--generic-method-make'. + (cl--generic-make): Change calling convention. + (cl--generic): Add `options' field. + (cl-generic-function-options): New function. + (cl-defgeneric): Rewrite handling of options. Add support for :method + options and allow the use of a default body. + (cl-generic-define): Save options in the corresponding new field. + (cl-defmethod): Fix ordering of qualifiers. + (cl-generic-define-method): Use cl-generic-generalizers. + (cl--generic-get-dispatcher): Change calling convention, and change + calling convention of the returned function as well so as to take the + list of methods separately from the generic function object, so that it + can receive the original generic function object. + (cl--generic-make-next-function): New function, extracted from + cl--generic-make-function. + (cl--generic-make-function): Use it. + (cl-generic-method-combination-function): Remove. + (cl--generic-cyclic-definition): New error. + (cl-generic-call-method): Take a generic function object rather than + its name. + (cl-method-qualifiers): New alias. + (cl--generic-build-combined-method): Use cl-generic-combine-methods, + don't segregate by qualifiers here any more. + (cl--generic-standard-method-combination): Segregate by qualifiers + here instead. Add support for the `:extra' qualifier. + (cl--generic-cache-miss): Move earlier, adjust to new calling convention. + (cl-generic-generalizers, cl-generic-combine-methods): + New generic functions. + (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method): + Use the new "default method in defgeneric" functionality, change + calling convention to receive a generic function object. + (cl--generic-head-used): New var. + (cl--generic-head-generalizer, cl--generic-eql-generalizer) + (cl--generic-struct-generalizer, cl--generic-typeof-generalizer): + New consts. + * emacs-lisp/eieio-core.el (eieio--generic-generalizer) + (eieio--generic-subclass-generalizer): New consts. + (cl-generic-generalizers): New methods. + * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer) + (eieio--generic-static-object-generalizer): New consts. + (cl-generic-generalizers) <(head eieio--static)>: New method. + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): + Unfold closures like lambdas. + + 2015-03-04 Filipp Gunbin + + * autorevert.el (auto-revert-notify-add-watch): + Fix handler installation. (Bug#20000) + + 2015-03-04 Rüdiger Sonderfeld + + * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words) + (eww-same-page-p,eww-set-character-encoding): Fix docstring. + (eww): Do not end error messages with a period. + + 2015-03-04 Zhongwei Yao + + * net/tramp-adb.el (tramp-adb-connect-if-not-connected): + New user option. + (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file + names starting with a space. + (tramp-methods): Add `tramp-default-port' for "adb". + (tramp-adb-parse-device-names): Add traces. Return device names + with port, if present. + (tramp-adb-handle-directory-files-and-attributes): Quote all + remote file names. + (tramp-adb-get-device): New defun. + (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection): + Use it. + (tramp-adb-maybe-open-connection): Set `tramp-current-*' + variables. Remove checks for listed devices. + + 2015-03-04 Michael Albinus + + * net/tramp.el (tramp): Add :link property. + (tramp-login-prompt-regexp): Allow also "user", as required by + Fritz!Box telnet. + (tramp-autoload-file-name-handler): Use "/". + (tramp-handle-unhandled-file-name-directory): Return nil when + required by the spec. + + * net/tramp-cache.el (tramp-dump-connection-properties): + Use `with-temp-file'. + + * net/tramp-sh.el (tramp-perl-file-attributes) + (tramp-perl-directory-files-and-attributes): Escape apostrophes in + file names. + (tramp-do-file-attributes-with-stat): Quote file name. + (tramp-sh-handle-directory-files-and-attributes): Fall back to + `tramp-handle-directory-files-and-attributes' in case of problems. + (tramp-do-directory-files-and-attributes-with-stat) + (tramp-sh-handle-file-name-all-completions) + (tramp-sh-handle-delete-directory) + (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file): + Normalize use of "cd". + (tramp-do-directory-files-and-attributes-with-stat): Use the + `quoting-style' arg of `ls' if possible. Make it also working for + file names with apostrophes. + (tramp-sh-handle-file-name-all-completions): Use arguments of `ls' + in proper order. + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-sh-handle-file-local-copy): Use `with-temp-file'. + (tramp-get-remote-locale): Accept also \r in output. + (tramp-get-ls-command-with-quoting-style): New defun. + (tramp-get-inline-coding): Set `default-directory' to a local + directory. Sporadically, `call-process-region' does not handle a + remote default directory properly. + + * net/trampver.el: Update release number. + + 2015-03-03 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure + .dat files for aspell dicts are also searched for in location + described by `ispell-aspell-dict-dir', matching aspell's dict-dir + variable. + + 2015-03-03 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist) + (ispell-hunspell-fill-dictionary-entry) + (ispell-find-hunspell-dictionaries) + (ispell-set-spellchecker-params): New generic name for + `ispell-hunspell-dictionary-equivs-alist'. + (ispell-aspell-add-aliases): Also use + `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for + standard dict names. + + 2015-03-03 Glenn Morris + + * net/browse-url.el (browse-url-firefox-startup-arguments): + Make obsolete. + (browse-url-firefox): Doc fix. Remove -remote, which no longer + exists in Firefox 36. (Bug#19921) + (browse-url-firefox-sentinel): Remove function. + + 2015-03-03 Eli Zaretskii + + * frame.el (blink-cursor-timer-function): Don't increment + blink-cursor-blinks-done counter when a menu is active on a w32 + frame. (Bug#19925) + + 2015-03-03 Juri Linkov + + * comint.el (comint-line-beginning-position): Revert searching for + the prompt when comint-use-prompt-regexp is non-nil because it + doesn't distinguish input from output. Check the field property + `output' for the case when comint-use-prompt-regexp is nil. + (Bug#19710) + + 2015-03-03 Jérémy Compostella + + * net/tramp-sh.el (tramp-remote-process-environment): Disable paging + with PAGER=cat. (Bug#19870) + + 2015-03-03 Glenn Morris + + * textmodes/flyspell.el (flyspell-duplicate-distance): + Bump :version. + + 2015-03-03 Eli Zaretskii + + * textmodes/text-mode.el (text-mode-syntax-table): Make some + punctuation character behave as word-constituent, for more + compatibility with Unicode. + + * simple.el (transient-mark-mode): Doc fix. (Bug#19841) + + 2015-03-03 Agustín Martín Domingo + + Improve string search in `flyspell-word-search-*`. (Bug#16800) + * textmodes/flyspell.el (flyspell-duplicate-distance): + Limit default search distance for duplicated words to 40000. + (flyspell-word-search-backward, flyspell-word-search-forward): + Search as full word with defined casechars, not as substring. + + 2015-03-03 Juri Linkov + + Better support for the case of typing RET on the prompt in comint. + * comint.el (comint-get-old-input-default): Go to the field end + when comint-use-prompt-regexp is nil. + (comint-line-beginning-position): Check if point is already + on the prompt before searching for the prompt when + comint-use-prompt-regexp is non-nil. (Bug#19710) + + 2015-03-03 Eli Zaretskii + + * frame.el (frame-notice-user-settings): Refresh the value of + frame parameters after calling tty-handle-reverse-video. + Call face-set-after-frame-default with the actual parameters, to avoid + resetting colors back to unspecified. + (set-background-color, set-foreground-color): Pass the foreground + and background colors to face-set-after-frame-default. (Bug#19802) + + 2015-03-03 Wolfgang Jenkner + + * net/network-stream.el (network-stream-open-tls): Respect the + :end-of-capability setting. + + 2015-03-03 Juri Linkov + + Revert the previous change of comint-line-beginning-position callers, + and modify comint-line-beginning-position instead. + + * comint.el (comint-history-isearch-search) + (comint-history-isearch-message, comint-history-isearch-wrap): + Use comint-line-beginning-position instead of field-beginning. + (comint-send-input): Use either end-of-line or field-end + depending on comint-use-prompt-regexp. + (comint-line-beginning-position): Search backward + for comint-prompt-regexp if comint-use-prompt-regexp is non-nil. + Use field-beginning instead of line-beginning-position + if comint-use-prompt-regexp is nil. (Bug#19710) + + 2015-03-03 Robert Pluim (tiny change) + + * calendar/todo-mode.el (todo-item-done): When done items are + hidden, restore point to its location prior to invoking this + command. (Bug#19727) + + 2015-03-03 Eli Zaretskii + + * textmodes/artist.el (artist-ellipse-compute-fill-info): + Use mapcar, not mapc, to create the other half of fill-info. + (Bug#19763) + + 2015-03-03 Nicolas Petton + + * emacs-lisp/authors.el (authors-ignored-files) + (authors-renamed-files-alist): Additions. + + 2015-03-03 Michael Albinus + + * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a + tempfile for ControlPath. (Bug#19702) + + 2015-03-03 Michael Albinus + + * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for + ControlPath if possible. (Bug#19702) + + 2015-03-03 Glenn Morris + + * emacs-lisp/authors.el (authors-obsolete-files-regexps) + (authors-valid-file-names, authors-renamed-files-alist): Additions. + + 2015-03-03 Alan Mackenzie + + CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669) + * progmodes/cc-mode.el (c-font-lock-init): + Set font-lock-extend-region-functions to nil. + + 2015-03-03 Daniel Colascione + + * emacs-lisp/generator.el: Make globals conform to elisp + style throughout. Use more efficient font-lock patterns. + (cps-inhibit-atomic-optimization): Rename from + `cps-disable-atomic-optimization'. + (cps--gensym): New macro; replaces `cl-gensym' throughout. + (cps-generate-evaluator): Move the `iter-yield' local macro + definition here + (iter-defun, iter-lambda): from here. + + (iter-defun): Use `macroexp-parse-body'. + + 2015-03-03 Daniel Colascione + + 2015-03-03 Stefan Monnier + + * progmodes/gud.el: Use lexical-binding (bug#19966). + + * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases. + + 2015-03-03 Daniel Colascione + + * emacs-lisp/generator.el: Make globals conform to elisp + style throughout. Use more efficient font-lock patterns. + (cps-inhibit-atomic-optimization): Rename from + `cps-disable-atomic-optimization'. + (cps--gensym): New macro; replaces `cl-gensym' throughout. + (cps-generate-evaluator): Move the `iter-yield' local macro + definition here... + (iter-defun, iter-lambda): ...from here. + + 2015-03-03 Artur Malabarba + + * emacs-lisp/package.el (package-autoremove): Fix if logic. + + 2015-03-03 Martin Rudalics + + * window.el (window--dump-frame): For pixel height return total + number of frame's lines. + + 2015-03-03 Daniel Colascione + + * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun. + + * emacs-lisp/generator.el (iter-defun): Correctly propagate + docstrings and declarations to underlying function. + + 2015-03-02 Daniel Colascione + + * emacs-lisp/generator.el: New file. + + * vc/vc.el (vc-responsible-backend): Add autoload cookie for + `vc-responsible-backend'. + + 2015-03-01 Michael Albinus + + * vc/vc-hooks.el (vc-state, vc-working-revision): + Use `vc-responsible-backend' in order to support unregistered files. + + * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files. + + * vc/vc-rcs.el (vc-rcs-fetch-master-state): + * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined + master name. + + * vc/vc-src.el (vc-src-working-revision): Do not return an empty string. + + 2015-03-01 Lars Magne Ingebrigtsen + + * net/shr.el (shr-insert): Remove soft hyphens. + (shr-insert): Also remove soft hypens from non-folded text. + + 2015-02-28 Eli Zaretskii + + * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload + when the charset is only given by the HTML , and allow to + specify the encoding with "C-x RET c". + + 2015-02-27 Mark Laws + + Support daemon mode on MS-Windows (bug#19688) + * server.el (server-process-filter): Force GUI frames on + MS-Windows in daemon mode, even if a TTY frame was requested. + + * frameset.el (frameset-keep-original-display-p): Don't assume + windows-nt cannot be in daemon mode. + + * frame.el (window-system-for-display): Don't assume windows-nt + cannot be in daemon mode. + + 2015-02-26 Ivan Shmakov + + * faces.el (face-list-p): Split from face-at-point. + (face-at-point): Use it. + * facemenu.el (facemenu-add-face): Likewise. (Bug#19912) + + 2015-02-26 Oscar Fuentes + + * vc/vc.el (vc-annotate-switches): New defcustom. + * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom. + (vc-bzr-annotate-command): Use vc-switches. + * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom. + (vc-cvs-annotate-command): Use vc-switches. + * vc/vc-git.el (vc-git-annotate-switches): New defcustom. + (vc-git-annotate-command): Use vc-switches. + * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom. + (vc-hg-annotate-command): Use vc-switches. + * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom. + (vc-mtn-annotate-command): Use vc-switches. + * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom. + (vc-svn-annotate-command): Use vc-switches. + + 2015-02-26 Alan Mackenzie + + Handle "#" operator properly inside macro. Fix coding bug. + + * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): + On finding a "#" which looks like the start of a macro, check it + isn't already inside a macro. + + * progmodes/cc-engine.el (c-state-safe-place): Don't record a new + "safe" position into the list of them when this is beyond our + current position. + + 2015-02-26 Martin Rudalics + + * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when + the menu frame is dead. (Bug#19728) + + 2015-02-26 Fabián Ezequiel Gallina + + python.el: Handle tabs in python-indent-dedent-line. + * progmodes/python.el (python-indent-dedent-line): Fixes for + indentation with tabs. Thanks to (Bug#19730). + + 2015-02-26 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-context): Respect user + indentation after comment. + + 2015-02-26 Tassilo Horn + + * textmodes/reftex-vars.el (featurep): Conditionalize value of + reftex-label-regexps in order to stay compatible with XEmacs 21.5 + which has no explicitly numbered groups in regexps (bug#19714). + + 2015-02-26 Daiki Ueno + + * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to + integer before comparison. + + 2015-02-25 Nicolas Richard + + * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument. + + 2015-02-25 Oleh Krehel + + * emacs-lisp/check-declare.el (check-declare-warn): + Use compilation-style warnings. + (check-declare-files): Make sure that + `check-declare-warning-buffer' is in `compilation-mode'. + + 2015-02-25 Oleh Krehel + + * emacs-lisp/check-declare.el (check-declare-ext-errors): + New defcustom. + (check-declare): New defgroup. + (check-declare-verify): When `check-declare-ext-errors' is + non-nil, warn about an unfound function, instead of saying + "skipping external file". + + 2015-02-25 Tassilo Horn + + * textmodes/reftex-vars.el (reftex-include-file-commands): + Call reftex-set-dirty on changes. + + 2015-02-25 Stefan Monnier + + * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611). + * emacs-lisp/debug.el (debugger-env-macro): Remove redundant + save-excursion. + + 2015-02-24 Glenn Morris + + * mail/rmailsum.el (rmail-summary-previous-all) + (rmail-summary-previous-msg): Simplify. + + 2015-02-25 Artur Malabarba + + * simple.el (region-active-p): Fix doc to say non-nil. + + 2015-02-24 Samer Masterson + + * eshell/em-hist.el (eshell-hist-parse-word-designator): + Return args joined with " ". + * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring. + (eshell-hist-parse-modifier): Pass mod a list instead of a string + (bug#18960). + + 2015-02-24 Karl Fogel (tiny change) + + * comint.el (comint-mode-map): Fix obvious typo. + + 2015-02-24 Johan Claesson (tiny change) + + * filecache.el (file-cache-filter-regexps): + Add lock files. (Bug#19516) + + 2015-02-24 Glenn Morris + + * mail/rmailsum.el (rmail-summary-next-all) + (rmail-summary-previous-all, rmail-summary-next-msg): + Fix handling of optional argument. (Bug#19916) + + * progmodes/f90.el (f90-beginning-of-subprogram) + (f90-end-of-subprogram, f90-match-end): + Handle continued strings where the continuation does not start + with "&" and happens to match our regexp. (Bug#19809) + + 2015-02-24 Bozhidar Batsov + + * comint.el (comint-clear-buffer): New command. + (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'. + + 2015-02-23 Pete Williamson (tiny change) + + Use ${EXEEXT} more uniformly in makefiles + * Makefile.in (EMACS): Append ${EXEEXT}. + + 2015-02-23 Sam Steingold + + * files.el (recover-session): Handle `auto-save-list-file-prefix' + being a directory (empty non-directory part). + + 2015-02-23 Magnus Henoch + + * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc + instead of sasl-scram-sha-1, as the former is the name that can be + required. + + * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps) + (sasl-scram-sha-1-client-final-message) + (sasl-scram-sha-1-authenticate-server): Move to end of file. + + 2015-02-23 Paul Eggert + + * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding. + (Bug#19826) + + 2015-02-23 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare + and :documentation. Change return value format accordingly. + * emacs-lisp/cl-generic.el (cl--generic-lambda): + * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly. + * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body. + + 2015-02-23 Dmitry Gutov + + Introduce `xref-etags-mode'. + * progmodes/xref.el (xref-etags-mode--saved): New variable. + (xref-etags-mode): New minor mode. (Bug#19466) + + 2015-02-22 Lars Magne Ingebrigtsen + + * dom.el (dom-previous-sibling): New function. + + 2015-02-21 Paul Eggert + + * bindings.el (ctl-x-map): There is no 'C-;'. + For now, make do with 'M-;'; this allows 'make bootstrap' to work. + Perhaps some other binding should be chosen. (Bug#19826) + + 2015-02-21 Artur Malabarba + + * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826) + + 2015-02-21 Michael Albinus + + * autorevert.el (auto-revert-notify-add-watch) + (auto-revert-notify-handler, auto-revert-buffers): Handle also + buffers without an associated file, like dired buffers. (Bug#16112) + + 2015-02-21 Dima Kogan + + * autorevert.el (auto-revert-mode, auto-revert-tail-mode) + (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... ) + wrappers. Call (auto-revert-buffers) consequently in order to + install handlers. + + 2015-02-21 Wilson Snyder + + Sync with upstream verilog-mode revision 0d6420b. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (vector-skip-list): Remove. + (verilog-auto-inst-port, verilog-auto-inst-port-list) + (verilog-auto-inst, verilog-auto-inst-param): + Use arguments rather than vector-skip. + (verilog-auto-inst-port): Fix AUTOINST interfaces to not show + modport if signal attachment is itself a modport. + Reported by Matthew Lovell. + + 2015-02-21 Reto Zimmermann + + Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp) + (vhdl-doc-release-notes): Update. + (vhdl-standard): Add VHDL'08 option. + (vhdl-sensitivity-list-all): New option. + (vhdl-directive-keywords): Add psl. + (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init) + (vhdl-template-construct-alist-init, vhdl-create-mode-menu): + (vhdl-imenu-generic-expression): Add context, directive. + (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes. + (vhdl-template-map-init): Add vhdl-template-context. + (vhdl-mode-syntax-table): Support VHDL'08 block comments. + (vhdl-create-mode-menu): Add some entries. + (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes) + (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives): + New constants. + (vhdl-directives): New variable. + (vhdl-words-init, vhdl-template-process) + (vhdl-template-replace-header-keywords): Support VHDL'08. + (vhdl-abbrev-list-init): Add vhdl-directives. + (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il) + (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context) + (vhdl-lineup-comment): Handle block comments and directives. + (vhdl-beginning-of-directive, vhdl-template-context) + (vhdl-template-context-hook): New functions. + (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p) + (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line) + (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block) + (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit) + (vhdl-scan-context-clause): Add context. + + 2015-02-20 Glenn Morris + + * calendar/solar.el (solar-sunrise-sunset-string): + Shorten message a little. + (sunrise-sunset): Use message rather than a window. (Bug#19859) + + * progmodes/f90.el (f90-keywords-re, f90-procedures-re) + (f90-font-lock-keywords-2): Some F2008 additions. + + 2015-02-19 Dima Kogan + + * autorevert.el (auto-revert-buffers-counter) + (auto-revert-buffers-counter-lockedout): New variables. + (auto-revert-buffers): Increase `auto-revert-buffers-counter'. + (auto-revert-notify-handler): Apply `auto-revert-handler' if not + suppressed by lockout. (Bug#18958) + + 2015-02-19 Stefan Monnier + + * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents' + returns classes, not class names (bug#19891). + + * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type. + + * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem. + + 2015-02-18 Kelly Dean + + * register.el (jump-to-register): + * emacs-lisp/lisp.el (check-parens): + Push mark before goto-char so user doesn't lose his previous place. + + 2015-02-18 Kelly Dean + + * rect.el (rectangle-mark-mode): + Suppress superfluous "Mark set" message from push-mark. + + 2015-02-18 Kelly Dean + + * help-mode.el (help-go-back, help-go-forward, help-follow): + * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark): + * winner.el (winner-redo): + * windmove.el (windmove-do-window-select): + * register.el (jump-to-register, increment-register, insert-register) + (append-to-register, prepend-to-register): + * files.el (find-alternate-file, abort-if-file-too-large, write-file) + (set-visited-file-name): + * emacs-lisp/lisp.el (kill-backward-up-list): + Use user-error instead of error. (Bug#14480) + + 2015-02-18 Stefan Monnier + + * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus + assumptions about window ordering. + + 2015-02-16 Kelly Dean + + * files.el (insert-file-contents-literally): Fix docstring typo. + + 2015-02-16 Kelly Dean + + * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro + arguments correctly. (Bug#19685) + (define-minor-mode): Clarify docstring. + Clarify mode switch messages for minor modes. (Bug#19690) + + 2015-02-16 Kelly Dean + + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Create valid tar files. (Bug#19536) + + 2015-02-16 Kelly Dean + + * desktop.el (desktop-read): Conditionally re-enable desktop autosave. + (Bug#19059) + + 2015-02-16 Kelly Dean + + * help-mode.el (help-do-xref): Prevent duplicated display of Info + buffer, and prevent interference with existing buffer. (Bug#13190) + + 2015-02-16 Fabián Ezequiel Gallina + + python.el: Do not deactivate mark on shell fontification. (Bug#19871) + + * progmodes/python.el (python-shell-font-lock-post-command-hook): + Do not deactivate mark on fontification. + + 2015-02-16 Ivan Shmakov + + * net/eww.el: Fix desktop support. (Bug#19226) + (eww-mode): Add autoload cookie. + (eww-restore-desktop): Use inhibit-read-only. + + * net/eww.el (eww-suggest-uris): Add autoload cookie, so that + add-hook works correctly even if the file is not yet loaded. + + 2015-02-16 Stefan Monnier + + * emacs-lisp/eieio.el (defclass): Use make-instance rather than + eieio-constructor. + (set-slot-value): Mark as obsolete. + (eieio-object-class-name): Improve call to eieio-class-name. + (eieio-slot-descriptor-name, eieio-class-slots): New functions. + (object-slots): Use it. Declare obsolete. + (eieio-constructor): Merge it with `make-instance'. + (initialize-instance): Use `dolist'. + (eieio-override-prin1, eieio-edebug-prin1-to-string): + Use eieio--class-print-name. + + * emacs-lisp/eieio-core.el (eieio--class-print-name): New function. + (eieio-class-name): Make it do what the docstring claims. + (eieio-defclass-internal): Simplify since `prots' isn't used any more. + (eieio--slot-name-index): Simplify accordingly. + (eieio-barf-if-slot-unbound): Pass the class object rather than its + name to `slot-unbound'. + + * emacs-lisp/eieio-base.el (make-instance): Add a method here rather + than on eieio-constructor. + + 2015-02-16 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default. + * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks + about relationship between `type', `named', and `slots'. + * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new + value of `cl-struct-type' property. + + 2015-02-15 Jérémy Compostella + + * net/tramp-sh.el (tramp-remote-process-environment): Disable paging + with PAGER=cat. (Bug#19870) + + 2015-02-14 Artur Malabarba + + * emacs-lisp/package.el (package-read-all-archive-contents): + Don't build the compatibility table. + (package-refresh-contents, package-initialize): Do build the + compatibility table. + (package--build-compatibility-table): New function. + (describe-package-1): Describe why a package is incompatible. + + 2015-02-14 Stefan Monnier + + * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children + of the parent. + (cl--assertion-failed): New function. + (cl-assertion-failed): Move in from cl-lib.el. + + * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register + as children of its parents. + (cl--make-type-test, cl--compiler-macro-typep): Remove functions. + (cl-typep): Reimplement using define-inline. + (cl-assert): Use cl--assertion-failed. + (cl-struct-slot-value): Use define-inline. + + * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload. + + * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844). + (flyspell-generic-check-word-p): Mark as obsolete. + + 2015-02-13 Artur Malabarba + + * emacs-lisp/package.el (package--compatibility-table): New var. + (package--add-to-compatibility-table): New function. + (package-read-all-archive-contents): Populate compatibility table. + (package--incompatible-p): Also look in dependencies. + (describe-package-1): Fix "incompat" handling. + + 2015-02-13 Lars Ingebrigtsen + + * net/rfc2104.el: Moved here from lisp/gnus. + + 2015-02-13 Magnus Henoch + + * net/sasl-scram-rfc.el: New file. + + * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5. + Add SCRAM-SHA-1 first. + (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1 + entry (bug#17636). + + 2015-02-13 Lars Ingebrigtsen + + * net/shr.el (shr-tag-li): Speed up rendering pages with lots of +
    . + + 2015-02-12 Oleh Krehel + + * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom. + (gdb-inferior-filter): Don't pop up the buried output buffer when + `gdb-display-io-nopopup' is non-nil. + + 2015-02-12 Fabián Ezequiel Gallina + + python.el: Allow killing shell buffer if process is dead. (Bug#19823) + + * progmodes/python.el (python-shell-font-lock-kill-buffer): + Don't require a running process. + (python-shell-font-lock-post-command-hook): Fontify only if the + shell process is running. + + 2015-02-11 Stefan Monnier + + * hi-lock.el (hi-lock-unface-buffer): Don't call + font-lock-remove-keywords if not needed (bug#19796). + + 2015-02-11 Artur Malabarba + + * emacs-lisp/package.el (package-install): Invert the second + argument, for better backwards compatibility. + (package-install-button-action, package-reinstall) + (package-menu-execute): Account for the change. + + 2015-02-11 Nicolas Petton + + * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible + version of seq-reverse that works on sequences in Emacs 24. + Bump seq.el version to 1.2. + + 2015-02-11 Artur Malabarba + + * emacs-lisp/package.el (package--incompatible-p): New function. + Return non-nil if PKG has no chance of being installable. + (package--emacs-version-list): New variable. + (describe-package-1, package-desc-status) + (package-menu--print-info, package-menu--status-predicate): + Account for the "incompat" status. + ++2015-02-11 Martin Rudalics ++ +2015-02-11 Jan Djärv + + * version.el (emacs-version): Add cairo version. + 2015-02-11 Martin Rudalics * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): diff --cc lwlib/ChangeLog index 20226373159,e5dfed2342a..2e317dd2f66 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@@ -1,6 -1,11 +1,14 @@@ +2015-04-03 Jan Djärv + + * Makefile.in (CAIRO_CFLAGS): Add. + 2015-03-18 Stefan Monnier + + * xlwmenu.c (pop_up_menu): Remove debugging code. + + 2015-02-28 Jan Djärv + + * xlwmenu.c (remap_menubar): Re-realize menu to force move under + Gnome 3. 2015-01-04 Paul Eggert diff --cc src/ChangeLog index d2cb70e2d08,7c7892a3fe8..8fe0e6f892a --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,188 -1,544 +1,729 @@@ + 2015-03-31 Eli Zaretskii + + * keyboard.c (read_key_sequence): Don't let + this_single_command_key_start become negative. (Bug#20223) + + 2015-03-29 Jan Djärv + + * gtkutil.c (xg_display_open): + * xterm.c (x_display_ok, x_term_init): Block SIGIO when opening + a display (Bug#19175). + + 2015-03-29 Martin Rudalics + + * gtkutil.c (update_theme_scrollbar_width): Don't round up + scroll bar width with GTK3 (Bug#20182). + + 2015-03-28 Jan Djärv + + * xsmfns.c (smc_save_yourself_CB): Return if Vinvocation_name or + user_login_name are not strings. + + 2015-03-28 Eli Zaretskii + + * w32.c (sys_connect): Fix a mistake in previous commit that broke + blocking connections. (Bug#20159) + + 2015-03-27 Paul Eggert + + Avoid some core dumps in X session management + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * xsmfns.c (smc_save_yourself_CB): Don't dump core if + invocation-name is not a string. Initialize user-login-name if it + is not already initialized, and don't dump core if it is not a + string. + (create_client_leader_window): Don't dump core if x-resource-name + and x-resource-class are not both strings. + (x_session_initialize): Don't dump core if x-session-previous-id, + invocation-directory, and invocation-name are not strings. + + Port user-login-name initialization to Qnil == 0 + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * editfns.c (Fuser_login_name, Fuser_real_login_name) + (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, + as this is no longer true now that Qnil == 0. + + Assume !BROKEN_NON_BLOCKING_CONNECT + From a suggestion by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html + * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that + BROKEN_NON_BLOCKING_CONNECT is not defined. + (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true. + + 2015-03-27 Eli Zaretskii + + * lread.c (substitute_object_recurse): For sub-char-tables, start + the recursive SUBSTITUTE loop from index of 2, to skip the + non-Lisp members of the sub-char-table. See the discussion at + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html + for the details. + + Support non-blocking connect on MS-Windows. + Based on ideas from Kim F. Storm , see + http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. + + * w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call + '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit + the thread with code 2. + (sys_select): Support 'wfds' in addition to 'rfds'. If a + descriptor in 'wfds' has its bit set, but the corresponding + fd_info member doesn't have its FILE_CONNECT flag set, ignore the + descriptor. Otherwise, acknowledge a successful non-blocking + connect by resetting the FILE_CONNECT flag and setting cp->status + to STATUS_READ_ACKNOWLEDGED. (Bug#20159) + + * w32.h (STATUS_CONNECT_FAILED): New enumeration value. + (struct _child_process): New member 'errcode'. + (FILE_CONNECT): New flag. + (_sys_wait_connect): Add prototype. + + * w32.c (pfn_WSAEnumNetworkEvents): New function pointer. + (init_winsock): Load WSAEnumNetworkEvents from winsock DLL. + (set_errno): Map WSAEWOULDBLOCK and WSAENOTCONN. + (sys_connect): Support non-blocking 'connect' calls by setting the + FILE_CONNECT flag in the fd_info member and returning EINPROGRESS. + (_sys_read_ahead): Add debug message if this function is called + for a descriptor that waits for a non-blocking connect to complete. + (_sys_wait_connect): New function. + (sys_read): Support STATUS_CONNECT_FAILED. Return the error code + recorded by _sys_wait_connect when the non-blocking connect + failed. Don't call WSAGetLastError before a call to set_errno had + a chance to use its value, since WSAGetLastError clears the last + error. + + 2015-03-25 Stefan Monnier + + * editfns.c (save_excursion_save): Don't save the mark. + (save_excursion_restore): Don't restore the mark. + (Fsave_excursion): Fix docstring accordingly. + + 2015-03-24 Paul Eggert + + Fix minor ldexp issues + * floatfns.c (Fldexp): Require 2 args. Avoid undefined behavior + if the exponent is out of 'int' range. Improve documentation. + Fixes: bug#20185 + + 2015-03-24 Daniel Colascione + + * process.c (Fprocess_running_child_p): Return number identifier of + the foreground process group if we know it. + + 2015-03-23 Paul Eggert + + Minor refactoring of new Fmake_process code + * process.c (Fmake_process): Refactor to avoid call to Flength, to + avoid cast to 'char **', and to reduce indenting and reuse of locals. + + 2015-03-23 Daiki Ueno + + * process.c (Fmake_process): New function. + (create_process, create_pty): Check p->pty_flag instead of + Vprocess_connection_type. + (syms_of_process): Register QCcommand, QCconnection_type, Qpty, + Qpipe, and Smake_process. Unregister Sstart_process. + + 2015-03-22 Jan Djärv + + * fontset.c (fontset_pattern_regexp): Replace + 1 with + 3 for + regexsize (Bug#20156). + + 2015-03-21 Eli Zaretskii + + * emacs.c (synchronize_locale) [WINDOWSNT]: Ignore 'category' and + always use LC_ALL instead. Fixes problems with setting + system-time-locale to something non-default. + + 2015-03-18 Glenn Morris + + * frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is + nil/not present in the parameter alist. (Bug#19680) + + 2015-03-18 Stefan Monnier + + * alloc.c (purecopy): Handle hash-tables. + + 2015-03-16 Stefan Monnier + + * minibuf.c (Fread_buffer): Add `predicate' argument. + * callint.c (Fcall_interactively): Adjust calls accordingly. + + 2015-03-15 Eli Zaretskii + + * xdisp.c (handle_invisible_prop): Fix up it->position even when + we are going to load overlays at the beginning of the invisible text. + (setup_for_ellipsis): Reset the ignore_overlay_strings_at_pos_p + flag also here. + (next_overlay_string): Set the overlay_strings_at_end_processed_p + flag only if the overlays just processed were actually loaded at EOB. + + 2015-03-14 Daniel Colascione + + * emacs.c (standard_args): Add --no-x-resources. + (usage_message): Document that -Q implies --no-x-resources. + + 2015-03-13 Paul Eggert + + * frame.c (x_get_resource_string) [!USE_GTK]: Don't define. + + * editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static. + + 2015-03-12 Eli Zaretskii + + * w32font.c (font_supported_scripts): Add subranges for Latin + Supplement, Latin Extended-A/B, Vai, Supplemental Punctuation, Tai + Le, Buginese, Yijing Hexagrams, Ancient Greek Numbers, Tai Xuan + Jing, Counting Rods, Sundanese, Lepcha, Ol Chiki, Saurashtra, + Kayah Li, Rejang, Ancient Symbols, Phistos Disc, Carian, Lycian, + Lydian, Dominoe Tiles, and Mahjong Tiles. Break the Mathematical + Alphanumeric Symbols into several "scripts" like fontset.el does. + (Bug#19993) + (syms_of_w32font): DEFSYM all the new script symbols. + + 2015-03-07 Eli Zaretskii + + * w32fns.c : + Fix typedefs to be consistent with the corresponding w32 API + signatures. + (w32_wnd_proc) : Don't invoke + DefWindowProc if we successfully handled the message, as doing so + causes problems in displaying selection dialogs. (Bug#11732) + + 2015-03-05 Paul Eggert + + Work around x86 glibc backtrace bug + * sysdep.c (emacs_backtrace): Don't dump core on x86. + Fixes: bug#19959 + + 2015-03-05 Eli Zaretskii + + * keyboard.c (make_lispy_position): When the click is on the + right-side vertical scroll bar, pass the rightmost X coordinate to + buffer_posn_from_coords, so that the returned text position + reflects the closest point to the click. Fixes region extension + when mouse moves outside the Emacs frame that has scroll bars on + the right. + + 2015-03-04 Martin Rudalics + + * frame.c (x_set_font): Try to keep frame height and width + unchanged if tool bar size changes with new font. + + 2015-03-03 Eli Zaretskii + + * search.c (find_newline): Avoid assertion violations in + CHAR_TO_BYTE when a portion of the buffer was deleted and we look + for newlines near the end of the buffer. This happens in Rmail + when JIT font-lock fontifies a newly displayed portion of the + buffer. + + 2015-03-03 Eli Zaretskii + + * w32fns.c (Fw32__menu_bar_in_use): New internal function. + (Bug#19925) + + 2015-03-03 Glenn Morris + + * fileio.c (Fmake_temp_name): Doc tweaks. (Bug#19858) + + 2015-03-03 Eli Zaretskii + + * menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call + mouse_position_for_popup only for X frames. (Bug#19862) + + 2015-03-03 Eli Zaretskii + + * buffer.c (syms_of_buffer): Doc fix. (Bug#19841) + + 2015-03-03 Eli Zaretskii + + * xfaces.c (map_tty_color): Use assoc_no_quit instead of + assq_no_quit to fetch color definition by its string name. + (Bug#19802) + + 2015-03-03 Eli Zaretskii + + * xdisp.c (move_it_in_display_line_to): Handle the case where the + last character of a screen line is whitespace, and we are under + word-wrap with overflow-newline-into-fringe turned on. + (Bug#19769) + + 2015-03-03 Eli Zaretskii + + * xdisp.c (handle_stop, handle_single_display_spec) + (next-element_from_image): Don't reset the + ignore_overlay_strings_at_pos_p flag here. + (next_element_from_buffer): Reset ignore_overlay_strings_at_pos_p + here. + (next_overlay_string): Set ignore_overlay_strings_at_pos_p here, + after we've exhausted all the overlay strings at the current + position. (Bug#19307) + + 2015-03-03 Eli Zaretskii + + * xdisp.c (set_iterator_to_next): Set value of stop_charpos + according to the object we are about to resume iterating. + (Bug#19307) + + * dispnew.c (adjust_glyph_matrix): Set the update_mode_line flag + of the window whose current glyph matrix was resized, which + disables the mode-line row as side effect. + + * xdisp.c (redisplay_window): Don't avoid redisplay of a window + whose update_mode_line flag is set. (Bug#19721) + + 2015-03-03 Eli Zaretskii + + * dispextern.h (FACE_FOR_CHAR): Fix the commentary. + + 2015-03-03 Daniel Colascione + + * alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'. + + 2015-03-03 Paul Eggert + + * alloc.c (run_finalizers): Omit unused local. + Also, redo newly-added code as per usual Emacs style. + + 2015-03-03 Martin Rudalics + + * frame.c (adjust_frame_size): If the pixel sizes remain + unchanged but the number of lines or columns of the frame + changes, run `window--pixel-to-total' (Bug#19972). + (Qwindow_pixel_to_total): DEFSYM it. + + 2015-03-03 Daniel Colascione + + * print.c (print_object): Print whether a finalizer has + been called. + + * data.c (Ftype_of): Make `type-of' work with finalizers. + (syms_of_data): Register Qfinalizer. + + 2015-03-02 Daniel Colascione + + * print.c (print_object): Print finalizers. + + * alloc.c: + (finalizers, doomed_finalizers): New variables. + (init_finalizer_list, finalizer_insert, unchain_finalizer) + (mark_finalizer_list, queue_doomed_finalizers) + (run_finalizer_handler, run_finalizer_function, run_finalizers): + New functions. + (garbage_collect_1, mark_object, sweep_misc) + (init_alloc_once, syms_of_alloc): Support finalizers. + (gc-precise-p): New Lisp variable. + + * lisp.h (Lisp_Misc_Type): New value Lisp_Misc_Finalizer. + (FINALIZERP, XFINALIZER): New functions. + (Lisp_Finalizer): New structure. + + 2015-02-28 Paul Eggert + + * character.c (alphabeticp, decimalnump): Avoid undefined behavior + if CATEGORY is not an integer, or is an integer out of + unicode_category_t range. + + 2015-02-28 Martin Rudalics + + * frame.c (make_initial_frame, Fmake_terminal_frame): + Set can_x_set_window_size and after_make_frame (Bug#19962). + + 2015-02-28 Eli Zaretskii + + * character.c (alphabeticp, decimalnump): New functions. + * character.h (alphabeticp, decimalnump): Add prototypes. + + * regex.c (ISALNUM, ISALPHA): Check Unicode character properties + for multibyte characters by calling alphabeticp and decimalnump. + (BIT_ALPHA, BIT_ALNUM): New bit masks. + (re_wctype_to_bit): Return them when the class is RECC_ALPHA or + RECC_ALNUM. + (re_match_2_internal): Call ISALPHA and ISALNUM when appropriate. + (Bug#19878) + + 2015-02-27 Jan Djärv + + * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also. + + * xmenu.c (x_menu_show): Adjust for new arg to x_real_pos_and_offsets. + + * xfns.c (x_real_pos_and_offsets): Take outer_border as arg also. + Initialize all args. Get outer_border from window attributes. + Fix typo for top_offset_y. + (x_real_positions): Adjust for new arg to x_real_pos_and_offsets. + (Fx_frame_geometry): Get outer_border also. Use attrs.width/height. + + 2015-02-27 Mark Laws + + Support daemon mode on MS-Windows (bug#19688) + * emacs.c [WINDOWSNT]: New global var. + (main) [WINDOWSNT]: Initialize it to NULL. Create the event to + signal clients we are ready for connections. + (Fdaemon_initialized): Use DAEMON_RUNNING. + [WINDOWSNT]: MS-Windows specific code to signal clients we are + ready for connections. + + * lisp.h (DAEMON_RUNNING): New macro, encapsulates Posix and + MS-Windows conditions for running in daemon mode. + + * minibuf.c (read_minibuf): Use DAEMON_RUNNING. + + * keyboard.c (kbd_buffer_get_event): Use DAEMON_RUNNING. + + * dispnew.c (init_display) [WINDOWSNT]: Initialize frames/terminal + even in daemon mode. + + 2015-02-26 Jan Djärv + + * xmenu.c (create_and_show_popup_menu): Call XTranslateCoordinates, + dont use OUTER_TO_INNER macros. + (x_menu_show): Call x_real_pos_and_offsets, don't use + OUTER_TO_INNER macros. + + 2015-02-26 Eli Zaretskii + + * dispextern.h (FACE_FOR_CHAR): Fix the commentary. + + 2015-02-26 Hans Wennborg (tiny change) + + * emacs.c (decode_env_path): Add parentheses around ternary + operator to increase readability and pacify compiler warnings. + + 2015-02-26 Eli Zaretskii + + * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not + ready") to ENOENT. + + 2015-02-26 Paul Eggert + + * xfns.c (x_real_pos_and_offsets): Fix pointer signedness. + + 2015-02-25 Jan Djärv + + * xterm.h (struct x_output): Remove x_pixels_outer_diff, + y_pixels_outer_diff, FRAME_OUTER_TO_INNER_DIFF_X, + FRAME_OUTER_TO_INNER_DIFF_Y. Declare x_real_pos_and_offsets. + + * xmenu.c (create_and_show_popup_menu): Use XTranslateCoordinates + instead of OUTER_TO_INNER_DIFF macros. + + * xfns.c (x_real_pos_and_offsets): New function, basically the code + from x_real_positions. + (x_real_positions): Call x_real_pos_and_offsets. + (x_relative_mouse_position): Use XTranslateCoordinates instead of + OUTER_TO_INNER_DIFF macros. + (Fx_frame_geometry): Get offsets with x_real_pos_and_offsets, + border from window attributes. Adjust tool bar and menu widths. + + * w32fns.c (x_real_positions): Remove setting of x_pixels_diff, + y_pixels_diff. + + * frame.h (struct frame): Remove x_pixels_diff, y_pixels_diff. + + 2015-02-25 Paul Eggert + + Backtrace after malloc arena is corrupted + Without this change, if the malloc arena is corrupted and then + 'backtrace' is called, the backtrace can crash because 'backtrace' + calls 'malloc'. For more, please see: + https://sourceware.org/ml/libc-alpha/2015-02/msg00678.html + * emacs.c (main): Initialize tables used by 'backtrace'. + * sysdep.c (emacs_backtrace): Document the newly used part of the API. + + 2015-02-22 Jan Djärv + + * nsfns.m (Fx_frame_geometry): New function. + (syms_of_nsfns): Defsubr Sx_frame_geometry. + + 2015-02-22 Paul Eggert + + Spelling fixes + * lisp.h (DEFINE_NON_NIL_Q_SYMBOL_MACROS): + Rename from DEFINE_NONNIL_Q_SYMBOL_MACROS. All uses changed. + + 2015-02-21 Eli Zaretskii + + * w32term.c (queue_notifications): + * w32inevt.c (handle_file_notifications): + * w32font.c (w32_enumfont_pattern_entity): Prefer 'Qfoo' to + 'intern ("foo")'. + + 2015-02-21 Paul Eggert + + Prefer 'Qfoo' to 'intern ("foo")' + * buffer.c (syms_of_buffer): + * bytecode.c (exec_byte_code): + * callint.c (Fcall_interactively): + * callproc.c (create_temp_file): + * charset.c (define_charset_internal): + * coding.c (syms_of_coding): + * editfns.c (syms_of_editfns): + * emacs.c (main): + * fns.c (syms_of_fns): + * frame.c (delete_frame, Fframe_parameters): + * keyboard.c (syms_of_keyboard): + * keymap.c (syms_of_keymap): + * minibuf.c (read_minibuf, syms_of_minibuf): + * nsfns.m (ns_cursor_type_to_lisp): + * textprop.c (syms_of_textprop): + * xdisp.c (Fformat_mode_line, syms_of_xdisp): + * xfns.c (x_create_tip_frame, Fx_select_font): + * xml.c (parse_region): + Prefer constants like 'Qfoo' to calls like 'intern ("foo")'. + * buffer.c (syms_of_buffer): OK to do (put 'erase-buffer 'disabled + t) here now ... + (keys_of_buffer): ... instead of here. + * ftfont.c (syms_of_ftfont): Move DEFSYM of Qmono from here ... + * xfns.c (syms_of_xfns): ... to here, since ftfont.c is more + optional than xfns.c. + + 2015-02-20 Jan Djärv + + * emacs.c (terminate_due_to_signal): Move totally_unblock_input after + setting fatal_error_in_progress, so gobble_input and *read_socket are + not read if there are pending_signals. + + 2015-02-20 Paul Eggert + + Simplify binary I/O configuration + * lread.c (Fload): Prefer FOPEN_TEXT and FOPEN_BINARY to #ifdef DOS_NT. + * sysstdio.h: Add copyright notice. Include . + (FOPEN_BINARY, FOPEN_TEXT): New macros. + * xfaces.c (Fx_load_color_file): Use FOPEN_TEXT, since POSIX + doesn't guarantee that "t" will work. + + 2015-02-19 Eli Zaretskii + + * keyboard.c (read_char): Make sure this_single_command_key_start + is in sync with this_command_key_count, around the call to + input-method-function. (Bug#19774) + + 2015-02-19 Fujii Hironori (tiny change) + + * w32fns.c (w32_wnd_proc) : Pass the + message to DefWindowProc, after positioning the IME window, to + trigger its display. (Bug#11732) + + 2015-02-18 Eli Zaretskii + + * emacs.c (Fkill_emacs): Exit with specified exit code even if + stdin is at EOF. (Bug#19897) + + 2015-02-18 Oscar Fuentes + + * keyboard.c (read_char): When there is an input method function, + do not restore the echo area if a prefix argument is being + introduced. (Bug#19875) + + 2015-02-16 Kelly Dean + + * src/keyboard.c (timer_check_2): Fix incorrect comment. + + 2015-02-14 Martin Rudalics + + * xterm.c (x_frame_normalize_before_maximize): Fix doc-string. + Suggested by Alan Mackenzie . + + 2015-02-14 Eli Zaretskii + + * menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call + x_relative_mouse_position only for X frames. (Bug#19862) + + 2015-02-13 Paul Eggert + + Better support for future plugins + * lisp.h (DEFINE_LISP_SYMBOL): New macro, replacing and simplifying + DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END. All uses changed. + (DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true. + +2015-02-19 YAMAMOTO Mitsuharu + + * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen. + +2015-02-17 YAMAMOTO Mitsuharu + + * xterm.c [USE_CAIRO]: Include math.h. + (enum corners) [USE_CAIRO]: New enum. + (x_erase_corners_for_relief) [USE_CAIRO]: New function. + (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger + than 1, draw the outermost line using the black relief. + +2015-02-16 YAMAMOTO Mitsuharu + + * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page) + (xg_print_frames_dialog): Modernize k&r declarations. + + * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup) + (Fx_print_frames_dialog): Modernize k&r declarations. + + * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of + XFillRectangle. + (x_draw_horizontal_wave) [USE_CAIRO]: New function. + (x_draw_underwave) [USE_CAIRO]: Use it. + (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip) + (x_end_cr_clip, x_set_cr_source_with_gc_foreground) + (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) + (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data) + (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw) + (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle) + (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief) + (x_clear_area): Modernize k&r declarations. + (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle) + (x_fill_trapezoid_for_relief): Use int instead of unsigned int for + width and height args. + (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead + of XSetClipMask. + (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. + (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. + +2015-02-14 YAMAMOTO Mitsuharu + + * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for + cairo image surface. + + * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty. + +2015-02-11 YAMAMOTO Mitsuharu + Jan Djärv + + * xterm.h: Add include of cairo header files. + (x_bitmap_record): Add img if cairo. + (x_gc_ext_data): New struct for cairo. + (x_display_info): Add ext_codes for cairo. + (x_output): Add cr_context and cr_surface for cairo. + (x_clear_area): Change arguments from Display*/Window to frame pointer. + (x_query_color, x_begin_cr_clip, x_end_cr_clip) + (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background) + (x_cr_draw_frame, x_cr_export_frames): Declare. + + * xterm.c (x_clear_area1, x_prepare_for_xlibdraw) + (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle) + (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window) + (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data): + Declare. + (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros. + (max_fringe_bmp, fringe_bmp): New variables. + (x_gc_get_ext_data, x_extension_initialize) + (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip) + (x_set_cr_source_with_gc_foreground) + (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) + (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame) + (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames) + (x_prepare_for_xlibdraw, x_set_clip_rectangles) + (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle) + (x_clear_window, x_fill_trapezoid_for_relief): New functions. + (x_update_begin): Create cairo surface if needed. + (x_draw_vertical_window_border): Call x_fill_rectangle for cairo. + (x_update_end): Paint cairo drawing surface to xlib surface. + (x_clear_under_internal_border, x_after_update_window_line): Adjust + arguments to x_clear_area. + (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and + call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead + of XSetClipMask. + (x_set_glyph_string_clipping) + (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles + instead of XSetClipRectangles. + (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use + x_fill_rectangle instead of XFillRectangle. + (x_draw_glyph_string_foreground) + (x_draw_composite_glyph_string_foreground) + (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead + of XDrawRectangle. + (x_draw_relief_rect): Add code for USE_CAIRO. + Call x_reset_clip_rectangles instead of XSetClipMask. + (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles, + x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles + instead of XSetClipMask. + (x_draw_image_foreground, x_draw_image_foreground_1): + x_draw_rectangle instead of XDrawRectangle. + (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of + XFillRectangle. + (x_draw_image_glyph_string): If img has cr_data, use it as + a cairo surface. + (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of + XSetClipRectangles, x_fill_rectangle instead of XFillRectangle. + (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle., + x_reset_clip_rectangles instead of XSetClipMask. + (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw. + (x_clear_area1): New function that calls XClearArea. + (x_clear_area): Takes frame as parameter, calls x_clear_area1 for + non-cairo. + (x_clear_frame): x_clear_window instead of XClearWindow. + (x_scroll_run): Set frame garbaged if cairo. + (XTmouse_position): Initialize *part to 0. + (x_scroll_bar_create): Adjust arguments to x_clear_area. + (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area, + x_fill_rectangle instead of XFillRectangle. + (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust + arguments to x_clear_area. + (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle. + (handle_one_xevent): Adjust arguments to x_clear_area. + Destroy cairo surface for frame if ConfigureNotify. + (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles. + (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle, + x_reset_clip_rectangles instead of XSetClipMask. + (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle, + x_reset_clip_rectangles instead of XSetClipMask. + (x_clear_frame_area): Adjust arguments to x_clear_area. + (x_free_frame_resources): Call x_prepare_for_xlibdraw. + (x_term_init): Call x_extension_initialize if cairo. + (x_redisplay_interface): Add x_cr_define_fringe_bitmap, + x_cr_destroy_fringe_bitmap for cairo. + (x_initialize): Call x_cr_init_fringe for cairo. + + * xfns.c: New section Printing. + (x-export-frames, x-page-setup-dialog, x-get-page-setup) + (x-print-frames-dialog): New printing functions. + (Fx_create_frame, x_create_tip_frame): Register ftcrfont if + cairo. + (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin, + Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape). + (syms_of_xfns): Provide cairo and defvar cairo-version-string. + defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog. + + * image.c: Add defined (USE_CAIRO) for PNG. + Add !defined USE_CAIRO for W32 PNG code. + (x_clear_image): If cairo, destroy the surface in cr_data. + (png_load): Add new cairo compatible implementation. + (lookup_image_type): Add defined (USE_CAIRO) for define png_type. + + * gtkutil.h (xg_page_setup_dialog, xg_get_page_setup) + (xg_print_frames_dialog): Declare. + + * gtkutil.c (xg_clear_under_internal_border) + (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only + queue_draw if not cairo. Change args to x_clear_area. + (xg_get_font): Use Qftcr when using cairo, Qxft otherwise. + (xg_page_setup_dialog, xg_get_page_setup, draw_page) + (xg_print_frames_dialog): New functions for printing. + + * ftfont.h (ftfont_open2, ftfont_info_size): Declare. + + * ftfont.c (ftfont_info_size); New global variable. + (ftfont_open2): New extern function almost the same as old ftfont_open, + but takes the font_object as argument. + (ftfont_open): Build font object and call ftfont_open2. + + * ftcrfont.c: New font driver for cairo, based on the ftfont driver. + + * fringe.c (x_cr_init_fringe): New function name that shares code + with w32_init_fringe. + + * font.h (ftcrfont_driver, syms_of_ftcrfont): Declare + + * font.c (syms_of_font): Call syms_of_ftcrfont for cairo. + + * dispextern.h (struct image): Add cr_data for cairo. + (x_cr_init_fringe): Declare. + + * Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables. + (FONT_OBJ): Add comment about ftcrfont. + (ALL_CFLAGS): Add CAIRO_CFLAGS. + (LIBES): Add CAIRO_LIBS. + 2015-02-11 Martin Rudalics * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and diff --cc src/xfns.c index 5b591d31769,bd1db1013d0..80c214a7a56 --- a/src/xfns.c +++ b/src/xfns.c @@@ -6354,17 -6263,8 +6423,18 @@@ syms_of_xfns (void DEFSYM (Qcompound_text, "compound-text"); DEFSYM (Qcancel_timer, "cancel-timer"); DEFSYM (Qfont_param, "font-parameter"); + DEFSYM (Qmono, "mono"); +#ifdef USE_CAIRO + DEFSYM (Qorientation, "orientation"); + DEFSYM (Qtop_margin, "top-margin"); + DEFSYM (Qbottom_margin, "bottom-margin"); + DEFSYM (Qportrait, "portrait"); + DEFSYM (Qlandscape, "landscape"); + DEFSYM (Qreverse_portrait, "reverse-portrait"); + DEFSYM (Qreverse_landscape, "reverse-landscape"); +#endif + Fput (Qundefined_color, Qerror_conditions, listn (CONSTYPE_PURE, 2, Qundefined_color, Qerror)); Fput (Qundefined_color, Qerror_message,