all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulf Jasper <ulf.jasper@web.de>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: The new newsticker doesn't show my feeds
Date: Thu, 19 Jun 2008 22:18:27 +0200	[thread overview]
Message-ID: <84hcbptbzg.fsf@web.de> (raw)
In-Reply-To: <87fxr96vyr.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 19 Jun 2008 21:55:24 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

> Ulf Jasper <ulf.jasper@web.de> writes:
>
>> Hmmm... Please examine this in *scratch*
>
> I added a `print' to the current buffer, no that the result doesn't get
> stripped...
>
> (print (progn
>          (require 'tree-widget)
>          (widget-create 'tree-widget
>                         :tag (newsticker--treeview-propertize-tag
>                               "Virtual Feeds" 0 "vfeeds")
>                         :expander 'newsticker--treeview-tree-expand-status
>                         :expander-p (lambda (&rest ignore) t)
>                         :leaf-icon 'newsticker--tree-widget-leaf-icon
>                         :nt-id "vfeeds"
>                         :keep '(:nt-id)
>                         :open t)) 
>        (current-buffer))
>
> ==> [X] Virtual Feeds
>
> (tree-widget :args nil :tag #("Virtual Feeds" 0 13 (mouse-face highlight help-echo "Clickme!" :nt-vfeed nil :nt-feed nil :nt-id "vfeeds" keymap (keymap (13 . newsticker-treeview-tree-do-click) (10 . newsticker-treeview-tree-do-click) (mouse-1 . newsticker-treeview-tree-click)) face newsticker-treeview-face)) :expander newsticker--treeview-tree-expand-status :expander-p (lambda (&rest ignore) t) :leaf-icon newsticker--tree-widget-leaf-icon :nt-id "vfeeds" :keep (:nt-id) :open t :node (item :tag #("Virtual Feeds" 0 13 (mouse-face highlight help-echo "Clickme!" :nt-vfeed nil :nt-feed nil :nt-id "vfeeds" keymap (keymap (13 . newsticker-treeview-tree-do-click) (10 . newsticker-treeview-tree-do-click) (mouse-1 . newsticker-treeview-tree-click)) face newsticker-treeview-face))) :tree-widget--node (item :tag #("Virtual Feeds" 0 13 (mouse-face highlight help-echo "Clickme!" :nt-vfeed nil :nt-feed nil :nt-id "vfeeds" keymap (keymap (13 . newsticker-treeview-tree-do-click) (10 . newsticker-treeview-tree-do-click) (mouse-1 . newsticker-treeview-tree-click)) face newsticker-treeview-face)) :parent #0 :indent 0 :from #<marker (moves after insertion) at 749 in *scratch*> :to #<marker at 763 in *scratch*>) :children nil :buttons ((tree-widget-empty-control :tag-glyph nil :parent #0 :indent 0 :button-overlay #<overlay from 745 to 749 in *scratch*> :from #<marker (moves after insertion) at 745 in *scratch*> :to #<marker at 749 in *scratch*>)) :from #<marker (moves after insertion) at 745 in *scratch*> :to #<marker at 763 in *scratch*>)
>

It seems that widget-create does not recognize :expander. Please examine
this:

(progn
  (require 'tree-widget)
  (widget-create 'tree-widget
                 :tag "blah"
                 :expander '(lambda (x) '((tree-widget :tag "x")))
                 :expander-p (lambda (&rest ignore) t)
                 :open t))

You should see                 

[-] blah
 `-[+] x          

but I guess you don't

-- 
Klicken Sie HIER und Sie erhalten vier Dosen umsonst




  parent reply	other threads:[~2008-06-19 20:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17 16:15 The new newsticker doesn't show my feeds Tassilo Horn
2008-06-17 21:33 ` Ulf Jasper
2008-06-18  6:48   ` Tassilo Horn
2008-06-18 18:44     ` Ulf Jasper
2008-06-18 19:20       ` Tassilo Horn
2008-06-18 19:54         ` Ulf Jasper
2008-06-18 20:23           ` Tassilo Horn
2008-06-19 17:25             ` Ulf Jasper
2008-06-19 19:22               ` Tassilo Horn
2008-06-19 19:43                 ` Ulf Jasper
     [not found]                   ` <87fxr96vyr.fsf@thinkpad.tsdh.de>
2008-06-19 20:18                     ` Ulf Jasper [this message]
2008-06-19 20:24                       ` Tassilo Horn
2008-06-19 20:34                         ` Ulf Jasper
2008-06-19 20:54                           ` Tassilo Horn
2008-06-20 16:10                             ` Ulf Jasper
2008-06-21 10:51                               ` Tassilo Horn
2008-06-21 17:46                                 ` Ulf Jasper
2008-06-23  7:07                                   ` Tassilo Horn
2008-06-23 18:00                                     ` -Q / --no-site-file and site-lisp/ (was: The new newsticker doesn't show my feeds) Reiner Steib
2008-06-24  7:03                                       ` -Q / --no-site-file and site-lisp/ Tassilo Horn
2008-06-24 12:17                                         ` Lennart Borgman (gmail)
2008-06-24 15:54                                           ` Tassilo Horn
2008-06-24 15:59                                             ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84hcbptbzg.fsf@web.de \
    --to=ulf.jasper@web.de \
    --cc=emacs-devel@gnu.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.