Handle calling defface on a face with existing theme settings (Bug#8454).
[bpt/emacs.git] / lisp / ChangeLog
index 4d4c938..60b462e 100644 (file)
@@ -1,3 +1,372 @@
+2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
+       if the face has existing theme settings (Bug#8454).
+
+2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
+
+       * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
+       match variables declared via `my' or `our' (Bug#8261).
+
+       * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
+       special file names `.' and `..' (Bug#8259).
+
+2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
+       buffer-changing entries.
+       (grep-filter): New function.
+       (grep-mode): Add it to compilation-filter-hook.
+
+       * progmodes/compile.el (compilation-filter-hook)
+       (compilation-filter-start): New defvars.
+       (compilation-filter): Call compilation-filter-hook prior to
+       updating the process mark.
+
+2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
+
+2011-05-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * mail/sendmail.el (send-mail-function): On MS-Windows, default to
+       mailclient-send-it even if window-system is nil.  (Bug#8595)
+
+       * term/w32console.el (terminal-init-w32console):
+       Call get-screen-color and use its output to set the frame
+       background-mode.  (Bug#8597)
+
+2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make bytecomp.el understand that defmethod defines funs (bug#8631).
+       * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
+       New functions.
+       (defgeneric, eieio--defmethod): Use them.
+       (eieio-defgeneric): Remove.
+       (defmethod): Call defgeneric in a way visible to the byte-compiler.
+
+2011-05-07  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/timeclock.el (timeclock-log-data): Remove unused local.
+       Use let rather than let*.
+       (timeclock-find-discrep): Remove unused local.
+
+       * calendar/diary-lib.el (diary-comment-start): Doc fix.
+
+       * calendar/appt.el (appt-time-msg-list): Doc fix.
+
+2011-05-06  Noah Friedman  <friedman@splode.com>
+
+       * apropos.el (apropos-print-doc): Only use
+       emacs-lisp-docstring-fill-column when it is bound to an integer,
+       per that variable's documentation.
+
+2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * lpr.el (print-region-1): Echo lpr-program's output, so error messages
+       and warnings are not silently discarded (e.g. use -d instead of -P).
+
+2011-05-06  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/appt.el (appt-message-warning-time): Doc fix.
+       (appt-warning-time-regexp): New option.
+       (appt-make-list): Respect appt-message-warning-time.
+
+       * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
+       New options.
+       (diary-add-to-list): Strip comments from the displayed string.
+       (diary-mode): Set comment-start and comment-end.
+
+       * vc/diff-mode.el (smerge-refine-subst): Declare.
+       (diff-refine-hunk): Don't require smerge-mode when compiling.
+
+2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * simple.el (list-processes): Return nil as the docstring says.
+
+2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
+       to "".
+       (ange-ftp-write-region, ange-ftp-insert-file-contents)
+       (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
+       determining of binary transfer.  (Bug#7383)
+
+2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
+       Fix port computation bug.  (Bug#8618)
+
+2011-05-05  Glenn Morris  <rgm@gnu.org>
+
+       * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
+
+       * simple.el (shell-dynamic-complete-functions)
+       (comint-dynamic-complete-functions): Declare.
+
+       * net/network-stream.el (gnutls-negotiate):
+       * simple.el (tabulated-list-print): Fix declarations.
+
+       * progmodes/gud.el (syntax-symbol, syntax-point):
+       Remove unnecessary and incorrect declarations.
+
+       * emacs-lisp/check-declare.el (check-declare-scan):
+       Handle byte-compile-initial-macro-environment in bytecomp.el
+
+2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Fix earlier half-done eieio-defmethod change (bug#8338).
+       * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
+       Streamline and change calling convention.
+       (defmethod): Adjust accordingly and simplify.
+       (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
+       new eieio--defmethod.
+       (slot-boundp): Minor CSE simplification.
+
+2011-05-05  Milan Zamazal  <pdm@zamazal.org>
+
+       * progmodes/glasses.el (glasses-separate-capital-groups): New option.
+       (glasses-make-readable): Use glasses-separate-capital-groups.
+
+2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
+       (warning-series): Doc fix.
+       (display-warning): Don't try to create the buffer if we just found it.
+
+2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
+       (autoload-find-generated-file): New function.
+       (generate-file-autoloads): Bind generated-autoload-file to
+       buffer-file-name.
+       (update-file-autoloads, update-directory-autoloads):
+       Use autoload-find-generated-file.  If called interactively, prompt for
+       output file (Bug#7989).
+       (batch-update-autoloads): Doc fix.
+
+2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
+
+2011-05-04  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
+       function, so it follows changes in calendar-date-style.
+       (diary-fancy-date-matcher): New function.
+       (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
+       (diary-fancy-font-lock-fontify-region-function):
+       Use diary-fancy-date-pattern as a function.
+
+       * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
+       non-numbers for `year' etc pseudo-variables.  (Bug#8583)
+
+2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
+       instead of positional arguments.  Allow :keylist and :crlfiles
+       arguments.
+       (open-gnutls-stream): Call it.
+
+       * net/network-stream.el (network-stream-open-starttls): Adjust to
+       call `gnutls-negotiate' with :process and :hostname arguments.
+
+2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--message): New function.
+       (completion--do-completion, minibuffer-complete)
+       (minibuffer-force-complete, minibuffer-complete-word): Use it.
+       (completion--do-completion): Don't ignore completion-auto-help when in
+       icomplete-mode.
+
+       * whitespace.el (whitespace-trailing-regexp): Don't rely on the
+       internal encoding (e.g. tibetan zero is not whitespace).
+       (global-whitespace-mode): Prefer save-current-buffer.
+       (whitespace-trailing-regexp): Remove useless save-match-data.
+       (whitespace-empty-at-bob-regexp): Minor simplification.
+
+2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
+
+2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-add-per-file-word-list):
+       Use `concat' to create string for insertion.
+
+2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
+       Avoid open-line which runs post-self-insert-hook.
+       (bibtex-fill-entry): Remove unused `end' var.
+
+2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
+
+       * textmodes/ispell.el (ispell-add-per-file-word-list):
+       Protect against `nil' value of `comment-start' (Bug#8579).
+
+2011-05-03  Leo Liu  <sdl.web@gmail.com>
+
+       * isearch.el (isearch-yank-pop): New command.
+       (isearch-mode-map): Bind it to `M-y'.
+       (isearch-forward): Mention it.
+
+2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (minibuffer-complete-shell-command): Remove.
+       (minibuffer-local-shell-command-map): Use completion-at-point.
+       (read-shell-command): Setup completion vars here instead.
+       (read-expression-map): Bind TAB to symbol completion.
+
+       * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
+       error directly rather via storing it into `results'.
+
+2011-05-02  Leo Liu  <sdl.web@gmail.com>
+
+       * vc/diff.el: Fix description.
+
+2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * server.el (server-eval-at): New function.
+
+2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/network-stream.el (open-network-stream): Take a :nowait
+       parameter and pass it on to `make-network-process'.
+       (network-stream-open-plain): Ditto.
+
+2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * faces.el (face-spec-set-match-display): Don't match toolkit
+       options on terminal frames.
+
+2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/pascal.el: Use lexical binding.
+       (pascal-mode-map): Remove author preferences.
+
+       * pcomplete.el (pcomplete-std-complete): Don't abuse
+       completion-at-point.
+
+2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
+       removing code that has been dead since 1991 or so.
+
+       * startup.el (command-line): When warning about "_emacs", use a
+       delayed warning to allow the user to filter it out.
+
+2011-04-28  Deniz Dogan  <deniz@dogan.se>
+
+       * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
+       user has not joined.
+
+2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * pcomplete.el (pcomplete-completions-at-point): Return nil if there
+       aren't any completions at point.
+
+2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * subr.el (display-delayed-warnings): New function.
+       (delayed-warnings-hook): New variable.
+
+2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-at-point, completion-help-at-point):
+       Don't presume that a given completion-at-point-function will always
+       use the same calling convention.
+
+       * pcomplete.el (pcomplete-completions-at-point):
+       Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
+       pcomplete-seen is non-nil.
+       (pcomplete-comint-setup): Also recognize the new comint/shell
+       completion functions.
+       (pcomplete-do-complete): Don't call pcomplete-norm-func unless
+       pcomplete-seen is non-nil.
+
+2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
+
+       * calendar/icalendar.el (diary-lib): Add require statement.
+       (icalendar--create-uid): Read out a uid from a text-property on
+       the first character in the entry.  This allows for code to add its
+       own uid to the entry.
+       (icalendar--convert-float-to-ical): Add export of
+       `diary-float'-entries save for those with the optional DAY
+       argument.
+
+2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
+
+       * subr.el (shell-quote-argument): Use alternate escaping strategy
+       when we spot a variable reference in a string.
+
+2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
+
+       * cus-start.el (all): Define customization for debug-on-event.
+
+2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
+
+       * subr.el (shell-quote-argument): Escape correctly under Windows.
+
+2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
+
+2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-process-actions): Add POS argument.
+       Delete region between POS and (pos).
+
+       * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
+       Use `nil' position in `tramp-process-actions' call.
+       (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
+
+       * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
+       position in `tramp-process-actions' call.
+
+       * net/trampver.el: Update release number.
+
+2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * custom.el (defcustom): Obey lexical-binding.
+
+       Fix octave-inf completion problems reported by Alexander Klimov.
+       * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
+       Inherit from octave-mode-syntax-table.
+       (inferior-octave-mode): Set info-lookup-mode.
+       (inferior-octave-completion-at-point): New function.
+       (inferior-octave-complete): Use it and completion-in-region.
+       (inferior-octave-dynamic-complete-functions): Use it as well, and use
+       comint-filename-completion.
+       * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
+       symbol elements which shouldn't be word elements.
+       (octave-font-lock-keywords, octave-beginning-of-defun)
+       (octave-function-header-regexp): Adjust regexps accordingly.
+       (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
+
+2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * net/gnutls.el (gnutls-errorp): Declare before first use.
+
+2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
+       verify-error, and verify-hostname-error parameters.  Check whether
+       default trustfile exists before going to use it.  Add missing
+       argument to gnutls-message-maybe call.  Return return value.
+       Reported by Claudio Bley <claudio.bley@gmail.com>.
+       (open-gnutls-stream): Add usage example.
+
+       * net/network-stream.el (network-stream-open-starttls): Give host
+       parameter to `gnutls-negotiate'.
+       (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
+       * subr.el (shell-quote-argument): Escape correctly under Windows.
+
+2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
+
+       * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
+       Use correct match group (bug#8438).
+
 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
 
        * emacs-lisp/package.el (package-built-in-p): Fix typo.
        * finder.el (finder-list-matches): Use package-show-package-list
        instead of deleted package--list-packages.
 
-       * vc/vc-annotate.el (vc-annotate-goto-line): New command.  Based
-       on a previous implementation by Juanma Barranquero (Bug#8366).
+       * vc/vc-annotate.el (vc-annotate-goto-line): New command.
+       Based on a previous implementation by Juanma Barranquero (Bug#8366).
        (vc-annotate-mode-map): Bind it to RET.
 
 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
        * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
        (image-toggle-display): Doc fix.
 
-2011-04-23  Stephen Berman <stephen.berman@gmx.net>
+2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
 
        * textmodes/page.el (what-page): Use line-number-at-pos to
        calculate line number (Bug#6825).
        Use the longitude argument rather than `calendar-longitude'.
        (solar-date-next-longitude): Remove unused locals.
 
+2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+       * whitespace.el: New version 13.2.1.
+
+2011-04-20  felix  <EmacsWiki>  (tiny change)
+
+       * whitespace.el (global-whitespace-mode): keep highlight when
+       switching between major modes on a file.
+
 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
        * delim-col.el (delimit-columns-max): Move defvar before first use.
 
        * descr-text.el (describe-char-categories): Don't quote `lambda'.
-       (describe-char): Don't quote `lambda'.  Mark unused parameter.
+       (describe-char): Don't quote `lambda'.  Mark unused parameter.
 
        * desktop.el (desktop-save-buffer-p): Mark unused parameter.
        (auto-insert): Declare.
        (modify-file-local-variable-prop-line): Remove unused variable `val'.
 
        * find-lisp.el (find-lisp-find-dired-internal): Remove unused
-       variable `buf'.  Mark unused parameter.
+       variable `buf'.  Mark unused parameter.
        (find-lisp-insert-directory): Mark unused parameter.
 
        * format.el (format-decode-run-method): Mark unused parameter; doc fix.
        (widget-color-action): Remove unused variables `value' and `start'.
 
        * windmove.el (windmove-wrap-loc-for-movement): Remove unused
-       variable `dir'.  Doc fix.
+       variable `dir'.  Doc fix.
        (windmove-find-other-window): Don't pass it.
 
        * window.el (count-windows): Mark unused parameter.
        (emerge-protect-metachars): Quote correctly for ms-dos and
        windows-nt systems.
 
-2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>  (tiny change)
+2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
 
        * info.el (info-initialize): Replace all uses of `:' with
        path-separator for compatibility with non-Unix systems.