1. 18 Sep, 2012 7 commits
  2. 17 Sep, 2012 25 commits
    • Andreas Schwab's avatar
      * Makefile.in (bootstrap): Revert last change. Run config.status · d3612ac3
      Andreas Schwab authored
      after config.status --recheck, run configure from $(srcdir).
      (config.status): Run configure from $(srcdir).
      d3612ac3
    • Paul Eggert's avatar
      * Makefile.in: Run autogen/copy_autogen if autogen.sh fails, · dee26dfa
      Paul Eggert authored
      to create 'configure'; problem reported by Andreas Schwab in
      <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>.
      * autogen.sh: Exit with status 1 when failing due to missing tools,
      reverting the 2012-09-10 change to this file.
      * autogen/copy_autogen: Fail if one of the subsidiary actions fail.
      Use 'cp -f' for the build-aux files, since the destinations are
      typically read-only.
      dee26dfa
    • Paul Eggert's avatar
      * Makefile.in: Fix build error on FreeBSD. · 50bfc824
      Paul Eggert authored
      ($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
      Suggested by Wolfgang Jenker in
      <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html>.
      (MAKE_CONFIG_STATUS): Remove.  Remaining use expanded.
      This undoes part of the 2012-09-10 patch.
      (bootstrap): Run ./configure, rather than trying to run config.status
      if it exists.  That builds src/epaths.h more reliably.
      50bfc824
    • Eli Zaretskii's avatar
      Fix bug #12196 with infloop when cache-long-line-scans is non-nil. · c8b9f1bc
      Eli Zaretskii authored
       src/search.c (scan_buffer): Use character positions in calls to
       region_cache_forward and region_cache_backward, not byte
       positions.
      c8b9f1bc
    • Glenn Morris's avatar
      Fix typo in previous · 51eed9b8
      Glenn Morris authored
      51eed9b8
    • Stefan Merten's avatar
      2012-09-17 Stefan Merten <smerten@oekonux.de> · 64f6a736
      Stefan Merten authored
      	* rst.el: Add support for `testcover'.
      	(rst-defcustom-testcover, rst-testcover-add-compose)
      	(rst-testcover-add-1value): New functions.
      	(rst-portable-mark-active-p): Replace by `use-region-p'.
      	(rst-update-section, rst-classify-adornment)
      	(rst-find-title-line): Mark `1value' forms.
      	(rst-classify-adornment): Remove superfluous form.
      	(rst-update-section, rst-get-adornments-around)
      	(rst-adornment-complete-p, rst-get-next-adornment)
      	(rst-adjust, rst-promote-region)
      	(rst-display-adornments-hierarchy, rst-straighten-adornments)
      	(rst-find-pfx-in-region, rst-section-tree-rec)
      	(rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
      	(rst-toc-node, rst-toc, rst-forward-section)
      	(rst-iterate-leftmost-paragraphs)
      	(rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
      	(rst-bullet-list-region)
      	(rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
      	(rst-compile-find-conf, rst-compile)
      	(rst-repeat-last-character): Fix style.
      64f6a736
    • Glenn Morris's avatar
      Add ChangeLog bug refs · 6b250df6
      Glenn Morris authored
      6b250df6
    • Chong Yidong's avatar
      Make pcomplete less eager to add an extra space. · 580bd868
      Chong Yidong authored
      * comint.el (comint--complete-file-name-data): Don't add a space
      if the status is `sole'; that adds a gratuitous space in the
      completion-cycling case.
      
      * pcomplete.el (pcomplete-completions-at-point): Likewise.
      
      Fixes: debbugs:12092
      580bd868
    • Juanma Barranquero's avatar
      nt/config.nt: Sync with autogen/config.in. · caf4040f
      Juanma Barranquero authored
      (BROKEN_SA_RESTART, SYNC_INPUT): Remove.
      caf4040f
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      acb1c47b
    • Richard M. Stallman's avatar
      cdfca592
    • Richard M. Stallman's avatar
      2e8efb2f
    • Glenn Morris's avatar
      Auto-commit of generated files. · bb7dce39
      Glenn Morris authored
      bb7dce39
    • Richard M. Stallman's avatar
      Fix bug when a name has no key. · 69de3ec6
      Richard M. Stallman authored
      69de3ec6
    • Eli Zaretskii's avatar
      Fix a typo in a comment. · 9b318728
      Eli Zaretskii authored
      9b318728
    • Eli Zaretskii's avatar
      Set pending_signals to 1 in w32term.c's read-socket hook. · b4c932a2
      Eli Zaretskii authored
       src/w32term.c (w32_read_socket): Set pending_signals to 1, like
       xterm.c does.  Reported by Daniel Colascione <dancol@dancol.org>.
      b4c932a2
    • Eli Zaretskii's avatar
      Fix the value of __malloc_extra_blocks. · 45ba16c7
      Eli Zaretskii authored
       src/ralloc.c (r_alloc_init) [!SYSTEM_MALLOC]: Initialize
       __malloc_extra_blocks to 32 instead of 64, like alloc.c did in
       emacs_blocked_malloc, now deleted.
      45ba16c7
    • Glenn Morris's avatar
      dcddaabb
    • Glenn Morris's avatar
      Reduce version number duplication in etc/refcards · dcf8834b
      Glenn Morris authored
      * etc/refcards/emacsver.tex: New file.
      * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
      * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
      * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
      * refcards/emacsver.tex, etc/refcards/fr-dired-ref.tex:
      * etc/refcards/fr-refcard.tex, etc/refcards/fr-survival.tex:
      * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
      * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
      * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
      * etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
      * etc/refcards/vipcard.tex, etc/refcards/viperCard.tex: Include emacsver.tex.
      * refcards/calccard.tex (\emacsversionnumber):
      Rename to \versionemacs, same as all the other refcards.
      * etc/refcards/Makefile (ENVADD): New variable.
      (sk-dired-ref.pdf, sk-survival.pdf, pl-refcard.pdf)
      (%.pdf, %,dvi, sk-dired-ref.dvi, sk-survival.dvi, pl-refcard.dvi):
      Depend on emacsver.tex.  Add "." to TEXINPUTS for TeX commands.
      
      * admin/admin.el (set-version): Set major version in
      etc/refcards/ru-refcard.tex and etc/refcards/emacsver.tex.
      (set-copyright): In etc/refcards, only change ru-refcard.tex
      and emacsver.tex.
      
      * admin.el (cusver-scan, cusver-check): Bind local variables.
      
      * .bzrignore: Add etc/refcards TeX intermediate files.
      dcf8834b
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
    • Chong Yidong's avatar
      Convert several shell.el defvars to defcustoms. · d079ee5f
      Chong Yidong authored
      * shell.el (shell-file-name-chars, shell-file-name-quote-list)
      (shell-dynamic-complete-functions): Convert to defcustom.
      (shell-prompt-pattern, shell-completion-fignore): Doc fix.
      d079ee5f
    • Chong Yidong's avatar
      Doc fix for removed var gdb-use-separate-io-buffer. · 9e9da873
      Chong Yidong authored
      * building.texi (GDB User Interface Layout): Remove reference to
      removed variable gdb-use-separate-io-buffer.
      
      Fixes: debbugs:12454
      9e9da873
    • Paul Eggert's avatar
      Remove no-longer-needed Solaris 2.4 vfork bug workaround. · eeceac93
      Paul Eggert authored
      The workaround was for improving performance on Solaris 2.4, but
      is getting in the way now.  Emacs will still work if someone is
      still running Solaris 2.4 in a museum somewhere; Sun dropped
      support for Solaris 2.4 in 2003.
      * configure.ac (ac_cv_func_vfork_works): Default to 'no' on
      Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works.
      * src/callproc.c (Fcall_process) [HAVE_WORKING_VFORK]:
      * src/process.c (create_process) [HAVE_WORKING_VFORK]:
      Omit now-unnecessary workaround for the Solaris 2.4 vfork bug,
      since Emacs no longer uses vfork on that platform.
      eeceac93
    • Glenn Morris's avatar
      Reduce the number of versioned files storing the short copyright string · 78f83752
      Glenn Morris authored
      * configure.ac (copyright): New output variable.
      (COPYRIGHT): New AC_DEFINE.
      
      * admin/admin.el (set-copyright): No more need to set copyrights for
      nextstep, or .c files.  Add configure.ac and config.nt.
      
      * lib-src/ebrowse.c (version):
      * lib-src/etags.c (print_version): Use COPYRIGHT.
      
      * nextstep/templates/Info-gnustep.plist.in:
      * nextstep/templates/InfoPlist.strings.in:
      * nextstep/templates/Info.plist.in: Let configure set copyright.
      
      * nt/config.nt (COPYRIGHT): New.
      
      * src/emacs.c: Use COPYRIGHT.
      78f83752
  3. 16 Sep, 2012 8 commits
    • Katsumi Yamaoka's avatar
    • Paul Eggert's avatar
      Remove configure's --without-sync-input option. · 0caaedb1
      Paul Eggert authored
      When auditing signal-handling in preparation for cleaning it up,
      I found that SYNC_INPUT has race conditions and would be a real
      pain to fix.  Since it's an undocumented and deprecated
      configure-time option, now seems like a good time to remove it.
      Also see <http://bugs.gnu.org/11080#16>.
      * configure.ac (SYNC_INPUT, BROKEN_SA_RESTART): Remove.
      * admin/CPP-DEFINES (BROKEN_SA_RESTART, SA_RESTART): Remove.
      * etc/TODO (Make SYNC_INPUT the default): Remove, as the code now
      behaves as if SYNC_INPUT is always true.
      * src/alloc.c (_bytes_used, __malloc_extra_blocks, _malloc_internal)
      (_free_internal) [!DOUG_LEA_MALLOC]: Remove decls.
      (alloc_mutex) [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]:
      (malloc_hysteresis):
      (check_depth) [XMALLOC_OVERRUN_CHECK]:
      (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT):
      (__malloc_hook, __realloc_hook, __free_hook, BYTES_USED)
      (dont_register_blocks, bytes_used_when_reconsidered)
      (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc)
      (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc):
      [!SYSTEM_MALLOC && !SYNC_INPUT]:
      Remove. All uses removed.
      (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different
      implementation, one that depends on whether the new macro
      XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT
      is defined.
      * src/atimer.c (run_timers, handle_alarm_signal):
      * src/keyboard.c (pending_signal, poll_for_input_1, poll_for_input)
      (handle_async_input, process_pending_signals)
      (handle_input_available_signal, init_keyboard):
      * src/nsterm.m (ns_read_socket):
      * src/process.c (wait_reading_process_output):
      * src/regex.c (immediate_quit, IMMEDIATE_QUIT_CHECK):
      * src/sysdep.c (emacs_sigaction_init) [SA_RESTART]:
      (emacs_write):
      * src/xterm.c (XTread_socket):
      Assume SYNC_INPUT.
      * src/conf_post.h (SA_RESTART) [IRIX6_5]: Do not #undef.
      * src/eval.c (handling_signal): Remove.  All uses removed.
      * src/lisp.h (ELSE_PENDING_SIGNALS): Remove.
      All uses replaced with the SYNC_INPUT version.
      (reset_malloc_hooks, uninterrupt_malloc, handling_signal):
      Remove decls.
      * src/sysdep.c, src/syssignal.h (main_thread) [FORWARD_SIGNAL_TO_MAIN_THREAD]:
      Now static.
      
      Fixes: debbugs:12450
      0caaedb1
    • Paul Eggert's avatar
      634b8cac
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      164b9bf3
    • Glenn Morris's avatar
      92f7c6f1
    • Glenn Morris's avatar
      Increase compartmentalization of Nextstep builds rules, · 83da1b55
      Glenn Morris authored
      and store Emacs version number in fewer versioned files.
      
      * configure.ac (ns_appsrc): Use relative names.
      (ns_frag): Remove.
      (Info-gnustep.plist, Emacs.desktop, Info.plist, InfoPlist.strings)
      (nextstep/Makefile): Generate these nextstep files.
      (SUBDIR_MAKEFILES): Add nextstep.
      
      * Makefile.in (clean, distclean, bootstrap-clean): Add nextstep.
      
      * make-dist (nextstep/templates): Add directory.
      (nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove.
      (nextstep/Cocoa/Emacs.base/Contents)
      (nextstep/GNUstep/Emacs.base/Resources): Update contents.
      
      * .bzrignore: Add some nextstep files.
      
      * admin/admin.el (set-version): No more need to set nextstep versions.
      (set-copyright): Update for moved nextstep files.
      
      * nextstep/Makefile.in: New file.
      * nextstep/templates: New directory.
      * nextstep/templates/Emacs.desktop.in, nextstep/templates/Info-gnustep.plist.in:
      * nextstep/templates/Info.plist.in, nextstep/templates/InfoPlist.strings.in:
      Move here from various Cocoa/, GNUstep/ locations.
      Let configure set the version number.
      * nextstep/Cocoa/Emacs.base/Contents/Info.plist:
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
      * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
      * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop: Move to templates/.
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj: Remove directory.
      
      * src/Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Remove variables.
      (ns_frag): Remove.
      (ns-app): Move here from ns.mk, and simplify.
      (clean): Simplify nextstep entry.
      * src/ns.mk: Remove file.
      83da1b55
    • Chong Yidong's avatar
      Fix marker usage in align-areas. · 40d70ecb
      Chong Yidong authored
      * align.el (align-areas): Call the indication function with
      positions instead of markers for arguments.
      
      Fixes: debbugs:12343
      40d70ecb