* Multiple agenda buffers
@ 2009-12-04 14:31 Desmond Rivet
2009-12-05 14:18 ` Jan Böcker
2009-12-09 10:02 ` Carsten Dominik
0 siblings, 2 replies; 13+ messages in thread
From: Desmond Rivet @ 2009-12-04 14:31 UTC (permalink / raw)
To: emacs-orgmode
Hi all,
A brief search through the mailing list did not reveal anything
obvious...
Is it possible to have multiple Org Agenda buffers open say, if you want
different search results side by side? I know you can put different
search results in the *same* agenda buffer, but that wasn't quite what I
had in mind (though I will fall back on this if two agenda buffers is
unfeasible)
Thanks in advance,
--
Desmond Rivet
Pain is weakness leaving the body.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Multiple agenda buffers
2009-12-04 14:31 Multiple agenda buffers Desmond Rivet
@ 2009-12-05 14:18 ` Jan Böcker
2009-12-09 10:02 ` Carsten Dominik
1 sibling, 0 replies; 13+ messages in thread
From: Jan Böcker @ 2009-12-05 14:18 UTC (permalink / raw)
To: Desmond Rivet; +Cc: emacs-orgmode
Desmond Rivet wrote:
> Is it possible to have multiple Org Agenda buffers open say, if you want
> different search results side by side?
For the use case of simply viewing two search results side by side,
renaming an agenda buffer seems to work:
- open the agenda view: C-c a a
- M-x rename-buffer RET new.name RET
- open a second agenda view: C-c a t
The problem with this approach is that any agenda command you use in the
renamed agenda buffer will be confused and probably not work. A solution
to this might be to make some variables (including
org-agenda-buffer-name and org-agenda-type) buffer-local to this renamed
buffer, but I have no idea if this could work or what other variables
would have to be included.
HTH, Jan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Multiple agenda buffers
2009-12-04 14:31 Multiple agenda buffers Desmond Rivet
2009-12-05 14:18 ` Jan Böcker
@ 2009-12-09 10:02 ` Carsten Dominik
1 sibling, 0 replies; 13+ messages in thread
From: Carsten Dominik @ 2009-12-09 10:02 UTC (permalink / raw)
To: Desmond Rivet; +Cc: emacs-orgmode
Hi,
On Dec 4, 2009, at 3:31 PM, Desmond Rivet wrote:
> Hi all,
>
> A brief search through the mailing list did not reveal anything
> obvious...
>
> Is it possible to have multiple Org Agenda buffers open say, if you
> want
> different search results side by side? I know you can put different
> search results in the *same* agenda buffer, but that wasn't quite
> what I
> had in mind (though I will fall back on this if two agenda buffers is
> unfeasible)
For various technical reasons such as markers that are removed
when a new agenda buffer is produced and many other details, several
agenda buffers are not supported currently.
You could consider making a block agenda with several parts, and
then use side-by-side windows to look at different places in that
same buffer.
Hope this helps!
- Carsten
^ permalink raw reply [flat|nested] 13+ messages in thread
* multiple agenda buffers
@ 2011-02-04 18:55 suvayu ali
2011-02-11 15:20 ` Bastien
0 siblings, 1 reply; 13+ messages in thread
From: suvayu ali @ 2011-02-04 18:55 UTC (permalink / raw)
To: org-mode mailing list
Hi Orgers,
I was wondering whether it was possible to have multiple agenda buffers
at the same time. My use case is when I want to look for two differnt
but related things, or when I want to search while having my daily (or
weekly) agenda visible. I found references in the archives[fn:1] stating
that it was not possible at the time. Has the situation changed?
Renaming the buffer before calling the next agenda command seems to work
at first glance, but it breaks things like updating the buffer with ~g~.
It ends up updating the newest agenda buffer instead of the buffer where
the command was called.
Thanks a lot.
Footnotes:
[fn:1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20407.html
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-04 18:55 multiple " suvayu ali
@ 2011-02-11 15:20 ` Bastien
2011-02-11 17:06 ` Suvayu Ali
2011-03-02 20:08 ` Matt Lundin
0 siblings, 2 replies; 13+ messages in thread
From: Bastien @ 2011-02-11 15:20 UTC (permalink / raw)
To: suvayu ali; +Cc: org-mode mailing list
Hi Suvayu,
suvayu ali <fatkasuvayu+linux@gmail.com> writes:
> I was wondering whether it was possible to have multiple agenda buffers
> at the same time. My use case is when I want to look for two differnt
> but related things, or when I want to search while having my daily (or
> weekly) agenda visible. I found references in the archives[fn:1] stating
> that it was not possible at the time. Has the situation changed?
No, the situation has not changed to this respect.
I reckon your use-case makes sense, but I'm not sure how useful it would
be in general.
It would be a bit like being able to open several email inboxes at the
same time, for the sake of comparing informations from various folders.
Email inboxes and agenda views are made to be _processed_: having more
than one open at the same time might lead to the bad habit of fiddling
with buffers instead of processing agenda items...
Not a strong opinion, just a thought,
--
Bastien
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-11 15:20 ` Bastien
@ 2011-02-11 17:06 ` Suvayu Ali
2011-02-19 11:20 ` Bastien
2011-03-02 20:08 ` Matt Lundin
1 sibling, 1 reply; 13+ messages in thread
From: Suvayu Ali @ 2011-02-11 17:06 UTC (permalink / raw)
To: Bastien; +Cc: org-mode mailing list
Hi Bastien,
On Fri, 11 Feb 2011 16:20:08 +0100
Bastien <bastien.guerry@wikimedia.fr> wrote:
> I reckon your use-case makes sense, but I'm not sure how useful it
> would be in general.
>
> It would be a bit like being able to open several email inboxes at the
> same time, for the sake of comparing informations from various
> folders.
>
> Email inboxes and agenda views are made to be _processed_: having more
> than one open at the same time might lead to the bad habit of fiddling
> with buffers instead of processing agenda items...
>
> Not a strong opinion, just a thought,
This is indeed very true. I do fall prey to that sometimes.
However I was wondering, block agenda commands might work at least for
doing multiple searches. But I don't think there is any interactive
interface to it.
If we could have some syntax for specifying prompts for custom agenda
commands (something like capture templates) then it might be possible.
Is that a feasible request?
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-11 17:06 ` Suvayu Ali
@ 2011-02-19 11:20 ` Bastien
2011-02-19 23:02 ` Suvayu Ali
2011-03-02 20:03 ` Matt Lundin
0 siblings, 2 replies; 13+ messages in thread
From: Bastien @ 2011-02-19 11:20 UTC (permalink / raw)
To: Suvayu Ali; +Cc: org-mode mailing list
Hi all,
Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> However I was wondering, block agenda commands might work at least for
> doing multiple searches. But I don't think there is any interactive
> interface to it.
inspired by this conversation, I have add a new agenda command:
M-x org-agenda-append-agenda RET
It is bound to `A' in the agenda buffer and lets you append any
agenda to the currently displayed one, thus providing some kind
of interactive interface to build block agendas from simple ones.
I think it's a neat addition -- especially useful when you want
to compare to _small_ list of items.
Let me know what you think - and thanks Suvayu for the idea!
--
Bastien
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-19 11:20 ` Bastien
@ 2011-02-19 23:02 ` Suvayu Ali
2011-02-22 11:17 ` Bastien
2011-03-02 20:03 ` Matt Lundin
1 sibling, 1 reply; 13+ messages in thread
From: Suvayu Ali @ 2011-02-19 23:02 UTC (permalink / raw)
To: Bastien; +Cc: org-mode mailing list
Hi Bastien,
On Sat, 19 Feb 2011 12:20:28 +0100
Bastien <bastien.guerry@wikimedia.fr> wrote:
> Hi all,
>
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>
> > However I was wondering, block agenda commands might work at least
> > for doing multiple searches. But I don't think there is any
> > interactive interface to it.
>
> inspired by this conversation, I have add a new agenda command:
>
> M-x org-agenda-append-agenda RET
>
> It is bound to `A' in the agenda buffer and lets you append any
> agenda to the currently displayed one, thus providing some kind
> of interactive interface to build block agendas from simple ones.
>
> I think it's a neat addition -- especially useful when you want
> to compare to _small_ list of items.
>
> Let me know what you think - and thanks Suvayu for the idea!
>
This is exactly how I was expecting things to work when I proposed the
idea! Wonderful work, lots and lots of thank yous. :)
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-19 11:20 ` Bastien
2011-02-19 23:02 ` Suvayu Ali
@ 2011-03-02 20:03 ` Matt Lundin
1 sibling, 0 replies; 13+ messages in thread
From: Matt Lundin @ 2011-03-02 20:03 UTC (permalink / raw)
To: Bastien; +Cc: org-mode mailing list
Hi Bastien,
Bastien <bastien.guerry@wikimedia.fr> writes:
> Hi all,
>
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>
>> However I was wondering, block agenda commands might work at least for
>> doing multiple searches. But I don't think there is any interactive
>> interface to it.
>
> inspired by this conversation, I have add a new agenda command:
>
> M-x org-agenda-append-agenda RET
>
> It is bound to `A' in the agenda buffer and lets you append any
> agenda to the currently displayed one, thus providing some kind
> of interactive interface to build block agendas from simple ones.
>
> I think it's a neat addition -- especially useful when you want
> to compare to _small_ list of items.
>
> Let me know what you think - and thanks Suvayu for the idea!
Thanks for the new function. However, at the moment, it has destructive
effects if it is called in a buffer other than the agenda buffer, as it
appends the new agenda results to the current buffer and then makes the
buffer read-only.
Perhaps for now we could throw an error if the append function is called
from outside the agenda:
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ea822da..f2eac99 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -2266,6 +2266,8 @@ Pressing `<' twice means to restrict to the current subtree or region
This function allows interactive building of block agendas.
Agenda views are separated by `org-agenda-block-separator'."
(interactive)
+ (unless (string= (buffer-name) org-agenda-buffer-name)
+ (error "Can only append from within agenda buffer"))
(let ((org-agenda-multi t))
(org-agenda)
(widen)))
--8<---------------cut here---------------end--------------->8---
Best,
Matt
--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: multiple agenda buffers
2011-02-11 15:20 ` Bastien
2011-02-11 17:06 ` Suvayu Ali
@ 2011-03-02 20:08 ` Matt Lundin
1 sibling, 0 replies; 13+ messages in thread
From: Matt Lundin @ 2011-03-02 20:08 UTC (permalink / raw)
To: Bastien; +Cc: org-mode mailing list
Bastien <bastien.guerry@wikimedia.fr> writes:
> Hi Suvayu,
>
> suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>
>> I was wondering whether it was possible to have multiple agenda buffers
>> at the same time. My use case is when I want to look for two differnt
>> but related things, or when I want to search while having my daily (or
>> weekly) agenda visible. I found references in the archives[fn:1] stating
>> that it was not possible at the time. Has the situation changed?
>
> No, the situation has not changed to this respect.
>
> I reckon your use-case makes sense, but I'm not sure how useful it would
> be in general.
>
> It would be a bit like being able to open several email inboxes at the
> same time, for the sake of comparing informations from various folders.
>
> Email inboxes and agenda views are made to be _processed_: having more
> than one open at the same time might lead to the bad habit of fiddling
> with buffers instead of processing agenda items...
One possible exception here is the use of the agenda to query notes. I
use org-mode as a research tool, storing all sorts of reading notes in
my org files.
While working on tasks I often need to search for notes relevant to the
current task. This is not an interruption, but rather a normal part of
my workflow. In these instances, a separate buffer for search results
would be exceptionally useful.
Just a thought.
Best,
Matt
--
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 13+ messages in thread
* Multiple agenda buffers
@ 2014-03-26 15:11 Robert P. Goldman
2014-04-16 14:45 ` Bastien
0 siblings, 1 reply; 13+ messages in thread
From: Robert P. Goldman @ 2014-03-26 15:11 UTC (permalink / raw)
To: Org Mode
I find if I accidentally return over an item's date, I get a second
agenda buffer for that date.
That seems fine, but what I don't like is that from now on, any org
agenda commands go to THAT buffer, rather than going into the old agenda
buffer, which I keep around all the time.
So I have, for example *Org Agenda* and *Org Agenda(a:2014-03-25)
Is there some way to kill the latter so that it does not come back?
I did ^X-k in that buffer, and it disappeared, but my next org agenda
command went into a buffer like that, instead of going into the original
*Org Agenda* (and its frame).
Is this related to org-agenda-this-buffer-is-sticky? I don't really
understand the description of stickiness in org-agenda.el and it's not
referenced in the index of the manual.
thanks,
r
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Multiple agenda buffers
2014-03-26 15:11 Multiple " Robert P. Goldman
@ 2014-04-16 14:45 ` Bastien
0 siblings, 0 replies; 13+ messages in thread
From: Bastien @ 2014-04-16 14:45 UTC (permalink / raw)
To: Robert P. Goldman; +Cc: Org Mode
Hi Robert,
"Robert P. Goldman" <rpgoldman@sift.info> writes:
> I find if I accidentally return over an item's date, I get a second
> agenda buffer for that date.
>
> That seems fine, but what I don't like is that from now on, any org
> agenda commands go to THAT buffer, rather than going into the old agenda
> buffer, which I keep around all the time.
>
> So I have, for example *Org Agenda* and *Org Agenda(a:2014-03-25)
>
> Is there some way to kill the latter so that it does not come back?
>
> I did ^X-k in that buffer, and it disappeared, but my next org agenda
> command went into a buffer like that, instead of going into the original
> *Org Agenda* (and its frame).
You can *exit* the agenda view with `x' and quit it with `q'.
In your case, I think you want to use `x'.
With a sticky agenda, `q' only buries the agenda, it does not delete
the agenda buffer.
> Is this related to org-agenda-this-buffer-is-sticky? I don't really
> understand the description of stickiness in org-agenda.el and it's not
> referenced in the index of the manual.
I slightly rewrote the description of sticky agendas in the manual and
added an index entry.
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-04-16 16:49 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 14:31 Multiple agenda buffers Desmond Rivet
2009-12-05 14:18 ` Jan Böcker
2009-12-09 10:02 ` Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2011-02-04 18:55 multiple " suvayu ali
2011-02-11 15:20 ` Bastien
2011-02-11 17:06 ` Suvayu Ali
2011-02-19 11:20 ` Bastien
2011-02-19 23:02 ` Suvayu Ali
2011-02-22 11:17 ` Bastien
2011-03-02 20:03 ` Matt Lundin
2011-03-02 20:08 ` Matt Lundin
2014-03-26 15:11 Multiple " Robert P. Goldman
2014-04-16 14: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).