1. 18 Nov, 2010 2 commits
  2. 17 Nov, 2010 10 commits
  3. 16 Nov, 2010 9 commits
    • Daniel Dehennin's avatar
      mml2015-epg-sign: Use From header. · 809fde05
      Daniel Dehennin authored
      mml2015.el (mml2015-epg-sign): New variable 'sender' is
       (message-options-get 'message-sender) and append it to mml2015-signers.
       If mm-sign-option is not 'guided, mml2015-signers and sender sign the mail.
      809fde05
    • Chong Yidong's avatar
    • Chong Yidong's avatar
    • Stefan Monnier's avatar
      * lisp/progmodes/octave-mod.el: Rely on elecric-*-modes. · 03f70355
      Stefan Monnier authored
      (octave-mode-map): Don't bind ;, SPC, and LF.
      (octave-auto-indent, octave-auto-newline): Remove.
      (electric-layout-rules): Declare.
      (octave-mode): Set electric-layout-rules.
      (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
      (octave-reindent-then-newline-and-indent, octave-electric-semi)
      (octave-electric-space): Remove.
      03f70355
    • 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
    • Lars Magne Ingebrigtsen's avatar
    • Dan Nicolaescu's avatar
      Convert definitions to standard C. · d2762c86
      Dan Nicolaescu authored
      * src/strftime.c (LOCALE_PARAM_DECL): Update for standard C.
      (LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
      (memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
      Convert definitions to standard C.
      * src/regex.c: Do not include <stdlib.h>, config.h does it.
      Include unistd.h.
      (xrealloc, init_syntax_once, re_match, regcomp, regexec)
      (regerror, regfree): Convert definitions to standard C.
      * src/mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
      (__mktime_internal): Convert definitions to standard C.
      d2762c86
    • Lars Magne Ingebrigtsen's avatar
      Allow gnus-html to register image displayer callbacks. · 0073e031
      Lars Magne Ingebrigtsen authored
      gnus-html.el (gnus-html-wash-images): Register a displayer.
      gnus-util.el (gnus-find-text-property-region): Return markers.
      0073e031
  4. 15 Nov, 2010 15 commits
  5. 14 Nov, 2010 4 commits
    • Chong Yidong's avatar
      Repeat 2010-11-14 change to xfns.c for w32 and ns. · a3e6bad4
      Chong Yidong authored
      * w32fns.c (Fx_create_frame):
      * nsfns.m (Fx_create_frame): Don't check for the cursorColor
      resource here; it's now done at startup.
      a3e6bad4
    • Jan D's avatar
      Fix last cons in set_wm_state, remove unused variables. · 5a232ffb
      Jan D authored
      * src/xselect.c (x_send_client_event): Remove unused variables cons and
      size.
      
      * src/xterm.c (set_wm_state): Add Qnil to final cons.
      5a232ffb
    • YAMAMOTO Mitsuharu's avatar
      Add const to array elements. · 24021b38
      YAMAMOTO Mitsuharu authored
      * keyboard.c (modify_event_symbol) : Add const to array elements of arg NAME_TABLE.
      (lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
      (lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
      (lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
      Add const to array elements.
      (scroll_bar_parts): Make static.  Fix position of const.
      
      * w32fns.c (lispy_function_keys): Add const to extern.
      
      * w32inevt.c (lispy_function_keys): Likewise.
      24021b38
    • Chong Yidong's avatar
      Let the cursorColor X resource set the the cursor face (Bug#7392). · afa42fe3
      Chong Yidong authored
      * lisp/startup.el (command-line): If the cursorColor resource is set,
      change the cursor face-spec (Bug#7392).
      
      * src/xfns.c (Fx_create_frame): Don't check for the cursorColor
      resource here; it's now done at startup.
      afa42fe3