1. 20 Oct, 2014 3 commits
    • Ulf Jasper's avatar
      Newsticker: fix broken image download via url-retrieve, again. · 9d9bcb50
      Ulf Jasper authored
      * lisp/net/newst-backend.el
      (newsticker--image-download-by-url-callback): Make this function
      actually work: Check status properly, then save image.
      9d9bcb50
    • Ulf Jasper's avatar
      Newsticker: fix broken image download via url-retrieve. · 1e6e7f33
      Ulf Jasper authored
      * lisp/net/newst-backend.el
      (newsticker--image-download-by-url-callback): Make this function
      actually work: First save image then check status.
      1e6e7f33
    • Stefan Monnier's avatar
      * lisp/textmodes/css-mode.el (scss-mode): New major-mode. · bc0e9e47
      Stefan Monnier authored
      (css-mode-syntax-table): Use d style comment, to ease the scss case.
      (css-ident-re): Allow things like @-moz-keyframes.
      (scss--hash-re): New const.
      (css--font-lock-keywords): New function, extracted from
      css-font-lock-keywords.
      (css-font-lock-keywords): Use it.
      (scss-mode-syntax-table, scss-font-lock-keywords): New vars.
      (scss-smie--not-interpolation-p): New function.
      (css-smie--forward-token, css-smie--backward-token): Use it.
      (css-mode): Remove left-over code.
      * test/indent/scss-mode.scss: New file.
      * test/indent/css-mode.css: Add a few uneventful examples.
      bc0e9e47
  2. 19 Oct, 2014 2 commits
    • Ulf Jasper's avatar
      Newsticker: Show feedicons in treeview. Small fix in opml export. · 8259e90e
      Ulf Jasper authored
      * etc/images/newsticker/README: Add rss-feed.png, rss-feed.svg.
      
      * etc/images/newsticker/rss-feed.png: New.
      
      * etc/images/newsticker/rss-feed.svg: New.
      
      * lisp/net/newst-backend.el: Require url-parse.
      (newsticker--get-news-by-wget): Store feed name as process property.
      (newsticker--sentinel): Read feed name from process property.
      (newsticker--sentinel-work): Rename argument name to feed-name.
      Rename variable imageurl to image-url.  Pick icon url from Atom
      1.0 data.  Launch download of feed icon.
      (newsticker--get-icon-url-atom-1.0): New.
      (newsticker--unxml)
      (newsticker--unxml-node)
      (newsticker--unxml-attribute): Documentation.
      (newsticker--icons-dir): New.
      (newsticker--image-get): New arguments FILENAME and DIRECTORY.
      Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
      (newsticker--image-download-by-wget): New.  Use process properties
      for storing informations.
      (newsticker--image-sentinel): Read informations from process properties.
      (newsticker--image-save)
      (newsticker--image-remove)
      (newsticker--image-download-by-url)
      (newsticker--image-download-by-url-callback): New.
      (newsticker-opml-export): Handle url list entries containing a
      function instead of an url string.
      
      * lisp/net/newst-reader.el (newsticker-html-renderer): Whitespace.
      (newsticker--print-extra-elements)
      (newsticker--do-print-extra-element): Documentation
      (newsticker--image-read): Optionally limit image height.  Use
      imagemagick if possible.
      (newsticker--icon-read): New.
      
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
      (newsticker--treeview-tree-expand): Use feed icons in treeview.
      (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
      (newsticker--tree-widget-leaf-icon): Use feed icon.
      8259e90e
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code. · 26533185
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
      (eieio--with-scoped-class): Use `declare'.
      (eieio-defclass): Remove compatibility code.
      (no-method-definition, no-next-method, inconsistent-class-hierarchy)
      (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
      * lisp/emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
      Use help-function-arglist instead.
      26533185
  3. 18 Oct, 2014 5 commits
    • Jan Djärv's avatar
      6e5ff616
    • Jan Djärv's avatar
      Handle deprecated Gtk+ stuff for version <= 3.10 · 3f4c6d52
      Jan Djärv authored
      * lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
      replacements to stock names before stock names in a list.
      Cdr may be a list, each name is tried in turn until one is found.
      
      * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
      to handle Gtk versions.
      (xg_get_file_with_chooser): Use them.
      (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
      (create_menus): Remove teroff argument and code.
      Remove call to gtk_menu_set_title.
      (xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
      args to create_menus.
      (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
      (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
      (xg_make_tool_item): Remove detach code.
      (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
      (find_icon_from_name): New function.
      (update_frame_tool_bar): Remove GtkStockItem code, move to
      find_icon_from_name.  Let stock be a list of icon names to try.
      Only use gtk_image_new_from_stock on Gtk+ < 3.10.
      Replace TOOLBAR_TOP_WIDGET.
      (free_frame_tool_bar, xg_change_toolbar_position ): Replace
      TOOLBAR_TOP_WIDGET.
      (xg_initialize): Remove tearoff code.
      
      * src/gtkutil.h (xg_have_tear_offs): Remove declaration.
      
      * src/xmenu.c (set_frame_menubar): Remove GTK block that calls
      xg_have_tear_offs.
      
      * src/xterm.h (handlebox_widget): Remove.
      3f4c6d52
    • Alan Mackenzie's avatar
      Check that a "macro" found near point-min isn't a ## operator. Fixes · 605cfb8b
      Alan Mackenzie authored
      bug #18749.
      progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
      (c-beginning-of-macro): Use the above new function.
      605cfb8b
    • Ted Zlatanov's avatar
      net/gnutls.el: pass correct data to `gnutls-boot'. · 6c854f07
      Ted Zlatanov authored
      * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
      correct data to `gnutls-boot'.
      Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
      6c854f07
    • Michal Nazarewicz's avatar
      Add a 'big-indent style to `whitespace-mode'. · 427c3627
      Michal Nazarewicz authored
      * lisp/whitespace.el (whitespace-style, whitespace-big-indent)
      (whitespace-big-indent-regexp, whitespace-style-value-list)
      (whitespace-toggle-option-alist, whitespace-interactive-char)
      (whitespace-toggle-options)
      (global-whitespace-toggle-options, whitespace-help-text)
      (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
      style to `whitespace-mode' to indicate that the line indentation
      is too deep.  By default, 32 SPACEs or four TABs are considered
      too many but `whitespace-big-indent-regexp' can be configured.
      427c3627
  4. 17 Oct, 2014 3 commits
  5. 16 Oct, 2014 3 commits
  6. 15 Oct, 2014 6 commits
  7. 14 Oct, 2014 2 commits
  8. 13 Oct, 2014 1 commit
    • Glenn Morris's avatar
      Small authors.el updates · 7dbd8a2c
      Glenn Morris authored
      * lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
      (authors-obsolete-files-regexps): Additions.
      (authors-no-scan-regexps): New constant.
      (authors-no-scan-file-p): New function.
      (authors): Respect authors-no-scan-file-p.
      7dbd8a2c
  9. 12 Oct, 2014 3 commits
  10. 11 Oct, 2014 5 commits
  11. 10 Oct, 2014 5 commits
  12. 09 Oct, 2014 2 commits