Dnia 2013-05-18, o godz. 08:07:07 Andreas Röhler <andreas.roeh...@easy-emacs.de> napisał(a):
> Am 18.05.2013 00:52, schrieb Marcin Borkowski: > > Hi list, > > > > can't resist;): http://xkcd.com/1172/ > > > > I have this at the end of my .emacs: > > > > (setq inhibit-splash-screen t) > > (org-agenda-list) > > (delete-window) > > > > The point is that I want agenda to appear as the only thing when I > > start Emacs. However, sometimes I start it e.g. when delivering a > > presentation; I don't want all the people to look at my overdue todo > > items;), so I used to press q while Emacs was starting (which takes > > quite a while on my netbook). This used to bury the agenda so that > > *scratch* was visible. Now, instead of *scratch*, one of my agenda > > org files appears. What do I do to restore the previous behavior? > > (Really, that setup worked for me;).) > > > > Best, > > > > You could move (org-agenda-list) at the beginning of your init, so > it's not displayed as last. However, it might be displayed while > loading for a short time though. If you want make sure it's never > shown, don't see another way than deleting it from init and call it > via M-x, resp. from menu. I guess you misread my post; the problem seems to be about the order of buffers - I' like all the .org buffers to be /buried/. And now comes the fun part. I did some more inspection, and it seems it might be not Org-mode v8 which broke my workflow, but an introduction of a new org file, called emacs.org. It contains my notes for my emacs blog, and some to-do items like cleaning my .emacs file;). What I find /fascinating/ is that seemingly its /name/ is what broke my setup! I renamed it to tmp-emacs.org for a while, and the old behavior came back! How cool is that? Now I've put (bury-buffer "emacs.org") right after (org-agenda-list), and everything's fine. But this is /weird/ (though funny: it looks like Emacs liked buffers called after it;)). Of course, grepping for emacs\.org in Org-mode git repository gave no meaningful results (the only matches were some email addresses in the emacs.org domain;)), so the reason for this behavior remains a mistery for me; if anyone could come up with an explanation, I would be /very/ thankful (you know, there's a scientist in me - see this one: http://xkcd.com/242/). Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University