emacs gnus-demon not running


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications emacs gnus-demon not running
# 1  
Old 03-16-2011
emacs gnus-demon not running

My understanding of the gnus-demon is that it should run its handlers each gnus-demon timestep. I have my gnus demon timestep set to the default 60 seconds. I have registered one handler that prints something out every time it is called (and is supposed to update the group buffer). However, the message buffer doesn't show the message every 60 seconds as expected.

I am new to using gnus so any help anyone could provide would be very much appreciated. The elisp relevant to the gnus-demon is below.

Thanks in advance!

Code:
;; Automatically refresh gnus mail groups
(require 'gnus-demon)
(setq gnus-use-demon t)

(defun gnus-demon-scan-mail-or-news-and-update ()
  "Scan for new mail/news and update the *Group* buffer"
  (message "Scanning new for new mail...done.")
  (when (gnus-alive-p)    
    (save-window-excursion
      (save-excursion
    (set-buffer gnus-group-buffer)
    (gnus-group-get-new-news)))))
 
(defun gnus-demon-scan-and-update ()
  (interactive)
  (gnus-demon-scan-mail-or-news-and-update))
 
;; Initialize the Gnus daemon, check new mail every one minute.
(gnus-demon-add-handler 'gnus-demon-scan-and-update 1 1)
(gnus-demon-init)

; Notify user when new messages are available
(require 'gnus-desktop-notify)
(gnus-desktop-notify-mode)
(gnus-demon-add-scanmail)

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Emacs on AIX 7.2

After I had successfully installed bash I wanted to install emacs. I downloaded the packages from IBM (emacs, emacs-nox, and emacs-X11), but I could not install emacs-X11. It needs libjpeg and libtiff, but I couldn't install both libs. Error messages: file /opt/freeware/64 from install of... (2 Replies)
Discussion started by: BuSchu
2 Replies

2. UNIX for Dummies Questions & Answers

How do you get gnus to work?

gnus doesn't seem to work for me. I tried giving it a couple different servers in the GNUs config file, including textnews.news.cambrium.nl and news.gnus.org. The first one I've used before, through Lynx with the nntp:// scheme (not the news: scheme). When I try starting gnus, it gives the... (1 Reply)
Discussion started by: Ultrix
1 Replies

3. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

4. Shell Programming and Scripting

communication between shell and and a demon 'c' program

Hello, i have a demon 'c' program that have a dynamic table of logic registers ( 2000 variables ). exemple of registers: I1.34.5 M23.4.1 I want from shell acess to this table of registers. How can i do this? with something like for read I1.34.5: #cat... (3 Replies)
Discussion started by: rzyz
3 Replies

5. UNIX for Dummies Questions & Answers

Emacs

could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies

6. Shell Programming and Scripting

dilemma what to use c++ or script for demon process

Hello all i need to implement demon that needs to extract data from db load the data to memory and according to this data to perform actions like sending emails or write/update files this action needs to be preformed each 30 min's now i really don't know what to decide or to compile c++... (5 Replies)
Discussion started by: umen
5 Replies

7. UNIX and Linux Applications

GNU Emacs Help

Hey everybody! Not sure if this goes here, but I think it's the best fit. I was just wondering, how do I use a compiler from Emacs? Also, how do I turn syntax highlighting on? Thanks in advance! (5 Replies)
Discussion started by: led3234
5 Replies

8. Shell Programming and Scripting

perl demon how to ?

Hello im kinda new to perl programming in unix i need to make some kind of perl demon that sites and waits to see if there is files in the dir if there is complete file ( not part of it ) , I need to mv it to different dir ok so the easy parts to cp files and perl I know , but how the hell... (1 Reply)
Discussion started by: umen
1 Replies

9. UNIX for Dummies Questions & Answers

Help on EMACS

Any one has a good documentation on How To Use EMACs editor?? Thanks Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies

10. UNIX for Dummies Questions & Answers

eMacs FontFace

Hi, I am working with xEmacs 21.1 patch 14. I see I can configure it to be very User Friendly. I can highlight variables, color them, and actually make it look like a Visual IDE. How do I configure it? How do I color Variables in one color, and make them bold, and how do I change the... (1 Reply)
Discussion started by: sierra_aar
1 Replies
Login or Register to Ask a Question
ATMARPD(8)						       Maintenance Commands							ATMARPD(8)

NAME
atmarpd - ATMARP demon SYNOPSIS
atmarpd [-b] [-d] [-D directory] [-l logfile] [-m] [-n] atmarpd -V DESCRIPTION
atmarpd implements the ATMARP protocol as specified in RFC1577 and RFC1755. Address resolution requests are sent from the kernel (using a comparably simple protocol) to the ATMARP demon, which then performs the dialog with the network. atmarpd can operate as an ATMARP client and as an ATMARP server. If also supports the concurrent use of several IP over ATM interfaces. atmarpd is configured from the command line using the atmarp program. Unless debugging is enabled, the ATMARP table is written after every change to the file /var/run/atmarpd.table (or to a file with the same name in a different directory, if the -D option is used). Note that atmarpd disables support for SVCs if signaling is not available at start time, i.e. if atmsigd is not running. OPTIONS
-b Run in background (i.e. in a forked child process) after initializing. -d Enables (lots of) debugging output. By default, atmarpd is comparably quiet. -D dump_dir Changes the directory where atmarpd writes its table (atmarpd.table). By default, /var/run is used. -l logfile Write diagnostic messages to the specified file instead of to standard error. The special name syslog is used to send diagnostics to the system logger. -m Enables merging of incoming calls if the address is known. An incoming connection on which no InARP reply has been received yet, but which originates from an ATM address for which an ATMARP entry already exists, is automatically added to that entry. This assumes that there is a 1:1 mapping between IP addresses and ATMARP addresses. By default, this assumption is not made, which fre- quently results in the setup of duplicate connections. Note that RFC1577 requires that an ATMARP server sends an InARP request on an incoming connection. Merging may therefore violate RFC1577 in this case. -n Prints addresses in numeric format only, i.e. no address to name translation is attempted. -V Prints the version number of atmarpd on standard output and exits. FILES
/var/run/atmarpd.table ATMARP table /proc/atm/arp table of currently active IP over ATM VCs BUGS
atmarpd removes ATMARP entries from the kernel table while refreshing them. AUTHOR
Werner Almesberger, EPFL ICA <werner.almesberger@epfl.ch> SEE ALSO
atmarp(8), atmsigd(8) Linux April 26, 2000 ATMARPD(8)