|
|
Subject: Re: planner-accomplishments errors - msg#00021
List: emacs.wiki.general
pll+ew@xxxxxxxxxxxx writes:
> Sacha> I don't suppose you can invoke align-regexp by hand?
> Sure I can, the question is, what regexp do I invoke it with?
C-u M-x align-regexp
\(\s-*\)|
1
1
y
Hmm. \s- might be a CVSism. You could also try \([ \t\n]\)| , I think...
--
Sacha Chua <sacha@xxxxxxxxxxx> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Emacs wiki maintenance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Michael,
Of course, that would be up to Sacha... all I have offered is to keep an
eye on the list and shepherd patches into a separate location. You
will certainly be able to do at least as good a job of that as I can,
and any
additional ideas you can implement are a further bonus :-)
Cheers,
Gary.
On 7 Sep 2004, at 20:44, Michael Olson wrote:
Would it be all right if I become the maintainer of emacs-wiki? I've
had several ideas lately that I'd like to try out and enough free time
to attempt them. I now have a place on the net where I can host the
development of emacs-wiki <http://www.mwolson.org/projects>.
Some of these ideas include:
- Merge in some of the improvements from Muse, like forcing the user
to put a space before a list item (like "^ - " and "^ 1. "). This
way, it is harder to accidentally get part of a long paragraph
marked up as a list because of word wrap.
It would be great if Muse and emacs-wiki had a common input syntax (or
at least a variable to turn on Muse file parsing in emacs-wiki) so that
it is easy for content providers to move between the two publishing
formats.
- Make it so that different spin-offs of emacs-wiki can be used
concurrently by a project. For example, make it so that a journal
(or any emacs-wiki based project) can have different RSS feeds.
Not sure I understand...
- Add the `emacs-wiki-server-prefix' variable to journal and planner
so that these things can be used together more effectively.
Excellent idea! I have been meaning to do that myself for a long time
:-)
- Add quite a bit of documentation to emacs-wiki.texi, examples,
complete descriptions of all markup rules, and the like.
You can't have too much documentation. Shouldn't ours be a wiki though?
Cheers,
Gary.
- --
Gary V. Vaughan ())_. gary@{lilith.warpmail.net,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
iD8DBQFBPjvkFRMICSmD1gYRAh4wAKCcv11Yqx3010aH81OyhZ6LPFwR/QCgvr1j
7qXn9DVmjm/+zgi1WH2Rt8E=
=YGzI
-----END PGP SIGNATURE-----
Next Message by Date:
click to view message preview
Re: More planner stuff.
cc-ing our mailing list at emacs-wiki-discuss@xxxxxxxxxx
(http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss). =)
Joseph Kiniry <kiniry@xxxxxxx> writes:
Sorry about the late reply!
> I have installed your new dev snapshot. I now witness different
> behavior, but many things still seem to not be working right. I was
> afraid that perhaps some of my old customize settings are causing
> trouble, plus I know you have added lots of new stuff, so I am going
> through all the customize menus trying to learn what is in there now.
Whoops, so sorry...
> 1. Planner Calendar Show Planner Files: Hide Value Toggle on (non-nil)
> State: this option is unchanged from its standard setting.
> If non-nil, shows a plan file every time a day is selected in Calendar.
> How does one "select" a day in the calendar in such a way that planner
> sees it? I use calendar mode a lot, coupled with diary mode for years,
> but I don't see any planner-related functionality in it.
First, call M-x planner-calendar-insinuate.
Then, whenever you're navigating in a calendar window (M-x calendar,
for example) using arrow keys, the planner file for the day underneath
your cursor will be displayed, if one exists. This behavior is
customizable.
> What is the point of the <contents> prefix? How should the .diary
It used to display a nice table of contents including note titles, but
we had to process <tags> before everything else (even notes) in order
to make sure <example>...</example> sections didn't get marked up any
further. Now it just provides a quick way to jump to the different
sections in published HTML. If you don't publish your plan, you can
remove it.
> schedule section be treated? I have an existing multi-year diary.
> Should I continue to use diary to set schedules, deadlines, etc. and
> somehow they'll be integrated into and presented with planner?
If you use planner-diary, appointments from diary can be automatically
included in your planner files. Changes you make in your planner files
don't automatically reflect in your diary, though. I use a couple of
functions to make it easier for me to add things to my diary from my
planner file. For example, running sacha/planner-diary-schedule-task
while the cursor is on a task prompts me for the start and end time,
copies it into my schedule, and updates the task description.
> On a related note, I've been moving to iCal lately. Has anyone talked
> about integrating planner et al with iCal and related tools, perhaps
> via WebDAV publishing?
Mmm, that should be interesting.
On a related note, you can actually export from planner to formats
understood by remind and diary. As long as your schedule entries are
relatively well-formed, you can parse it to produce whatever output
you want. For example, I usually make my schedule entries look like this:
hh:mm | hh:mm | Entry
hh:mm | hh:mm | Entry
hh:mm | hh:mm | Entry
This is published as a table in the final HTML page. The start and end
times make it easy for me to translate this into the format expected
by other programs.
> 3. Planner Sort Tasks Automatically: Hide Value Toggle on (non-nil)
> State: this option is unchanged from its standard setting.
> Non-nil means sort tasks whenever a planner file is saved.
> My day pages do not sort automatically, though I see the
> write-files-functions does include the appropriate planner-sort-tasks
> and planner-id-update-tasks-maybe. This functionality seems to come
> and go for me, BTW, as I update through various version of planner from
> you.
Hmm. Day pages should sort by status and then priority. Does M-x
planner-fix-tasks fix it?
> 4. What is the difference between the planner diary file, the planner
> diary cal desk file, the planner diary appts file, and the planer diary
> private & public files and related functionality? Can I use the same
> file for both of these? Can it simply be my old, big diary file?
Umm... Thomas Gehrlein, help! <grin>
I think this functionality evolved because people wanted to keep
public appointments for their colleagues and private appointments for
their own. The separation allowed them to publish different parts. I
suspect we can make this more flexible, though. As for cal-desk, it
seems to be a fancy way of displaying things...
> Parse error: parse error in /Users/kiniry/Sites/WebWiki/2004.09.03.php
> on line 1
> I've appended that page to this email so that you can review it. There
> happens to also be a 2004.09.03.html file, which I'll also attach. But
> I see no other HTML files in the publish directory.
<?xml version="1.0"?>
confuses PHP, as <? is the PHP shortcut tag. You could configure PHP to
use long tags, I think, or remove the XHTML tag.
> 6. Any plans on writing a Texinfo manual for all these neat new
> features? I enjoy writing docs and specs more than I enjoy writing
> software, so I might be of some assistance.
Perfect! I love getting documentation for current and proposed
features. It makes it so much easier to program.
Currently I like focusing on documenting how people use Planner. More
of "why", actually... <laugh>
Ooh. I think we've forgotten to document some of the features. What do
you particularly like, and how can the documentation be improved?
> Thanks for your assistance. While I could just read the source and
> figure some of these things out, sometimes the source says more about
> current state-of-affairs rather than intentions-in-design. :)
^_^
--
Sacha Chua <sacha@xxxxxxxxxxx> - open source geekette
interests: emacs, gnu/linux, making computer science education fun
wearable computing, personal information management
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
Previous Message by Thread:
click to view message preview
Re: Re: planner-accomplishments errors
>>>>> On Sun, 5 Sep 2004, "Sacha" == Sacha Chua wrote:
Sacha> (let ((page (and (planner-derived-mode-p 'planner-mode)
Sacha> might do the trick.
Okay, that seemed to do it. I now get a planner-accomplishments
buffer listing:
Accomplishment report for [[2004.09.07]]
Link | Unfinished | In progress | Total
ThingsToOrder | 6 | 0 | 6
PriorityShuffle | 3 | 0 | 3
AssetInventory | 2 | 0 | 2
LapTops | 1 | 1 | 2
nil | 2 | 0 | 2
AfsProject | 1 | 0 | 1
DesktopHelp | 1 | 0 | 1
[[OpsMtg20040726]] | 1 | 0 | 1
[[2004.06.08]] | 1 | 0 | 1
Total | 18 | 1 | 19
Which is similar to what planner-accomplishments-update gave me. To
which you said:
Sacha> I don't suppose you can invoke align-regexp by hand?
Sure I can, the question is, what regexp do I invoke it with?
I also noticed that the following 2 lines (near the very bottom of
the file) in planner-accomplishments.el are commented out:
; (when (fboundp 'align-regexp)
; (align-regexp (point-min) (point-max) "\\(\\s-*\\)|" 1 1 t))
When I uncomment those 2 lines, planner-accomplishments-show dies with
backtrace. When I try to insert the regexp '\\(\\s-*\\)|'
(sans quotes) in that second line into a manual M-x align-regexp invocation,
I get nothing. C-h l shows:
untabify: done
Highlighting buffer...done
Highlighting buffer...89%
Highlighting buffer...81%
Highlighting buffer...71%
Highlighting buffer...64%
Highlighting buffer...52%
Highlighting buffer...46%
Highlighting buffer...37%
Highlighting buffer...29%
Highlighting buffer...12%
Recognizing tables...done
Which seems to indicate it's doing something, just not the right
thing. Ideas? Could this be another lesson in Comarative Emacsology ?
--
Seeya,
Paul
GPG Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
If you're not having fun, you're not doing it right!
Next Message by Thread:
click to view message preview
Re: Re: planner-accomplishments errors
In a message dated: Wed, 08 Sep 2004 13:28:32 +0900
Sacha Chua said:
>pll+ew@xxxxxxxxxxxx writes:
>
>> Sacha> I don't suppose you can invoke align-regexp by hand?
>> Sure I can, the question is, what regexp do I invoke it with?
>
>C-u M-x align-regexp
>\(\s-*\)|
>1
>1
>y
I'm not clear on this. When I do this, where do I input the
1
1
y ?
>Hmm. \s- might be a CVSism. You could also try \([ \t\n]\)| , I think...
This got me closer, now it looks like this:
Link | Unfinished | In progress | Completed | Total
ThingsToOrder | 7 | 0 | 0 | 7
PriorityShuffle | 3 | 0 | 0 | 3
AssetInventory | 2 | 0 | 0 | 2
LapTops | 1 | 1 | 0 | 2
nil | 2 | 0 | 0 | 2
DesktopHelp | 1 | 0 | 0 | 1
AfsProject | 0 | 0 | 1 | 1
[[OpsMtg20040726]]| 1 | 0 | 0 | 1
Total | 17 | 1 | 1 | 19
--
Seeya,
Paul
GPG Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE
If you're not having fun, you're not doing it right!
|
|