1. 22 Feb, 2011 1 commit
  2. 21 Feb, 2011 19 commits
    • Paul Eggert's avatar
      Merge from mainline. · 9441f0e4
      Paul Eggert authored
      9441f0e4
    • Paul Eggert's avatar
      [ChangeLog] · ba01e9d7
      Paul Eggert authored
      * lib/min-max.h: New file, for "min" and "max".
      [lib-src/ChangeLog]
      New file "lib/min-max.h".
      * ebrowse.c (min, max): Define them by including <min-max.h>
      instead of defining it ourselves.
      * pop.c (min): Likewise.
      ba01e9d7
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * movemail.c (popmail): Report fchown failure instead of ignoring it. · f0939c31
      Paul Eggert authored
      But if the file already has the right ownership, don't worry about it.
      f0939c31
    • 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
    • Christoph Scholtes's avatar
      Add stdint.h for MS-Windows. · 9f8370e6
      Christoph Scholtes authored
       nt/inc/stdint.h: New file, to support compilation with tool chains
       that do not have stdint.h (e.g. MSVC).
       lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
       $(EMACS_ROOT)/nt/inc/stdint.h.
      9f8370e6
    • Eli Zaretskii's avatar
      Adapt MS-Windows build to import of filemode.c from gnulib. · 25c51af3
      Eli Zaretskii authored
       nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
       (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
       (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
       (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
       (lstat): Define to stat.
       lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
       src/makefile.w32-in and adapt.  Depend on stamp_BLD.
       (GNULIBOBJS): Add $(BLD)/filemode.$(O).
       src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
       lib/makefilw.w32-in.
       ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
       (GLOBAL_SOURCES): Remove filemode.c.
       (OBJ1): Remove $(BLD)/filemode.$(O).
       lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
       ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
       Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
      25c51af3
    • Paul Eggert's avatar
    • 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
    • Paul Eggert's avatar
      Merge from mainline. · 3870e8f9
      Paul Eggert authored
      3870e8f9
    • Paul Eggert's avatar
      * movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE): · 0d7fdc0e
      Paul Eggert authored
      Remove unused macros.
      * pop.c (index): Remove unused macro.
      (KPOP_PORT): Define only if KERBEROS is defined.
      0d7fdc0e
    • Paul Eggert's avatar
      * movemail.c: Remove unused vars · 1afca8cc
      Paul Eggert authored
      1afca8cc
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Declare file-scope functions and variables static if not exported. · b23b5a5b
      Paul Eggert authored
      This is more consistent, and is nicer with gcc -Wstrict-prototypes.
      * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
      * profile.c, test-distrib.c, update-game-score.c:
      Declare non-'main' functions and variables to be static.
      * ebrowse.c: Omit redundant function prototypes.
      b23b5a5b
    • Ben Key's avatar
      6ca1c3b4
    • Paul Eggert's avatar
      Import filemode module from gnulib. · 5c185672
      Paul Eggert authored
      5c185672
    • 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
    • Chong Yidong's avatar
  3. 20 Feb, 2011 16 commits
  4. 19 Feb, 2011 4 commits
    • Dmitry Bolshakov's avatar
      Prevent hideshow from parsing braces inside comments (Bug#8036). · a87af185
      Dmitry Bolshakov authored
      * progmodes/hideshow.el (hs-find-block-beginning)
      (hs-hide-level-recursive): Ignore comments when parsing braces.
      a87af185
    • Chong Yidong's avatar
      Improvements to vc-bzr conffile handling and pull/merge support. · 3ab713fd
      Chong Yidong authored
      * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
      (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
      but returning an alist.  Ignore comments in bzr conffile.
      (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
      (vc-bzr-error-regex-alist): New var.
      (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
      
      * progmodes/compile.el (compilation--flush-directory-cache):
      Handle the case where cdr of compilation--flush-directory-cache
      points to no buffer, which can occur if we previously switched to
      compilation-mode in a pregenerated buffer.
      
      * vc/vc-dispatcher.el (vc-do-async-command): Bind
      inhibit-read-only to t.
      3ab713fd
    • Glenn Morris's avatar
      dired-x no longer requires dired-aux. · cad7445b
      Glenn Morris authored
      * lisp/dired-x.el: Don't require dired-aux.
      (dired-do-create-files, dired-mark-read-regexp)
      (dired-do-create-files-regexp): Autoload from dired-aux.
      cad7445b
    • Glenn Morris's avatar
      Merge dired-x's dired-find-buffer-nocreate into dired.el. · bea584fa
      Glenn Morris authored
      * lisp/dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
      
      * lisp/dired.el (dired-find-buffer-nocreate): Merge dired-x version.
      
      * doc/misc/dired-x.texi (Technical Details):
      No longer redefines dired-find-buffer-nocreate.
      bea584fa