1. 09 Jun, 2012 2 commits
  2. 08 Jun, 2012 2 commits
    • Chong Yidong's avatar
      Face cleanups. Remove some uses of old-style face spec and :bold/:italic. · 4b56d0fe
      Chong Yidong authored
      * faces.el (set-face-attribute): Doc fix.
      (modify-face): Don't use :bold and :italic.
      (error, warning, success): Tweak definitions.
      
      * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
      (custom-modified, custom-set, custom-changed, custom-themed)
      (custom-saved, custom-button, custom-button-mouse)
      (custom-button-pressed, custom-state, custom-comment-tag)
      (custom-variable-tag, custom-group-tag-1, custom-group-tag)
      (custom-group-subtitle): Use new-style face specs.
      (custom-invalid-face, custom-rogue-face, custom-modified-face)
      (custom-set-face, custom-changed-face, custom-saved-face)
      (custom-button-face, custom-button-pressed-face)
      (custom-documentation-face, custom-state-face)
      (custom-comment-face, custom-comment-tag-face)
      (custom-variable-tag-face, custom-variable-button-face)
      (custom-face-tag-face, custom-group-tag-face-1)
      (custom-group-tag-face): Remove obsolete face alias.
      
      * epa.el (epa-validity-high, epa-validity-medium)
      (epa-validity-low, epa-mark, epa-field-name, epa-string)
      (epa-field-name, epa-field-body):
      * font-lock.el (font-lock-comment-face, font-lock-string-face)
      (font-lock-keyword-face, font-lock-builtin-face)
      (font-lock-function-name-face, font-lock-variable-name-face)
      (font-lock-type-face, font-lock-constant-face):
      * ido.el (ido-first-match, ido-only-match, ido-subdir)
      (ido-virtual, ido-indicator, ido-incomplete-regexp):
      * speedbar.el (speedbar-button-face, speedbar-file-face)
      (speedbar-directory-face, speedbar-tag-face)
      (speedbar-selected-face, speedbar-highlight-face)
      (speedbar-separator-face):
      * whitespace.el (whitespace-newline, whitespace-space)
      (whitespace-hspace, whitespace-tab, whitespace-trailing)
      (whitespace-line, whitespace-space-before-tab)
      (whitespace-space-after-tab, whitespace-indentation)
      (whitespace-empty):
      * emulation/cua-base.el (cua-global-mark):
      * eshell/em-prompt.el (eshell-prompt):
      * net/newst-plainview.el (newsticker-new-item-face)
      (newsticker-old-item-face, newsticker-immortal-item-face)
      (newsticker-obsolete-item-face, newsticker-date-face)
      (newsticker-statistics-face, newsticker-default-face):
      * net/newst-reader.el (newsticker-feed-face)
      (newsticker-extra-face, newsticker-enclosure-face):
      * net/newst-treeview.el (newsticker-treeview-face)
      (newsticker-treeview-new-face, newsticker-treeview-old-face)
      (newsticker-treeview-immortal-face)
      (newsticker-treeview-obsolete-face)
      (newsticker-treeview-selection-face):
      * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
      (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
      (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
      (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
      * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
      (nxml-outline-active-indicator, nxml-outline-ellipsis):
      * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
      (mpuz-text):
      * progmodes/vera-mode.el (vera-font-lock-number)
      (vera-font-lock-function, vera-font-lock-interface):
      * textmodes/table.el (table-cell): Use new-style face specs, and
      don't use the old :bold and :italic attributes.
      
      * erc-button.el (erc-button):
      * erc-goodies.el (erc-bold-face, erc-inverse-face)
      (erc-underline-face, fg:erc-color-*):
      * erc-match.el (erc-current-nick-face, erc-dangerous-host-face)
      (erc-pal-face, erc-fool-face, erc-keyword-face):
      * erc-stamp.el (erc-timestamp-face): Likewise.
      
      * erc.el (erc-direct-msg-face, erc-header-line, erc-input-face)
      (erc-command-indicator-face, erc-notice-face, erc-action-face)
      (erc-error-face, erc-my-nick-face, erc-nick-default-face)
      (erc-nick-msg-face): Use new-style face specs, and avoid :bold.
      
      * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
      (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
      (ebrowse-member-class, ebrowse-progress): Likewise.
      (ebrowse-tree-mark-face, ebrowse-root-class-face)
      (ebrowse-file-name-face, ebrowse-default-face)
      (ebrowse-member-attribute-face, ebrowse-member-class-face)
      (ebrowse-progress-face): Remove obsolete faces.
      
      * progmodes/flymake.el (flymake-errline, flymake-warnline):
      Inherit from error and warning faces respectively.
      
      * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
      Likewise.
      (flyspell-incorrect-face, flyspell-duplicate-face): Remove
      obsolete aliases.
      
      * display.texi (Face Attributes): Font family does not accept
      wildcards.  De-document obsolete :bold and :italic attributes.
      (Defining Faces): Use new-style face spec format.
      4b56d0fe
    • 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
  3. 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
  4. 01 Jun, 2012 1 commit
  5. 27 May, 2012 1 commit
  6. 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
  7. 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
  8. 10 May, 2012 3 commits
  9. 09 May, 2012 2 commits
  10. 08 May, 2012 5 commits
  11. 05 May, 2012 6 commits
  12. 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
  13. 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
  14. 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
  15. 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
  16. 29 Apr, 2012 1 commit
  17. 28 Apr, 2012 1 commit
  18. 26 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Some menu fixes for doc/lispref · cf988578
      Glenn Morris authored
      * doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
      Some fixes for detailed menu.
      
      * doc/lispref/modes.texi (Major Modes, Auto-Indentation):
      * doc/lispref/buffers.texi (Buffers): Some fixes for menu descriptions.
      cf988578