1. 29 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Implement bidi-sensitive word movement with arrow keys. · db5dce9d
      Eli Zaretskii authored
       lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
       lisp/bindings.el (right-char, left-char): Move from subr.el and
       rename from right-arrow-command and left-arrow-command.
       (right-word, left-word): New functions.
       (global-map) <right>: Bind to right-char.
       (global-map) <left>: Bind to left-char.
       (global-map) <C-right>: Bind to right-word.
       (global-map) <C-left>: Bind to left-word.
       doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
       to arrows.  Document bidi-aware behavior of C-<right> and C-<left>.
  2. 18 May, 2010 2 commits
  3. 08 May, 2010 1 commit
  4. 07 May, 2010 1 commit
  5. 03 May, 2010 1 commit
  6. 02 May, 2010 1 commit
    • Jan Djärv's avatar
      Run kill-emacs when exiting for display closed or SIGTERM/HUP. · f63d0028
      Jan Djärv authored
      * xsmfns.c (CHDIR_OPT): New define.
      (smc_save_yourself_CB): Add CHDIR_OPT to options to use when
      restarting emacs.
      * xterm.c (x_connection_closed): Call Fkill_emacs instead of
      * emacs.c (USAGE1): Mention --chdir.
      (main): Handle --chdir.
      (standard_args): Add --chdir.
      (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
      * cmdargs.texi (Initial Options): Mention --chdir.
  7. 25 Apr, 2010 1 commit
    • Chong Yidong's avatar
      Document Emacs 23.2 changes. · eb5ed549
      Chong Yidong authored
      * functions.texi (Obsolete Functions): Document
      * minibuf.texi (Basic Completion): Document completion-in-region.
      (Programmed Completion): Document completion-annotate-function.
      * commands.texi (Reading One Event): Document read-key.
      (Distinguish Interactive): Document KIND arg to
      called-interactively-p.  Delete obsolete interactive-p.
      * elisp.texi (Top): Update node description.
      * misc.texi (Printing): Document htmlfontify-buffer.
  8. 21 Apr, 2010 3 commits
  9. 18 Apr, 2010 1 commit
  10. 16 Apr, 2010 3 commits
  11. 15 Apr, 2010 5 commits
  12. 11 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Use XFT in Lucid dialogs if available. · 1ecb2d3f
      Jan Djärv authored
      	* xmenu.c (apply_systemfont_to_dialog): New.
      	(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.
      	* lwlib-Xaw.c (widget_xft_data): New for Xft data.
      	(fill_xft_data, openFont, get_text_width_and_height)
      	(draw_text, set_text, find_xft_data, command_press)
      	(command_reset): New functions.
      	(xaw_update_one_widget): Call set_text for dialog and buttons
      	if HAVE_XFT.  Also set internalHeight for buttons.
      	(xaw_destroy_instance): Free all Xft related data.
      	(button_actions, buttonTrans): New structures.
      	(make_dialog): Call XtAppAddActions for button_actions.
      	Find xft font to use and call fill_xft_data for widgets.
      	(xaw_create_dialog): Pass instance parameter to make_dialog.
      	* lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
      	Override translations for buttons.  If depth is 16 or more, tell
      	Xaw3d to not be nice to colormap.
      	Remove separator widget, use XtNhorizDistance on first right button
      	* xresources.texi (Lucid Resources...
  13. 09 Apr, 2010 1 commit
  14. 08 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Lucid menus can now use Xft for fonts. · 99852628
      Jan Djärv authored
      * xsettings.c (current_font, SYSTEM_FONT, XSETTINGS_FONT_NAME): New.
      (parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that
      in current_font.
      (init_gconf): Read value of SYSTEM_FONT and save it in current_font.
      (Ffont_get_system_normal_font, xsettings_get_system_normal_font): New
      (syms_of_xsettings): Initialize current_font. defsubr
      * xsettings.h (Ffont_get_system_normal_font,
      xsettings_get_system_normal_font): Declare.
      * xfns.c (extern xlwmenu_default_font): Remove.
      (Fx_create_frame): Remove setting of xlwmenu_default_font, moved
      to xlwmenu.c.
      * menu.c (digest_single_submenu): If USE_LUCID and HAVE_XFT, encode
      menu items in UTF-8.
      * xmenu.c: include xsettings.h and xlwmenu.h if USE_LUCID.
      (apply_systemfont_to_menu): New function.
      (set_frame_menubar, create_and_show_popup_menu): Call
      * xlwmenu.c (xlwmenu_default_font): Make static.
      (xlwMenuResources): Add XtNfaceName and XtNdefault...
  15. 06 Apr, 2010 1 commit
  16. 30 Mar, 2010 3 commits
    • Juri Linkov's avatar
      Make occur handle multi-line matches cleanly with context. · dc2d2590
      Juri Linkov authored
      * replace.el (occur-accumulate-lines): Add optional arg `pt'.
      (occur-engine): Add local variables `ret', `prev-after-lines',
      `prev-lines'.  Use more arguments for `occur-context-lines'.
      Set first elem of its returned list to `data', and the second elem
      to `prev-after-lines'.  Don't print the separator line.
      In the end, print remaining context after-lines.
      (occur-context-lines): Add new arguments `begpt', `endpt',
      `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
      after-lines of the previous match with before-lines of the
      current match and not overlap them.  Return a list with two
      values: the output line and the list of context after-lines.
      * search.texi (Other Repeating Search): Remove line that `occur'
      can not handle multiline matches.
      * occur-testsuite.el (occur-tests): Add tests for context lines.
    • Eli Zaretskii's avatar
      Improve documentation of "C-x 8 RET". · ce79424f
      Eli Zaretskii authored
       mule.texi (Input Methods): Mention "C-x 8 RET" and add a
       cross-reference to "Inserting Text".
       basic.texi (Inserting Text): Add an index entry for "C-x 8 RET".
       Mention completion provided by `ucs-insert'.
    • Nick Roberts's avatar
      *** empty log message *** · 146b8b16
      Nick Roberts authored
  17. 28 Mar, 2010 3 commits
    • Chong Yidong's avatar
      Expand discussion of mail setup. · 8233e79a
      Chong Yidong authored
      * sending.texi (Sending Mail): Note variables that may need customizing.
      (Mail Sending): Expand discussion of send-mail-function.
    • Nick Roberts's avatar
    • Chong Yidong's avatar
      Document Message mode as the default mail mode. · e73c2434
      Chong Yidong authored
      * sending.texi (Sending Mail): Document the fact that Message mode is
      now the default mail mode.
      (Mail Format, Mail Headers): Document mail-from-style changes.
      (Mail Commands): Rename from Mail mode.  Document Message mode.
      (Mail Misc): Rename from Mail mode Misc.
      (Mail Sending, Header Editing, Mail Misc): Switch to Message mode
      command names and update keybindings.
      (Header Editing): Document message-tab.  De-document
      mail-self-blind, mail-default-reply-to, and mail-archive-file-name in
      favor of mail-default-headers.  Ad index entries for user-full-name and
      (Citing Mail): Update changes in Message mode behavior.  Document
      (Mail Signature): New node, moved from Mail Misc.
      (Mail Aliases): Mail abbrevs are the default with Message mode.
      (Mail Methods): Note that Message mode is now the default.
      * rmail.texi (Rmail Reply):
      * text.texi (Text Mode):
      * major.texi (Major Modes):
      * mule.texi (Output Coding): Refer to Message mode.
      * custom.texi (Init Examples): Add xref to Mail Header.
      * emacs.texi (Top):  Fix xrefs.
  18. 26 Mar, 2010 1 commit
  19. 25 Mar, 2010 5 commits
  20. 24 Mar, 2010 1 commit
    • Glenn Morris's avatar
      Close bug#5759. · 6d98672d
      Glenn Morris authored
      * ack.texi (Acknowledgments):
      * emacs.texi (Acknowledgments): Fix ispell attribution.
  21. 22 Mar, 2010 1 commit
    • Jan Djärv's avatar
      bug #5736: Allow X-resource menuBar to take on/off as documented. · 93318cbd
      Jan Djärv authored
      * frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736).
      * xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER.
      * dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new.
      * xresources.texi (Table of Resources): Clarify toolBar number
      for Gtk+.
      * frames.texi (Menu Bars): menuBarLines => menuBar (bug#5736).
  22. 21 Mar, 2010 2 commits