1. 21 Sep, 2014 1 commit
    • Tassilo Horn's avatar
      Use font-lock-face property; derive from special-mode · 09973863
      Tassilo Horn authored
      * lisp/textmodes/reftex-sel.el (reftex-select-label-mode)
      (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
      from special-mode (instead of fundamental-mode) and propertize
      with font-lock-face instead of just face.
      
      * lisp/textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
      
      Fixes: debbugs:18496
      09973863
  2. 19 Sep, 2014 4 commits
  3. 18 Sep, 2014 6 commits
  4. 17 Sep, 2014 6 commits
  5. 16 Sep, 2014 4 commits
  6. 15 Sep, 2014 6 commits
    • Eli Zaretskii's avatar
      Support playing on MS-Windows non-ASCII sound files using Unicode APIs. · a7fc3ab8
      Eli Zaretskii authored
       src/sound.c [WINDOWSNT]: Include w32common.h and mbstring.h.
       (SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the
       error message format.  Use message_with_string to have non-ASCII
       file names properly displayed.
       (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files
       when w32-unicode-filenames is non-nil, but not on Windows 9X,
       where these APIs are not available even in UNICOWS.DLL.  Improve
       the format of error messages and include the file name in them
       where appropriate.
       (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch
       call play-sound-functions, per documentation.
       src/w32.c (w32_get_long_filename, w32_get_short_filename): Constify
       the input file name arguments.
       src/w32.h (w32_get_long_filename, w32_get_short_filename): Update
       prototypes.
      a7fc3ab8
    • Dmitry Antipov's avatar
      If USE_LOCAL_ALLOCATORS, allocate some Lisp objects on stack. · edb0288b
      Dmitry Antipov authored
      * lisp.h (local_cons, local_list1, local_list2, local_list3)
      [USE_LOCAL_ALLOCATORS]: New macros.
      [!USE_LOCAL_ALLOCATORS]: Fall back to regular functions.
      (build_local_string): Avoid argument name expansion clash with
      make_local_string.
      * alloc.c (toplevel)
      [USE_LOCAL_ALLOCATORS && GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS]:
      Preprocessor guard to avoid impossible configuration.
      * charset.c (Ffind_charset_region, Ffind_charset_string):
      Use make_local_vector.
      * lread.c (read1, substitute_object_recurse): Use scoped_cons.
      * textprop.c (Fput_text_property, Fadd_face_text_property):
      Use scoped_list2.
      (copy_text_properties): Use local_cons and local_list3.
      * chartab.c (uniprop_table):
      * data.c (wrong_choice, wrong_range):
      * doc.c (get_doc_string):
      * editfns.c (format2):
      * fileio.c (Fexpand_file_name, auto_save_error):
      * fns.c (Fyes_or_no_p):
      * font.c (font_parse_xlfd, font_parse_family_registry, font_add_log):
      * fontset.c (Fset_fontset_font):
      * keyboard.c (echo_add_key, echo_dash, parse_menu_item)
      (read_char_minibuf_menu_prompt):
      * keymap.c (silly_event_symbol_error, describe_vector):
      * menu.c (single_menu_item):
      * minibuf.c (Fread_buffer):
      * process.c (status_message, Fformat_network_address)
      (server_accept_connection): Use make_local_string and
      build_local_string.  Prefer compound literals where appropriate.
      edb0288b
    • Daniel Colascione's avatar
      Tweak sort docstring · 497daa12
      Daniel Colascione authored
      * fns.c (Fsort): Tweak sort docstring.
      497daa12
    • Daniel Colascione's avatar
      Update documentation for `insert-register' · fc68497a
      Daniel Colascione authored
        * doc/emacs/regs.texi (Text Registers): Update end-user documentation
        to reflect `insert-register' interface change.
        
        * doc/lispref/text.texi (Registers): Make `insert-register' documentation
        reflect interface change.
      fc68497a
    • Daniel Colascione's avatar
      Update documentation for `insert-register' · 63519f60
      Daniel Colascione authored
      * doc/emacs/regs.texi (Text Registers): Update end-user documentation
      to reflect `insert-register' interface change.
      
      * doc/lispref/text.texi (Registers): Make `insert-register' documentation
      reflect interface change.
      63519f60
    • Glenn Morris's avatar
  7. 14 Sep, 2014 6 commits
  8. 13 Sep, 2014 7 commits
    • Eli Zaretskii's avatar
      etc/NEWS: Mention HTML support in Rmail. · c330a172
      Eli Zaretskii authored
      c330a172
    • Christopher Schmidt's avatar
      * etc/NEWS: Mention nil `calendar-mode-line-format' will not modify · 2805ba19
      Christopher Schmidt authored
      the mode line of the calendar buffer.
      * lisp/calendar/calendar.el (calendar-update-mode-line):
      Do not overwrite mode-line-format if calendar-mode-line-format is nil.
      (Bug#18467)
      2805ba19
    • Leo Liu's avatar
      * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add · 85b3d352
      Leo Liu authored
      pcase-exhaustive.
      
      * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
      (pcase--expand): Use it.
      (pcase-exhaustive): New macro.
      
      Fixes: debbugs:16567
      85b3d352
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 4d837e51
      Glenn Morris authored
      4d837e51
    • Eli Zaretskii's avatar
      Fix HTML rendering by shr-insert-document in Rmail. · 5f9d7c7c
      Eli Zaretskii authored
       lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
       using the specified transfer-encoding, if any, or 'undecided'.
       (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
       broken at the window margin.
      
      Fixes: debbugs:4258
      5f9d7c7c
    • Eli Zaretskii's avatar
      Decode HTML text before presenting it in Rmail. · cac270ff
      Eli Zaretskii authored
       lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
       using the specified transfer-encoding, if any, or 'undecided'.
      
      Fixes: debbugs:4258
      cac270ff
    • Ken Olum's avatar
      Support rendering of HTML parts in Rmail (bug #4258). · cea1424e
      Ken Olum authored
       lisp/mail/rmailmm.el (rmail-mime-process): Handle text/html
       separately from other text/ types.  Suppress tagline for
       multipart body.
       (rmail-mime-parse): Don't change visibility of tagline here.
       (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
       Handle text/html specially.
       (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
       (rmail-mime-insert-html, rmail-mime-render-html-shr)
       (rmail-mime-render-html-lynx): New functions.
       (rmail-mime-fix-inserted-faces): New function.
       (rmail-mime-process-multipart): Find the best part to show
       following rmail-mime-prefer-html if set.
       (rmail-mime-searching): New variable.
       (rmail-search-mime-message): Bind rmail-mime-searching to
       suppress rendering while searching.
      cea1424e