1. 08 Jun, 2012 1 commit
    • Dmitry Antipov's avatar
      Block-based vector allocation of small vectors. · f3372c87
      Dmitry Antipov authored
      * src/lisp.h (struct vectorlike_header): New field `nbytes',
      adjust comment accordingly.
      * src/alloc.c (enum mem_type): New type `MEM_TYPE_VECTOR_BLOCK'
      to denote vector blocks. Adjust users (live_vector_p,
      mark_maybe_pointer, valid_lisp_object_p) accordingly.
      (COMMON_MULTIPLE): Move outside #if USE_LSB_TAG.
      (VECTOR_BLOCK_SIZE, vroundup, VECTOR_BLOCK_BYTES),
      (VBLOCK_BYTES_MIN, VBLOCK_BYTES_MAX, VECTOR_MAX_FREE_LIST_INDEX),
      (VECTOR_FREE_LIST_FLAG, ADVANCE, VINDEX, SETUP_ON_FREE_LIST),
      (VECTOR_SIZE, VECTOR_IN_BLOCK): New macros.
      (roundup_size): New constant.
      (struct vector_block): New data type.
      (vector_blocks, vector_free_lists, zero_vector): New variables.
      (all_vectors): Renamed to `large_vectors'.
      (allocate_vector_from_block, init_vectors, allocate_vector_from_block)
      (sweep_vectors): New functions.
      (allocate_vectorlike): Return `zero_vector' as the only vector of
      0 items. Allocate new vector from block if vector size is less than
      or equal to VBLOCK_BYTES_MAX.
      (Fgarbage_collect): Move all vector sweeping code to sweep_vectors.
      (init_alloc_once): Add call to init_vectors.
      * doc/lispref/internals.text (Garbage Collection): Document new
      vector management code and vectorlike_header structure.
      f3372c87
  2. 03 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Implement default help-echo for mode line. · 5f2c76c6
      Chong Yidong authored
      * lisp/bindings.el: Remove explicit help-echo from format-mode-line.
      (mode-line-front-space, mode-line-end-spaces)
      (mode-line-misc-info): New variables.
      (mode-line-modes, mode-line-position): Move the default value to
      the variable definition.
      (mode-line-default-help-echo): New defcustom.
      
      * src/buffer.c (buffer_local_value_1): New function, split from
      Fbuffer_local_value; can return Qunbound.
      (Fbuffer_local_value): Use it.
      (Vmode_line_format): Docstring tweaks.
      
      * src/xdisp.c (calc_pixel_width_or_height): Use Fbuffer_local_value.
      (note_mode_line_or_margin_highlight): If there is no help echo,
      use mode-line-default-help-echo.  Handle the case where the mouse
      position is past the end of the mode line string.
      
      * doc/lispref/modes.texi (Mode Line Data): Use "mode line construct"
      terminology for consistency.
      5f2c76c6
  3. 27 May, 2012 1 commit
  4. 15 May, 2012 2 commits
    • Chong Yidong's avatar
      Misc docfixes. · 27d1f87a
      Chong Yidong authored
      Suggested by Martin Rudalics.
      
      * doc/lispref/display.texi (Face Functions): Fix define-obsolete-face-alias.
      
      * doc/lispref/functions.texi (Obsolete Functions): Fix doc for
      set-advertised-calling-convention.
      
      * doc/lispref/modes.texi (Mode Help): Fix describe-mode.
      
      * doc/lispref/variables.texi (Variable Aliases): Fix make-obsolete-variable.
      
      * lisp/help.el (describe-mode): Doc fix.
      27d1f87a
    • Martin Rudalics's avatar
      Some minor fixes of Elisp manual. · 0b128ac4
      Martin Rudalics authored
      * commands.texi (Recursive Editing): recursive-edit is a
      command.
      * compile.texi (Docs and Compilation):
      byte-compile-dynamic-docstrings is an option.
      * debugging.texi (Invoking the Debugger): debug is a command.
      * display.texi (Progress): progress-reporter-update and
      progress-reporter-force-update have VALUE argument optional.
      (Animated Images): Use non-@code{nil} instead of non-nil.
      * files.texi (Format Conversion Round-Trip): Use non-@code{nil}
      instead of non-nil.
      * frames.texi (Creating Frames): make-frame is a command.
      (Input Focus): select-frame is a command.
      (Pointer Shape): void-text-area-pointer is an option.
      * help.texi (Describing Characters): read-kbd-macro is a
      command.
      (Help Functions): describe-prefix-bindings is a command.
      * markers.texi (Creating Markers): Both arguments of copy-marker
      are optional.
      * minibuf.texi (Reading File Names): Use @kbd instead of @code.
      * modes.texi (Mode Line Variables): mode-line-remote and
      mode-line-client are not options.
      (Imenu): imenu-add-to-menubar is a command.
      (SMIE Indentation Helpers): Use non-@code{nil} instead of
      non-nil.
      * os.texi (Sound Output): play-sound-file is a command.
      * package.texi (Package Archives): Use @key{RET} instead of
      @kbd{RET}.
      * processes.texi (Signals to Processes): Use @key{RET} instead
      of @code{RET}.
      (Signals to Processes): signal-process is a command.
      * text.texi (Clickable Text): Use @key{RET} instead of
      @kbd{RET}.
      (Base 64): base64-encode-string is not a command while
      base64-decode-region is.
      * windows.texi (Switching Buffers): pop-to-buffer is a command.
      0b128ac4
  5. 12 May, 2012 1 commit
    • Glenn Morris's avatar
      Let configure test for a suitable mkdir -p · 3fe7cdc8
      Glenn Morris authored
      * configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
      (MKDEPDIR): Use $MKDIR_P.
      
      * Makefile.in (MKDIR_P): New, set by configure.
      (mkdir): Use $MKDIR_P.
      
      * doc/emacs/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/lispintro/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/lispref/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * doc/misc/Makefile.in (MKDIR_P): New, set by configure.
      (mkinfodir): Use $MKDIR_P.
      
      * src/Makefile.in (MKDIR_P): New, set by configure.
      
      * src/ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
      3fe7cdc8
  6. 10 May, 2012 3 commits
  7. 09 May, 2012 2 commits
  8. 08 May, 2012 5 commits
  9. 05 May, 2012 7 commits
  10. 04 May, 2012 8 commits
    • Glenn Morris's avatar
      Small edits for doc/lispref/lists.texi · 8d8d67ae
      Glenn Morris authored
      * lists.texi (List-related Predicates, List Variables): Tweak page-breaks.
      (Sets And Lists): Convert inforef to xref.
      8d8d67ae
    • Glenn Morris's avatar
      cd8d0253
    • Glenn Morris's avatar
      A belated farewell to documenting Emacs 18 features · 50f00841
      Glenn Morris authored
      * commands.texi (Event Input Misc): Don't mention unread-command-char.
      * numbers.texi (Predicates on Numbers): Don't mention Emacs 18.
      50f00841
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Small edits for lispref/intro.texi · 2da3a0d2
      Glenn Morris authored
      * intro.texi (Caveats): Copyedit.
      (Lisp History): Convert inforef to xref.
      (Lisp History, Printing Notation, Version Info): Improve page-breaks.
      2da3a0d2
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Give info files the .info extension · 8045b906
      Glenn Morris authored
      Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00354.html
      
      * configure.in (INFO_EXT, INFO_OPTS): New output variables.
      
      * doc/emacs/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/emacs/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS): Use $INFO_EXT.
      ($(infodir)/emacs$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT, and -o.
      
      * doc/lispintro/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      (${infodir}/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/lispintro/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS, clean): Use $INFO_EXT.
      ($(infodir)/eintr$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      
      * doc/lispref/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (info, infoclean): Use $INFO_EXT.
      ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      * doc/lispref/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (info, maintainer-clean): Use $INFO_EXT.
      ($(infodir)/elisp$(INFO_EXT)): Use $INFO_EXT and $INFO_OPT.
      
      * doc/misc/Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
      (INFO_TARGETS): Use $INFO_EXT.
      Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
      * doc/misc/makefile.w32-in (INFO_EXT, INFO_OPTS): New.
      (INFO_TARGETS): Use $INFO_EXT.
      Make all rules generating info files use $INFO_EXT, $INFO_OPT, and -o.
      8045b906
    • Chong Yidong's avatar
      Convert more defvars to defcustoms. · 78f3273a
      Chong Yidong authored
      * dos-w32.el (file-name-buffer-file-type-alist)
      (direct-print-region-use-command-dot-com):
      * ffap.el (ffap-menu-regexp):
      * follow.el (follow-debug):
      * forms.el (forms--debug):
      * iswitchb.el (iswitchb-all-frames):
      * ido.el (ido-all-frames):
      * mail/feedmail.el (feedmail-mail-send-hook)
      (feedmail-mail-send-hook-queued):
      * mail/footnote.el (footnote-signature-separator):
      * mail/mailabbrev.el (mail-alias-separator-string)
      (mail-abbrev-mode-regexp):
      * mail/rmail.el (rmail-speedbar-match-folder-regexp):
      * progmodes/idlwave.el (idlwave-libinfo-file)
      (idlwave-default-completion-case-is-down)
      (idlwave-library-routines): Convert defvars to defcustoms.
      
      * mail/rmail.el (rmail-decode-mime-charset):
      * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
      (idlwave-shell-fix-inserted-breaks)
      (idlwave-shell-activate-alt-keybindings)
      (idlwave-shell-use-breakpoint-glyph):
      * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
      
      * doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
      78f3273a
  11. 03 May, 2012 1 commit
    • Paul Eggert's avatar
      Do not limit current-time-string to years 1000..9999. · ab0fa4e4
      Paul Eggert authored
      * src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
      (Fcurrent_time_string): Support any year that is supported by the
      underlying localtime representation.  Don't use asctime, as it
      has undefined behavior for years outside the range -999..9999.
      * doc/lispref/os.texi (Time of Day): Do not limit current-time-string
      to years 1000..9999.
      * etc/NEWS: Do not limit current-time-string to years 1000..9999.
      ab0fa4e4
  12. 02 May, 2012 1 commit
    • Chong Yidong's avatar
      Add customization data to several built-in variables. · 2bc356d7
      Chong Yidong authored
      * lisp/cus-start.el (gc-cons-percentage, exec-suffixes)
      (dos-display-scancodes, dos-hyper-key, dos-super-key)
      (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
      (make-cursor-line-fully-visible, void-text-area-pointer)
      (font-list-limit): Add customization data.
      
      * doc/lispref/display.texi (Font Lookup):
      * doc/lispref/frames.texi (Pointer Shape):
      * doc/lispref/processes.texi (Subprocess Creation): Use defopt for options.
      2bc356d7
  13. 01 May, 2012 1 commit
    • Glenn Morris's avatar
      Only print the edition number of the manuals in the TeX version · bbba8869
      Glenn Morris authored
      Frankly, I think the edition conveys little to no information.
      The version number of Emacs is much more relevant.
      No-one seems to know what the rules are for updating the edition anyway...
      
      * doc/emacs/emacs.texi (@copying): Only print EDITION in the TeX version.
      
      * doc/lispref/elisp.texi (@copying):
      * doc/lispref/intro.texi (Introduction): Only print VERSION in the TeX version.
      bbba8869
  14. 29 Apr, 2012 1 commit
  15. 28 Apr, 2012 1 commit
  16. 26 Apr, 2012 4 commits