Re: [O] Emacs server and org-protocol

2014-09-17 Thread Alexis
Stefan Huchler writes: > What I have more a problem with is that it often hangs have to cancel > it at least every seond time. Sounds like something that might need to be reported as a bug? Alexis.

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Stefan Huchler
Rainer M Krug writes: > Stefan Huchler writes: > >> I dont really get what the problem is here, email servers checkup is > > Not necessarily - depends which mail server (e.g. gmail or local), if > you have one or many folders / tags, your network connection, ... I just did setup the nnrss-downl

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Brett Viren
Alexis writes: > If i may ask, which email front-end were you using? (Gnus, perhaps?) i > used to use notmuch.el, and currently use mu4e, and basically don't have > this issue My GNUS + IMAP subprocess + Maildir used to lead to long wait times when updating for new mail ("g" in Groups). Th

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Rainer M Krug
Stefan Huchler writes: > I dont really get what the problem is here, email servers checkup is Not necessarily - depends which mail server (e.g. gmail or local), if you have one or many folders / tags, your network connection, ... Often used solution: mail server (e.g. gmail) <- offlineimap ->

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Stefan Huchler
I dont really get what the problem is here, email servers checkup is fast enough, and rss u can use that: nnrss-use-local to ‘t’ and use ‘nnrss-generate-download-script

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Eric S Fraga
On Wednesday, 17 Sep 2014 at 11:41, Fabrice Popineau wrote: [...] > I disagree on this. The problem is less servers than the sheer slowness of > elisp. Sure, elisp is not fast but I it seems to be perfectly fast enough for me for gnus, even on my little OpenPandora. In my case, the limiting fac

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Fabrice Popineau
2014-09-17 11:06 GMT+02:00 Eric S Fraga : > On Wednesday, 17 Sep 2014 at 18:54, Alexis wrote: > > [...] > > > If i may ask, which email front-end were you using? (Gnus, perhaps?) i > > used to use notmuch.el, and currently use mu4e, and basically don't have > > this issue > > The issue is not

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Eric S Fraga
On Wednesday, 17 Sep 2014 at 18:54, Alexis wrote: [...] > If i may ask, which email front-end were you using? (Gnus, perhaps?) i > used to use notmuch.el, and currently use mu4e, and basically don't have > this issue The issue is not the email front-end per se but the email servers (IMAP, P

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Alexis
Eric S Fraga writes: > The issue is not the email front-end per se but the email servers (IMAP, > POP, whatever). A couple of years ago, I ended up having to use an > email server that would take many seconds, often minutes, to access, > even just to query to find out if there was any new email.

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Alexis
Fabrice Popineau writes: > Yes seconds or even much more. > This is the reason I don't use Emacs to read my mail/news anymore :-/ If i may ask, which email front-end were you using? (Gnus, perhaps?) i used to use notmuch.el, and currently use mu4e, and basically don't have this issue Alex

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Fabrice Popineau
2014-09-17 9:56 GMT+02:00 Paul Rudin : > Fabrice Popineau writes: > > > What is the purpose of opening a second instance of emacs ? > > I precisely tend to avoid it. > > There are situations where it can be useful - e.g. using emacs as > a news or mail client where the whole process can block for

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Gonzalo Camarillo
Hi Paul, yes, adding (require 'server) makes the function available. That is exactly what I was looking for. Thanks for the quick response! Cheers, Gonzalo On Wed, Sep 17, 2014 at 9:36 AM, Paul Rudin wrote: > Gonzalo Camarillo writes: > > > > Does anybody know a workaround so that the serve

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Thorsten Jolitz
Fabrice Popineau writes: > What is the purpose of opening a second instance of emacs ? > I precisely tend to avoid it. > > If the emacs server is running, why not using emacsclient(w) instead > of a new instance ? I had that setup for quite some time - starting one Emacs server on the console,

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Paul Rudin
Fabrice Popineau writes: > What is the purpose of opening a second instance of emacs ?  > I precisely tend to avoid it. There are situations where it can be useful - e.g. using emacs as a news or mail client where the whole process can block for a few seconds.

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Fabrice Popineau
What is the purpose of opening a second instance of emacs ? I precisely tend to avoid it. If the emacs server is running, why not using emacsclient(w) instead of a new instance ? Fabrice 2014-09-17 9:26 GMT+02:00 Gonzalo Camarillo : > Hi, > > I am using org-protocol to have my firefox browser t

Re: [O] Emacs server and org-protocol

2014-09-17 Thread Paul Rudin
Gonzalo Camarillo writes: > Does anybody know a workaround so that the server is only started > once?... Does the function server-running-p work on windows? If so then you can replace (server-start) with (unless (server-running-p) (server-start)).

[O] Emacs server and org-protocol

2014-09-17 Thread Gonzalo Camarillo
Hi, I am using org-protocol to have my firefox browser talk to my emacs (to capture stuff). I am using Windows 7. So, I cannot use the --daemon flag to simply start a sever (it is not supported under Windows). Instead, I have added a (server-start) line to my .emacs file (init.el). When I run em