[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Rémi Vanicat
Russell Adams  writes:

> On Tue, Dec 01, 2009 at 08:56:08PM -0600, Russell Adams wrote:
>>  - Mutt automatically changes my email address depending on the
>>recipient or folder according to a series of "roles"
>
> Not to reply to myself, but one item I've found lacking in other
> mailreaders and one of my primary reasons for using mutt is the
> concept of "roles".
>
> Do any of the emacs readers support that effectively from someones
> direct experience?

I'm not sure what a role is, but with gnus, you can change you email
address depending on the folder (group in gnus speak) or the topic
(topic are a hierarchical organization of group). For this you use
posting-style.

-- 
Rémi Vanicat



___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Russell Adams
On Tue, Dec 01, 2009 at 08:56:08PM -0600, Russell Adams wrote:
>  - Mutt automatically changes my email address depending on the
>recipient or folder according to a series of "roles"

Not to reply to myself, but one item I've found lacking in other
mailreaders and one of my primary reasons for using mutt is the
concept of "roles".

Do any of the emacs readers support that effectively from someones
direct experience?

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Rémi Vanicat
David Neu  writes:

[...]

> Anyone have any experience using Gnus with Gmail via IMAP?
>

I've a somewhat complicated setup for this.

It's server three purpose
- I want a copy of my mail locally for speed and backup
- I want my mail on gmail to been accessible from everywhere
- I want both to be synchronized


So I use offlineimap to have a local maildir that is a mirror of Gmail's
imap view of my mail. But gnus support of maildir is terrible, and I
want gnus because I want only one software for mail and news, and I'm
used to gnus.

So I use a local imap server (dovecot) to read my mail So:

gmail <--- offlineimap ---> maildir <--- dovecot ---> gnus

It is complicated, but I can read my mail from any computer, using
gnus+IMAP if it's one of my computer, and gmail webmail for the rest. 


-- 
Rémi Vanicat



___
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


[Orgmode] Re: scheduling: skip weekends

2009-12-02 Thread Patrick Drechsler

Carsten Dominik wrote:

On Nov 28, 2009, at 7:10 PM, Patrick Drechsler wrote:

Carsten Dominik wrote:

On Nov 28, 2009, at 4:51 PM, Patrick Drechsler wrote:
is it possible to skip weekends when rescheduling a task using the 
"++1d" operator?


Example:

* TODO work task (not on weekends)
SCHEDULED: <2009-11-27 Fr ++1d>

When changing the state to the DONE state, it will be rescheduled to 
the next day, no matter what day of the week that is. So changing 
the example above to DONE on a Friday will reschedule the task for 
Saturday.  Is it possible to reschedule it for Monday?



no, this is not possible currently.


OK, thanks for the quick feedback.

Does this seem like a reasonable feature request?


> this sounds reasonable, but I don't currently have time to implement
> it.  Would be interested in a patch, though.

"Learning E-Lisp" would be one of those tasks for the weekend. ;-)

Is there a separate bug-tracker/feature-request interface besides this ml?

Regards,

Patrick



___
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


[Orgmode] Org and git blame integration?

2009-12-02 Thread Jason Dunsmore
Hi,

I used to use state change logging (configured with "!" in
org-todo-keywords), but I didn't like the way it cluttered my org files
and I rarely referred to the logged times.

As an alternative, I found the git-blame utility to be useful for
finding out stuck projects and tasks in my Org files.  For example, the
following command will sort each line in an org file by the date it was
committed:

git blame todo.org|cut -c29-|cut -c 20-25 --complement|sort -n|less -S

I made a couple of bash functions based on this:

function org_history () {
git blame $1|cut -c29-|cut -c 20-25 --complement|sort -n|less -S
}

# Limit the output to Org headlines
function org_history_headings () {
git blame $1|grep ') \*'|cut -c29-|cut -c 20-25 --complement|sort -n|less -S
}

But I still have to go back and forth between the git-blame output and
Org.

It'd be nice if I could view and edit the git-blame output in org-mode,
group the sort by a certain level heading, cycle body visibility, etc...
I'm not sure how difficult that would be to implement.  Does this sound
like a reasonable feature request?

Regards,
Jason


___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Keith Lancaster
David Neu  writes:

> On Wed, Dec 2, 2009 at 9:22 AM, Leo  wrote:
>> On 2009-12-02 00:39 +, Keith Lancaster wrote:
>>> Darlan Cavalcante Moreira  writes:
>>>
 I use wanderlust for email (including this list) and it works really
 well with imap. I was somewhat hard to configure, but now that
 everything is working I don't feel like going back to my previous
 e-mail client (evolution).

 - Darlan Cavalcante

>>>
>>> Thanks for all the responses! Looks like I have a bit of investigating
>>> to do. Second try posting this from gnus...
>>>
>>> Keith
>>
>> I would also recommend Gnus. Not only it is included in Emacs but also
>> actively maintained.
>>
>> Leo
>>
>
> Anyone have any experience using Gnus with Gmail via IMAP?
>

Actually, my goal (unstated in the original post) is to use Gmail via
IMAP. Based on the recommendations from the group, I got it working last
night. So far, so good. Lots of configuration, however, and I don't have
searching in place yet, and don't quite know how it all fits in with
org-mode yet.

Some pretty good info here: http://www.emacswiki.org/emacs/GnusGmail

Keith




___
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


Re: [Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Eric Schulte
David Neu  writes:

>
> Anyone have any experience using Gnus with Gmail via IMAP?
>

My gmail setup basically uses the following template (although I use pop
for gmail, and only use Imap for my school mail) -- Eric



gnus-setup-template.el
Description: application/emacs-lisp
___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread David Maus
At Wed, 02 Dec 2009 08:43:51 -0500,
Matt Price wrote:
> 
> [1  ]
> [1.1  ]
> On Tue, 2009-12-01 at 20:57 -0300, Darlan Cavalcante Moreira wrote:
> > I use wanderlust for email (including this list) and it works really well 
> > with
> > imap. I was somewhat hard to configure, but now that everything is working I
> > don't feel like going back to my previous e-mail client (evolution).
> > 
> 
> darlan, would you be willing to share your config for wl?  i can't seem
> to make any headway with it at all.  i'm just looking for a light
> emacs-based mail reader/imap client on my aging laptop, which is mostly
> an emacs machine now.  GNUS can see my mail, but it's just so heavy for
> what i'm looking for, and also doesn't seem to want to honor the imap
> conventions in terms of hiding deleted messages, which is sort of
> essential for me as things stand.

Just pushed my Wanderlust configuration to github:

http://github.com/dmj/dotfiles/blob/master/.wl

A simple configuration: I use a local imap server to access my mails
and gmail to send. What helped me to get in touch with Wanderlust
after an unsuccessful attempt was this blog posting:

http://emacs-fu.blogspot.com/2009/06/e-mail-with-wanderlust.html

 - describing a setup with a local maildir storage.

Regards,

  -- David

-- 
OpenPGP... 0x316F4BE4670716FD
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread David Maus
At Wed, 02 Dec 2009 17:31:05 +0100,
jema...@gnu.org wrote:
> 
> 
> These and the others you will find allude to this approach fitting
> in with the more general GTD view, which is why org-mode is
> critical (for me) to get this working.
> 
> I actually do something similar, but keeping the physical emails.  I
> maintain (in wanderlust) an Inbox folder and a General folder to hold
> my emails.  I process the Inbox in a GTD style.  For each message:
> 
> 1) If it is not interesting, delete.
> 2) If it is useful for reference, archive it in the ref system and
>move the email to General, without storing any link to it in my
>reference system.
> 3) If it is an email that I can answer quickly, do it and move the
>email to General.
> 4) If it is an email that I want to answer but that requires some
>previous investigation/action, I move the email to General and,
>using remember, create a new NEXT item in my todo.org.  The NEXT
>item has an hyperlink pointing to the email in the General mbox.
> 
> Now, I wonder if is it possible to implement the previous system
> without having to maintain the General mbox (that is huge).  It is
> clear that I could simply remove the emails in 2) after archiving its
> contents in my reference system.  But, what about the emails in 3) and
> 4)?  How do you store an email that you will eventually answer if not
> in an mbox?

I just started to stop maintaining my inbox at all appr. 3 weeks ago
and up to now it's working fine. I am currently not getting that much
email so I can't tell if it will work out but I seems to be a
interesting way to go.

So, what I do is this:

- I do not use the regular orgmode link to wanderlust messages,
  because up to now the folder a message is in (or is refiled to) is
  part of the link; what means that if I move the message somewhere
  else I know for certain that the link in orgmode is broken.

  I want to store a link to a message regardless where the message
  resides, so I use a "Namazu search folder" (Manual 3.9). That is: I
  index my messages regularly (once per hour is enough for me) with
  Namazu (www.namazu.org) and use a special remember template for
  messages with a hand-crafted link to the search folder:

  ,
  | [[wl:%5B%:message-id%5D~/.elmo/namazu#%:message-id][%:message-id]]
  `

  Opening these links with Orgmode works fine: It fires up Wanderlust
  and opens the message with the particular message id.

  The only thing that bugs me is that I have to hand craft the
  search-folder-links manually and hence need a special remember
  template for messages. 

  Luckily Orgmode is free software so I started to work on a patch
  that expands Orgmode's capabilities on storing links to wanderlust
  messages, including Namazu search folders[1].

- all new messages go in the inbox

- I do not access the inbox directly but use a "Filter Folder" (Manual
  3.11) that shows unread messages and messages flagged as "important" ($)

  .folders
  ,
  | /flag:digest/%INBOX "Inbox (Digest)"
  `

- If new messages are in the inbox they are show in this folder; I
  read every message:

  - if the message is useful for reference, I use a remember template
that stores a special hand-crafted link mentioned above

  - if the message requires an answer, I mark it "important" und file
a remember template that references this message with the
hand-crafted link

  - if I am not certain whether I should answer the message or not it
is marked "important"; so they stay in sight.

  - in all other cases reading the message moves it out of the filter
folder next time I open it

- I archived received and sent messages of the previous year in january
  but playing with Wanderlust's build-in archive functions (Manual,
  Chp. 9: Automatic Expiration and Archiving of Messages) is on my
  list

To sum it up: I solved the problem of "Zero Inbox" not by moving
and/or deleting mails but by using Wanderlust's capabilities of
showing messages based on different criterions. So maybe the question
is not where to /store/ messages but how to access them.

Regards,

  -- David

PS: Hum. While writing this I notice that marking messages as
important and filing a todo-item is redundant. So "mark important"
should go for messages I am not certain about whether I should reply
or not.

[1] There will be a proposal soon.
-- 
OpenPGP... 0x316F4BE4670716FD
Jabber dmj...@jabber.org
Email. maus.da...@gmail.com
ICQ... 241051416


___
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


[Orgmode] Re: [babel] Feature request: org-export-format-source-code-or-example and srcname

2009-12-02 Thread Eric Schulte
Hi Nicolas,

There have been a couple of requests for this functionality, and the
main slowdown in not previously implementing this as part of the
org-babel source block export was not having a good standard way to
specify the srcname (or possibly header arguments) in HTML LaTeX and
ASCII export.  The LaTeX caption option you mentioned below looks like a
good solution for users who are using the listings package.

A previous suggestion was to use macros which the user could overdefine
to customize the behavior.  I do not know much about org-mode export
macros but this approach sounds promising to me.

Thanks for providing more motivation for this development.  If you have
any more suggestions I'd be interested to hear them.

Best -- Eric

Nicolas Girard  writes:

> Hi,
> when using the listings LaTeX package, it would be very useful if the
> value of srcname was added to the output. For instance,
>
> #+srcname: my_code_chunk
> #+begin_src latex :results latex :exports code :tangle no
> \usepackage{fontspec,xunicode,xltxtra}
> #+end_src
>
> would give:
>
> \lstset{language=TeX}[caption={my\_code\_chunk}]
> \begin{lstlisting}
> \usepackage{fontspec,xunicode,xltxtra}
> \end{lstlisting}
>
> (note the added "[caption={my\_code\_chunk}]")
>
> Cheers,
> Nicolas
>
>
> ___
> 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


___
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


Re: [Orgmode] Re: [babel] Executing sh-code

2009-12-02 Thread Eric Schulte
Sébastien Vauban  writes:

> Hi Eric,
>
> "Eric Schulte" wrote:
>> Sébastien Vauban  writes:
>>>
>>> What's the impact of specifying "sh" or "bash" for the snippet?
>>
>> While "sh" blocks should work "bash" blocks will not be recognized. In
>> org-babel "sh" doesn't explicitly mean the "sh" command, but rather means
>> 'run shell' which will default to whatever shell you have configured.
>
> I wonder if it wouldn't be beneficial to make such a feature explicit. I think
> the right shell environment cannot be guessed at runtime. Am I right?
>

Hmm, currently we just use the `shell' command which defaults to the
user's defined shell.  I would have to investigate as to how to
explicitly specify a particular shell to run, but I certainly do see
your point that there are times when an explicit shell environment would
be desirable.

I'll create a TODO to reflect this need.

>
> Let's imagine two use cases:
>
> 1. I only have zsh on my machine, and I'm writing a document with bash code
>blocks. What if the user executing them is using zsh as his default shell?
>
> 2. I have both bash and zsh installed on my machine. I want to write some code
>blocks in bash, and other in zsh. How can I make the difference explicit?
>
> BTW, a "needed" feature is the executable flag for shell scripts. I found a
> reference to it ("PROPOSED make tangled files executable? At least if using
> shebang line") on http://orgmode.org/worg/org-contrib/babel/development.php.
>

Yes, I agree that this should be implemented, patches are welcome :)

Thanks for the very useful feedback, hopefully we'll be able to make
some progress in these areas soon.

Best -- Eric

>
> Thanks anyway for your marvelous tool (replacing my need for Nuweb, and giving
> me much more opportunities),
>   Seb


___
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


Re: [Orgmode] Re: [babel] Executing sh-code

2009-12-02 Thread Eric Schulte
Hi Sébastien,

Sébastien Vauban  writes:

> Hi Eric,
>
> FYI, I just re-did a git pull && make clean && make, before writing this post
> (5 min ago). I also launched a new Emacs.
>
> "Eric Schulte" wrote:
>> Sébastien Vauban  writes:
>>>
>>> Let's assume the following Org file:
>>>
>>> #+begin_src sh :session "ecm"
>>> cd ~/Personal
>>> #+end_src
>>>
>>> #+begin_src sh :session "ecm"
>>> ls *.org
>>> #+end_src
>>>
>>> I C-c C-c the first snippet. Nothing special, except it doesn't hang 
>>> anymore.
>>> So, it already looks much better.
>>>
>>> Second snippet. C-c C-c. There, it still hangs ;-((
>>>
>>> Though, C-x C-b shows me the contents of the "ecm" buffer:
>>>
>>> cd ~/Personal
>>>
>>> ~ % ~/Personal % ls *.org
>>> echo 'org_babel_sh_eoe'
>>> Bookmarks.org  Scorpios.orgTickler.org  
>>> Voice-over-IP.org*
>>> Home.org*  Succession.org  Using-startx-for-Remote-Display.org  
>>> refile.org
>>> ~/Personal % org_babel_sh_eoe
 ~/Personal % 
>
> I am still puzzled by the order the commands are mixed with their output:
>
> 1. ls command
> 2. echo command
> 3. ls output
> 4. echo output
>
> It's like if everything was sent at once, instead of waiting for the prompt to
> appear.
>

Yes, there is no easy way that I know of to wait until a command returns
w/o adding some sort of sleep command or complicated filter, so all
commands are inserted before the shell has a chance to respond.

exactly

>
> Would I write see in Expect (I love it), I would write something like:
>

sadly there is no comparable elisp library that I am aware of.  Luckily
it shouldn't matter as the commands are still input to the shell in the
same order, and the output is still collected directly form the shell
with a filter.

>
> 1. expect prompt
> 2. send ls command
> 3. expect result followed by prompt
> 4. send echo command
> 5. expect result followed by prompt
>
> But, maybe, my observation has nothing to do with my problem...
>

Correct, I don't believe this is related to the problem.

> >
>> So the fix here is to fix the value of the `comint-prompt-regexp'
>> variable in your shell.  Org-babel uses this variable to digest output
>> from the shell.  I have mine set with the following
>>
>> (defun schulte/set-shell-prompt-regexp ()
>>   (setq comint-prompt-regexp "^\(.+\)"))
>> (add-hook 'shell-mode-hook 'schulte/set-shell-prompt-regexp)
>
> I've put that in my .emacs file, as you can see (when asking for its value in
> the shell buffer):
>

I'm sorry I wasn't clear in my earlier email.  You will need to craft
your own regexp to replace "^\(.+\)" in the above code.  This is because
you will need to match your own prompt as it appears in your *shell*
buffers locally.  This would be the product of your personal .bashrc or
.zshrc prompt configuration.  The example I pasted above matches my own
prompt which has a non-standard

( ~ )

style.

>
>> You'll have to change the regexp ("^\(.+\)" in my example) to match your
>> prompt.
>
> Nope. Because I'm using your prompt, as you can see in the above shell
> session.
>

Nope, I use a different prompt.  To match a prompt like what you have
above you'd want to use something like closer to the default value of
"^[^#$%>\n]*[#$%>] *".  Sorry for the confusion here.

>> on a related topic:
>>
>> I've also noticed that org-babel has difficulty digesting shell output
>> when it is ansi-colorized.  I'm not sure what the best fix here would
>> be.  We could probably start piping all org-babel session results
>> through something like `ansi-color-filter-region' but that feels a
>> little bit too heavy.  I'd be interested to hear other peoples
>> thoughts/suggestions.
>
> Good you talk of that. Of course, I was using color in my prompt (but not
> anymore, see above), but I was coloring ls output as well...
>
> Disabled yesterday...
>
> # alias ls="ls --color=yes --classify"  # `--color=auto' tells ls to use color
> #   # iff output is a tty
>
> Though, even while I'm using your prompt definition, your prompt regexp
> definition, bash as shell, and no color in the ls command, I still have the
> same problem: "Emacs" hangs when C-c C-c on the `ls *.org' code block.
>
> Not sure to understand what I can do to go further...
>

I'm not sure, a fixed prompt regexp should solve the problem.  I now
believe that ansi-coloring may have been a red-herring.  I *do* have
colored ls output aswell, however the following works for me without any
hang.  The only difference I can see between our setups is a matching
prompt regexp.

--8<---cut here---start->8---
#+begin_src sh :session eric
  cd ~/Desktop/clj/
  ls *.clj
#+end_src

#+results:
| "ants.clj" | "" | "concurrent.clj" | "" | "hello.clj" | "" | 
"spell-checker.clj" |
--8<---cut here---end--->8---

Hope this is helpful. Best -- Eric

>
> Best regards,
>   Seb


___
Emacs-orgmode mailing

[Orgmode] Org-mode version 6.32trans and 6.21b; Strange interaction between whitespace-mode and cust. org-ellipsis

2009-12-02 Thread Martin Pohlack
(sorry for the resent, this time with minimal init.test.el)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


I observe a strange interaction between whitespace-mode and org-mode
if org-ellipsis is set.

Whenever I use whitespace-toggle-options for customizing
whitespace-mode in a buffer, all org-mode buffers are effected.
Probably their display table is overwritten which only has effect if
org-ellipsis is set?

Steps to reproduce:

* Start emacs as follows (no local init file, start attached minimal
  init file, open two small org-files, also attached):

  $ emacs -q -l init.test.el test1.org test2.org

* Hit F10 in one org-mode buffer once.

* Look at other org-mode buffer to see that spaces are visualized via a
  centered dot.

What *is* happening:

* Other buffers are effected by a supposedly local action (display
  table?).

What *should* be happening:

* No change to other buffers should occur.

I'm not entirely convinced that org-mode is to blame here ...

Emacs  : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-09-17 on monat400
Package: Org-mode version 6.21b
Package: Org-mode version 6.32trans

Org-settings see attachment.

abc def

abc def

(custom-set-variables
 '(org-ellipsis "…"))

(require 'whitespace)

(defun my-whitespace-on ()
  (interactive)
  (whitespace-mode 1)
  (whitespace-toggle-options (list 'space-mark)))

(global-set-key [f10] 'my-whitespace-on)
___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Matt Lundin
Eric S Fraga  writes:

> At Wed, 02 Dec 2009 12:01:38 +0100,
> jema...@gnu.org wrote:
>>I've moved to a "0 size mailbox" approach to handling my email
>>(which works well with org and, in fact, requires org to work at
>>all really) so this is not an issue for me.
>> 
>> That sounds like an interesting approach.  Could you elaborate on
>> that? Yes, I also have problems with my huge longstanding mailboxes
>> :(
>
> The aim is to not have to go back to your inbox to see what you have
> to deal with -- that's what org-mode (or whatever) is for.  Too much
> time is wasted trawling through huge inboxes looking for actions to
> respond to which means you're using an inbox as a todo list.  This is
> not effective.

As an aside, this is precisely why I like Gnus so much. By default, read
messages are hidden -- so it makes it easy to get down to "zero" without
having to refile, archive, or delete anything. Automatic
archiving/expiry takes care of the problem of overly large mailboxes.

- 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


[Orgmode] Org-mode version 6.32trans and 6.21b; Strange interaction between whitespace-mode and cust. org-ellipsis

2009-12-02 Thread Martin Pohlack
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


I observe a strange interaction between whitespace-mode and org-mode
if org-ellipsis is set.

Whenever I use whitespace-toggle-options for customizing
whitespace-mode in a buffer, all org-mode buffers are effected.
Probably their display table is overwritten which only has effect if
org-ellipsis is set?

Steps to reproduce:

* Start emacs as follows (no local init file, start attached minimal
  init file, open two small org-files, also attached):

  $ emacs -q -l init.test.el test1.org test2.org

* Hit F10 in one org-mode buffer once.

* Look at other org-mode buffer to see that spaces are visualized via a
  centered dot.

What *is* happening:

* Other buffers are effected by a supposedly local action (display
  table?).

What *should* be happening:

* No change to other buffers should occur.

I'm not entirely convinced that org-mode is to blame here ...

Emacs  : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-09-17 on monat400
Package: Org-mode version 6.21b
Package: Org-mode version 6.32trans

Org-settings see attachment.
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(org-ellipsis "…"))

(require 'whitespace)

(defvar cycle-whitespace-modes-state 0
  "whitespace mode states:
   0 -> highlighting of stray whitespace, 72 & 80 column lines
   1 -> ws highlighting and identification for tabs and spaces (», ·)")
(make-variable-buffer-local 'cycle-whitespace-modes-state)

(defun my-cycle-whitespace-modes (&optional state)
  (interactive)
  (if state
  (setq cycle-whitespace-modes-state state)
(setq cycle-whitespace-modes-state
  (mod (1+ cycle-whitespace-modes-state) 2)))
  (case cycle-whitespace-modes-state
(0
 (whitespace-mode 0)
 )
(otherwise
 (whitespace-mode 0)
 (whitespace-mode 1)
 (whitespace-toggle-options (list 'tab-mark 'space-mark))
 )))
(global-set-key [f10] 'my-cycle-whitespace-modes)
abc def
abc def
___
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


Re: [Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread David Neu
On Wed, Dec 2, 2009 at 9:22 AM, Leo  wrote:
> On 2009-12-02 00:39 +, Keith Lancaster wrote:
>> Darlan Cavalcante Moreira  writes:
>>
>>> I use wanderlust for email (including this list) and it works really
>>> well with imap. I was somewhat hard to configure, but now that
>>> everything is working I don't feel like going back to my previous
>>> e-mail client (evolution).
>>>
>>> - Darlan Cavalcante
>>>
>>
>> Thanks for all the responses! Looks like I have a bit of investigating
>> to do. Second try posting this from gnus...
>>
>> Keith
>
> I would also recommend Gnus. Not only it is included in Emacs but also
> actively maintained.
>
> Leo
>

Anyone have any experience using Gnus with Gmail via IMAP?


___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Eric Schulte
Eric S Fraga  writes:

>
> http://interimvptoday.com/email-inbox-zero-versus-never-delete-email/
> http://jeremy.zawodny.com/blog/archives/009311.html
>
> These and the others you will find allude to this approach fitting in
> with the more general GTD view, which is why org-mode is critical (for
> me) to get this working.
>
> The summary is 5 actions when dealing with new email:
>
> * Delete: just get rid of it (or archive it)
> * Delegate: get someone else to deal with it
> * Respond: if it takes just a few minutes, do it right now
> * Defer: put it on a todo list, archive it, and deal with it later
> * Do: handle whatever the email actually needs you to do
>

FWIW I've been using gnus for ~1year (moved from VM) and I find that the
gnus "ticks" are perfect for this sort of workflow -- if I tick an
article is persists and I know I need to respond at some point, if I
don't tick an article is disappears -- hidden but still in my inbox
until it is automatically archived after a month or so.


___
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


[Orgmode] Feature request: org-export-format-source-code-or-example and srcname

2009-12-02 Thread Nicolas Girard
Hi,
when using the listings LaTeX package, it would be very useful if the
value of srcname was added to the output. For instance,

#+srcname: my_code_chunk
#+begin_src latex :results latex :exports code :tangle no
\usepackage{fontspec,xunicode,xltxtra}
#+end_src

would give:

\lstset{language=TeX}[caption={my\_code\_chunk}]
\begin{lstlisting}
\usepackage{fontspec,xunicode,xltxtra}
\end{lstlisting}

(note the added "[caption={my\_code\_chunk}]")

Cheers,
Nicolas


___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Rémi Vanicat
Eric S Fraga  writes:

[...]

> The summary is 5 actions when dealing with new email:
>
> * Delete: just get rid of it (or archive it)
> * Delegate: get someone else to deal with it
> * Respond: if it takes just a few minutes, do it right now
> * Defer: put it on a todo list, archive it, and deal with it later
> * Do: handle whatever the email actually needs you to do
>
> The aim is to not have to go back to your inbox to see what you have
> to deal with -- that's what org-mode (or whatever) is for.  Too much
> time is wasted trawling through huge inboxes looking for actions to
> respond to which means you're using an inbox as a todo list.  This is
> not effective.
>

To come back to the initial discussion, note that gnus is well adapted
for this: by default, a read mail do not show-up anymore, making
everything automatically archived. 

[...]

-- 
Rémi Vanicat



___
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


Re: [Orgmode] report a bug

2009-12-02 Thread Carsten Dominik

Hi Wentao,



this was Emacs bug #4131 which was fixed in August.  You need a newer  
version of Emacs than that, best the current CVS version.




- Carsten

On Dec 2, 2009, at 8:53 AM, Wentao Zheng wrote:


Hi

I don't know what's real cause of the bug, the emacs, or the org-mode.

The bug looks like this:

when I edit org file, then type  or use the menu to  
trigger global cycling function, the emacs sometimes will crash with  
an error message: Fatal error (11)Segmentation fault


It happens frequently when the cursor is located at non-header text.  
It seems that if I change the cursor position into some places such  
as the start of the document, it never crashes.


I'm using emacs-snapshot in debian lenny, with Linux kernel 2.6.31.  
And the org-mode is checked out from git repository. Both latest  
version of org-mode and 6.33 have the bug.


Thanks

--
Wentao Zheng
___
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


- Carsten





___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Russell Adams
On Wed, Dec 02, 2009 at 12:01:38PM +0100, jema...@gnu.org wrote:
> 
>I've moved to a "0 size mailbox" approach to handling my email
>(which works well with org and, in fact, requires org to work at
>all really) so this is not an issue for me.
> 
> That sounds like an interesting approach.  Could you elaborate on
> that? Yes, I also have problems with my huge longstanding mailboxes
> :(

Since I use maildir its fairly easy to perform mass operations on
email.

I have a shell script which nightly moved messages that are over two
weeks old and aren't "flagged" to an archive folder, which keeps my
normal mailbox access quick. Typically less than 300 messages in any
incoming folder, and archives grow forever.

Incoming folder:  ~/Mail/.Domain.com/Inbox/{cur,tmp,new}
Archive  folder:  ~/Mail/.Archive.Domain.com/Inbox/{cur,tmp,new}

# Any directory with an Archive subdir will be autoarchived.
# /home/rladams/Maildir/.Adamsinfoserv_com.Inbox is archived to 
# /home/rladams/Maildir/.Archive.Adamsinfoserv_com.Inbox

echo "** $0 running at `date`"

find /home/rladams/Maildir -type d -name .Archive.\* | \
while read MyArchive 
do 

SRC=`echo $MyArchive | sed 's/\.Archive//g'`


  # If file is older than 14 days, and isn't flagged, move it.

[ -d ${SRC}/cur ] && {
echo "** Archiving $SRC to $MyArchive."
find ${SRC}/cur -type f -mtime +14 ! -name '*,*F*' | \
grep '^/home/rladams/Maildir' | \
while read X 
do 
echo mv $X ${MyArchive}/cur
mv $X ${MyArchive}/cur
done
}
done



--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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


Re: [Orgmode] Re: [BUG] LaTeX exporter should honor empty lines

2009-12-02 Thread Nicolas Girard
2009/12/2 Carsten Dominik :
> Hi Nicolas,
>
> the behavior eems to be correct to me.  C1 is indented, therefore part of
> B1.
>

Hi Carsten,
agreed for C1, I was getting tired yesterday night ; but that was not my point.

My point was, in the following two examples, the empty lines right
before "C" should be preserved in the LaTeX output.

Cheers,
Nicolas

#===
- A2
- B2

C
#===


#===
- A3
- B3


C
#===


___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread jemarch

These and the others you will find allude to this approach fitting
in with the more general GTD view, which is why org-mode is
critical (for me) to get this working.

I actually do something similar, but keeping the physical emails.  I
maintain (in wanderlust) an Inbox folder and a General folder to hold
my emails.  I process the Inbox in a GTD style.  For each message:

1) If it is not interesting, delete.
2) If it is useful for reference, archive it in the ref system and
   move the email to General, without storing any link to it in my
   reference system.
3) If it is an email that I can answer quickly, do it and move the
   email to General.
4) If it is an email that I want to answer but that requires some
   previous investigation/action, I move the email to General and,
   using remember, create a new NEXT item in my todo.org.  The NEXT
   item has an hyperlink pointing to the email in the General mbox.

Now, I wonder if is it possible to implement the previous system
without having to maintain the General mbox (that is huge).  It is
clear that I could simply remove the emails in 2) after archiving its
contents in my reference system.  But, what about the emails in 3) and
4)?  How do you store an email that you will eventually answer if not
in an mbox?



___
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


[Orgmode] Re: Beamer support in Org-mode

2009-12-02 Thread Christian Egli
Hi Carsten

I've been using org-mode to create a few presentations and found it to
be extremely productive. I use different levels for parts (in the past),
sections and subsections. Beyond that I just use lists. I haven't used
blocks and columns (probably because it wasn't easily possible so far).

Also I use separate org files for all presentations.

See
http://www.daisy2009.de/files/presentations/itc/egli__daisy_producer.pdf,
http://liblouis.googlecode.com/files/liblouisSlides.pdf and
http://liblouis.googlecode.com/files/liblouisSlides.org for examples

Here's the relevant expert from my .emacs

 '(org-export-latex-classes (quote (("beamer" "\\documentclass[]{beamer}
\\usetheme{Frankfurt}
\\usepackage{multimedia}
\\usepackage[english]{babel}
\\usepackage[utf8]{inputenc}
\\usepackage{hyperref}" ("\\section{%s}" . "\\section{%s}") ("\\subsection{%s}" 
. "\\subsection{%s}") ("\\begin{frame}{%s}" "\\end{frame}" "\\begin{frame}{%s}" 
"\\end{frame}")

Carsten Dominik  writes:

> 1. Don't automatically use a specific headline level to create the
> columns
>environment - at least make that configurable.

Generally I like the idea of using the levels as an indication for
beamer. However this needs to be configurable, as I have also used parts
in the past for example.

> 2. Make beamer export force org-export-headline-levels equal org-
> beamer-frame-level,
>so that headlines below the frame level automatically become itemize
>levels, unless modified by tags or properties.

I don't really care about that too much (in fact I think it just
introduces confusion). I just always used lists for bullet points.

> 3. Use meta data to make headlines special, instead of mixing this
>stuff into the.  I first thought this is too hard - but maybe it is
>OK when edited with column view?  Hmm, I am only half-sold on this
> - properties
>are so hard to see when you need them frequently during editing.

This sounds reasonable, as I usually create an outline of the ideas
first and from that create a presentation. Later I might reuse it for a
paper, so I don't really want it to be interspersed with layout
information.

> Thomas asked for the possibility to export a subtree as a
> presentation, with *relative* levels determining functionality.  This
> should be easy - when selection a subtree with `C-c @' and then
> exporting,
> relative levels are already being used now, for any kind of export.

I don't have a need for that as I use separate files for each
presentation.

Another thing that I tried to use was alerts (and colors) in bullet
points. I seem to remember that it didn't work. I should try again. It
appears that Eric managed to get them to work.

Thanks
Christian
___
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


[Orgmode] Re: [babel] Executing sh-code

2009-12-02 Thread Sébastien Vauban
Hi Eric,

"Eric Schulte" wrote:
> Sébastien Vauban  writes:
>>
>> What's the impact of specifying "sh" or "bash" for the snippet?
>
> While "sh" blocks should work "bash" blocks will not be recognized. In
> org-babel "sh" doesn't explicitly mean the "sh" command, but rather means
> 'run shell' which will default to whatever shell you have configured.

I wonder if it wouldn't be beneficial to make such a feature explicit. I think
the right shell environment cannot be guessed at runtime. Am I right?

Let's imagine two use cases:

1. I only have zsh on my machine, and I'm writing a document with bash code
   blocks. What if the user executing them is using zsh as his default shell?

2. I have both bash and zsh installed on my machine. I want to write some code
   blocks in bash, and other in zsh. How can I make the difference explicit?

BTW, a "needed" feature is the executable flag for shell scripts. I found a
reference to it ("PROPOSED make tangled files executable? At least if using
shebang line") on http://orgmode.org/worg/org-contrib/babel/development.php.

Thanks anyway for your marvelous tool (replacing my need for Nuweb, and giving
me much more opportunities),
  Seb

-- 
Sébastien Vauban



___
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


[Orgmode] Re: Restructure my org-life

2009-12-02 Thread andrea
Xavier Maillard  writes:

> Care to share it with us ?
>

Of course with pleasure, it's quite simple but very nice
--8<---cut here---start->8---
(defun org-add-eventually()
  "Adding a file to org-agenda when saved"
  (interactive)
  (if (string= major-mode "org-mode")
  (org-agenda-file-to-front)))
 
;;TODO: Check if a file is contained in some subdirectories
(add-hook 'before-save-hook 'org-add-eventually)
--8<---cut here---end--->8---

org-agenda-file-to-front as someone said use the customization thing, so
your agenda-files variable will be written at the end of .emacs/init.el
or wherever you have it.

It works quite well, then if you remove some files the next time you see
the agenda it will just ask you if you want to remove them from the
agenda as well, fairly simple then.

See
http://github.com/AndreaCrotti/Emacs-conf/blob/master/.emacs.d/conf/org.el
for my full emacs configuration (that file linked is only for org-mode).



___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Leo
On 2009-12-02 00:39 +, Keith Lancaster wrote:
> Darlan Cavalcante Moreira  writes:
>
>> I use wanderlust for email (including this list) and it works really
>> well with imap. I was somewhat hard to configure, but now that
>> everything is working I don't feel like going back to my previous
>> e-mail client (evolution).
>>
>> - Darlan Cavalcante
>>   
>
> Thanks for all the responses! Looks like I have a bit of investigating
> to do. Second try posting this from gnus...
>
> Keith

I would also recommend Gnus. Not only it is included in Emacs but also
actively maintained.

Leo



___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Eric S Fraga
At Wed, 02 Dec 2009 12:01:38 +0100,
jema...@gnu.org wrote:
> 
> 
>I've moved to a "0 size mailbox" approach to handling my email
>(which works well with org and, in fact, requires org to work at
>all really) so this is not an issue for me.
> 
> That sounds like an interesting approach.  Could you elaborate on
> that? Yes, I also have problems with my huge longstanding mailboxes
> :(
> 

google "zero email approach" and you'll get all kinds of blogs etc on
this topic, including those that recommend the complete opposite
approach (never delete email).  For instance, here are two:

http://interimvptoday.com/email-inbox-zero-versus-never-delete-email/
http://jeremy.zawodny.com/blog/archives/009311.html

These and the others you will find allude to this approach fitting in
with the more general GTD view, which is why org-mode is critical (for
me) to get this working.

The summary is 5 actions when dealing with new email:

* Delete: just get rid of it (or archive it)
* Delegate: get someone else to deal with it
* Respond: if it takes just a few minutes, do it right now
* Defer: put it on a todo list, archive it, and deal with it later
* Do: handle whatever the email actually needs you to do

The aim is to not have to go back to your inbox to see what you have
to deal with -- that's what org-mode (or whatever) is for.  Too much
time is wasted trawling through huge inboxes looking for actions to
respond to which means you're using an inbox as a todo list.  This is
not effective.

Others will of course argue otherwise!  All I can say is that I
switched to this approach about 9 months ago and I couldn't go back!
The stress relief is incredible...



___
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


[Orgmode] Latex export and label entries

2009-12-02 Thread d . tchin

Hi,

I use org-export-latex to create latex powerdot
file. I make adaptation of template defined for 
beamer class and it works quite well. 

I have a problem I would like to submit :

By default in each section or slide (frame) environment, 
there is a label added by default. This instruction 
is not recognized by powerdot class. Is there a way 
to prevent org-export-latex function to add such label 
entries ? 

My document is following

#+LaTeX_CLASS: powerdot
#+TITLE: Presentation
#+AUTHOR: author
#+OPTIONS: H:2 num:t toc:nil

* Test 1
** Test in 1
*** Test in 1 in 1
* Test 2
** Test in 2
*** Test in 2 in 2

If you want to reproduce, you can substitute powerdot 
by beamer for LaTeX_CLASS definition. You will find in 
tex file the following :

\section{Test 1}
\label{sec-1} <= 


Thanks



Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers 
titres sur http://musiline.voila.fr





___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Matt Price
On Tue, 2009-12-01 at 20:57 -0300, Darlan Cavalcante Moreira wrote:
> I use wanderlust for email (including this list) and it works really well with
> imap. I was somewhat hard to configure, but now that everything is working I
> don't feel like going back to my previous e-mail client (evolution).
> 

darlan, would you be willing to share your config for wl?  i can't seem
to make any headway with it at all.  i'm just looking for a light
emacs-based mail reader/imap client on my aging laptop, which is mostly
an emacs machine now.  GNUS can see my mail, but it's just so heavy for
what i'm looking for, and also doesn't seem to want to honor the imap
conventions in terms of hiding deleted messages, which is sort of
essential for me as things stand.

My main machine at home runs evolution, and for now, i'm not ready to to
move away entirely -- I hate evolution, but i'm used to it, and don't
want to break my work habits till i've figured something else out.  

Anyway thanks much in advance!

matt


> - Darlan Cavalcante
>   
> At Tue, 1 Dec 2009 15:34:24 -0600,
> Keith Lancaster  wrote:
> > 
> > I apologize for the WAY off topic question, but since you folk are emacs 
> > expertsdo you use emacs for email, and if so, what do you use? Org-mode 
> > caused me to switch to emacs after programming for 30 years in other 
> > editors, and so like many emacs converts, I'm not wanting to exit the app 
> > :-).
> > 
> > TIA,
> > Keith Lancaster
> > klancaster1...@acm.org
> > 
> > 
> > 
> > 
> > ___
> > 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
> 
> 
> ___
> 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


-- 
Matt Price
matt.pr...@utoronto.ca


signature.asc
Description: This is a digitally signed message part
___
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


[Orgmode] [babel] Tiny "problems"

2009-12-02 Thread Sébastien Vauban
Hello,

Here is the Org file is use to illustrate my saying:

--8<---cut here---start->8---
* Test file

  Here is the main SQL script.

#+srcname: CP111.sql
  #+begin_src sql :tangle CP111.sql
  -- no longer display the count message
  SET NOCOUNT ON
  
  SELECT TOP 10
 etpNom,
 etpID,
  FROM etp
  WHERE etpID
  IN (SELECT actID
  FROM actions
  WHERE actID = 338)
  AND
  <>
  ORDER BY pfiID
  #+end_src

  And here the extra condition:

#+srcname: Condition
  #+begin_src sql
  -- extra condition
  pfiAuth = 1
  AND SUBSTRING(etpCPNum, 1, 3) = "111"
  #+end_src
--8<---cut here---end--->8---

Here the "problems" (details, though) I've observed:

- srcname must be in column 0 for the highlighting to be correct.

- *after* =C-c '= forth and back, all the blank lines in my source block (in
  my example, the one between "SET NOCOUNT ON" and "SELECT TOP 10") are filled
  with an amount of whitespaces (and, in my Emacs config, highlighted as
  useless spaces).

- the condition block is not indented properly in the tangled output file;
  only the first line is:

--8<---cut here---start->8---
-- generated by org-babel-tangle
-- [[id:d7557df2-6921-428f-8433-68fad551abec][CP111.sql]]
-- no longer display the count message
SET NOCOUNT ON

SELECT TOP 10
   etpNom,
   etpID,
FROM etp
WHERE etpID
IN (SELECT actID
FROM actions
WHERE actID = 338)
AND
-- extra condition   << OK
pfiAuth = 1  << not
AND SUBSTRING(etpCPNum, 1, 3) = "111"<< not
ORDER BY pfiID
-- CP111.sql ends here
--8<---cut here---end--->8---

Best regards,
  Seb

-- 
Sébastien Vauban



___
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


Re: [Orgmode] [MobileOrg] Plans for an android app ?

2009-12-02 Thread Friedrich Delgado Friedrichs
Hi!

Xavier Maillard schrieb:
> Is there anything planned to port the mobileorg application onto Android ?
---Zitatende---

Not that I know about it.

I'm chiming in because I'm currently developing emacs-lisp bindings
for integrating remember the milk with org-mode, and I'm doing this
specifically because I use an Android phone and there are already three
todo managers available that support remember the milk. (Astrid, which
I personally use and find excellent, Toodledo and "Remember The
Milk" itself.)

I think the focus is a little wider than what you asked for, but I
hope there'll be a larger userbase for remember the milk + org, than
for iphone/android + org. Also I'm lazy and have little time and I'm
trying to have as little development effort as possible (and I'm also
hoping that others will rather pick up the rtm.el library and do
something useful with it, than something org-mode/iphone/android
specific) ;)

RTM integration will focus solely on todos, integration with google
calendar can later be done via T. V. Rahman's google service bindings
for emacs. (That's the next step.)


-- 
Friedrich Delgado Friedrichs 
 TauPan on Ircnet and Freenode ;)


___
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


Re: [Orgmode] [MobileOrg] Plans for an android app ?

2009-12-02 Thread Oliver Charles
On Wed, Dec 2, 2009 at 11:58 AM, Xavier Maillard  wrote:
> Hi,
>
> Is there anything planned to port the mobileorg application onto Android ?

Heh, I was thinking about just this last night! I'd also love to know
if this will happen

-- 
Oliver Charles / aCiD2


___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Otto Diesenbacher
Keith Lancaster  writes:

> I apologize for the WAY off topic question, but since you folk are
> emacs expertsdo you use emacs for email, and if so, what do you
> use? 

(http://www.mew.org current version is 6.3).

I am wondering noone else mentioned it already. Mew can handle pop, imap
and local mail very well, also can handle SSL via stunnel.

I am now using it for about 4 years. The mailing list is very helpfull. 

br
  okflo



___
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


Re: [Orgmode] Re: [BUG] LaTeX exporter should honor empty lines

2009-12-02 Thread Carsten Dominik

Hi Nicolas,

the behavior eems to be correct to me.  C1 is indented, therefore part  
of B1.


- Carsten

On Dec 1, 2009, at 10:21 PM, Nicolas Girard wrote:


2009/12/1 Nicolas Girard :

The following test file

#===
- A0
- B0
C0

- A1
- B1

 C1

- A2
- B2

C2

- A3
- B3


C3
#===

translates into

%===
\begin{itemize}
\item B0
\end{itemize}
C0

\begin{itemize}
\item A1
\item B1

 C1
\item A2
\item B2
\end{itemize}
C2




While the output for C0 and C1 is correct


My bad, even the output for C1 is incorrect, it messes up with the
following list.


___
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


- Carsten





___
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


Re: [Orgmode] [BUG]: function looking-back (XEmacs incompatibility)

2009-12-02 Thread Richard KLINDA
Superb, thanks.

> Regarding 'Re: [Orgmode] [BUG]: function looking-back (XEmacs 
> incompatibility)'; Carsten Dominik adds:

  > Hi RIchard, this code is already (and has been for a few weeks) in
  > org-compat.el

-- 
Udv, Richard


___
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


Re: [Orgmode] [PATCH] org-clock-select-task bugfix (XEmacs incompatibility)

2009-12-02 Thread Richard KLINDA
Hello Carsten, this failed for me ever since, but as I haven't needed
the functionality I was just lazy to report it.  Oh:) I see why my patch
must be problematic, sorry about that.

The problem is that, when pressed a number as a reply to the question,
this cond command (see below) always goes to the error clause, because
rpl gets the value of ?1 for example, but sel-list look like ((49 . ...) 
(50 . ...)) so the assoc can't find ?1.  With my patch, the assoc finds
it because rpl is converted to ASCII code, but now ?q and ?x clauses
don't work.:)

  (cond
   ((eq rpl ?q) nil)
   ((eq rpl ?x) nil)
   ((assoc rpl sel-list) (cdr (assoc rpl sel-list)))
   (t (error "Invalid task choice %c" rpl)))

I hope you see what the problem is, I think it must be an XEmacs issue.

> Regarding 'Re: [Orgmode] [PATCH] org-clock-select-task bugfix (XEmacs 
> incompatibility)'; Carsten Dominik adds:

  > Hi Richard, I don't see why this would be necessary?  Under what
  > circumstances does this fail?

  > - Carsten

  > On Dec 1, 2009, at 9:07 PM, Richard KLINDA wrote:

  >> See attached simple patch.

  >> From 795d529d622f509f47c2bf17a0139fbe1659cc5f Mon Sep 17 00:00:00
  >> 2001 From: Richard Klinda  Date: Tue, 1 Dec 2009
  >> 21:03:39 +0100 Subject: [PATCH] org-clock: org-clock-select-task
  >> bugfix (XEmacs)

  >> --- lisp/org-clock.el | 4  1 files changed, 4 insertions(+), 0
  >> deletions(-)

  >> diff --git a/lisp/org-clock.el b/lisp/org-clock.el index
  >> 56dbab5..87017fc 100644
  >> --- a/lisp/org-clock.el
  >> +++ b/lisp/org-clock.el
  >> @@ -344,6 +344,10 @@ of a different task.")
  >> (org-fit-window-to-buffer) (message (or prompt "Select task for
  >> clocking:")) (setq rpl (read-char-exclusive))
  >> + (when (featurep 'xemacs)
  >> + ;; in XEmacs read-char-exclusive returns character, instead
  >> of
  >> + ;; ascii value
  >> + (setq rpl (char-octet rpl)))
  >> (cond ((eq rpl ?q) nil) ((eq rpl ?x) nil) -- 1.6.2.1


  >> -- Richard ___
  >> 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

  > - Carsten

-- 
Richard


___
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


[Orgmode] Re: Properties and Property Drawers in HTML export

2009-12-02 Thread Rick Moynihan
2009/12/2 Rick Moynihan :
> 2009/12/2 Rick Moynihan :
>> Does anyone know if it's possible to export org-mode properties and
>> property drawers in a HTML export?
>>
>> R.
>
> Ok, just discovered the :drawers option!
>
> The documentation claims that supplying a list of properties allows
> you to filter which ones are exported, however I can't get this
> working... e.g. I've tried setting org-publish-project-alist to both:
>
> :drawers ("FOO" "BAR")
>
> and:
>
> :drawers '("FOO" "BAR")
>
> Neither seem to work... any ideas?
>

Also, the properties are exported into the HTML like so:

PROPERTIES
:FOO: blah
:BAR: blah blah


Would something like the following not be a better format for
parsing/processing?


  
FOOblah
BARblah blah
  


R.


___
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


[Orgmode] [MobileOrg] Plans for an android app ?

2009-12-02 Thread Xavier Maillard
Hi,

Is there anything planned to port the mobileorg application onto Android ?

Regards



___
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


[Orgmode] Re: Restructure my org-life

2009-12-02 Thread Xavier Maillard
Le 01/12/2009 12:41, andrea a écrit :
> Matt Lundin  writes:
> 
>> andrea  writes:
>>
>> A quick question: Are you using the agenda? IMO, the number of org files
>> you use doesn't really matter, since the agenda will gather the relevant
>> information from all of them and since you can jump directly from the
>> agenda to the corresponding point in your files.
> 
> I finally started to use more smartly the agenda and also the template
> for remember mode.
> Now is much better thanks.
> I also have a hook to automatically add new org-files to the agenda, in
> this way I don't forget anything.

Care to share it with us ?

Regards




___
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


[Orgmode] Obscure Bug with HTML Export if Directory Starts with an Underscore

2009-12-02 Thread Ian Barton
As part of my attempt to get org to play nicely with Jekyll, I think I 
have found a problem with html export.


My org directory structure looks like:

org|

--|mountaineering
--|cycling
--|_posts

Basically org files for blog posts go into posts. My org files look like:

#+STARTUP: showall indent
#+STARTUP: hidestars
#+OPTIONS: H:2 num:nil tags:nil toc:1 timestamps:t
#+BEGIN_HTML
---
layout: post
title: ADSL Connection Problems.
tags: [gadgets, linux, test]
excerpt: Problems, problems!
---
#+END_HTML
Main text of post goes here.

I am just exporting the body text (see below for my config). Carsten 
recently updated org to remove leading line feeds at the top of the 
exported file. So my exported file looks like:


---
layout: post
title: ADSL Connection Problems.
tags: [gadgets, linux, test]
excerpt: Problems, problems!
---

However, if the directory the file is exported from starts with an 
underscore e.g. _posts, The exporter removes the first ---. I have a 
workaround - put two lines with --- at the top of the file.



I am using the current git checkout of org. My project a list looks like:

(setq org-publish-project-alist
  '(

  ("org-ianbarton"
  ;; Path to your org files.
  :base-directory "~/devel/ianbarton/org/"
  :base-extension "org"

  ;; Path to your Jekyll project.
  :publishing-directory "~/devel/ianbarton/jekyll/"
  :recursive t
  :publishing-function org-publish-org-to-html
  :headline-levels 4
  :html-extension "html"
  :body-only t ;; Only export section between  
)


("org-static-ian"
  :base-directory "~/devel/ianbarton/org/"
  :base-extension 
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"

  :publishing-directory "~/devel/ianbarton/"
  :recursive t
  :publishing-function org-publish-attachment)

("ian" :components ("org-ianbarton" "org-static-ian"))

))

Ian.


___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread jemarch

   I've moved to a "0 size mailbox" approach to handling my email
   (which works well with org and, in fact, requires org to work at
   all really) so this is not an issue for me.

That sounds like an interesting approach.  Could you elaborate on
that? Yes, I also have problems with my huge longstanding mailboxes
:(



___
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


Re: [Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-12-02 Thread Francesco Pizzolante
Hi,

> I just pulled, reloaded, and re-ran my simple tests and the patch
> appears to have been applied successfully.

This idea of caching images is really great and works well.

Nevertheless, I have a remark about the way it is implemented.

When I write the following code:

--8<---cut here---start->8---
#+BEGIN_ditaa procedure.png
--8<---cut here---end--->8---

I expect that:

- the system generates a `procedure.png' file in order for me to check it in
  the repository;

- that the `procedure.png' file is referenced everywhere (i.e. in the exported
  HTML code or LaTeX code).

The current way it works is:

1. The `procedure_XXX.png' is committed to the repository;

2. I alter my ditaa code, and export the new document;

3. The `procedure_XXX.png' file has been removed from my working copy and a
   new file `procedure_YYY.png' has been added in my working copy.

Thus, in order to commit the new files as they are, I need to:

1. revert the `procedure_XXX.png' file, in order to delete it afterward;

2. add the `procedure_YYY.png' file to the repository.

A nice solution would have been that all ditaa exports are done under the
filename `procedure.png', and that empty files such as
`procedure.png.ZZZ.cache' are created to "store" the fact that they have
already been generated.

That way, we even can ignore all the `*.cache' files from our working copy,
when checking for updates.

What do you think?

Francesco

>
> Thanks -- Eric
>
> Carsten Dominik  writes:
>
>> Hi Eric,
>>
>> I had a problem while pushing, please verify that the patch got in
>> correctly.  Thanks!
>>
>> - Carsten
>>
>> On Nov 17, 2009, at 4:24 PM, Eric Schulte wrote:
>>
>>> Carsten Dominik  writes:
>>>
 Wow, this is fantastic!

 Do you think it is ready to be included (because you say first
 pass...)

>>>
>>> Yes,
>>>
>>> I said first pass because I had only done minimal testing.  However
>>> all
>>> indications are that it works, and there are no further changes I
>>> would
>>> like to make, so if it looks good to you I would say "yes", please
>>> apply
>>> it.
>>>
>>> Thanks -- Eric
>>>

 - Carsten

 On Nov 17, 2009, at 3:42 AM, Eric Schulte wrote:

> "Eric Schulte"  writes:
>
>> Hi Carsten,
>>
>> Thanks for the feedback, I have comments inline below
>>
>> Carsten Dominik  writes:
>
> [...]
>
>>> Now, I am sure that you are already planning to do the same
>>> for ditaa images etc?
>>
>> of course :)
>
> A first pass at a patch implementing caching of ditaa and dot images
> generated by org-exp-blocks is attached.  It seems to work in all
> initial tests, and it will only remove files which match the
> following
> pattern
>
> "beginning-of-file-name_\\([[:alnum:]]+\\)\\.extension"
>
> such that the length of the part matched by \\([[:alnum:]]+\\) is 40
> characters.
>
> Best -- Eric
>
> From bd90d519a7d3e16732f4f377ccce51bdb97cef90 Mon Sep 17 00:00:00
> 2001
> From: Eric Schulte 
> Date: Mon, 16 Nov 2009 19:33:11 -0700
> Subject: [PATCH] use sha1 hash keys to cache ditaa and dot images
> when exporting through org-exp-blocks
>
> ---
> lisp/ChangeLog |6 
> lisp/org-exp-blocks.el |   60 +
> +-
> 2 files changed, 54 insertions(+), 12 deletions(-)
>
> diff --git a/lisp/ChangeLog b/lisp/ChangeLog
> index 5f83aaa..c2d44fa 100755
> --- a/lisp/ChangeLog
> +++ b/lisp/ChangeLog
> @@ -1,3 +1,9 @@
> +2009-11-17  Eric Schulte  
> +
> + * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
> + hash keys to cache and re-use images generated by the
> + org-exp-blocks interface to ditaa and dot.
> +
> 2009-11-16  Carsten Dominik  
>
>   * org-html.el (org-export-html-home/up-format): Add an ID to the
> diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
> index 71e1608..72fe6c4 100644
> --- a/lisp/org-exp-blocks.el
> +++ b/lisp/org-exp-blocks.el
> @@ -217,9 +217,15 @@ Specify the path at which the image should be
> saved as the first
> element of headers, any additional elements of headers will be
> passed to the ditaa utility as command line arguments."
>  (message "ditaa-formatting...")
> -  (let ((out-file (if headers (car headers)))
> - (args (if (cdr headers) (mapconcat 'identity (cdr headers) " ")))
> - (data-file (make-temp-file "org-ditaa")))
> +  (let* ((args (if (cdr headers) (mapconcat 'identity (cdr headers)
> " ")))
> + (data-file (make-temp-file "org-ditaa"))
> + (hash (sha1 (prin1-to-string (list body args
> + (raw-out-file (if headers (car headers)))
> + (out-file-parts (if (string-match
> "\\(.+\\)\\.\\([^\\.]+\\)
> $" raw

[Orgmode] report a bug with more detailed information

2009-12-02 Thread Wentao Zheng
Hi,

I'm sorry I forget to write something important for the bug I just reported.

The bug looks like this:

when I edit org file, then type  or use the menu to trigger
global cycling function, the emacs sometimes will crash with an error
message: Fatal error (11)Segmentation fault

It happens frequently when the cursor is located at non-header text. It
seems that if I change the cursor position into some places such as the
start of the document, it never crashes.

I'm using emacs-snapshot in debian lenny, with Linux kernel 2.6.31. And the
org-mode is checked out from git repository. Both latest version of org-mode
and 6.33 have the bug.

*When I turn off the org-indented-mode, the bug goes away. I guess it is
caused by the org-indented-mode.*

Thanks


-- 
Wentao Zheng
___
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


[Orgmode] report a bug

2009-12-02 Thread Wentao Zheng
Hi

I don't know what's real cause of the bug, the emacs, or the org-mode.

The bug looks like this:

when I edit org file, then type  or use the menu to trigger
global cycling function, the emacs sometimes will crash with an error
message: Fatal error (11)Segmentation fault

It happens frequently when the cursor is located at non-header text. It
seems that if I change the cursor position into some places such as the
start of the document, it never crashes.

I'm using emacs-snapshot in debian lenny, with Linux kernel 2.6.31. And the
org-mode is checked out from git repository. Both latest version of org-mode
and 6.33 have the bug.

Thanks

-- 
Wentao Zheng
___
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


[Orgmode] org-mode & txt2tags

2009-12-02 Thread Dennis Groves
Hello everybody,

Today when surfing I discovered this
'txt2tags'
 project that is 7 years old and still
currently maintained and developed. I am a serious addict of org-mode, and I
know that we can export org-mode into a variety of formats; however txt2tags
provides an enormous number of export options and I thought wow, is there
some way that I can leverage the two projects together to provide even more
functionality to org-mode so that I can spend even more time in org-mode.
;-)

As such, since I am not skilled in the ways of development magic, I thought
I would share this with the list - hoping that the idea may catch on with
others who are more capable of doing something about it than I can.

cheers,

Dennis
___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread David Bremner
Keith Lancaster wrote:

>I apologize for the WAY off topic question, but since you folk are
>emacs expertsdo you use emacs for email, and if so, what do you
>use? Org-mode caused me to switch to emacs after programming for 30
>years in other editors, and so like many emacs converts, I'm not
>wanting to exit the app :-).

I use wanderlust. It interacts with Org-mode pretty well. See back on
topic :).  I used to use VM, but at the time (a few years ago), the
imap was a bit of an afterthought.  Some people like mew, I think it
is a bit simpler than wanderlust if you don't need the offline
features of wanderlust.  A very new contender is notmuch, but IMHO, it
is not quite ready for general use.

d



___
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


[Orgmode] problem with export of verbatim code

2009-12-02 Thread Eric S Fraga
Hello,

the attached files illustrate a bug in the export of verbatim code to
LaTeX that replaces a sequence of [[x]] with
[[section-label][x]].  Actually, this happens when exporting to
html as well so it may be a generic problem.

An example is attached including the org and latex files.  Note that I
cannot easily fix the verbatim code to work around this bug as this
code is automatically generated using babel (with my own maxima
plugin).

Thanks,
eric


examplebug.org
Description: Binary data


examplebug.tex
Description: Binary data
___
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


Re: [Orgmode] [OT] Emacs for email?

2009-12-02 Thread Eric S Fraga
At Tue, 1 Dec 2009 15:34:24 -0600,
Keith Lancaster wrote:
> 
> I apologize for the WAY off topic question, but since you folk are
> emacs expertsdo you use emacs for email, and if so, what do you
> use? Org-mode caused me to switch to emacs after programming for 30
> years in other editors, and so like many emacs converts, I'm not
> wanting to exit the app :-).

I use wanderlust.  Works well.  I have also used gnus in the past (but
just couldn't get comfortable with its world view...).

The only thing I would highlight is that, in my experience, emacs
based MUAs are slow (say in comparison with mutt) and don't function
well with mailboxes with, say, 5000 messages.  I've moved to a "0 size
mailbox" approach to handling my email (which works well with org and,
in fact, requires org to work at all really) so this is not an issue
for me.

HTH.


___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread bluedian

I'm looking for a configuration example of a mairix/gnus/org-mode (for org-mode
just the link between gnus and mairix) configuration and have some questions :
- I've read that there were problems with mairix and utf-8 encoding, is is still
true ?
- It is also possible to use mairix for indexing the mail I send ?

I use gnus since 7 years but don't parametrize it since a long time (I remember
spending a long time to do it). 

I use a fetchmail/procmail process in order to have local mail boxes. I also
encounter some performance problem with gnus (with huge mail box), it's why
I want now to use mairix. 

I also hope, as Xavier suggest, to keep a small active mail box and delegate the
classification part in org-mode (delete a mail or answers it or put it in an
task for deferred action or save attached part in some place). 

My use of Mairix will be just for storing a trace of incoming (and outcoming ?)
mail and searching in : I sometimes need to check if someone has really send me
a mail (my students for instance). And I send a lot of identical mails along the
year (so retrieving one and copy/cut rapidly help me gaining time).

Regards,
BlueDian







___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Ben Finney
Tassilo Horn  writes:

> Ben Finney  writes:
> > I would dearly love to use Gnus for email too, and am this →← close,
> > but I have an interactive external program generating my message
> > signatures and I can't figure out how to get it working in Emacs
> > quite as easily as it does in Mutt.
>
> This should be very easy.  Have a look at
>   http://www.emacswiki.org/emacs/GnusMnemonics
>
> where the fortune program is used as signature program.

That misses the fact that, as I said above, I use an *interactive*
program for generating my signature block. It's not a matter of
generating output unilaterally from the program. I interact with the
program on the console (saying yes or no to proposed random signatures),
and it then modifies an existing message file in-place. I can't figure
out how to get Emacs to work with this program.

Anyway, this is now wildly off-topic for an Org discussion forum.

-- 
 \  “Holy bouncing boiler-plated fits, Batman!” —Robin |
  `\   |
_o__)  |
Ben Finney



___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Tassilo Horn
Henri-Paul Indiogine  writes:

Hi Henri-Paul,

> For example, I would like to read html email in Gnus using w3m, but it
> seems that the latest version of emacs-w3m does not work with Emacs
> 23.

Check out the CVS version of emacs-w3m.  It works with recent emacsen.
(I really wonder why the emacs-w3m guys don't push a new release out...)

Bye,
Tassilo



___
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


[Orgmode] Re: [OT] Emacs for email?

2009-12-02 Thread Tassilo Horn
Ben Finney  writes:

Hi Ben,

>> I apologize for the WAY off topic question, but since you folk are
>> emacs expertsdo you use emacs for email, and if so, what do you
>> use?
>
> I use Gnus for NNTP (e.g. for participating in this forum), and am
> really liking it. I would dearly love to use Gnus for email too, and
> am this →← close, but I have an interactive external program
> generating my message signatures and I can't figure out how to get it
> working in Emacs quite as easily as it does in Mutt.

This should be very easy.  Have a look at

  http://www.emacswiki.org/emacs/GnusMnemonics

where the fortune program is used as signature program.

Bye,
Tassilo



___
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