* Gnus links very slow to open
@ 2007-09-08 19:35 Leo
2007-09-08 21:26 ` Dan Griswold
0 siblings, 1 reply; 14+ messages in thread
From: Leo @ 2007-09-08 19:35 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
I wonder if anyone who stores Gnus links in org find that opening links
is extremely slow as it calls `gnus' every time. `gnus' is very slow and
is unnecessary in this case. So there is room for improvement.
HTH,
--
.. Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] ::
dto> "(require 'cl) considered harmful" considered harmful
dto> http://dto.freeshell.org/blog/blog-2007-09-07-2323.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Gnus links very slow to open
2007-09-08 19:35 Gnus links very slow to open Leo
@ 2007-09-08 21:26 ` Dan Griswold
2007-09-24 17:59 ` Leo
0 siblings, 1 reply; 14+ messages in thread
From: Dan Griswold @ 2007-09-08 21:26 UTC (permalink / raw)
To: emacs-orgmode
Leo <sdl.web@gmail.com> writes:
> Hi all,
>
> I wonder if anyone who stores Gnus links in org find that opening links
> is extremely slow as it calls `gnus' every time.
Are you using org-nnml.el? I find that this works quite well. In fact,
without it I would find gnus links unusable, because I use many nnml
folders in Gnus. With org-nnml, a link to your message looks like
this:
[[gnus:nntp%2Bnews.gmane.org:gmane.emacs.orgmode#3117][Email from Leo:
Gnus links very slow to open]]
and executing that link from an org file is fast.
Or perhaps you don't have Gnus open most all the time, as I do. If
org-mode has to start gnus because it hasn't been started yet, then
this is hardly a problem with org-mode.
Perhaps a more complete description of your situation is needed.
--
--------------
Dan Griswold
Rochester, NY
--------------
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Gnus links very slow to open
2007-09-08 21:26 ` Dan Griswold
@ 2007-09-24 17:59 ` Leo
2007-09-24 23:35 ` Bastien
0 siblings, 1 reply; 14+ messages in thread
From: Leo @ 2007-09-24 17:59 UTC (permalink / raw)
To: emacs-orgmode
Dear Dan,
Sorry to get back to this email so late.
On 2007-09-08 22:26 +0100, Dan Griswold wrote:
> Leo <sdl.web@gmail.com> writes:
>
>> Hi all,
>>
>> I wonder if anyone who stores Gnus links in org find that opening links
>> is extremely slow as it calls `gnus' every time.
>
> Are you using org-nnml.el? I find that this works quite well. In fact,
> without it I would find gnus links unusable, because I use many nnml
> folders in Gnus. With org-nnml, a link to your message looks like
> this:
>
> [[gnus:nntp%2Bnews.gmane.org:gmane.emacs.orgmode#3117][Email from Leo:
> Gnus links very slow to open]]
>
> and executing that link from an org file is fast.
I am not using org-nnml but the problem is still there.
Upon opening a link, org calls gnus-other-frame which would try to get
new emails first and then switch to the group buffer.
The time it takes is getting new emails. I know many Gnus users can not
stand the speed and single-threadedness of Gnus and have been using 3rd
party application such as fetchmail to retrieve emails. However, it is
completely unnecessary to retrieve new emails when opening Gnus link.
> Or perhaps you don't have Gnus open most all the time, as I do. If
> org-mode has to start gnus because it hasn't been started yet, then
> this is hardly a problem with org-mode.
>
> Perhaps a more complete description of your situation is needed.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
I use GNU Emacs <=
http://www.gnu.org/software/emacs/ <=
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: Gnus links very slow to open
2007-09-24 17:59 ` Leo
@ 2007-09-24 23:35 ` Bastien
2007-09-25 7:12 ` Nuutti Kotivuori
0 siblings, 1 reply; 14+ messages in thread
From: Bastien @ 2007-09-24 23:35 UTC (permalink / raw)
To: emacs-orgmode
Hi Leo,
Leo <sdl.web@gmail.com> writes:
> Upon opening a link, org calls gnus-other-frame which would try to get
> new emails first and then switch to the group buffer.
What would be the way to invoke Gnus without it to fetch new mails?
If we find this, then we can put it in the `org-link-frame-setup'
variable.
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Gnus links very slow to open
2007-09-24 23:35 ` Bastien
@ 2007-09-25 7:12 ` Nuutti Kotivuori
2007-09-25 7:46 ` Bastien
2007-09-25 7:55 ` Gnus links very slow to open Leo
0 siblings, 2 replies; 14+ messages in thread
From: Nuutti Kotivuori @ 2007-09-25 7:12 UTC (permalink / raw)
To: emacs-orgmode
Bastien wrote:
> Leo <sdl.web@gmail.com> writes:
>> Upon opening a link, org calls gnus-other-frame which would try to get
>> new emails first and then switch to the group buffer.
>
> What would be the way to invoke Gnus without it to fetch new mails?
>
> If we find this, then we can put it in the `org-link-frame-setup'
> variable.
Gnus does not fetch new mails on gnus-other-frame. I think Leo has
customized some gnus hook to automatically fetch mail when gnus starts
- and that is getting carried over to here as well.
-- Naked
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: Gnus links very slow to open
2007-09-25 7:12 ` Nuutti Kotivuori
@ 2007-09-25 7:46 ` Bastien
2007-09-25 8:00 ` Open gnus link without popping up a new frame (was: Gnus links very slow to open) Leo
2007-09-25 7:55 ` Gnus links very slow to open Leo
1 sibling, 1 reply; 14+ messages in thread
From: Bastien @ 2007-09-25 7:46 UTC (permalink / raw)
To: emacs-orgmode; +Cc: Leo
Nuutti Kotivuori <naked@iki.fi> writes:
> Bastien wrote:
>> Leo <sdl.web@gmail.com> writes:
>>> Upon opening a link, org calls gnus-other-frame which would try to get
>>> new emails first and then switch to the group buffer.
>>
>> What would be the way to invoke Gnus without it to fetch new mails?
>>
>> If we find this, then we can put it in the `org-link-frame-setup'
>> variable.
>
> Gnus does not fetch new mails on gnus-other-frame. I think Leo has
> customized some gnus hook to automatically fetch mail when gnus starts
> - and that is getting carried over to here as well.
Leo, maybe `nnml-get-new-mail' being t is the culprit?
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Open gnus link without popping up a new frame (was: Gnus links very slow to open)
2007-09-25 7:46 ` Bastien
@ 2007-09-25 8:00 ` Leo
2007-09-25 12:50 ` Open gnus link without popping up a new frame Nuutti Kotivuori
0 siblings, 1 reply; 14+ messages in thread
From: Leo @ 2007-09-25 8:00 UTC (permalink / raw)
To: emacs-orgmode
Hi Folks,
I run Emacs in xterm and popup frames are useless. Thus I would like to
open a gnus link without a new frame. I have the following config:
--8<---------------cut here---------------start------------->8---
(setq org-link-frame-setup
'((vm . vm-visit-folder-other-frame)
(gnus . gnus)
(file . find-file-other-window)))
--8<---------------cut here---------------end--------------->8---
However, every time I try to open a gnus link Gnus also tries to fetch
new emails, making the process very slow.
Any suggestions?
Best,
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the most powerful email client -- http://gnus.org/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Open gnus link without popping up a new frame
2007-09-25 8:00 ` Open gnus link without popping up a new frame (was: Gnus links very slow to open) Leo
@ 2007-09-25 12:50 ` Nuutti Kotivuori
2007-09-26 13:42 ` Jason F. McBrayer
0 siblings, 1 reply; 14+ messages in thread
From: Nuutti Kotivuori @ 2007-09-25 12:50 UTC (permalink / raw)
To: emacs-orgmode
Leo wrote:
> I run Emacs in xterm and popup frames are useless. Thus I would like to
> open a gnus link without a new frame. I have the following config:
Does gnus-other-frame in an xterm actually do something? Is there a
frame it can pop up?
In any case, perhaps this kind of a function would be what you need:
(defun my-gnus
(interactive)
(if (gnus-alive-p)
(switch-to-buffer gnus-group-buffer)
(gnus)))
(Completely untested)
-- Naked
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: Open gnus link without popping up a new frame
2007-09-25 12:50 ` Open gnus link without popping up a new frame Nuutti Kotivuori
@ 2007-09-26 13:42 ` Jason F. McBrayer
2007-09-26 15:44 ` Leo
0 siblings, 1 reply; 14+ messages in thread
From: Jason F. McBrayer @ 2007-09-26 13:42 UTC (permalink / raw)
To: org-mode
Nuutti Kotivuori <naked@iki.fi> writes:
> Leo wrote:
>> I run Emacs in xterm and popup frames are useless. Thus I would like to
>> open a gnus link without a new frame. I have the following config:
>
> Does gnus-other-frame in an xterm actually do something? Is there a
> frame it can pop up?
Frames on a tty work kind of like 'screen' windows. They take up the
whole tty, and you can switch between them with C-x 5 o. I'd assume
gnus-other-frame works normally in this context.
--
+-----------------------------------------------------------+
| Jason F. McBrayer jmcbray@carcosa.net |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors. --- The Dhammapada |
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Open gnus link without popping up a new frame
2007-09-26 13:42 ` Jason F. McBrayer
@ 2007-09-26 15:44 ` Leo
0 siblings, 0 replies; 14+ messages in thread
From: Leo @ 2007-09-26 15:44 UTC (permalink / raw)
To: emacs-orgmode
On 2007-09-26 14:42 +0100, Jason F. McBrayer wrote:
> Nuutti Kotivuori <naked@iki.fi> writes:
>
>> Leo wrote:
>>> I run Emacs in xterm and popup frames are useless. Thus I would like to
>>> open a gnus link without a new frame. I have the following config:
>>
>> Does gnus-other-frame in an xterm actually do something? Is there a
>> frame it can pop up?
>
> Frames on a tty work kind of like 'screen' windows. They take up the
> whole tty, and you can switch between them with C-x 5 o. I'd assume
> gnus-other-frame works normally in this context.
That's why it is not usefully. Try to switch between 3 or more frames in
tty, you will see how awkward that is.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the most powerful email client -- http://gnus.org/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Gnus links very slow to open
2007-09-25 7:12 ` Nuutti Kotivuori
2007-09-25 7:46 ` Bastien
@ 2007-09-25 7:55 ` Leo
2007-09-25 8:10 ` Bastien
1 sibling, 1 reply; 14+ messages in thread
From: Leo @ 2007-09-25 7:55 UTC (permalink / raw)
To: emacs-orgmode
On 2007-09-25 08:12 +0100, Nuutti Kotivuori wrote:
> Bastien wrote:
>> Leo <sdl.web@gmail.com> writes:
>>> Upon opening a link, org calls gnus-other-frame which would try to get
>>> new emails first and then switch to the group buffer.
>>
>> What would be the way to invoke Gnus without it to fetch new mails?
>>
>> If we find this, then we can put it in the `org-link-frame-setup'
>> variable.
>
> Gnus does not fetch new mails on gnus-other-frame. I think Leo has
> customized some gnus hook to automatically fetch mail when gnus starts
> - and that is getting carried over to here as well.
>
> -- Naked
Thank Naked for head up. I just found out I have the following:
(setq org-link-frame-setup
'((vm . vm-visit-folder-other-frame)
(gnus . gnus)
(file . find-file-other-window)))
That's the culprit.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the most powerful email client -- http://gnus.org/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: Gnus links very slow to open
2007-09-25 7:55 ` Gnus links very slow to open Leo
@ 2007-09-25 8:10 ` Bastien
2007-09-25 8:35 ` Leo
0 siblings, 1 reply; 14+ messages in thread
From: Bastien @ 2007-09-25 8:10 UTC (permalink / raw)
To: emacs-orgmode
Leo <sdl.web@gmail.com> writes:
> Thank Naked for head up. I just found out I have the following:
>
> (setq org-link-frame-setup
> '((vm . vm-visit-folder-other-frame)
> (gnus . gnus)
> (file . find-file-other-window)))
>
> That's the culprit.
And how did you change this so that Gnus won't fetch new mails each time
you try to follow a Gnus link?
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Gnus links very slow to open
2007-09-25 8:10 ` Bastien
@ 2007-09-25 8:35 ` Leo
2007-09-25 8:45 ` Bastien
0 siblings, 1 reply; 14+ messages in thread
From: Leo @ 2007-09-25 8:35 UTC (permalink / raw)
To: emacs-orgmode
On 2007-09-25 09:10 +0100, Bastien wrote:
> Leo <sdl.web@gmail.com> writes:
>
>> Thank Naked for head up. I just found out I have the following:
>>
>> (setq org-link-frame-setup
>> '((vm . vm-visit-folder-other-frame)
>> (gnus . gnus)
>> (file . find-file-other-window)))
>>
>> That's the culprit.
>
> And how did you change this so that Gnus won't fetch new mails each time
> you try to follow a Gnus link?
I have found the solution to this yet. Ideas?
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the most powerful email client -- http://gnus.org/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Re: Gnus links very slow to open
2007-09-25 8:35 ` Leo
@ 2007-09-25 8:45 ` Bastien
0 siblings, 0 replies; 14+ messages in thread
From: Bastien @ 2007-09-25 8:45 UTC (permalink / raw)
To: emacs-orgmode
Leo <sdl.web@gmail.com> writes:
> On 2007-09-25 09:10 +0100, Bastien wrote:
>> Leo <sdl.web@gmail.com> writes:
>>
>>> Thank Naked for head up. I just found out I have the following:
>>>
>>> (setq org-link-frame-setup
>>> '((vm . vm-visit-folder-other-frame)
>>> (gnus . gnus)
>>> (file . find-file-other-window)))
>>>
>>> That's the culprit.
>>
>> And how did you change this so that Gnus won't fetch new mails each time
>> you try to follow a Gnus link?
>
> I have found the solution to this yet. Ideas?
I thought that "That's the culprit." was synonymous to "I've punished
the culprit." -- sorry. As I said earlier (this thread goes crazy), did
you tried to set `nnml-get-new-mail' to nil ?
--
Bastien
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-09-26 15:50 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-08 19:35 Gnus links very slow to open Leo
2007-09-08 21:26 ` Dan Griswold
2007-09-24 17:59 ` Leo
2007-09-24 23:35 ` Bastien
2007-09-25 7:12 ` Nuutti Kotivuori
2007-09-25 7:46 ` Bastien
2007-09-25 8:00 ` Open gnus link without popping up a new frame (was: Gnus links very slow to open) Leo
2007-09-25 12:50 ` Open gnus link without popping up a new frame Nuutti Kotivuori
2007-09-26 13:42 ` Jason F. McBrayer
2007-09-26 15:44 ` Leo
2007-09-25 7:55 ` Gnus links very slow to open Leo
2007-09-25 8:10 ` Bastien
2007-09-25 8:35 ` Leo
2007-09-25 8:45 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).