1. 15 Dec, 2012 6 commits
  2. 14 Dec, 2012 15 commits
    • Glenn Morris's avatar
      macroexp--warn-and-return message tweak (bug#13132) · a5f74442
      Glenn Morris authored
      * lisp/emacs-lisp/macroexp.el (macroexp--warn-and-return):
      Try to include filename in non-bytecomp warning.
      a5f74442
    • Paul Eggert's avatar
      Spelling fixes. · cccaebd2
      Paul Eggert authored
      My favorite was that the word "dictionary" was misspelled.
      Also, correct the title in the DeRemer & Pennello 1982 citation,
      and add a URL.
      cccaebd2
    • Eli Zaretskii's avatar
      Fix compilation warnings in the Windows build. · 7e90af26
      Eli Zaretskii authored
       src/editfns.c [HAVE_PWD_H]: Include grp.h.
       src/makefile.w32-in ($(BLD)/editfns.$(O)): Add $(NT_INC)/grp.h.
      7e90af26
    • Paul Eggert's avatar
      Fix permissions bugs with setgid directories etc. · 97976f9f
      Paul Eggert authored
      * configure.ac (BSD4_2): Remove; no longer needed.
      * admin/CPP-DEFINES (BSD4_2): Remove.
      * doc/lispintro/emacs-lisp-intro.texi (Files List):
      directory-files-and-attributes now outputs t for attribute that's
      now a placeholder.
      * doc/lispref/files.texi (Testing Accessibility): Document GROUP arg
      of file-ownership-preserved-p.
      (File Attributes): Document that 9th element is now
      just a placeholder.
      * doc/lispref/os.texi (User Identification): Document new functions group-gid,
      group-real-gid.
      * etc/NEWS: Document changes to file-attributes,
      file-ownership-preserved-p.
      Mention new functions group-gid, group-real-gid.
      * lisp/files.el (backup-buffer): Don't rely on 9th output of
      file-attributes, as it's now a placeholder.  Instead, use the new
      optional arg of file-ownership-preserved-p.
      (file-ownership-preserved-p): New optional arg GROUP.
      Fix mishandling of setuid directories that would cause this
      function to return t when it should have returned nil.
      Document what happens if the file does not exist, and when
      it's not known whether the ownership will be preserved.
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
      Likewise.
      (tramp-get-local-gid): Use group-gid for integer, as that's
      faster and more reliable.
      * src/dired.c (Ffile_attributes): Return t as the 9th attribute,
      to mark it as a placeholder.  The old value was often wrong.
      The only user of this attribute has been changed to use
      file-ownership-preserved-p instead, with its new group arg.
      * src/editfns.c (Fgroup_gid, Fgroup_real_gid): New functions.
      
      Fixes: debbugs:13125
      97976f9f
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * src/xdisp.c (select_frame_for_redisplay): Keep selected_window and · 26ec1f49
      Stefan Monnier authored
      selected_frame in sync.
      26ec1f49
    • Michael Albinus's avatar
    • Julien Danjou's avatar
      * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update · 016b2a42
      Julien Danjou authored
        keywords list, data type and PL/pgSQL.
      016b2a42
    • Dave Abrahams's avatar
      * lisp/vc/ediff-util.el (ediff-buffer-type): New function. · 665e5e07
      Dave Abrahams authored
      (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
      rather than taking it as as argument.
      (ediff-inferior-compare-regions): Adjust calls accordingly.
      
      Fixes: debbugs:11319
      665e5e07
    • Ryan Crum's avatar
      * lisp/json.el: Add pretty-print option. · d72e9e92
      Ryan Crum authored
      (json-encoding-separator, json-encoding-default-indentation)
      (json--encoding-current-indentation, json-encoding-pretty-print)
      (json-encoding-lisp-style-closings): New vars.
      (json--with-indentation): New macro.
      (json-encode-hash-table, json-encode-alist, json-encode-plist)
      (json-encode-array): Use it to obey json-encoding-pretty-print.
      (json-pretty-print-buffer, json-pretty-print): New commands.
      
      Fixes: debbugs:12634
      d72e9e92
    • Eli Zaretskii's avatar
      Speed up most calls to 'stat' and 'lstat' on MS-Windows. · 5c207910
      Eli Zaretskii authored
       src/w32.c (stat_worker): If w32_stat_get_owner_group is zero, do not
       try to get accurate owner and group information from NT file
       security APIs.  This is to make most callers of 'stat' and
       'lstat', which don't need that information, much faster.
       src/dired.c (Ffile_attributes) [WINDOWSNT]: Set
       w32_stat_get_owner_group to a non-zero value, to request accurate
       owner and group information from 'lstat'.
      
       nt/inc/sys/stat.h: Declare w32_stat_get_owner_group.
      5c207910
    • Michael Albinus's avatar
      b421decc
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): · bb808526
      Dmitry Gutov authored
      Extract `ruby-syntax-propertize-expansions'.
      (ruby-syntax-propertize-expansions): Only change syntax on
      certain string delimiters, to punctuation.  This way the common
      functions like forward-word and thing-at-point still work.
      (ruby-match-expression-expansion): Improve readability.
      (ruby-block-contains-point): New function.
      (ruby-add-log-current-method): Handle several edge cases.
      
      * test/automated/ruby-mode-tests.el
      Rename one interpolation test; add three more.
      (ruby-with-temp-buffer): New macro, use it where appropriate.
      (ruby-add-log-current-method-examples): Use "_" for target point.
      Add four tests for ruby-add-log-current-method.
      bb808526
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): · dbb530d9
      Dmitry Gutov authored
      Extract `ruby-syntax-propertize-expansions'.
      (ruby-syntax-propertize-expansions): Only change syntax on
      certain string delimiters, to punctuation.  This way the common
      functions like forward-word and thing-at-point still work.
      
      * test/automated/ruby-mode-tests.el
      Rename one interpolation test; add three more.
      dbb530d9
    • Akinori MUSHA's avatar
      sieve-mode font-lock fix (tiny change) · fd1b1e2e
      Akinori MUSHA authored
      * sieve-mode.el (sieve-font-lock-keywords): Keywords should be word delimited.
      
      Fixes: debbugs:13173
      fd1b1e2e
  3. 13 Dec, 2012 18 commits
  4. 12 Dec, 2012 1 commit