own webbased newsgroup types

2015-02-04 Thread Stefan Huchler
I try to write own Group types for some web sites.

But I cant make any sense of old source parts. I am no big lisp
developer yet, but I dont find with google or emacshelp anything about
one thing.


  (let ((last (car (last articles)))
(did nil)


I have no idea what this did thing is supposed to be

found it here:

Http://www.opensource.apple.com/source/emacs/emacs-51/emacs/lisp/gnus/nnslashdot.el

and here:

http://www.mit.edu/~mkgray/stuff/ath/afs/oldfiles/project/silk/root/afs/athena.mit.edu/contrib/xemacs/share/2005-12-08/xemacs-packages/lisp/gnus/nnultimate.el


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: own webbased newsgroup types

2015-02-04 Thread Helmut Waitzmann
Stefan Huchler stefan.huch...@mail.de writes:

  (let ((last (car (last articles)))
   (did nil)


I have no idea what this did thing is supposed to be

You might read the documentation for the special form let.  To do
that, type C-h f let RET

Let me comment that documentation:

The first parameter of let is the VARLIST, a list of variables.  Each
variable in that VARLIST is either a symbol: SYMBOL, which is bound to
nil, or it is a list of 2 elements: (SYMBOL VALUEFORM), which binds the
SYMBOL to the value of VALUEFORM.

In your example:

  (let ((last (car (last articles)))
   (did nil)

the first element of the VARLIST is a list of two elements:

(last (car (last articles)))

= (SYMBOL VALUEFORM)

which tells let to bind the SYMBOL last to the value of the
VALUEFORM (car (last articles)),

and the second element of the VARLIST is a list of two elements, as well:

(did nil)

= (SYMBOL VALUEFORM)

which tells let to bind the SYMBOL did to the value of the
VALUEFORM nil.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Subject field in summary buffer modified

2015-02-04 Thread Lars Ingebrigtsen
a...@koldfront.dk (Adam Sjøgren) writes:

 My elisp fu fails me now, this function:

   (defun gnus-group-get-list-identifiers (group)
 Get list identifier regexp for GROUP.
 (or (gnus-parameter-list-identifier group)
 (if (consp gnus-list-identifiers)
 (mapconcat 'identity gnus-list-identifiers  *\\|)
   gnus-list-identifiers)))

 returns ^[A-Z ]*?:  even though gnus-list-identifiers is nil?!?

 Something is setting gnus-list-identifiers behind my back locally, somehow?!

 Because if I run: (gnus-group-get-list-identifiers
 nntp+news.gwene.org:gwene.dk.gaffa.anmeldelser.cd) directly, it
 returns nil, as I expect.

Huh.  Uhm...  do you have list-identifiers set for the topic or...
something?  `G p' on the group and the topic it's in, if it's in a
topic...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english