1. 27 Feb, 2011 5 commits
  2. 26 Feb, 2011 2 commits
  3. 25 Feb, 2011 3 commits
    • Ted Zlatanov's avatar
      Merge changes made in Gnus trunk. · 61e9662e
      Ted Zlatanov authored
      auth-source.el (auth-source-search): Cache empty result sets.
      password-cache.el (password-in-cache-p): Convenience function to check if a key is in the cache, even if the value is nil.
      61e9662e
    • Jambunathan K's avatar
      Fix package uploading for newly made or local archives. · 7fe42546
      Jambunathan K authored
      * emacs-lisp/package-x.el (package--archive-contents-from-url)
      (package--archive-contents-from-file): New functions.
      (package-update-news-on-upload): New var.
      (package-upload-buffer-internal): Extract archive-contents from
      package-archive-upload-base if it is not found at archive-url.
      Obey package-update-news-on-upload.
      (package-upload-buffer, package-upload-file): Doc fix.
      7fe42546
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 003522ce
      Gnus developers authored
      auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'.
       (auth-source-netrc-create): Use it.
       (auth-source-never-save): Remove.
      nnimap.el (nnimap-stream): Doc fix.
       (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first.
      gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection.
      gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters.
      auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts.
       (auth-source-search): Document it.
       (auth-source-format-prompt): Add utility function.
       (auth-source-netrc-create): Don't default the user name to user-login-name.  Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly).
       (auth-source-never-save): Add customizable option to never save info.
       (auth-source-netrc-create): Use it and improve save prompts.  Fix help mode excursion.
      003522ce
  4. 24 Feb, 2011 7 commits
    • Glenn Morris's avatar
      Yet more directory-local variables fixes. · 6a88f031
      Glenn Morris authored
      * lisp/files-x.el (modify-dir-local-variable): Handle dir-locals from
      the cache, and from non-file sources.
      6a88f031
    • Glenn Morris's avatar
      Fix for another bit of bug#8095, re dir-locals. · 303f9ae0
      Glenn Morris authored
      * lisp/help-fns.el (describe-variable): Return consistent results when a
      dir-local from a file came from the cache or did not.
      If a dir-local has no associated file, say it came from a "directory".
      303f9ae0
    • Glenn Morris's avatar
      More dir-locals fixes for files.el. · 07915ed9
      Glenn Morris authored
      * lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
      Doc fix (say _which_ directory `dir-name' is).
      (hack-dir-local-variables): Fix setting of `dir-name'.
      Previous value seems clearly wrong.  Eg put a risky variable in a
      dir-locals file, visit a file in a subdirectory, see which directory
      it says the risky variables come from.  It should be the one with the
      associated directory variables, not the one containing the visited file.
      07915ed9
    • Glenn Morris's avatar
      Partial fix for bug#8095. · ebe401f6
      Glenn Morris authored
      * lisp/files.el (dir-locals-find-file): Doc fix.
      Fix the check for cache elements that have no associated file,
      and the mtime check for those that do.
      
      Still to do: some places that use dir-locals-find-file assume the
      result is always a file, which is not true. (The function name is
      misleading.)
      ebe401f6
    • Katsumi Yamaoka's avatar
      auth-source.el (auth-source-netrc-create): Use `read-char' with no argument... · a22e7484
      Katsumi Yamaoka authored
      auth-source.el (auth-source-netrc-create): Use `read-char' with no argument that XEmacs doesn't support.
      a22e7484
    • Glenn Morris's avatar
      Dired-X fix for bug#5216. · b36f2f1c
      Glenn Morris authored
      * lisp/dired-x.el (dired-hack-local-variables):
      Handle interrupts during hacking local variables.
      b36f2f1c
    • Glenn Morris's avatar
      Avoid some possible prompts from autoloads.el. · 2d8a57ef
      Glenn Morris authored
      * lisp/emacs-lisp/autoload.el (autoload-save-buffers)
      (autoload-find-destination, update-directory-autoloads):
      Avoid prompts when updating autoloads.
      2d8a57ef
  5. 23 Feb, 2011 10 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · fa41748c
      Gnus developers authored
      gnus-art.el (article-make-date-line): Ignore errors if time is invalid and not convertible.
       (article-make-date-line): Only add lapsed time if time is not nil.
      auth-source.el (auth-source-netrc-element-or-first): New function to DTRT for parameter extraction.
       (auth-source-netrc-create): Use it and fix multiple parameter print bug.  Use the default passed from above (given-default) or the built-in (user-login-name for :user).
      fa41748c
    • Stefan Monnier's avatar
    • Ted Zlatanov's avatar
      auth-source.el (auth-source-netrc-create): Use `read-char' instead of... · d41d18c0
      Ted Zlatanov authored
      auth-source.el (auth-source-netrc-create): Use `read-char' instead of `read-char-choice' for backwards compatibility.
      d41d18c0
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 4a3988d5
      Gnus developers authored
      auth.texi (Help for users): Mention ~/.netrc is also searched by default now.
      gnus-start.el (gnus-dribble-read-file): Set buffer-save-without-query, since we always want to save the dribble file, probably.
      nnmail.el (nnmail-article-group): Allow a final "" split to work on nnimap.
      gnus-sum.el (gnus-user-date-format-alist): Renamed back again from -summary- since it's a user-visible variable.
      nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the first time you use the new Gnus.
      auth-source.el: Don't load netrc.el.
       (auth-sources): Search ~/.netrc as well by default.
       (auth-source-debug): Add 'trivia option for extra output.
       (auth-source-do-trivia): Use it.
       (auth-source-search): Simplify logic to use `auth-source-search-backends'.  Use `auth-source-do-trivia' where appropriate.  Don't keep a running count at this level.  Layer :create and :delete options appropriately on the first and second passes.  Don't track the backend with the search results.
       (auth-source-search-backends): New function to search a list of backends for a processed spec.
       (auth-source-netrc-parse): Cache all netrc files, making auth-source-netrc-cache an alist keyed by the file name and using the file mtime as the caching criterion.  Keep the obfuscated data secret with a lexical bind.
       (auth-source-netrc-search): Don't calculate the length of the results unnecessarily.
       (auth-source-search-backends): Fix bug.
       (auth-source-netrc-create): Rework prompts.
      nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key): Lower case names of search constraints.
       (nnir-run-query): Cache and reuse search constraints for all imap servers.
      gnus-msg.el (gnus-setup-message): Define missing variable from last checkin.
      4a3988d5
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Comment spelling fix. · c9f50c81
      Glenn Morris authored
      c9f50c81
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Obsolete dired-x's directory local variables in favor of standard ones. · 817b48a7
      Glenn Morris authored
      * lisp/dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
      
      * lisp/dired-x.el (dired-omit-mode): Safe if boolean.
      (dired-enable-local-variables): Fix doc and custom type.  Mark risky.
      (dired-enable-local-variables, dired-local-variables-file)
      (dired-hack-local-variables): Make obsolete.
      (dired-omit-here-always): Use dir-locals.el instead.
      
      * doc/misc/dired-x.texi (Features): Don't advertise obsolete local variables.
      Simplify layout.
      (Omitting Variables): Update local variables example.
      (Local Variables): Say this is obsolete.  Fix description of
      dired-enable-local-variables possible values.
      
      * etc/NEWS: Relocate the existing entry about directory local
      variables in file-les buffers, and make it clearer.
      Mention above dired changes.
      817b48a7
    • Glenn Morris's avatar
      * lisp/files.el (safe-local-eval-forms): Add the write-file-hooks version. · 5582c670
      Glenn Morris authored
      This obsolete form is still supported, and present in some of the
      files synced from gnulib, for example.
      5582c670
    • Kenichi Handa's avatar
      mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a... · c1449bff
      Kenichi Handa authored
      mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found.
      c1449bff
  6. 22 Feb, 2011 6 commits
  7. 21 Feb, 2011 4 commits
    • Alan Mackenzie's avatar
      (c-state-literal-at): Prevent positions in macros finding their way into · e84efb70
      Alan Mackenzie authored
      c-state-nonlit-pos-cache.  Strengthen the comments.
      
      (c-state-dump): New commented out diagnostic routine.
      e84efb70
    • Michael Albinus's avatar
      * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use · c6309045
      Michael Albinus authored
      `field' property of `rfn-eshadow-overlay'.
      c6309045
    • Lars Ingebrigtsen's avatar
      Merge changes made in Gnus trunk. · 06b840e0
      Lars Ingebrigtsen authored
      gnus.texi (Window Layout): Document layout names.
      nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the given method as in the group name if we're using an extended method.
       (nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE command, if we're using that, instead of waiting for the beginning.
      gnus-start.el (gnus-get-unread-articles): Extend the methods so that we're sure to get unique server names, and we don't output two async commands in the same buffer.  This fixes an NNTP hang for some users.
      netrc.el (netrc-parse): Comment fix.
      gnus-sum.el (gnus-summary-next-article): Add a kludge to reselect the summary buffer before reading going to the next buffer.  This avoids putting the point in the group buffer if you `C-g' the command.
      auth-source.el (auth-source-netrc-parse): Add an in-memory netrc cache (for now) to make ~/.authinfo.gpg files usable.
      nnfolder.el (copyright-update): Define for the compiler.
      auth-source.el (auth-source-search): Fix unbound variable.
      06b840e0
    • Chong Yidong's avatar
      Merge some code from hexrgb.el into color.el. · 6d713256
      Chong Yidong authored
      * lisp/color.el (color-name-to-rgb): Rename from color-rgb->normalize.
      Autoload.  Add optional arg FRAME, and pass it to color-values.
      (color-complement): Caller changed.  Doc fix.
      (color-gradient): Rewrite for better clarity and efficiency.
      (color-rgb-to-hex): Rename from color-rgb->hex.
      (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
      saturation to zero if the value is too small.
      (color-rgb-to-hsl): Rename from color-rgb->hsl.
      (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
      (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
      (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
      (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
      (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
      (color-cie-de2000): Doc fix.
      
      * lisp/facemenu.el (color-rgb-to-hsv): Deleted; use the version in
      lisp/color.el instead.
      (list-colors-sort-key, list-colors-print): Use
      color-normalized-values.
      
      * lisp/faces.el (color-values): Use cond for clarity.  Doc fix.
      
      * lisp/gnus/shr-color.el (shr-color->hexadecimal): Use renamed
      function names color-rgb-to-hex, color-name-to-rgb,
      color-srgb-to-lab, and color-lab-to-srgb.
      6d713256
  8. 20 Feb, 2011 3 commits