1. 23 Apr, 2011 5 commits
    • Eli Zaretskii's avatar
      Fix doprnt so it could be used safely in `verror'. (Bug#8435) · e6c3da20
      Eli Zaretskii authored
       src/doprnt.c: Include limits.h.
       (SIZE_MAX): New macro.
       (doprnt): Return a size_t value.  2nd arg is now size_t.  Many
       local variables are now size_t instead of int or unsigned.
       Improve overflow protection.  Support `l' modifier for integer
       conversions.  Support %l conversion.  Don't assume an EMACS_INT
       argument for integer conversions and for %c.
       src/lisp.h (doprnt): Restore prototype.
       src/makefile.w32-in ($(BLD)/callint.$(O)): Depend on
       $(SRC)/character.h.
       src/Makefile.in (base_obj): Add back doprnt.o.
       src/deps.mk (doprnt.o): Add back prerequisites.
       (callint.o): Depend on character.h.
       src/eval.c (internal_lisp_condition_case): Include the handler
       representation in the error message.
       (verror): Call doprnt instead of vsnprintf.  Fix an off-by-one bug
       when breaking from the loop.
       src/xdisp.c (vmessage): Call doprnt instead of vsnprintf.
       src/callint.c (Fcall_interactively): When displaying error message
       about invalid control letter, pass the character's codepoint, not
       a pointer to its multibyte form.  Improve display of the character
       in octal and display also its hex code.
       src/character.c (char_string): Use %x to display the (unsigned)
       codepoint of an invalid character, to avoid displaying a bogus
       negative value.
       src/font.c (check_otf_features): Pass SDATA of SYMBOL_NAME to
       `error', not SYMBOL_NAME itself.
       src/coding.c (Fencode_sjis_char, Fencode_big5_char): Use %c for
       character arguments to `error'.
       src/charset.c (check_iso_charset_parameter): Fix incorrect argument
       to `error' in error message about FINAL_CHAR argument.  Make sure
       FINAL_CHAR is a character, and use %c when it is passed as
       argument to `error'.
      e6c3da20
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Revert incorrect change to copyright years. · 3553ba54
      Glenn Morris authored
      3553ba54
    • Ted Zlatanov's avatar
      gnus-registry.el (gnus-registry-ignore-group-p): Test specifically for the... · 74db886b
      Ted Zlatanov authored
      gnus-registry.el (gnus-registry-ignore-group-p): Test specifically for the case where `gnus-registry-ignored-groups' is a list of lists, and don't call `gnus-parameter-registry-ignore' otherwise.
      74db886b
  2. 22 Apr, 2011 7 commits
  3. 21 Apr, 2011 7 commits
  4. 20 Apr, 2011 16 commits
  5. 19 Apr, 2011 4 commits
    • Stefan Monnier's avatar
      * lisp/progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p) · 602ea69d
      Stefan Monnier authored
      (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
      multi-line comments as well.
      602ea69d
    • Juanma Barranquero's avatar
      lisp/*.el: Lexical-binding cleanup. · 06b60517
      Juanma Barranquero authored
      06b60517
    • Eli Zaretskii's avatar
      Support buffers > 2GB on 64-bit hosts. · 04c56954
      Eli Zaretskii authored
       src/insdel.c (make_gap_larger): Remove limitation of buffer size
       to <= INT_MAX.
       src/syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix setting of
       gl_state.e_property when gl_state.object is Qt.
      04c56954
    • Glenn Morris's avatar
      calendar housekeeping prompted by lexical-binding. · bc4f7f3d
      Glenn Morris authored
      * lisp/calendar/appt.el (appt-make-list):
      * lisp/calendar/cal-china.el (calendar-chinese-date-string):
      * lisp/calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
      (diary-hebrew-yahrzeit):
      * lisp/calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
      * lisp/calendar/calendar.el (calendar-generate-window):
      * lisp/calendar/time-date.el (time-to-days):
      Remove unused local variables.
      
      * lisp/calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
      optional argument `style'.
      
      * lisp/calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
      (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
      (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
      (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
      * lisp/calendar/cal-html.el (cal-html-insert-minical):
      * lisp/calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
      (calendar-mark-date-pattern):
      Prefix "unused" locals.
      bc4f7f3d
  6. 18 Apr, 2011 1 commit
    • Chong Yidong's avatar
      Allow glyphless-char-display to distinguish between X and text terminals. · 16a43933
      Chong Yidong authored
      Use this for Tabulated List mode.
      
      * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
      glyphless-char-display table.
      (tabulated-list-glyphless-char-display): New var.
      
      * src/term.c (produce_glyphless_glyph): Handle cons cell entry in
      glyphless-char-display.
      
      * src/xdisp.c (lookup_glyphless_char_display)
      (produce_glyphless_glyph): Handle cons cell entry in
      glyphless-char-display.
      (Vglyphless_char_display): Document it.
      16a43933