]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Fix fontification of type when followed by "const".
[gnu-emacs] / lisp / ChangeLog
index 32ea5e72efdb9e14a07fc97435982b75381330d3..49f5d73442e0cec9e482106f2a0457456364e21f 100644 (file)
@@ -1,3 +1,421 @@
+2013-09-18  Alan Mackenzie  <acm@muc.de>
+
+       Fix fontification of type when followed by "const".
+       * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
+       "known" types from fontification.
+
+2013-09-18  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/chart.el (x-display-color-cells): Declare.
+       (chart-face-list): Drop Emacsen without display-color-p.
+
+       * net/eww.el (libxml-parse-html-region): Declare.
+       (eww-display-html): Explicit error if no libxml2 support.
+
+       * doc-view.el (doc-view-mode): Silence --without-x compilation.
+
+       * image.el (image-type-from-buffer, image-multi-frame-p):
+       Remove --without-x warning/error.
+
+       * mouse.el (mouse-yank-primary):
+       * term.el (term-mouse-paste):
+       Reorder to silence --without-x compilation.
+
+       * mpc.el (doc-view-mode): Silence --without-x compilation.
+
+       * mail/rmailmm.el (rmail-mime-set-bulk-data):
+       Silence --without-x compilation.
+
+       * progmodes/gud.el (gud-find-file, gud-mode):
+       Silence --without-x compilation.
+       (tooltip-mode): Declare.
+
+       * wdired.el (dired-backup-overwrite): Remove declaration.
+       (wdired-mode-map): Add doc string.
+
+       * custom.el (x-get-resource): Declare.
+
+       * eshell/em-glob.el (ange-cache):
+       * eshell/em-unix.el (ange-cache): Declare.
+
+       * faces.el (x-display-list, x-open-connection, x-get-resource):
+       Declare.
+
+       * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
+       (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
+       Declare.
+
+       * frame.el (x-display-grayscale-p, x-display-name): Declare.
+
+       * net/gnutls.el (gnutls-log-level): Declare.
+
+       * net/shr.el (image-size, image-animate): Declare.
+
+       * simple.el (font-info): Declare.
+
+       * subr.el (x-popup-dialog): Declare.
+
+       * term/common-win.el (x-select-enable-primary)
+       (x-last-selected-text-primary, x-last-selected-text-clipboard):
+       Declare.
+
+       * term/ns-win.el (x-handle-args): Declare.
+
+       * term/x-win.el (x-select-enable-clipboard): Declare.
+
+       * term/w32-win.el (create-default-fontset): Declare.
+
+       * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
+       Declare.
+
+       * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
+       (fit-frame-to-buffer): Explicit error if --without-x.
+       (mouse-autoselect-window-select): Silence compiler.
+
+       * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
+
+       * eshell/em-cmpl.el (eshell-complete-parse-arguments):
+       * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
+       * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
+       * eshell/esh-util.el (eshell-sublist):
+       Remove unused local variables.
+
+       * eshell/esh-io.el (x-select-enable-clipboard): Declare.
+
+       * textmodes/two-column.el: Make 2C-split work for --without-x.
+       (scroll-bar-columns): Autoload.
+       (top-level): Require fringe when compiling.
+
+2013-09-18  Leo Liu  <sdl.web@gmail.com>
+
+       * subr.el (add-hook): Robustify to handle closure as well.
+
+2013-09-17  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (messages-buffer-mode-map): Unbind "g".
+
+2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * help-mode.el (help-mode-finish): Use derived-mode-p.
+       Remove obsolete highlighting.
+
+       * play/life.el (life-mode): Use define-derived-mode.  Derive from
+       special-mode.
+       (life): Let-bind inhibit-read-only.
+       (life-setup): Avoid `setq'.  Use `life-mode'.
+
+       * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
+       which should not be needed any more.
+       (package-menu-refresh, package-menu-describe-package): Use user-error.
+
+       * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
+       (eshell-post-rewrite-command-hook): Make obsolete.
+       (eshell-parse-command): Simplify.
+       (eshell-structure-basic-command): Remove unused arg `vocal-test'.
+       (eshell--cmd): Declare.
+       (eshell-parse-pipeline): Remove unused var `final-p'.
+       Pass a dynvar to eshell-post-rewrite-command-hook.
+       Implement the new eshell-post-rewrite-command-function.
+       (eshell-invoke-directly): Remove unused arg `input'.
+       * eshell/esh-io.el (eshell-io-initialize):
+       Use eshell-post-rewrite-command-function (bug#15399).
+       (eshell--apply-redirections): Rename from eshell-apply-redirections;
+       adjust to new calling convention.
+       (eshell-create-handles): Rename args to avoid clashing with dynvar
+       `standard-output'.
+
+2013-09-17  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (messages-buffer-mode): New major mode.
+       (messages-buffer): New function.
+       * startup.el (normal-top-level): Switch mode of *Messages* buffer.
+       * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
+       (ert-run-test): Use `messages-buffer' function.
+       (ert--force-message-log-buffer-truncation): Ignore read-only.
+       * help.el (view-echo-area-messages): Use `messages-buffer' function.
+       * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
+
+2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
+
+       * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
+
+2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * icomplete.el (icomplete-in-buffer): New var.
+       (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
+       vars and replace them with functions.
+       (icomplete-minibuffer-setup): Adjust accordingly.
+       (icomplete--completion-table, icomplete--completion-predicate)
+       (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
+       New functions.
+       (icomplete-forward-completions, icomplete-backward-completions)
+       (icomplete-simple-completing-p, icomplete-exhibit)
+       (icomplete-completions): Use them.
+       (icomplete--in-region-buffer): New var.
+       (icomplete--in-region-setup): New function.
+       (icomplete-mode): Use it.
+
+       * eshell/esh-opt.el: Fix last change to set lexical-vars properly
+       (bug#15379).
+       (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
+       return args and options.
+       (eshell-eval-using-options): Use the new return value of
+       eshell--do-opts to set the options's vars in their scope.
+       (eshell--set-option): Rename from eshell-set-option.
+       Add arg `opt-vals'.
+       (eshell--process-option): Rename from eshell-process-option.
+       Add arg `opt-vals'.
+       (eshell--process-args): Use an `opt-vals' alist to store the options's
+       values during their processing and return them additionally to the
+       remaining args.
+
+2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-operator-re): Consider line
+       continuation character an operator, as far as indentation is
+       concerned (Bug#15369).
+
+2013-09-15  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window--state-put-2): Don't process buffer state
+       when buffer doesn't exist any more (Bug#15382).
+
+2013-09-15  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/em-unix.el (eshell/rm):
+       Make -f ignore missing files.  (Bug#15373)
+
+       * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
+       (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
+       * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
+
+2013-09-14  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
+
+2013-09-13  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el (dired-guess-shell-alist-user): Doc fix.
+       (dired-guess-default): Make `file' available in the env.  (Bug#15363)
+
+2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * frame.el (x-focus-frame): Mark as declared in frame.c.
+
+2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ls-lisp.el: Use advice-add.
+       (original-insert-directory): Remove.
+       (ls-lisp--insert-directory): Rename from insert-directory; add
+       `orig-fun' argument.
+       (insert-directory): Advise.
+
+2013-09-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * term.el (term-emulate-terminal): Decode the command string
+       before passing it to term-command-hook.  (Bug#15337)
+
+2013-09-13  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/esh-util.el (ange-cache): Move declaration earlier.
+
+       * eshell/esh-ext.el (eshell-search-path): Declare.
+
+       * eshell/em-prompt.el (eshell/pwd): Autoload it.
+       Otherwise an error occurs if eshell-dirs module not loaded.
+
+       * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
+
+2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
+       `tramp-check-proper-host'.  Check for a valid method name.
+
+       * net/tramp-adb.el (tramp-adb-maybe-open-connection):
+       * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
+       * net/tramp-sh.el (tramp-maybe-open-connection):
+       * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
+
+       * net/tramp-cache.el (tramp-cache-print): Don't print text properties
+       also for hash values.
+
+2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term/ns-win.el (parameters): Don't declare as dynamic.
+       (before-make-frame-hook): Don't add ineffective function.
+
+       * eshell/*.el: Use lexical-binding (bug#15231).
+
+2013-09-12  Kenichi Handa  <handa@gnu.org>
+
+       * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
+
+2013-09-12  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
+       (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
+
+       * subr.el (do-after-load-evaluation): Also give compiler warnings
+       when obsolete files are used (except by obsolete files).
+
+       * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
+       in the status output, assume `filename' is the first.  (Bug#15322)
+
+       * vc/vc.el (vc-deduce-fileset): Doc fix.
+
+       * calc/calc-help.el (Info-goto-node):
+       * progmodes/cperl-mode.el (Info-find-node):
+       * vc/ediff.el (Info-goto-node): Update declarations.
+
+       * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
+
+       * vc/vc-bzr.el (vc-compilation-mode): Declare.
+       (vc-bzr-pull): Require vc-dispatcher.
+       * vc/vc-git.el (vc-compilation-mode): Declare.
+       (vc-git-pull): Require vc-dispatcher.
+
+       * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
+
+       * progmodes/octave.el (help-button-action): Declare.
+
+       * shell.el (shell-directory-tracker): Output error as a message
+       rather than just returning it as a string.
+       (shell-process-pushd): Remove useless use of message.
+
+       * dframe.el (dframe-timer-fn):
+       * files.el (dir-locals-read-from-file):
+       * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
+       (mpc-format):
+       * reveal.el (reveal-post-command):
+       * saveplace.el (load-save-place-alist-from-file):
+       * shell.el (shell-resync-dirs):
+       * w32-common-fns.el (x-get-selection-value):
+       * emacs-lisp/copyright.el (copyright-find-copyright):
+       * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
+       * emulation/tpu-edt.el (tpu-copy-keyfile):
+       * play/bubbles.el (bubbles--mark-neighbourhood):
+       * progmodes/executable.el
+       (executable-make-buffer-file-executable-if-script-p):
+       * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
+
+2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Cleanup Eshell to rely less on dynamic scoping.
+       * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
+       last-value, and ext-command here.  Bind `args' closer to `body'.
+       (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
+       (eshell--args): Declare new dynamic var.
+       (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
+       last-value, and ext-command.  Pass `args' to `body'.
+       (eshell-process-args): Bind eshell--args.
+       (eshell-set-option): Use eshell--args.
+       * eshell/eshell.el (eshell): Use derived-mode-p.
+       * eshell/esh-var.el (eshell-parse-variable): Use backquote.
+       (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
+       (eshell-glob-function): Declare.
+       * eshell/esh-util.el: Require cl-lib.
+       (eshell-read-hosts-file): Avoid add-to-list.
+       * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
+       `err'.
+       * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
+       Declare.
+       (eshell/diff): Remove unused var `err'.
+       * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
+       `killflag'.
+       * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
+       * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
+       first use.
+       * eshell/em-glob.el (eshell-glob-matches, message-shown):
+       Move declaration before first use.
+       * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
+       * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
+       rely on cl-return.
+
+2013-09-12  Glenn Morris  <rgm@gnu.org>
+
+       * term/ns-win.el (global-map): Remove binding for ispell-next,
+       deleted 1999-05-29.  (Bug#15357)
+
+2013-09-11  Glenn Morris  <rgm@gnu.org>
+
+       * echistory.el (electric-command-history): Remove call to deleted func.
+
+       * play/landmark.el (landmark-mode): Fix typos.
+
+       * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
+       Check cvs-sort-ignore-file is bound.
+
+       * savehist.el: No need for cl when compiling on Emacs.
+
+2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
+       (bug#15338).
+       (eshell-self-insert-command, eshell-send-invisible):
+       Remove unused argument.
+       (eshell-handle-control-codes): Remove unused var `orig'.
+       Avoid delete-backward-char.
+
+       * files.el (set-auto-mode): Simplify a bit further.
+
+2013-09-11  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (interpreter-mode-alist): Remove \\` \\' parts.
+       (set-auto-mode): Don't regexp-quote elements.
+       * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
+       * progmodes/cc-mode.el (interpreter-mode-alist):
+       * progmodes/ruby-mode.el (interpreter-mode-alist):
+       Revert previous change.
+
+2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * play/snake.el (snake-mode):
+       * play/mpuz.el (mpuz-mode):
+       * play/landmark.el (lm-mode):
+       * play/blackbox.el (blackbox-mode):
+       * play/5x5.el (5x5-mode):
+       * obsolete/options.el (Edit-options-mode):
+       * net/quickurl.el (quickurl-list-mode):
+       * net/newst-treeview.el (newsticker-treeview-mode):
+       * mail/rmailsum.el (rmail-summary-mode):
+       * mail/mspools.el (mspools-mode):
+       * locate.el (locate-mode):
+       * ibuffer.el (ibuffer-mode):
+       * emulation/ws-mode.el (wordstar-mode):
+       * emacs-lisp/debug.el (debugger-mode):
+       * array.el (array-mode):
+       * net/eudc.el (eudc-mode): Use define-derived-mode.
+       * net/mairix.el (mairix-searches-mode-font-lock-keywords):
+       Move initialization into declaration.
+       (mairix-searches-mode): Use define-derived-mode.
+       * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
+       (eudc-edit-hotlist): Use dolist.
+       * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
+       (Man-mode): Use define-derived-mode.
+       * info.el (Info-edit-mode-map): Rename from Info-edit-map.
+       (Info-edit-mode): Use define-derived-mode.
+       (Info-cease-edit): Use Info-mode.
+       * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
+       into declaration.
+       (eshell-mode): Use define-derived-mode.
+       * chistory.el (command-history-mode-map): Rename from
+       command-history-map.
+       (command-history-mode): Use define-derived-mode.
+       (Command-history-setup): Remove function.
+       * calc/calc.el (calc-trail-mode-map): New var.
+       (calc-trail-mode): Use define-derived-mode.
+       (calc-trail-buffer): Set calc-main-buffer manually.
+       * bookmark.el (bookmark-insert-annotation): New function.
+       (bookmark-edit-annotation): Use it.
+       (bookmark-edit-annotation-mode): Make it a proper major mode.
+       (bookmark-send-edited-annotation): Use derived-mode-p.
+       * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
+       closer to its ideal place.  Use \' to match EOS.
+
+       * profiler.el (profiler-calltree-find): Use function-equal.
+
 2013-09-10  Glenn Morris  <rgm@gnu.org>
 
        * files.el (interpreter-mode-alist): Convert to regexps.
 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * simple.el: Use set-temporary-overlay-map for universal-argument.
-       (universal-argument-map): Don't use default-bindings.
+       (universal-argument-map): Don't use default-bindings (bug#15317).
        Bind switch-frame explicitly.  Replace universal-argument-minus with
        a conditional binding.
        (universal-argument-num-events, saved-overriding-map): Remove.
        * term/xterm.el (xterm--query):
        Stop after first matching handler.  (Bug#14615)
 
-2013-06-14 Ivan Kanis  <ivan@kanis.fr>
+2013-06-14  Ivan Kanis  <ivan@kanis.fr>
 
        Add support for dired in saveplace.
        * dired.el (dired-initial-position-hook): New variable.
        (vc-exec-after): Allow code to be a function.  Use add/remove-function.
        (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
 
-2013-04-19 Masatake YAMATO  <yamato@redhat.com>
+2013-04-19  Masatake YAMATO  <yamato@redhat.com>
 
        * progmodes/sh-script.el (sh-imenu-generic-expression):
        Handle function names with a single character.   (Bug#14111)