1. 25 Feb, 2013 11 commits
    • Stefan Monnier's avatar
    • Adam Sjøgren's avatar
    • Juri Linkov's avatar
      * lisp/replace.el (read-regexp): Let-bind `default' to the first · cd27a76d
      Juri Linkov authored
      element of `defaults' if it's a list, otherwise it should be
      a string or nil.  Let-bind `suggestions' to `defaults' if it's
      a list, otherwise make a list with the string value.  Doc fix.
      
      Fixes: debbugs:13805
      cd27a76d
    • Eli Zaretskii's avatar
      Implement CLASH_DETECTION for MS-Windows. · 343a2aef
      Eli Zaretskii authored
       src/filelock.c [WINDOWSNT]: Include w32.h.
       (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
       function of that name.  Up-case the macro arguments.
       (IS_LOCK_FILE): New macro.
       (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
       (create_lock_file): New function, with body extracted from
       lock_file_1.
       [WINDOWSNT]: Implement lock files by writing a regular file with
       the lock information as its contents.
       (read_lock_data): New function, on Posix platforms just calls
       emacs_readlinkat.
       [WINDOWSNT]: Read the lock info from the file.
       (current_lock_owner): Call read_lock_data instead of calling
       emacs_readlinkat directly.
       (lock_file) [WINDOWSNT]: Run the file name through
       dostounix_filename.
       src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case
       just check if the process by that PID exists.
       src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
       also present, as doing so will fail to error out if the file
       already exists.
       src/makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h.
      
       nt/inc/ms-w32.h (BOOT_TIME_FILE): Define.
       nt/config.nt (CLASH_DETECTION): Define to 1.
      
       lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
       that match "\`\.#", to avoid compiling lock files, even if they
       are readable (as they are on MS-Windows).
      
       doc/emacs/files.texi (Interlocking): Don't refer to symlinks as the
       exclusive means of locking files.
      
       etc/NEWS: Mention support for lock files on MS-Windows.
      343a2aef
    • Paul Eggert's avatar
      * NEWS: Document removal of --with-crt-dir. · aec32f66
      Paul Eggert authored
      aec32f66
    • Eli Zaretskii's avatar
      Fix bug #13743 with crashes due to recursive add-text-properties. · 0248b0d7
      Eli Zaretskii authored
       src/textprop.c (Fadd_text_properties, Fremove_text_properties)
       (Fremove_list_of_text_properties): Skip all of the intervals in
       the region between START and END that already have resp. don't
       have the requested properties, not just the first one.  Add
       assertions that the loop afterwards always modifies the
       properties.
      0248b0d7
    • Stefan Monnier's avatar
      * src/callint.c (Fcall_interactively): Use the right lexical environment · b5071fc7
      Stefan Monnier authored
      for `interactive' specs.
      * src/eval.c (Feval): Accept a lexical environment.
      
      Fixes: debbugs:13811
      b5071fc7
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Auto-commit of generated files. · ce9ae7ca
      Glenn Morris authored
      ce9ae7ca
    • Paul Eggert's avatar
      Spelling fixes. · 52b823c8
      Paul Eggert authored
      52b823c8
    • Paul Eggert's avatar
      Simplify data_start configuration. · 1ddc2bd6
      Paul Eggert authored
      This is a followon simplification to the fix for Bug#13650.
      * admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove.
      * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
      (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
      (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
      not always needed.
      (HAVE_DATA_START): New macro.
      * etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove.
      Remove legacy-systems section, as this stuff is no longer
      applicable with current linking strategies.
      * src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
      (START_FILES): Remove.  All uses removed.
      (otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
      (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
      (buildobj.h): Use it.
      ($(ALLOBJS)): Depend on globals.h.
      (temacs$(EXEEXT)): Use $(ALLOBJS).
      * src/autodeps.mk (ALLOBJS): Move to Makefile.in.
      * src/deps.mk (vm-limit.o):
      * src/makefile.w32-in ($(BLD)/vm-limit.$(O)):
      Do not depend on mem-limits.h.
      * src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
      (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
      [__GNUC__ && !ORDINARY_LINK]: Remove.
      * src/mem-limits.h, src/pre-crt0.c: Remove.
      * src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h.
      * src/unexcoff.c (etext): New decl.
      (make_hdr): Use it instead of start_of_data.
      * src/vm-limit.c: Move most of mem-limits.h's contents here.
      (data_start): New decl.  It's OK if this is approximate,
      so simplify-away some unnecessary exactness.
      (POINTER): Remove; all uses removed.
      (data_space_start): Now char *, to avoid casts.
      (exceeds_lisp_ptr): New function, replacing the old
      EXCEEDS_LISP_PTR macro.  All uses changed.
      (check_memory_limits): Simplify and remove casts.
      (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
      (memory_warnings): Use data_start instead of start_of_data.
      
      Fixes: debbugs:13783
      1ddc2bd6
  2. 24 Feb, 2013 7 commits
  3. 23 Feb, 2013 7 commits
    • Peter Kleiweg's avatar
      Update ps-mode.el from upstream · 2ae3d736
      Peter Kleiweg authored
      * lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
      (ps-mode-octal-region): Use string-make-unibyte.
      2ae3d736
    • Glenn Morris's avatar
      Add bug-gnu-emacs to some specialized bug report addresses · e8ba2352
      Glenn Morris authored
      * emulation/viper-cmd.el (viper-submit-report):
      * progmodes/ps-mode.el (ps-mode-maintainer-address):
      * progmodes/vera-mode.el (vera-mode-help-address):
      * textmodes/artist.el (artist-maintainer-address):
      * textmodes/reftex.el (reftex-report-bug):
      * vc/ediff-util.el (ediff-submit-report):
      Add bug-gnu-emacs to bug report address.
      e8ba2352
    • Glenn Morris's avatar
      Make simula.el special bug reporting obsolete · 3296c443
      Glenn Morris authored
      * progmodes/simula.el (simula-mode-menu, simula-mode-map):
      Remove bug report entries.
      (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
      3296c443
    • Glenn Morris's avatar
      TODO update · da35c2b2
      Glenn Morris authored
      da35c2b2
    • Glenn Morris's avatar
      Avoid recursive byte-compile-files fighting over input/output buffers · fd743628
      Glenn Morris authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-level): New.
      (byte-compile-file, byte-compile-from-buffer):
      Use separate input/output buffers for each level of recursive
      byte-compile-file calls.
      
      Fixes: debbugs:13787
      fd743628
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods): Fix docstring. · c57a0aff
      Michael Albinus authored
      (tramp-ssh-controlmaster-options): Rename it from
      `tramp-ssh-controlmaster-template'.  Return a string.
      (tramp-default-method): Adapt check for
      `tramp-ssh-controlmaster-options'.
      
      * net/tramp-sh.el (tramp-methods): Replace
      `tramp-ssh-controlmaster-template' by "%c".
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-maybe-open-connection): Use it in format spec.  Ensure,
      that it is applied for the first hop only.
      c57a0aff
    • Eli Zaretskii's avatar
      Minor improvements in the ELisp manual. · 39ef03af
      Eli Zaretskii authored
       doc/lispref/files.texi (Magic File Names): Improve wording and indexing.
      39ef03af
  4. 22 Feb, 2013 13 commits
  5. 21 Feb, 2013 2 commits
    • Paul Eggert's avatar
      Parallelize documentation builds. · b59a2e9e
      Paul Eggert authored
      This speeds up building of documentation on multiprocessor
      platforms, and is motivated by Texinfo 5.0, which is much slower.
      Add a toplevel rule 'make docs' to make all the documentation.
      * .bzrignore: Add .dvi, .html, .ps.
      * Makefile.in (DVIS, HTMLS, INFOS, PSS, DOCS): New macros.
      ($(DOCS), docs, vi, html, pdf, ps): New rules.
      (info-real): Depend on $(INFOS) rather than doing it sequentially.
      (dvi): Depend on $(DVIS) rather than doing it sequentially.
      * doc/misc/Makefile.in (html): New rule.
      b59a2e9e
    • Bastien Guerry's avatar
      * cmuscheme.el (scheme-buffer): Fix docstring. · e224eb41
      Bastien Guerry authored
      Thanks to Xue Fuqiao for reporting this.
      e224eb41