1. 04 Jan, 2011 3 commits
  2. 03 Jan, 2011 1 commit
  3. 26 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/rx.el: Make it a superset of sregex. · 723ee192
      Stefan Monnier authored
      (rx-constituents): Add `any => "."', mark `repeat' as taking any number
      of args, add `regex' alias.
      (rx-info): Add arg to distinguish head and standalone forms.
      (rx-check, rx-form): Pass the corresponding arg.
      (rx-**): Simplify.
      (rx-repeat): Make it work for any number of args.
      (rx-syntax): Make it accept syntax chars as is.
      * lisp/obsolete/sregex.el: Move from emacs-lisp/.
      * lisp/emacs-lisp/re-builder.el: Remove sregex support.
      * lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
      723ee192
  4. 25 Dec, 2010 1 commit
    • Eli Zaretskii's avatar
      More fallout from fixing bug #7587. · 2e4ab211
      Eli Zaretskii authored
       src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
       the basic faces are supported.
       doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
       etc/NEWS: Remove the entry about format-mode-line accepting only
       basic faces.
      2e4ab211
  5. 24 Dec, 2010 2 commits
  6. 20 Dec, 2010 2 commits
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Implement tool-bar separators for non-GTK tool-bars. · 94975270
      Chong Yidong authored
      * lisp/tool-bar.el (tool-bar--image-expression): New function.
      (tool-bar-local-item, tool-bar--image-exp): Use it.
      (tool-bar-setup): Initialize tool-bar-separator-image-expression.
      Use :enable instead of :visible to avoid changing the tool-bar
      configuration unnecessarily.
      
      * src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
      (parse_tool_bar_item): Use it to obtain image separators for
      displays not using native tool-bar separators.
      
      * src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
      specially, since this is now done in parse_tool_bar_item.
      
      * lisp/info.el (info-tool-bar-map): Add separators.
      94975270
  7. 18 Dec, 2010 1 commit
    • Eli Zaretskii's avatar
      Fallout from fixing bug #7587. · 287e63bb
      Eli Zaretskii authored
       doc/lispref/modes.texi (Emulating Mode Line): Update documentation of
       format-mode-line according to changes that fixed bug #7587.
      
       etc/NEWS: Mention the incompatible change in format-mode-line wrt its
       FACE argument.
      287e63bb
  8. 17 Dec, 2010 1 commit
    • Chong Yidong's avatar
      Support for menu separators in the GTK tool-bar. · 4039c786
      Chong Yidong authored
      * src/gtkutil.c (XG_BIN_CHILD): New macro.
      (xg_get_menu_item_label, xg_update_menubar)
      (xg_update_menu_item, xg_tool_bar_menu_proxy)
      (xg_show_toolbar_item, update_frame_tool_bar): Use it.
      (separator_names, xg_separator_p): Move to keyboard.c.
      (create_menus, xg_update_submenu, update_frame_tool_bar): Use
      menu_separator_name_p.
      
      * src/keyboard.c (parse_tool_bar_item): Allow menu separators in
      tool-bar maps.
      (menu_separator_name_p): New function, from gtkutil.c.
      (separator_names): Move from gtkutil.c.
      
      * src/keyboard.h (menu_separator_name_p): Add prototype.
      
      * src/nsmenu.m (name_is_separator): Function deleted.
      (addItemWithWidgetValue): Use menu_separator_name_p.
      
      * src/w32menu.c (name_is_separator): Function deleted.
      (add_menu_item): Use menu_separator_name_p.
      4039c786
  9. 16 Dec, 2010 2 commits
  10. 15 Dec, 2010 1 commit
  11. 14 Dec, 2010 1 commit
  12. 06 Dec, 2010 1 commit
  13. 03 Dec, 2010 1 commit
  14. 24 Nov, 2010 1 commit
  15. 23 Nov, 2010 1 commit
  16. 21 Nov, 2010 3 commits
  17. 20 Nov, 2010 2 commits
    • Chong Yidong's avatar
      Document VC headers and other VC changes. · 1aaae3f3
      Chong Yidong authored
      * maintaining.texi (Version Control): Say "commit", not "check in".
      (Version Control Systems): Simplify descriptions.
      (VCS Merging, VCS Changesets, VCS Repositories): New nodes, split from
      VCS Concepts.
      (VC Mode Line): Update example.
      (Old Revisions): Document revert-buffer for vc-diff.
      (Log Buffer): Promote to a subsection.  Document header lines.
      
      * emacs.texi (Top): Update node listing.
      1aaae3f3
    • Chong Yidong's avatar
      Document some Emacs 23.3 changes in manuals. · ec8a6295
      Chong Yidong authored
      * doc/emacs/macos.texi (Mac / GNUstep Basics): Document
      ns-right-alternate-modifier.
      
      * doc/lispref/numbers.texi (Float Basics): Document float-e and float-pi.
      
      * doc/lispref/symbols.texi (Creating Symbols): Using unintern without an
      obarray arg is now obsolete.
      
      * doc/lispref/text.texi (Kill Functions, Kill Functions)
      (Low-Level Kill Ring, Low-Level Kill Ring): Remove obsolete
      YANK-HANDLER args.
      
      * doc/lispref/variables.texi (Defining Variables): Change "pi" example to
      "float-pi".
      ec8a6295
  18. 18 Nov, 2010 1 commit
  19. 17 Nov, 2010 1 commit
    • Chong Yidong's avatar
      Cleanup of window coordinate positioning code. · 9173a8fb
      Chong Yidong authored
      Now, text area click input events measure Y from the top of the text
      area, excluding the header line if any.
      
      * src/dispnew.c (buffer_posn_from_coords): Assume that X counts from
      the start of the text area.
      
      * src/keyboard.c (make_lispy_position): For text area clicks, record Y
      pixel position relative to the text area, excluding header line.
      Also change X and Y to Lisp_Objects, not pointers; don't return
      coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
      buffer_posn_from_coords counting from the start of the text area.
      (Fposn_at_x_y, make_lispy_event): Callers changed.
      
      * src/w32term.c (w32_read_socket):
      * src/msdos.c (dos_rawgetc):
      * src/xterm.c (handle_one_xevent): Likewise.
      
      * src/window.c (coordinates_in_window): Change X and Y to ints rather
      than pointers; don't return coordinates via pointers.
      (struct check_window_data): Change X and Y from pointers to ints.
      (window_from_coordinates): Remove args WX and WY; don't return
      coordinates via pointers.
      (Fcoordinates_in_window_p, window_from_coordinates):
      (check_window_containing, Fwindow_at): Callers changed.
      (window_relative_x_coord): New function.
      
      * src/window.h (window_from_coordinates, window_relative_x_coord):
      Update prototypes.
      
      * src/xdisp.c (remember_mouse_glyph): Change window_from_coordinates
      call.  Use window_relative_x_coord.
      (note_mouse_highlight): Change window_from_coordinates call.
      9173a8fb
  20. 16 Nov, 2010 3 commits
    • Chong Yidong's avatar
    • Stefan Monnier's avatar
      * lisp/electric.el (electric-layout-mode): New minor mode. · 7100ff98
      Stefan Monnier authored
      (electric--after-char-pos): New function.
      (electric-indent-post-self-insert-function): Use it.
      (electric-layout-rules): New var.
      (electric-layout-post-self-insert-function): New function.
      (electric-indent-mode): Make them interact better.
      7100ff98
    • Chong Yidong's avatar
      Cleanup of window coordinate positioning code. · 77cd1a62
      Chong Yidong authored
      Now, text area click input events measure Y from the top of the text
      area, excluding the header line if any.
      
      * src/dispnew.c (buffer_posn_from_coords): Assume that X counts from
      the start of the text area.
      
      * src/keyboard.c (make_lispy_position): For text area clicks, record Y
      pixel position relative to the text area, excluding header line.
      Also change X and Y to Lisp_Objects, not pointers; don't return
      coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
      buffer_posn_from_coords counting from the start of the text area.
      (Fposn_at_x_y, make_lispy_event): Callers changed.
      
      * src/w32term.c (w32_read_socket):
      * src/msdos.c (dos_rawgetc):
      * src/xterm.c (handle_one_xevent): Likewise.
      
      * src/window.c (coordinates_in_window): Change X and Y to ints rather
      than pointers; don't return coordinates via pointers.
      (struct check_window_data): Change X and Y from pointers to ints.
      (window_from_coordinates): Remove args WX and WY; don't return
      coordinates via pointers.
      (Fcoordinates_in_window_p, window_from_coordinates):
      (check_window_containing, Fwindow_at): Callers changed.
      (window_relative_x_coord): New function.
      
      * src/window.h (window_from_coordinates, window_relative_x_coord):
      Update prototypes.
      
      * src/xdisp.c (remember_mouse_glyph): Change window_from_coordinates
      call.  Use window_relative_x_coord.
      (note_mouse_highlight): Change window_from_coordinates call.
      77cd1a62
  21. 13 Nov, 2010 3 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix and document display of glyphless characters. · 0eb025fb
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Fix cursor positioning on
       zero-width characters.
       (syms_of_xdisp) <glyphless-char-display>: Doc fix.
       src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'.
       src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
       box before drawing the glyphs inside it.
       src/dispextern.h (enum glyphless_display_method): Rename
       GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.  All
       users changed.
       src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
       comments.
       (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
       whitespace in "[]", to simulate a box.  Don't use uninitialized
       variable `width'.
       lisp/international/characters.el (glyphless-char-display-control):
       Renamed from glyphless-char-control; all users changed.  Doc fix.
       Signal an error if display method is not one of the recognized
       symbols.
       doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not
       necessarily displayed as empty boxes.
       doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no
       fonts are not necessarily displayed as empty boxes.
       doc/emacs/display.texi (Text Display): Document display of glyphless
       characters.
       doc/lispref/display.texi (Usual Display): Characters with no fonts are not
       necessarily displayed as empty boxes.
       etc/NEWS: Document display of glyphless characters.
      0eb025fb
    • Glenn Morris's avatar
      Document count-words-region. · ea4f7750
      Glenn Morris authored
      * doc/emacs/basic.texi (Position Info): Add M-x count-words-region.
      
      * doc/lispintro/emacs-lisp-intro.texi: Rename the `count-words-region' example,
      since there is now a standard command of that name.
      
      * etc/NEWS: Mention it.
      ea4f7750
  22. 12 Nov, 2010 1 commit
  23. 11 Nov, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/modula2.el: Use SMIE and skeleton. · cbf83ce9
      Stefan Monnier authored
      (m2-mode-syntax-table): (*..*) can be nested.
      Add //...\n.  Fix paren syntax.
      (m2-mode-map): Remove LF and TAB bindings.
      (m2-indent): Add safety property.
      (m2-smie-grammar): New var.
      (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
      (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
      (m2-mode): Use define-derived-mode.
      (m2-newline, m2-tab): Remove.
      (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
      (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
      (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
      (m2-import): Use define-skeleton.
      * test/indent/modula2.mod: New file.
      cbf83ce9
  24. 08 Nov, 2010 1 commit
  25. 07 Nov, 2010 1 commit
  26. 05 Nov, 2010 1 commit
  27. 03 Nov, 2010 2 commits