Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-10-21 Thread Nathaniel Flath
I think I've fixed the issues brought up with this new patch.  Please
let me know what you think.

On Wed, Oct 20, 2010 at 9:44 PM, Nathaniel Flath  wrote:
>>
>>>
>>> But I can't help thinking this could lead to unexpected results in
>>> some cases (admittedly less than when alpha bullets could be any size
>>> long).
>>
>> It definitely will.
>>
>> Here is an alternative idea.  Nathaniel, what do you
>> think about this: We could keep the numbering as we
>> have it in the Org file, but introduce something like [...@a]
>> in the first item that will convert the numbering
>> into a,b,... upon export to ASCII, HTML, maybe even LaTeX
>> (even though I think LaTeX demands some consistency here
>> and prefers to have the global setup decide how lists work).
>> Hell, we could even use [...@a] for capitals and [...@i] and [...@i]
>> for roman numbering :)
>>
>> - Carsten
>>
>
> Sorry for the late response - got swamped with work for a bit.
>
> I'd much prefer the approach I've been going with, mostly since I
> don't usually export my notes and mostly view them in org-mode.  I'll
> work on the patch tonight - should send a patch either later tonight
> or tomorow.
>
> Thanks,
> Nathaniel Flath
>


ordered-list.patch
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


[Orgmode] Re: Was "...questions about...email" -> orgmode + email + company firewall

2010-10-21 Thread Noorul Islam K M
John Hendy  writes:

> Hi,
>
>
> I followed the conversation about email writing with org-mode and *loved*
> it. I would absolutely like to live in emacs for email as it offers so many
> neat tricks. My problem has to do with how to set up pop/imap access while
> at work. I can use the web interface just fine, but I've never succeeded in
> using a client trying to access via pop/imap (like Thunderbird) and have
> simply figured it was due to firewall.
>
> Recently, I was finally able to get Thunderbird working since their webmail
> extension [1] added gmail support. I just succeeded with pop (I'd prefer
> imap, though, but apparently it's not possible).
>
> My question is whether gnus or some other text-based email program that
> emacs can use has some method of doing whatever this webmail extention is
> doing. I think it's somehow going through port 80 and getting messages that
> way, but I could be mistaken. In the past, I've tried "telnet
> imap.gmail.com993" and "telnet
> pop.gmail.com 995" and never been able to connect.
>

It looks like at you work place they are blocking imaps and pops
ports. I think you should be contacting System/Network Admin at your
office for this.

Thanks and Regards
Noorul


___
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] link export confused when URL parameter is another URL

2010-10-21 Thread David Maus
At Thu, 21 Oct 2010 19:38:17 +0200,
Carsten Dominik wrote:
> This is a bit hard without lookbehind assertions as they are available
> in perl.  For something like this it is somtimes easier to just to
> the normal match you wanted to use anyway and then confirm by
> taking a separate look at the text before the match
> which is, for example,
>
>(buffer-substring (point-at-bol) (match-beginning 0))

Thanks, that looks much better than using looking-back.  I've pushed a
possible fix to master.  Plain links that are behind the query part of
something that looks like a bracket link ("\\[\\[\\S-+:\\S-*?") are
now not normalized.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpHjS06PqpOQ.pgp
Description: PGP signature
___
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: Org-Mode as authoring tool for Moodle courses

2010-10-21 Thread Gruenderteam Berlin
Thanks for your instructing answer,  Lukasz.
It did not occur to me, that using org-mode instead of moodle could be a
solution, but it may actually be the best solution.  Moodle-Hosting is quite
expensive anyway, seems to use many ressources.
So I have to think about a way how to publish org-mode online courses into a
- say scala/lift project -, because I would like to have user management,
authentication, paypal and credit-card services for free (thats what Lift
offers, i.e.).
Or does almigthy org-mode delivers that too?  ;-)
A main disadvantage would be that one can't get started other course-authors
as fast on org-mode as on moodle/exelearning.

I think moodle is a school with courses, and org-mode should be definitely
better for writing online courses, but I need the school too for all the
administration stuff, and I don't want to program that. Maybe Lift or Django
can be used, and the result is much more flexible than moodle.

I have to try the SCORM package instructions - thanks a lot
Cheers
Thorsten



2010/10/21 Łukasz Stelmach 

> Gruenderteam Berlin  writes:
>
> > Hello,
> > beeing still in the process of learning the amazing org-mode,
>
> This never ends ;-)
>
> > I wonder if somebody has tried to use org-mode's publishing capacities
> > as an authoring tool for the Online Learning Platform Moodle
>
> We had tried to use moodle at our division before I learnt about
> org-mode, and frankly speaking I didn't like moodle that much. Today, I
> prepare and publish my courses with org-mode as standalone
> web-pages. Considering endless capabilities and flexibility of org-mode,
> moodle just scares me. Take for example grading. Org's spreadsheet
> (or column-view, I have to try it out myself) is by far more convenient
> to use than moodles tables. OK, that's enough, I suppose you'd like to
> read something more constructive.
>
> As I said I haven't done this myself but this is how I imagine this can
> be done, here and now with as little elisp coding as possible.
>
> 1. Create org files in a directory structure resembling the structure of
>   the SCORM zip file. That's obvious.
> 2. Set up a publishing project [[info:org:Publishing]]
> 3. Add "static" content (scripts, images) that will be published with
>   org-publish-attachment function.
> 4. Create a script (this might imho be a shell script) that generates
>   manifest file. Launch it after publishing using :completion-function
>   project parameter. The script may create a zip file too. And upload
>   it... too ;-)
>
> What I don't know (as I browse through a SCORM zip for the second time
> in my life) is what are all xsd files for and how to create them. Are
> they optional? Does their content depend on the contents of the course?
> If it does then elisp coding might be inevitable, however, since org
> generates XHTML it can be reliably parsed with some external tools.
>
> If I had to use moodle today I definitely would use org-mode for html
> authoring: exporting to a temporary HTML buffer and then c'n'p to a
> browser window.
>
> I know that's not much but I hope I wrote something you haven't known
> already or at least I give you a new idea how to put things together.
>
> --
> Miłego dnia,
> Łukasz Stelmach
>
>
> ___
> 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


[Orgmode] RFI -- Which completion system?

2010-10-21 Thread Sébastien Vauban
Hello,

Before spending a lot of time trying to choose for the "best" completion
mechanism inside Emacs (and sticking to it), setting it up all the way
through, I wanted to know if you had had:

- particularly good or bad experiences with one of the "standard" ones?

- things to notice regarding the integration with Org?

>From the many that do exist -- and which conflict in my =.emacs= file! --,
I've spotted the following ones of being of real interest:

- dabbrev
- hippie-expand
- pabbrev
- company

Any comment on this?

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


[Orgmode] Re: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]
C-c / will prompt for another key and then dispatch depending on  
that

key.
Many do.


Hmm, that would fit into the already mentioned coding-style  
category.

Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just  
`C-c

/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then you
want to have the real command names. This is one of the reasons why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)




Sincerely undecided here, just a question.




To simplify you work, you can just leave these keys unchanged in  
the

manual,and I will take a look at those later.


Remains something to do anyway IMHO.

First a creating command is mentioned, after it says "showing".

@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating  
command.


;;;

@kindex C-c / r
@item C-c / r
@vindex org-remove-highlights-with-change
Occur. Prompts for a regexp and shows a sparse tree with all  
matches. If


In this end, this should simply be

@orgcmd{C-c / r, org-occur}


May you update the doku?
BTW if the first key branches to other key, would help folks like me  
to know... Maybe saying: Is a generic key invoking...




Because the dispatcher command will call this command after "r" has  
been

pressed.

But as I said, I can do these indirect calls pretty easily, I know  
most

of them by heart.



Thanks. Should get it from var last-command already.


- Carsten




Still an issue:

No brand of Emacs org-mode knows org-occur here

M-x where-is org-occur

==>

org-occur is not on any key

Also when C-c / is pressed, there is no `r'-key displayed,
see screenshot.


As I have been trying to explain during this thread, Emacs does
not know that org-occur is can be reached through `C-c / r'.
So where-is cannot give you a reply.

This is not a bug, it is in the nature of the dispatcher
commands Org-mode uses.

- Carsten




Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode- 
components

https://code.launchpad.net/s-x-emacs-werkstatt/


In GNU Emacs 23.1.1 (i586-suse-linux-gnu, GTK+ Version 2.20.1)
of 2010-07-05 on build17
Windowing system distributor `The X.Org Foundation', version  
11.0.1080
configured using `configure  '--with-pop' '--without-hesiod' '--with- 
kerberos' '--with-kerberos5' '--with-xim' '--prefix=/usr' '--mandir=/ 
usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '-- 
localstatedir=/var' '--sharedstatedir=/var/lib' '--libexecdir=/usr/ 
lib' '--with-x' '--with-sound' '--with-sync-input' '--with-xpm' '-- 
with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '-- 
with-dbus' '--without-gpm' '--with-x-toolkit=gtk' '--x-includes=/usr/ 
include' '--x-libraries=/usr/lib:/usr/share/X11' '--with-xft' '-- 
with-libotf' '--with-m17n-flt' '--build=i586-suse-linux'  
'build_alias=i586-suse-linux' 'CC=gcc-4.3' 'CFLAGS=-fomit-frame- 
pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack- 
protector -funwind-tables -fasynchronous-unwind-tables -g - 
D_GNU_SOURCE -std=gnu89 -pipe -Wno-pointer-sign -Wno-unused-variable  
-Wno-unused-label -Wno-unprototyped-calls -fno-optimize-sibling- 
calls -DSYSTEM_PURESIZE_EXTRA=55000 	 - 
DSITELOAD_PURESIZE_EXTRA=1 ' 'LDFLAGS=-Wl,-O2 -Wl,--hash- 
size=65521''


Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: de_DE.UTF-8
 value of $XMODIFIERS: @im=local
 locale-coding-system: utf-8-unix
 default-enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
 tooltip-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 global-auto-composition-mode: t
 auto-composition-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
 C-x C-f   . g
n u  - e m  a l l   C-s r o
gr o 
 r o g -   
 o r g - m o dC-e
C-x C-e  C-x C-e C-x C-f r o g - 
   o r g - 
. o r g  C-h w o r g - o c c u r  M-x
d e s c r i b e   

r e p o r t - e m a c s - b u  

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
.gnu-emacs-all-cvs has auto save data; consider M-x recover-this-file
Mark saved where search started
("~/org-mode/lisp/" "/usr/share/emacs/23.1/site-lisp" "/usr/share/ 
emacs/23.1/site-lisp/term" "/usr/share/emacs/site-li

Re: [Orgmode] Subtle bug with capture and refile

2010-10-21 Thread Carsten Dominik

Thanks for doing the testing.

- Carsten

On Oct 21, 2010, at 8:29 PM, John Rakestraw wrote:


Hi, Carsten --

On Thu, 21 Oct 2010, Carsten Dominik wrote:

Hi Christopher,

thank you for taking the time to isolate this bug.  Could
you please try the following patch?



Your patch seems to fix the problem.

Thanks --

John


Thanks.

- Carsten

Modified lisp/org-capture.el
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 7915f7f..537f1a4 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -548,6 +548,7 @@ already gone."
 (unless (eq (org-capture-get :type 'local) 'entry)
   (error
"Refiling from a capture buffer makes only sense for `entry'-
type templates"))
+  (if (and (bolp) (eobp)) (backward-char 1))
 (let ((pos (point))
(base (buffer-base-buffer (current-buffer)))
(org-refile-for-capture t))



--
John Rakestraw



___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 8:07 PM, Samuel Wales wrote:


Perhaps it would help to eliminate the default priority for cycling,
because it is confusing to have both the default priority and blank
meaning the same thing.


No, I don't think this is good - because sometimes it is nice
to have the #B explicitly there.

- Carsten



For example, a B c would become a blank c when cycling.

Samuel



___
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: Another possible error for in-line math parsing

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 7:52 PM, Jeff Horn wrote:

Org-mode will never be a perfect TeX scanner, and this is really  
hard.
Help yourself and Org by using \( and \) as math delimiters when  
you wish to

include dollar characters inside


Ten-four.


What does that mean?


I'll try it when I get some time to go back and edit my
source files. Wonky use of dollar signs in math doesn't explain why
the following source doesn't work, though:


Additionally, the following source from org-mode:

`$.30(50)+.70(20)=29$`


The reason here is that $.30 looks too much like currency, and
Org tries hard to detect cases where is dollar in text is meant to
be currency and not math.  Here it fails, and also here you can use
\(...\).  In fact, using dollar makes parsing TeX *a lot* harder
in general.

HTH

- Carsten



Is not converted at all by MathJax.

Org-mode version 7.01trans, recent git pull from earlier this week.
Aquamacs on Snow Leopard.


Thanks for the tip, though!

--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/



___
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: org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Łukasz Stelmach
Magnus Nilsson  writes:

> 1. Encrypt a "password-table" I keep in an org-file when saved to disk,
> while text would be plain in the buffer. (Best if it can be "transparent"
> without passwords, but that is not a must.)

With Emacs the best way IMHO to do it is use GnuPG/epg directly. You do it by
simply naming a new file with an additional .gpg extension after the
real one (.org in our case). So simply

C-x C-f password-table.org.gpg RET

and choose yourself as the recipient of the ciphertext

There are two main advantage of this solution

1. you can access the table without running emacs (with an ssh client on
your mobile?) by simply runnig

gpg < password-table.org

on the command line.

2. Emacs runs gnupg completely seamlessly (if you run gpg-agent which
caches the passphrases)

-- 
Miłego dnia,
Łukasz Stelmach


___
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] org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Greg Troxel

  2. Encrypt files on the Dropbox server, in a "transparent" way, so that I do
  not need to use passwords to sync between org and Iphone (which I let Emacs
  do automatically once each day).

This is what MobileOrg's encryption is for. You set a password in your
.emacs and then the same one on MobileOrg and the files in
dropbox/webdav are encrypted, and there is no hassle.  Note that
MobileOrg only has encrypttion support in the beta 1.5, not the released
1.4 - I have a beta and am using it/testing it.


pgpWvJW4CXAJV.pgp
Description: PGP signature
___
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] org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Darlan Cavalcante Moreira

I'm new to org-crypt, but I was able to make it work last week. First, I
created a PGP key using seahorse (not required, but make thinks easier).

Then I put the code below in my .emacs file
--8<---cut here---start->8---
(require 'org-crypt)
(org-crypt-use-before-save-magic) ; Encrypts everything with the crypt tag
  ; when the buffer is saved
(setq org-tags-exclude-from-inheritance (quote ("crypt")))
(setq org-crypt-key "")
--8<---cut here---end--->8---
where the  is the ID of my PGP key in seahorse. With this all
headings with the tag crypt will be encrypted when the file is saved.

If I want to see the content I run the command org-decrypt-entry (or
org-decrypt-entries to decrypt all headings in the file). When I save the
file again everything will be encrypted.

I'm only asked for the password of my PGP key when I want to decrypt a
heading. If you do don't want to create a PGP key then I think you will
need to set a property in the heading with the crypt key and org will ask
you for a password to encrypt the heading.

--
Darlan

At Thu, 21 Oct 2010 21:43:10 +0200,
Magnus Nilsson  wrote:
> 
> [1  ]
> [1.1  ]
> Dear subscribers,
> 
> I haven't found much information about org-crypt and org-mobile-crypt.  Will
> these topics be expanded in the org-manual?
> 
> I would be delighted if anyone could teach me (informatively) how to succeed
> with the following two tasks:
> 
> 1. Encrypt a "password-table" I keep in an org-file when saved to disk,
> while text would be plain in the buffer. (Best if it can be "transparent"
> without passwords, but that is not a must.)
> 2. Encrypt files on the Dropbox server, in a "transparent" way, so that I do
> not need to use passwords to sync between org and Iphone (which I let Emacs
> do automatically once each day).
> 
> Thanks in advance,
> Magnus
> [1.2  ]
> 
> [2  ]
> ___
> 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: Difference between org-footnote.el and footnote.el

2010-10-21 Thread Eric S Fraga
On Thu, 21 Oct 2010 17:28:20 +0200, Tassilo Horn  wrote:
> 
> Charles Philip Chan  writes:
> 
> Hi Charles and Nick,
> 
> >> How does footnote.el find the signature?
> >
> > I presume by looking for the line "--" which precedes the signature.
> 
> That's not completely true.  The line has to be "-- ", i.e. "--"
> followed by exactly one space.
> 
> Bye,
> Tassilo

indeed. looking at the code in footnode.el, there is a search for the
message-signature-separator, which defaults to "^-- $" to find where
to insert footnotes.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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: org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Chris Thompson
Magnus Nilsson  alumni.chalmers.se> writes:

> I would be delighted if anyone could teach me (informatively) how to succeed
with the following two tasks:
>  
> 1. Encrypt a "password-table" I keep in an org-file when saved to disk, while
text would be plain in the buffer. (Best if it can be "transparent" without
passwords, but that is not a must.)

I don't have experience with org-mobile, but the following blog posting answers
your first question:
http://emacs.wordpress.com/2008/07/18/keeping-your-secrets-secret/

Note that you don't have to use org-crypt if the entire buffer is to be
encrypted. Org-crypt is only necessary if you want to mix and match encrypted
and non-encrypted org-mode items in the same file, for example if you want some
items to show up in the agenda.

Also, on Windows and Mac machines, you have to install GNUPG first. It's a
separate download from the mainstream emacs distributions on both platforms.

-- Chris



___
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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread Nick Dokos
gerald.j...@dgag.ca wrote:

> I tried this:
> 
> #+LATEX_HEADER: "\usepackage{longtable}"
> 
> No effects?
> 

AFAIK, the quotes are not necessary, but the reason it's not
working is indeed that your version of org-mode doesn't know about 
LATEX_HEADER at all.

It was implemented with this commit:

commit 20364d043a51c3c71493369c58a43b49566dbdaa
Author: Carsten Dominik 
Date:   Thu Oct 2 15:00:14 2008 +0200

Implement #+LATEX_HEADER special.

Proposed by Austin Frank and apparently also by Russel Adams.


which I believe appeared in

release_6.08

Note that the commit is two years old.

> >
> > > I also looked at the manual to selectively export a part of the org
> > > file.  They talk about the "org-export-select-tags" and
> > > "org-export-exclude-tags"; these variables don't even exist?
> >
> > They do.  Are you still using that old org version 5.x?  If so, well,
> > then maybe there were no such variables.  And somewhen in org version
> > 6.x the export facilities were completely rewritten, so I guess you are
> > pretty alone with your problems unless you get a recent version.
> 
> For the time being I am stuck with this version.  I am sending a request to
> our IT group to upgrade Emacs to the most recent version for the version of
> RedHat we have, this should have a more recent version of org-mode, if I am
> lucky that should be done in a couple weeks.  In the mean time I will
> manually add, or exclude, what I want from the exported "*.tex" file.
> 

A couple of weeks?!?  And you are not even sure which version of emacs
and org-mode you are going to get? I'd say, build your own: get
emacs/orgmode from the git mirror and build it yourself, install it in
your home directory if necessary. Even if it takes you a week or two to
get it done, at the end of it you'll be much better off at the end of
it.

If you have a community of users, this might be more difficult, but maybe
you can exercise concerted pressure on your IT dept: they might be more
willing to listen to ten people than to one.

If you are reasonably comfortable with git and make, it should only take
an hour or so to update/build/install; and assuming you stay with
"released" versions, you will only have to do that every couple of
months.

In addition, depending on what emacs version you have, you might be able
to run recent org-mode even if your emas is old (certainly on emacs 23,
probably on emacs 22, and just maybe on emacs 21, although I'm not sure
about these). That might be enough for your purposes and it reduces
time requirements to just a few minutes every month or two.

FWIW, the only use I have of whatever emacs gets installed with a system
is to bootstrap the latest emacs/orgmode: after that, it's deleted (or
at least, never used again).

Nick





___
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-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Magnus Nilsson
Dear subscribers,

I haven't found much information about org-crypt and org-mobile-crypt.  Will
these topics be expanded in the org-manual?

I would be delighted if anyone could teach me (informatively) how to succeed
with the following two tasks:

1. Encrypt a "password-table" I keep in an org-file when saved to disk,
while text would be plain in the buffer. (Best if it can be "transparent"
without passwords, but that is not a must.)
2. Encrypt files on the Dropbox server, in a "transparent" way, so that I do
not need to use passwords to sync between org and Iphone (which I let Emacs
do automatically once each day).

Thanks in advance,
Magnus
___
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 : Reminders

2010-10-21 Thread Magnus Nilsson
Hi,

Does MobileOrg support "reminders", like a buzz from the phone 10 (or a
customizable number of) minutes before any appointment from the agenda?
I haven't used MobileOrg much yet on my Iphone, but think I would use such a
feature. More experienced users are free to argue why this wouldn't be
useful.
I would like it to be optionable in the form of a switch, so that can either
be switched on or off.

Magnus
___
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: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Holger Wenzel
Hi Jeff,


>> There is an ftp-server available for Android phones that should let you
>> do similar things, if you didn't root your phone.
>
> My phone is *so* rooted. Like the first thing I did after unboxing.
> The Verizon crapware was so annoying!
>
>> I've got my Android rooted and have a ssh server running there.
>
> I have a terminal emulator (I think it was installed with BusyBox).
> Did your terminal come with an ssh server, or did you hack it in? Any
> pointers or walkthroughs would be appreciated.

I have a HTC Magic, and use the Cyanogenmod ROM. There the ssh daemon
dropbear is included. It is just a matter to set it up.

A google search on "$YOUR_PHONE android dropbear" should tell you, if
this sshd daemon is running you your device as well.




Holger


___
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: mobileorg app can't sync

2010-10-21 Thread Luke Crook
On Thu, Oct 21, 2010 at 11:17 AM, Erik Iverson  wrote:

>
>
>> I have same same error. The steps I took are as follows;
>>
>> - Downloaded MobilOrg app for iPhone.
>> - Created an account on Dropbox.
>> - Linked Mobilorg to Dropbox account.
>> - Created test entry in Mobilorg.
>> - Attempted to sync.
>>
>> Error returned "Error syncing changes. An error was encountered while
>> attempting to fetch mobileorg.org from the server. The error was:
>> Unexpected error"
>>
>> On my Dropbox account, I see:
>>
>> MobileOrg\.dropbox
>>
>>
> But you need to run org-mobile-push from Emacs, and set any
> variables it relies on.  I forget which, but they are in the
> manual.
>

Ah, so I have to have an existing org-mobile-push'ified ".org" file in
Dropbox prior to syncing? I don't think this is really made clear in the
instructions. I didn't know that there was an org-mobile-push dependency
between Emacs and Mobileorg. I had the impression that Mobilorg could be
used stand-alone.

I'll try this and report back.

-Luke
___
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: mobileorg app can't sync

2010-10-21 Thread Erik Iverson



Luke Crook wrote:



On Thu, Oct 21, 2010 at 11:17 AM, Erik Iverson > wrote:




I have same same error. The steps I took are as follows;

- Downloaded MobilOrg app for iPhone.
- Created an account on Dropbox.
- Linked Mobilorg to Dropbox account.
- Created test entry in Mobilorg.
- Attempted to sync.

Error returned "Error syncing changes. An error was encountered
while attempting to fetch mobileorg.org 
from the server. The error was: Unexpected error"

On my Dropbox account, I see:

MobileOrg\.dropbox


But you need to run org-mobile-push from Emacs, and set any
variables it relies on.  I forget which, but they are in the
manual.


Ah, so I have to have an existing org-mobile-push'ified ".org" file in 
Dropbox prior to syncing? I don't think this is really made clear in the 
instructions. I didn't know that there was an org-mobile-push dependency 
between Emacs and Mobileorg. I had the impression that Mobilorg could be 
used stand-alone.


No, I don't think so.  That's why the instructions talk about the
'staging area'.

So my system is: I have my 'real' orgmode files in Dropbox, but
not in my MobileOrg directory.  I then have a command in Emacs
that when I press C-c g, my .org files are committed to git, and
org-mobile-push is called to copy them to the dropbox/MobileOrg
directory.  I then can sync from the ipod and have them there.

I can make changes on the device, marking items as done and taking
notes.

When I come back to my desk, I use a command bound to C-c p to
call org-mobile-pull.  I also have auto-revert-mode enabled for
org files, so all changes simply appear on screen in my org
files.

 
I'll try this and report back.


-Luke


___
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] Was "...questions about...email" -> orgmode + email + company firewall

2010-10-21 Thread John Hendy
Hi,


I followed the conversation about email writing with org-mode and *loved*
it. I would absolutely like to live in emacs for email as it offers so many
neat tricks. My problem has to do with how to set up pop/imap access while
at work. I can use the web interface just fine, but I've never succeeded in
using a client trying to access via pop/imap (like Thunderbird) and have
simply figured it was due to firewall.

Recently, I was finally able to get Thunderbird working since their webmail
extension [1] added gmail support. I just succeeded with pop (I'd prefer
imap, though, but apparently it's not possible).

My question is whether gnus or some other text-based email program that
emacs can use has some method of doing whatever this webmail extention is
doing. I think it's somehow going through port 80 and getting messages that
way, but I could be mistaken. In the past, I've tried "telnet
imap.gmail.com993" and "telnet
pop.gmail.com 995" and never been able to connect.

Anyway, I'm not actually sure where to ask this as it's somewhat of a
network question... perhaps I should post to Arch Linux forums, though on
the other hand perhaps avid email users here will have been through
something like this?


Thanks for any suggestions,
John

[1] http://webmail.mozdev.org/index.html
___
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] Subtle bug with capture and refile

2010-10-21 Thread John Rakestraw
Hi, Carsten --

On Thu, 21 Oct 2010, Carsten Dominik wrote:
> Hi Christopher,
>
> thank you for taking the time to isolate this bug.  Could
> you please try the following patch?
>

Your patch seems to fix the problem.

Thanks --

John

> Thanks.
>
> - Carsten
>
>   Modified lisp/org-capture.el
> diff --git a/lisp/org-capture.el b/lisp/org-capture.el
> index 7915f7f..537f1a4 100644
> --- a/lisp/org-capture.el
> +++ b/lisp/org-capture.el
> @@ -548,6 +548,7 @@ already gone."
>   (unless (eq (org-capture-get :type 'local) 'entry)
> (error
>  "Refiling from a capture buffer makes only sense for `entry'-
> type templates"))
> +  (if (and (bolp) (eobp)) (backward-char 1))
>   (let ((pos (point))
>   (base (buffer-base-buffer (current-buffer)))
>   (org-refile-for-capture t))
>

-- 
John Rakestraw

___
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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread gerald . jean


Erik Iverson  a écrit sur 2010/10/21 14:26:51 :

>
> >
> > For the time being I am stuck with this version.  I am sending a
request to
> > our IT group to upgrade Emacs to the most recent version for the
version of
> > RedHat we have, this should have a more recent version of org-mode, if
I am
> > lucky that should be done in a couple weeks.  In the mean time I will
> > manually add, or exclude, what I want from the exported "*.tex" file.
>
> Do you have write access to your home directory?  That's all you need
> to install the latest and greatest. Although I do not know how org 7
> works with your version of Emacs.  Probably smart to have them
> upgrade since there are tons of improvements in Emacs, and it's,
> you know, free.
>

Yes I do have write access to my home.  I do manage ESS versions, AucTeX
versions and a full TeXLive distribution that way.  But I do find this is
enough, I am not very efficient at system maintenance and do have other
work to do.  Hence I'll wait a little and let the "experts" do a system
wide installation.

Gérald


___
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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread Erik Iverson




For the time being I am stuck with this version.  I am sending a request to
our IT group to upgrade Emacs to the most recent version for the version of
RedHat we have, this should have a more recent version of org-mode, if I am
lucky that should be done in a couple weeks.  In the mean time I will
manually add, or exclude, what I want from the exported "*.tex" file.


Do you have write access to your home directory?  That's all you need
to install the latest and greatest. Although I do not know how org 7
works with your version of Emacs.  Probably smart to have them
upgrade since there are tons of improvements in Emacs, and it's,
you know, free.


___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Samuel Wales
Perhaps it would help to eliminate the default priority for cycling,
because it is confusing to have both the default priority and blank
meaning the same thing.

For example, a B c would become a blank c when cycling.

Samuel

___
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] numbered outlines?

2010-10-21 Thread David Rogoff



Carsten Dominik wrote:


On Oct 21, 2010, at 3:02 AM, David Rogoff wrote:


Thanks - that might do the job.  Native would be best, of course.


This could be implemented as a little module.  One could just
run through the outline and put overlays on the stars showing the 
numbers.


Looking for a fun little project, anyone? :-)

I'd do it, but I'm a hardware guy and my elisp expertise is really minimal!




- Carsten



Jeff Horn wrote:


I don't know if it is an ideal solution, but you can export to ASCII
using `C-c C-e a` which will dump an ascii text file with the name
"filename.txt" into the same directory as "filename.org".

Outlines will have numbers in the text file.

HTH,
Jeff

On Tue, Oct 19, 2010 at 6:40 PM, David Rogoff  wrote:
Sorry if this is obvious, but I couldn't find anything on it.   
orgmode's
use of asterisks for outline levels is fine when I'm working on 
something by
myself.  However, if I'm collaborating with other people, there's 
no good
way to reference a particular outline entry.  Is there a way to get 
org-mode
to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels?  If not, 
how can

you work with other people on an outline?

Thanks,

David

___
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



___
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: mobileorg app can't sync

2010-10-21 Thread Erik Iverson




I have same same error. The steps I took are as follows;

- Downloaded MobilOrg app for iPhone.
- Created an account on Dropbox.
- Linked Mobilorg to Dropbox account.
- Created test entry in Mobilorg.
- Attempted to sync.

Error returned "Error syncing changes. An error was encountered while attempting 
to fetch mobileorg.org from the server. The error was: Unexpected error"


On my Dropbox account, I see:

MobileOrg\.dropbox



But you need to run org-mobile-push from Emacs, and set any
variables it relies on.  I forget which, but they are in the
manual.

___
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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread gerald . jean
Thanks again Tassilo,

here is what I tried.

Tassilo Horn  a écrit sur 2010/10/21 13:42:59 :

> gerald.j...@dgag.ca writes:
>
> Hi Gerald,
>
> >> I think this should do what you want, e.g. enable babel with english
> >> and francais options:
> >>
> >> --8<---cut here---start->8---
> >> (setq org-export-latex-packages-alist
> >>   '(("english, francais" "babel" nil)))
> >> --8<---cut here---end--->8---
> >>
> >> > Does the .emacs file needs to be modified every time one wants to
add
> >> > a new package?
> >>
> >> If you want a new package in every exported document, add an entry of
> >> form (OPTIONS PACKAGE nil) to the list above.
> >
> > That works, thanks, but when do you use "#+LATEX_HEADER:" then?
>
> I don't use the LaTeX export at all (at least regularily). :-)
>
> > I thought that if I wanted a package just for this one org file that
> > it was the way to specify it, sure doesn't work for me?
>
> Yes, the docs say so.  I had the impression that you want to enable
> babel for each exported org file, so I chose the version above.  But you
> can also use
>
You were right for the babel package, I use it all the time.  But some
other packages not so often

> #+LATEX_HEADER: "\usepackage[english, francais]{babel}"
>
> in your org file, which should have the same effect.

I tried this:

#+LATEX_HEADER: "\usepackage{longtable}"

No effects?

>
> > I also looked at the manual to selectively export a part of the org
> > file.  They talk about the "org-export-select-tags" and
> > "org-export-exclude-tags"; these variables don't even exist?
>
> They do.  Are you still using that old org version 5.x?  If so, well,
> then maybe there were no such variables.  And somewhen in org version
> 6.x the export facilities were completely rewritten, so I guess you are
> pretty alone with your problems unless you get a recent version.

For the time being I am stuck with this version.  I am sending a request to
our IT group to upgrade Emacs to the most recent version for the version of
RedHat we have, this should have a more recent version of org-mode, if I am
lucky that should be done in a couple weeks.  In the mean time I will
manually add, or exclude, what I want from the exported "*.tex" file.

For the little I have done with org mode I still think it looks like a
great package and I am planning to learn to use it better so I use it more.
Thanks to all contributors.

Cheers,

Gérald
>
> 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


Re: [Orgmode] What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jeff Horn
> Once received on the phone I save it (which goes to the root of the
> SDCard).  Next I use Astro to unzip the files to the directory I've
> configured MobileOrg for.

That is a great idea. I'll try that and see how it works, but I think
I'd like syncing in the long run. I could do something similar by
dropping the zip file in Dropbox and unzipping on the phone.

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] link export confused when URL parameter is another URL

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 6:35 AM, David Maus wrote:


At Thu, 30 Sep 2010 15:17:00 -0500,
Cook, Malcolm wrote:



If find that this orgtext

[[http://www.foo.com/foo?URL=http://www.bar.com][test]]

exports to html incorrectly as

	[[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.bar.com 
][test]]]


using today's fresh git pull make install

Any pointers?


The problem here is that Org's (legacy) support for plain links
(i.e. without square brackets) kicks in and transforms the fragment
part to a normal square bracket link.

My regexp-foo is not as it should be, but I am on this one to fix it;
What we need to express in `org-export-normalize-link' is, that a
plain link is something that looks like a hyperlink but not preceded
directly by a square or angle bracket and not after a question mark
followed by zero or more no-whitespace-characters.


This is a bit hard without lookbehind assertions as they are available
in perl.  For something like this it is somtimes easier to just to
the normal match you wanted to use anyway and then confirm by
taking a separate look at the text before the match
which is, for example,

  (buffer-substring (point-at-bol) (match-beginning 0))

HTH

- 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: Another possible error for in-line math parsing

2010-10-21 Thread Jeff Horn
> Org-mode will never be a perfect TeX scanner, and this is really hard.
> Help yourself and Org by using \( and \) as math delimiters when you wish to
> include dollar characters inside

Ten-four. I'll try it when I get some time to go back and edit my
source files. Wonky use of dollar signs in math doesn't explain why
the following source doesn't work, though:

> Additionally, the following source from org-mode:
>
> `$.30(50)+.70(20)=29$`
>
> Is not converted at all by MathJax.
>
> Org-mode version 7.01trans, recent git pull from earlier this week.
> Aquamacs on Snow Leopard.

Thanks for the tip, though!

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] numbered outlines?

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 3:02 AM, David Rogoff wrote:


Thanks - that might do the job.  Native would be best, of course.


This could be implemented as a little module.  One could just
run through the outline and put overlays on the stars showing the  
numbers.


Looking for a fun little project, anyone? :-)

- Carsten



Jeff Horn wrote:


I don't know if it is an ideal solution, but you can export to ASCII
using `C-c C-e a` which will dump an ascii text file with the name
"filename.txt" into the same directory as "filename.org".

Outlines will have numbers in the text file.

HTH,
Jeff

On Tue, Oct 19, 2010 at 6:40 PM, David Rogoff  wrote:
Sorry if this is obvious, but I couldn't find anything on it.
orgmode's
use of asterisks for outline levels is fine when I'm working on  
something by
myself.  However, if I'm collaborating with other people, there's  
no good
way to reference a particular outline entry.  Is there a way to  
get org-mode
to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels?  If  
not, how can

you work with other people on an outline?

Thanks,

 David

___
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



___
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] Subtle bug with capture and refile

2010-10-21 Thread Carsten Dominik

Hi Christopher,

thank you for taking the time to isolate this bug.  Could
you please try the following patch?

Thanks.

- Carsten


Modified lisp/org-capture.el
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 7915f7f..537f1a4 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -548,6 +548,7 @@ already gone."
  (unless (eq (org-capture-get :type 'local) 'entry)
(error
 "Refiling from a capture buffer makes only sense for `entry'- 
type templates"))

+  (if (and (bolp) (eobp)) (backward-char 1))
  (let ((pos (point))
(base (buffer-base-buffer (current-buffer)))
(org-refile-for-capture t))


On Oct 21, 2010, at 2:27 PM, Christopher Witte wrote:

The new org capture has been working great but I have just come  
across a subtle bug that has taken me a while to reliably  
reproduce.  I have org set up to add TODO captures to the top of my  
organiser.org file.  If you try and refile the capture TODO and the  
cursor is at the bottom of the capture buffer, it will refile the  
next item in organiser.org and not the capture TODO.  Hmm, that  
doesn't sound too clear, let me try and give an example.  My  
organiser.org looks like this:


-organiser.org-
* Home
** Home item 1
** Home item 2
* Work
** Work item 1


I then make a capture TODO

-capture buffer-
* TODO report capture buffer bug
!

with the cursor indicated by ! I press C-c C-w and refile to work.   
Instead of the capture note being refiled, Home get refiled so I end  
up with organiser.org looking like:


-organiser.org-
*TODO report capture buffer bug
* Work
** Home
*** Home item 1
*** Home item 2
** Work item 1

if instead the cursor is on the TODO line when I refile, everything  
works as expect and I end up with:


-organiser.org-
* Home
** Home item 1
** Home item 2
* Work
** TODO report capture buffer bug
** Work item 1

This has been causing me problems for a while now, but I could never  
work out why this only happened some of the time.  I hope that  
explains the problem with sufficient clarity, let me know if it  
doesn't.


Cheers
Chris Witte.
___
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


[Orgmode] Re: mobileorg app can't sync

2010-10-21 Thread Luke Crook
Greg Troxel  ir.bbn.com> writes:

> 
> 
> Rodney Price  raytheon.com> writes:
> 
> > I've been trying to get MobileOrg set up with Dropbox, and I seem to
> > have done something to make it impossible for MobileOrg to sync.
> > Whenever I try, I get an error message like,
> >
> > Unexpected error: error getting mobileorg.org
> >
> > (paraphrased somewhat)
> >
> > It was syncing fine at one point, but then I decided to move my ~/org
> > directory into the Dropbox directory, and MobileOrg evidently didn't
> > like the change.  
> >
> > How do I get the MobileOrg app (on an iPod Touch) to start up again?
> 

I have same same error. The steps I took are as follows;

- Downloaded MobilOrg app for iPhone.
- Created an account on Dropbox.
- Linked Mobilorg to Dropbox account.
- Created test entry in Mobilorg.
- Attempted to sync.

Error returned "Error syncing changes. An error was encountered while 
attempting 
to fetch mobileorg.org from the server. The error was: Unexpected error"

On my Dropbox account, I see:

MobileOrg\.dropbox


-Luke






> I have not used dropbox, but the directory with your org files and the
> place in webdav that is your MobileOrg staging area are conceptually
> separate.  You still have to org-mobile-push even if org-directory is
> someplace in dav space.
> 
> To let someone debug this, you'll have to post your entire relevant
> config, including setting of org-mobile-directory, org-directory, and
> the URL you put in MobileOrg.
> 
> (I have mobileorg syncing fine, from two instances (production and beta
> builds), one where I have a separate DAV dir accessed via the local
> filesystem, and one which is accessed on a remote server via tramp/ssh)
> 
> 
> 
> ___
> 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] Weird behaviour with org-yank and org-startup-indented

2010-10-21 Thread Chong Yidong
Stefan Monnier  writes:

>> The problem is in org-indent-refresh-section, which is run from a timer.
>> This function first moves point and then calls remove-text-properties,
>> which is considered a buffer change.  Since the mark is active, the
>> selection code saves the region to saved-region-selection, from which it
>> is later saved to the primary selection.
>
> Shouldn't org-indent-refresh-section use with-silent-modifications
> around the remove-text-properties call?

If we were starting from scratch, I think it's more sensible to make
text property changes "silent" by default, while providing an explicit
call to "unsilence" them when desired (which seem to be a minority of
cases).  I guess it's too late to change now, though.

___
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] numbered outlines?

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 3:02 AM, David Rogoff wrote:


Thanks - that might do the job.  Native would be best, of course.


This could be implemented as a little module.  One could just
run through the outline and put overlays on the stars showing the  
numbers.


Looking for a fun little project, anyone? :-)

- Carsten



Jeff Horn wrote:


I don't know if it is an ideal solution, but you can export to ASCII
using `C-c C-e a` which will dump an ascii text file with the name
"filename.txt" into the same directory as "filename.org".

Outlines will have numbers in the text file.

HTH,
Jeff

On Tue, Oct 19, 2010 at 6:40 PM, David Rogoff  wrote:
Sorry if this is obvious, but I couldn't find anything on it.
orgmode's
use of asterisks for outline levels is fine when I'm working on  
something by
myself.  However, if I'm collaborating with other people, there's  
no good
way to reference a particular outline entry.  Is there a way to  
get org-mode
to use numbering (e.g. 1, 1.1, 1.1.1 ) for outline levels?  If  
not, how can

you work with other people on an outline?

Thanks,

David

___
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



___
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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread Tassilo Horn
gerald.j...@dgag.ca writes:

Hi Gerald,

>> I think this should do what you want, e.g. enable babel with english
>> and francais options:
>>
>> --8<---cut here---start->8---
>> (setq org-export-latex-packages-alist
>>   '(("english, francais" "babel" nil)))
>> --8<---cut here---end--->8---
>>
>> > Does the .emacs file needs to be modified every time one wants to add
>> > a new package?
>>
>> If you want a new package in every exported document, add an entry of
>> form (OPTIONS PACKAGE nil) to the list above.
>
> That works, thanks, but when do you use "#+LATEX_HEADER:" then?

I don't use the LaTeX export at all (at least regularily). :-)

> I thought that if I wanted a package just for this one org file that
> it was the way to specify it, sure doesn't work for me?

Yes, the docs say so.  I had the impression that you want to enable
babel for each exported org file, so I chose the version above.  But you
can also use

#+LATEX_HEADER: "\usepackage[english, francais]{babel}"

in your org file, which should have the same effect.

> I also looked at the manual to selectively export a part of the org
> file.  They talk about the "org-export-select-tags" and
> "org-export-exclude-tags"; these variables don't even exist?

They do.  Are you still using that old org version 5.x?  If so, well,
then maybe there were no such variables.  And somewhen in org version
6.x the export facilities were completely rewritten, so I guess you are
pretty alone with your problems unless you get a recent version.

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


Re: [Orgmode] bug? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Carsten Dominik

On Oct 21, 2010, at 2:41 PM, Greg Troxel wrote:



Carsten Dominik  writes:


On Oct 21, 2010, at 10:52 AM, Rainer Stengele wrote:


My guessing is that a naive user (like me ...) does expect any
defined priority (like #D in this case) to have a higher priority
than a "non" priority item.


I see how that makes sense.  However, the other use case is this:

Use #A to make something higher priority.  Use #C to make it lower
than any normal stuff.  All the rest mingles in #B.

So your proposal makes the assumption that any priority means more
than no priority.


The default aBc settings were easily understandable to me and I use  
A to

mark things high and C low and leave most things in the middle.

So maybe all that's needed is a "You might expect tasks with an  
explicit

priority to all be considered higher priority than tasks without an
explicit priority, but in fact unlabeled tasks inherit the default
priority."  Or maybe that's redundant.


I just re-read the manual section.  As far as I can see, all necessary
information is there.

- 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: RE [Orgmode] Re: Issues with org-mode and LaTeX export.

2010-10-21 Thread Thomas S. Dye

Aloha Gerald,

I don't know if you saw the earlier message.  Your org-mode is out of  
date.  You should update according to the instructions in that message.


Also, have you seen Worg?  http://orgmode.org/worg

Once you've upgraded to a recent version of org-mode, then the LaTeX  
export tutorial there might help get you over the steep part of the  
learning curve:

http://orgmode.org/worg/org-tutorials/org-latex-export.php

hth,
Tom

On Oct 21, 2010, at 6:56 AM, gerald.j...@dgag.ca wrote:


Hello,

first thanks Tassilo for your reply, it did help somehow but there  
is still

things I don't understand, see below.

emacs-orgmode-bounces+gerald.jean=dgag...@gnu.org a écrit sur  
2010/10/21

11:03:48 :


gerald.j...@dgag.ca writes:

Hi Gerald,

1.- Following advice in the org manual I added the following lines  
to

my

.emacs.

(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(setq org-log-done t)

when I open a *.org file, org-mode is turned on OK.  But none of the
"org-export-latex-*" variables are defined at this point?


That's because at that point org is not loaded, but only registered  
at
the autoloading facility.  As soon as you invoke one of them (e.g.  
with

a keybinding) org is loaded, and then the missing variables will be
defined as well.

But a variable doesn't need to be defvared before setting them, so  
you

can simply add

 (setq org-export-latex-foobar "some nice setting")

to your emacs file although that variable isn't known at that time.
When org is loaded your values won't be overridden.


2.- Now, I want to use different packages, for example

\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}


I think the those should be added automatically, and the encoding is
determined by the org file's encoding.


\usepackage[english, francais]{babel}

I posted about this yesterday and I got the following reply from  
Thomas

S.

Dye, thanks Thomas,


I didn't read that, but...

Perhaps the org-export-latex-classes variable is mis-configured.   
IIUC,

the

[EXTRA] macro needs to be present:


... I don't think that variable is the right thing here.


Unfortunaetly this is not enough details for my little knowledge of
elisp!  Could someone provide me with a clear example of what  
needs to

go in the .emacs file for packages with options and correspondingly
what needs to go in the org file for that example.


I think this should do what you want, e.g. enable babel with  
english and

francais options:

--8<---cut here---start->8---
(setq org-export-latex-packages-alist
 '(("english, francais" "babel" nil)))
--8<---cut here---end--->8---

Does the .emacs file needs to be modified every time one wants to  
add

a new package?


If you want a new package in every exported document, add an entry of
form (OPTIONS PACKAGE nil) to the list above.



That works, thanks, but when do you use "#+LATEX_HEADER:" then?  I  
thought
that if I wanted a package just for this one org file that it was  
the way

to specify it, sure doesn't work for me?

I also looked at the manual to selectively export a part of the org  
file.
They talk about the "org-export-select-tags" and "org-export-exclude- 
tags";
these variables don't even exist?  They never explain how to create  
them
and how to set them?  They never explain neither how and where to  
set the

tags once the variables are set?

Any light here?  Thanks again,

Gérald



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



___
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] Weird behaviour with org-yank and org-startup-indented

2010-10-21 Thread Carsten Dominik


On Oct 20, 2010, at 5:33 PM, Chong Yidong wrote:


Julien Danjou  writes:


In a Org buffer with org-startup-indented set to t, type:

** TODO abcdefgh

Go on `c', activate mark press C-e, press M-w (kill-ring-save).
[Wrong primary selection appears]


The problem is in org-indent-refresh-section, which is run from a  
timer.

This function first moves point and then calls remove-text-properties,
which is considered a buffer change.  Since the mark is active, the
selection code saves the region to saved-region-selection, from  
which it

is later saved to the primary selection.


Ah, this is interesting, thank you very much!



There are a few possible fixes, but I am yet not sure which is best.
One is to avoid setting saved-region-selection inside a timer.   
Another

is for save-excursion to inhibit writing to saved-region-selection; a
third is not to treat remove-text-properties as a trigger for saving  
the

primary selection.


I'll go with Stefan's solution, using with-silent-modifications.  I  
had already
code that would restore buffer-modified-flag, but apparently this was  
not enough.


Thanks!

- 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] Re: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jeff Horn
> There is an ftp-server available for Android phones that should let you
> do similar things, if you didn't root your phone.

My phone is *so* rooted. Like the first thing I did after unboxing.
The Verizon crapware was so annoying!

> I've got my Android rooted and have a ssh server running there.

I have a terminal emulator (I think it was installed with BusyBox).
Did your terminal come with an ssh server, or did you hack it in? Any
pointers or walkthroughs would be appreciated.

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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: Issues with org-mode and LaTeX export.

2010-10-21 Thread gerald . jean
Hello,

first thanks Tassilo for your reply, it did help somehow but there is still
things I don't understand, see below.

emacs-orgmode-bounces+gerald.jean=dgag...@gnu.org a écrit sur 2010/10/21
11:03:48 :

> gerald.j...@dgag.ca writes:
>
> Hi Gerald,
>
> > 1.- Following advice in the org manual I added the following lines to
my
> > .emacs.
> >
> > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> > (global-set-key "\C-cl" 'org-store-link)
> > (global-set-key "\C-ca" 'org-agenda)
> > (global-set-key "\C-cb" 'org-iswitchb)
> > (setq org-log-done t)
> >
> > when I open a *.org file, org-mode is turned on OK.  But none of the
> > "org-export-latex-*" variables are defined at this point?
>
> That's because at that point org is not loaded, but only registered at
> the autoloading facility.  As soon as you invoke one of them (e.g. with
> a keybinding) org is loaded, and then the missing variables will be
> defined as well.
>
> But a variable doesn't need to be defvared before setting them, so you
> can simply add
>
>   (setq org-export-latex-foobar "some nice setting")
>
> to your emacs file although that variable isn't known at that time.
> When org is loaded your values won't be overridden.
>
> > 2.- Now, I want to use different packages, for example
> >
> > \usepackage[latin9]{inputenc}
> > \usepackage[T1]{fontenc}
>
> I think the those should be added automatically, and the encoding is
> determined by the org file's encoding.
>
> > \usepackage[english, francais]{babel}
> >
> > I posted about this yesterday and I got the following reply from Thomas
S.
> > Dye, thanks Thomas,
>
> I didn't read that, but...
>
> > Perhaps the org-export-latex-classes variable is mis-configured.  IIUC,
the
> > [EXTRA] macro needs to be present:
>
> ... I don't think that variable is the right thing here.
>
> > Unfortunaetly this is not enough details for my little knowledge of
> > elisp!  Could someone provide me with a clear example of what needs to
> > go in the .emacs file for packages with options and correspondingly
> > what needs to go in the org file for that example.
>
> I think this should do what you want, e.g. enable babel with english and
> francais options:
>
> --8<---cut here---start->8---
> (setq org-export-latex-packages-alist
>   '(("english, francais" "babel" nil)))
> --8<---cut here---end--->8---
>
> > Does the .emacs file needs to be modified every time one wants to add
> > a new package?
>
> If you want a new package in every exported document, add an entry of
> form (OPTIONS PACKAGE nil) to the list above.
>

That works, thanks, but when do you use "#+LATEX_HEADER:" then?  I thought
that if I wanted a package just for this one org file that it was the way
to specify it, sure doesn't work for me?

I also looked at the manual to selectively export a part of the org file.
They talk about the "org-export-select-tags" and "org-export-exclude-tags";
these variables don't even exist?  They never explain how to create them
and how to set them?  They never explain neither how and where to set the
tags once the variables are set?

Any light here?  Thanks again,

Gérald


> 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


___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

Am 21.10.2010 17:33, schrieb Jambunathan K:


Andreas


There is a bug-report still an-responded.

Been sent with mail at 14:42

Missing org-occur, no key displayed as expected.


You are too demanding of Carsten :-). Try not to push him so much. It is
possible that you somehow feel that your earlier patches privilege you
to demand an extra attention. There is nothing wrong with feeling so at
all. I have felt similarly earlier.


Hi Jambunathan,

sorry for that impression.

It was not intended to have that meaning. Please take into account I'm 
not a native english-speaker.


Was simply afraid, Carsten didn't see it, as it was placed behind a 
larger bulk of text, several mails have been exchanged since. I'll try 
to write more careful...


Thanks reminding me in any case

Andreas




I for one appreciate your earlier patches to the manual. I am happy that
you are picking from where you left off and going full steam ahead.

Keep up the good work. Tread softly though ...

Jambunathan K.






___
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] Latex export: Differing behavior for symbols in headlines

2010-10-21 Thread Nick Dokos
Richard Lawrence  wrote:

> Dear Orgsters,
> 
> I am seeing differing behavior for how special symbols that appear in a
> headline are exported to LaTeX, depending on whether I export an entire
> Org document or just the current subtree.
> 
> I have, for example, a file that looks like this:
> 
> * Headline 1
> ** Headline 2, concerning $\alpha$ and $\beta$
> 
> If I export the whole document, the $'s around \alpha and \beta are
> properly interpreted as math-mode delimiters, and Headline 2 becomes a
> section title that looks exactly as I would expect.
> 
> If I export just Headline 2, however, the $'s are escaped, and show up
> as literal '$' characters in the title of the exported document.
> 
> (I can't remove the $'s, because I am actually using some custom LaTeX
> commands, not special symbols like \alpha and \beta that Org would
> recognize as needing to be put in math mode.)
> 
> So, two questions:
> 
> 1) Is this difference between whole-document vs. current-subtree export
> the expected behavior?
> 
Looks like a bug to me. I can reproduce it too.

> 2) If so, what's the right way to work around it?  If not, where should
> I look to try and fix it?
> 

I tried using \( and \) as the inline math delimiters but that did not
work either: I got $ signs *inserted* and then latex complains about that:

foo.org:
--8<---cut here---start->8---
* Headline 1
** Headline 2, concerning \(\alpha\) and \(\beta\)
--8<---cut here---end--->8---

foo.tex (elided):
--8<---cut here---start->8---
...
\title{Headline 2, concerning \($\alpha$\) and \($\beta$\)}
...
--8<---cut here---end--->8---

Nick

___
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: Differing behavior for symbols in headlines

2010-10-21 Thread Richard Lawrence
Dear Orgsters,

I am seeing differing behavior for how special symbols that appear in a
headline are exported to LaTeX, depending on whether I export an entire
Org document or just the current subtree.

I have, for example, a file that looks like this:

* Headline 1
** Headline 2, concerning $\alpha$ and $\beta$

If I export the whole document, the $'s around \alpha and \beta are
properly interpreted as math-mode delimiters, and Headline 2 becomes a
section title that looks exactly as I would expect.

If I export just Headline 2, however, the $'s are escaped, and show up
as literal '$' characters in the title of the exported document.

(I can't remove the $'s, because I am actually using some custom LaTeX
commands, not special symbols like \alpha and \beta that Org would
recognize as needing to be put in math mode.)

So, two questions:

1) Is this difference between whole-document vs. current-subtree export
the expected behavior?

2) If so, what's the right way to work around it?  If not, where should
I look to try and fix it?

(I am running the latest development version of Org.)

Thanks!

Best,
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] Subtle bug with capture and refile

2010-10-21 Thread John Rakestraw
Hi, list --

On Thu, 21 Oct 2010, Christopher Witte wrote:

> The new org capture has been working great but I have just come across a
> subtle bug that has taken me a while to reliably reproduce. I have org set
> up to add TODO captures to the top of my organiser.org file. If you try and
> refile the capture TODO and the cursor is at the bottom of the capture
> buffer, it will refile the next item in organiser.org and not the capture
> TODO.  

Two points --

- First, thanks to Christopher for diagnosing this bug, which has been
  biting me, but only occasionally (and now I see why)

- Second, to add the additional data point that if I'm trying to refile to
  the item following the point where the new captures are added, I get the
  error message "Cannot refile to position inside the tree or region."

Thanks --

-- 
John Rakestraw

___
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: ordered lists after unordered

2010-10-21 Thread Richard Lawrence
Hi Nicolas,

Thanks for getting back to me.

>> I think I've found a bug with the way org-meta-return behaves. I
>> occasionally need to follow an unordered list by an ordered list,
>> without any intervening text. For example:
>
>> * Some heading 
>>   - unordered
>>   - unordered
>>   - unordered
>>
>>   1) ordered
>
>> I am using Org version 7.01trans.
>
> This behavior has been fixed in development version of Org mode. You
> may upgrade.

Great!  Pulling from git fixed this issue for me.

> By the way, please note that, by default, you now need to insert two
> blank lines to separate lists (that is unless you set
> `org-empty-line-terminates-plain-lists' to t).

Thanks for the tip!

Best,
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: C-c / r key-setting bug (?)

2010-10-21 Thread Jambunathan K

Andreas

> There is a bug-report still an-responded.
>
> Been sent with mail at 14:42
>
> Missing org-occur, no key displayed as expected.

You are too demanding of Carsten :-). Try not to push him so much. It is
possible that you somehow feel that your earlier patches privilege you
to demand an extra attention. There is nothing wrong with feeling so at
all. I have felt similarly earlier.

I for one appreciate your earlier patches to the manual. I am happy that
you are picking from where you left off and going full steam ahead.

Keep up the good work. Tread softly though ...

Jambunathan K.



___
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: Difference between org-footnote.el and footnote.el

2010-10-21 Thread Tassilo Horn
Charles Philip Chan  writes:

Hi Charles and Nick,

>> How does footnote.el find the signature?
>
> I presume by looking for the line "--" which precedes the signature.

That's not completely true.  The line has to be "-- ", i.e. "--"
followed by exactly one space.

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


Re: [Orgmode] Tilde in URL not exported to latex

2010-10-21 Thread Stephen Eglen
chris.m.mal...@gmail.com wrote:


> I recently experienced this issue while adding a reference in a beamer
> presentation using org-mode. It isn't elegant, but my workaround was to use \
> sim instead of the tilde character, at least for what is actually displayed in
> the document - you will still need to use tilde for the actual URL
> link.

Thanks for this Chris.  My workaround right now is to do the following
in .org buffer:

#+LaTeX: \url{http://www-cs-faculty.stanford.edu/~uno/lp.html}

This handles the URLs just as I'd want to.  (I do hate typing '#+LaTeX:'
though, but that's for me to deal with!)

I'm also using org here to make a beamer presentation, and in general it
works quite well.  I do find myself wishing to resort to latex commands
a lot though ... but still I do like the feel of org for presentations.



Best wishes, Stephen


___
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] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Charles Philip Chan
Nick Dokos  writes:

> How does footnote.el find the signature?

I presume by looking for the line "--" which precedes the signature.

Charles

-- 
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you."
(By Vance Petree, Virginia Power)


pgpcVsqDYgBgS.pgp
Description: PGP signature
___
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] Issues with org-mode and LaTeX export.

2010-10-21 Thread Giovanni Ridolfi
gerald.j...@dgag.ca writes:

> Hello,
>
> I am new to org-mode and I have a few issues with it.  First, I am running
> org-mode version 5.23a from Emacs 22.3.1 on a Linux RedHat machine.

Well, Gerald,  this version is *really* ancient (I think nobody here is
running it).

Would you mind to upgrade, at least to the current stable version 7.01h?

You can download the 7.01h here:

http://orgmode.org/index.html#sec-2

and follow the instructions how to set up AND ACTIVATE it at:

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

and, please, do remember to activate Org-mode:

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

> when I open a *.org file, org-mode is turned on OK.  But none of the
> "org-export-latex-*" variables are defined at this point?
Perhaps they were *not* defined in 5.23a version.

Please, upgrade your org-mode.

cheers,
Giovanni

___
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] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Nick Dokos
Tassilo Horn  wrote:


> > BTW suggest to replace the common footnote by the org's footnotes, remove 
> > the
> > prefix then, leave some aliases in org-mode for backward-compatibility.
> 
> Well, I don't have a strong opinion on that.  But currently
> org-footnote.el is not very good when writing mails, because it places
> footnotes at the end of a buffer.  If there's a signature, then
> footnotes are in that and likely to be removed by people replying to
> your mail.
> 

How does footnote.el find the signature? I assumed before that
signatures are free-form and therefore unfindable algorithmically, but
that seems to be a mistake on my part. If that's the case, the
mechanism can be grafted into org-footnote.el, perhaps with an expanded
meaning of org-footnote-placement: in addition to nil or a string, it
can be a symbol, say 'before-signature, and that can be set in an appropriate
mail composition hook.

Nick

___
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: Issues with org-mode and LaTeX export.

2010-10-21 Thread Tassilo Horn
gerald.j...@dgag.ca writes:

Hi Gerald,

> 1.- Following advice in the org manual I added the following lines to my
> .emacs.
>
> (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> (global-set-key "\C-cl" 'org-store-link)
> (global-set-key "\C-ca" 'org-agenda)
> (global-set-key "\C-cb" 'org-iswitchb)
> (setq org-log-done t)
>
> when I open a *.org file, org-mode is turned on OK.  But none of the
> "org-export-latex-*" variables are defined at this point?

That's because at that point org is not loaded, but only registered at
the autoloading facility.  As soon as you invoke one of them (e.g. with
a keybinding) org is loaded, and then the missing variables will be
defined as well.

But a variable doesn't need to be defvared before setting them, so you
can simply add

  (setq org-export-latex-foobar "some nice setting")

to your emacs file although that variable isn't known at that time.
When org is loaded your values won't be overridden.

> 2.- Now, I want to use different packages, for example
>
> \usepackage[latin9]{inputenc}
> \usepackage[T1]{fontenc}

I think the those should be added automatically, and the encoding is
determined by the org file's encoding.

> \usepackage[english, francais]{babel}
>
> I posted about this yesterday and I got the following reply from Thomas S.
> Dye, thanks Thomas,

I didn't read that, but...

> Perhaps the org-export-latex-classes variable is mis-configured.  IIUC, the
> [EXTRA] macro needs to be present:

... I don't think that variable is the right thing here.

> Unfortunaetly this is not enough details for my little knowledge of
> elisp!  Could someone provide me with a clear example of what needs to
> go in the .emacs file for packages with options and correspondingly
> what needs to go in the org file for that example.

I think this should do what you want, e.g. enable babel with english and
francais options:

--8<---cut here---start->8---
(setq org-export-latex-packages-alist
  '(("english, francais" "babel" nil)))
--8<---cut here---end--->8---

> Does the .emacs file needs to be modified every time one wants to add
> a new package?

If you want a new package in every exported document, add an entry of
form (OPTIONS PACKAGE nil) to the list above.

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: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

Am 21.10.2010 16:31, schrieb Carsten Dominik:


On Oct 21, 2010, at 4:11 PM, Andreas Röhler wrote:


Am 21.10.2010 16:04, schrieb Carsten Dominik:


On Oct 21, 2010, at 3:34 PM, Andreas Röhler wrote:


Am 21.10.2010 15:00, schrieb Carsten Dominik:


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]

C-c / will prompt for another key and then dispatch depending on
that
key.
Many do.


Hmm, that would fit into the already mentioned coding-style
category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just
`C-c
/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then
you
want to have the real command names. This is one of the reasons
why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.



OK, but can't you make it known to the keymap?


No, I cannot.

- Carsten






Ah, we can, I'm sure.
Let's assume you assigned the same keys to different commands.
Somehow Emacs must discriminate the states where the one or the other
are to use.
So let's call these states modes, make a keymap for it, no?


Hi Andreas,

We could make C-c / a prefix and define the other commands in the
keymap of the prefix command. But this would defeat the purpose of the
dispatcher with its friendly prompt etc.

In fact, I do not want describe-mode to show all these. I have thought
carefully about this.

- Carsten


OK, you are the mastermind :-)

There is a bug-report still an-responded.

Been sent with mail at 14:42

Missing org-occur, no key displayed as expected.

Andreas



___
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] Issues with org-mode and LaTeX export.

2010-10-21 Thread gerald . jean

Hello,

I am new to org-mode and I have a few issues with it.  First, I am running
org-mode version 5.23a from Emacs 22.3.1 on a Linux RedHat machine.

1.- Following advice in the org manual I added the following lines to my
.emacs.

(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(setq org-log-done t)

when I open a *.org file, org-mode is turned on OK.  But none of the
"org-export-latex-*" variables are defined at this point?

Now if I do C-c C-e l then a LaTeX file is produced, not with the options I
want though (see point 2), and "some" of the "org-export-latex-*" variables
seemed to be defined now; for example "org-export-latex-classes" is defined
with the default definition, but not all LaTeX related variables are
defined, for example "org-export-latex-default-packages-alist" is not
defined; henced I can't even find out what are the default packages?

What is going on here?  Do I have something missing in my .emacs file?

2.- Now, I want to use different packages, for example

\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english, francais]{babel}

I posted about this yesterday and I got the following reply from Thomas S.
Dye, thanks Thomas,

Perhaps the org-export-latex-classes variable is mis-configured.  IIUC, the
[EXTRA] macro needs to be present:

  If you need more control about the sequence in which the header is
  built
  up, or if you want to exclude one of these building blocks for a
  particular
  class, you can use the following macro-like placeholders.

   [DEFAULT-PACKAGES]  \usepackage statements for default packages
   [NO-DEFAULT-PACKAGES]   do not include any of the default packages
   [PACKAGES]  \usepackage statements for packages
   [NO-PACKAGES]   do not include the packages
   [EXTRA] the stuff from #+LaTeX_HEADER
   [NO-EXTRA]  do not include #+LaTeX_HEADER stuff
   [BEAMER-HEADER-EXTRA]   the beamer extra headers

Unfortunaetly this is not enough details for my little knowledge of elisp!
Could someone provide me with a clear example of what needs to go in the
.emacs file for packages with options and correspondingly what needs to go
in the org file for that example.  Does the .emacs file needs to be
modified every time one wants to add a new package?

Thanks for any support,

Gérald Jean
Conseiller senior en statistiques,
VP Actuariat et Solutions d'assurances,
Desjardins Groupe d'Assurances Générales
télephone: (418) 835-4900 poste (7639)
télecopieur  : (418) 835-6657
courrier électronique: gerald.j...@dgag.ca

"We believe in God, others must bring Data."

W. Edwards Deming


___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 4:11 PM, Andreas Röhler wrote:


Am 21.10.2010 16:04, schrieb Carsten Dominik:


On Oct 21, 2010, at 3:34 PM, Andreas Röhler wrote:


Am 21.10.2010 15:00, schrieb Carsten Dominik:


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]
C-c / will prompt for another key and then dispatch depending  
on

that
key.
Many do.


Hmm, that would fit into the already mentioned coding-style  
category.

Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger  
number
of full-scale prefix keys. And it is much easier to remember  
just `C-c

/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions,  
then you
want to have the real command names. This is one of the reasons  
why I

like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.



OK, but can't you make it known to the keymap?


No, I cannot.

- Carsten






Ah, we can, I'm sure.
Let's assume you assigned the same keys to different commands.
Somehow Emacs must discriminate the states where the one or the  
other are to use.

So let's call these states modes, make a keymap for it, no?


Hi Andreas,

We could make C-c / a prefix and define the other commands in the
keymap of the prefix command.  But this would defeat the purpose of  
the dispatcher with its friendly prompt etc.


In fact, I do not want describe-mode to show all these.  I have  
thought carefully about this.


- 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


[Orgmode] [Babel] [Ann] varied updates and improvements

2010-10-21 Thread Eric Schulte
Hello Babblers,

I've just merged in a large group of changes to Babel (authored by Dan
and myself) including a couple of user-visible enhancements and a
significant cleanup of the code base.  More information is available in
the Changes.org file (relevant sections included below).

Best -- Eric

Incompatible Changes 
=

Code block hashes 
--
Due to changes in the code resolving code block header arguments
hashing of code block results should now re-run a code block when
an argument to the code block has changed.  As a result of this
change *all* code blocks with cached results will be re-run after
upgrading to the latest version.

Testing update 
---
Anyone using the org-mode test suite will need to update the jump
repository for test navigation by executing the following from
the root of the org-mode repository.
git submodule update
Failure to update this repository will cause loading of
org-test.el to throw errors.

Details 


Multi-line header arguments to code blocks 
---
Code block header arguments can now span multiple lines using the
new =#+header:= or =#+headers:= lines preceding a code block or
nested in between the name and body of a named code block.
Examples are given below.

- multi-line header arguments on an un-named code block
  #+headers: :var data1=1
  #+begin_src emacs-lisp :var data2=2
(message "data1:%S, data2:%S" data1 data2)
  #+end_src
  
  #+results:
  : data1:1, data2:2

- multi-line header arguments on a named code block
#+source: named-block
#+header: :var data=2
#+begin_src emacs-lisp
  (message "data:%S" data)
#+end_src
  
#+results: named-block
: data:2

Unified handling of variable expansion for code blocks 
---
The code used to resolve variable references in code block header
arguments has now been consolidated.  This both simplifies the
code base (especially the language-specific files), and ensures
that the arguments to a code block will not be evaluated multiple
times.  This change should not be externally visible to the
Org-mode user.

Improved Caching 
-
Code block caches now notice if the value of a variable argument
to the code block has changed, if this is the case the cache is
invalidated and the code block is re-run.  The following example
can provide intuition for the new behavior.

  #+srcname: random
  #+begin_src R :cache yes
  runif(1)
  #+end_src
  
  #+results[a2a72cd647ad44515fab62e144796432793d68e1]: random
  0.4659510825295
  
  #+srcname: caller
  #+begin_src emacs-lisp :var x=random :cache yes
  x
  #+end_src
  
  #+results[bec9c8724e397d5df3b696502df3ed7892fc4f5f]: caller
  0.254227238707244

___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

Am 21.10.2010 16:04, schrieb Carsten Dominik:


On Oct 21, 2010, at 3:34 PM, Andreas Röhler wrote:


Am 21.10.2010 15:00, schrieb Carsten Dominik:


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]

C-c / will prompt for another key and then dispatch depending on
that
key.
Many do.


Hmm, that would fit into the already mentioned coding-style category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just `C-c
/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then you
want to have the real command names. This is one of the reasons why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.



OK, but can't you make it known to the keymap?


No, I cannot.

- Carsten






Ah, we can, I'm sure.
Let's assume you assigned the same keys to different commands.
Somehow Emacs must discriminate the states where the one or the other 
are to use.

So let's call these states modes, make a keymap for it, no?

Andreas



___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 3:34 PM, Andreas Röhler wrote:


Am 21.10.2010 15:00, schrieb Carsten Dominik:


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]
C-c / will prompt for another key and then dispatch depending  
on that

key.
Many do.


Hmm, that would fit into the already mentioned coding-style  
category.

Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just  
`C-c

/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then  
you
want to have the real command names. This is one of the reasons  
why I

like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.



OK, but can't you make it known to the keymap?


No, I cannot.

- 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


[Orgmode] Re: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

Am 21.10.2010 15:00, schrieb Carsten Dominik:


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]

C-c / will prompt for another key and then dispatch depending on that
key.
Many do.


Hmm, that would fit into the already mentioned coding-style category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just `C-c
/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then you
want to have the real command names. This is one of the reasons why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug. Describe-mode looks at the key maps, it
cannot look into the functions.



OK, but can't you make it known to the keymap?

Cheers

___
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] link export confused when URL parameter is another URL

2010-10-21 Thread Cook, Malcolm
David,

Thanks for your sleuthing.

I've not been digging on orgmode internals, so I defer to you of course.  

But it seems to me that the [[link][text]] pattern might provide a context in 
which embedded links are not sought (i.e. there is no link internal to 
top-level link).

Just a thought perhaps expressible as a context-free-grammar.

Cheers back,

Malcolm
 

-Original Message-
From: David Maus [mailto:dm...@ictsoc.de] 
Sent: Wednesday, October 20, 2010 11:36 PM
To: Cook, Malcolm
Cc: 'emacs-orgmode@gnu.org'
Subject: Re: [Orgmode] link export confused when URL parameter is another URL

At Thu, 30 Sep 2010 15:17:00 -0500,
Cook, Malcolm wrote:
>
>
> If find that this orgtext
>
>   [[http://www.foo.com/foo?URL=http://www.bar.com][test]]
>
> exports to html incorrectly as
>
>   
> [[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.ba
> r.com][test]]]
>
> using today's fresh git pull make install
>
> Any pointers?

The problem here is that Org's (legacy) support for plain links (i.e. without 
square brackets) kicks in and transforms the fragment part to a normal square 
bracket link.

My regexp-foo is not as it should be, but I am on this one to fix it; What we 
need to express in `org-export-normalize-link' is, that a plain link is 
something that looks like a hyperlink but not preceded directly by a square or 
angle bracket and not after a question mark followed by zero or more 
no-whitespace-characters.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de

___
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: Aligning Columns in HTML Export Tables

2010-10-21 Thread Sebastian Rose
Sebastian Rose  writes:
> Carsten Dominik  writes:
>> On Oct 21, 2010, at 9:36 AM, Christian Moe wrote:
>>
>>> On 10/21/10 2:25 AM, Sebastian Rose wrote:
>>> (...)
>
> |  |  |  |
> | A   | B   |   C |
> | 1   | 2   |   3 |
> | 12  | 13  | 300 |
> | 9   | 11  |   4 |


 I get

 
 

 as expected.
>>>
>>> That's interesting. From the same example I get
>>>
>>> >> />
>>>
>>> ...using freshly pulled 7.01trans. What might account for the difference?
>>
>> Actually, I also get what Christian gets.  Sebastian, how did you get 
>> something
>> different?
>
>
> I guess I just didn't pull for a few days.
>
> Nononono, just kidding :)
>
> I tried my own table, which is different:
>
> a) The  line is the last one.
> b) There's an empty extra column, the first one, as the docs propose.
>This column contains in the first cell of the " | " line  a
>slash: 
>
> |   | A   | B   |   C |
> |   | 1   | 2   |   3 |
> |   | 12  | 13  | 300 |
> |   | 9   | 11  |   4 |
> | / |  |  |  |
>
>
> All this does not help.  But the third difference might be the key:
>
> c) The table is a captured column view ("#+BEGIN: columnview...") with
>293 lines. 


Well, OK, forget it...
It was just that my s and s matched with the sensible thing to do
for each column.

Seems it's just looking at the numbers and says "OK, numbers only, right
aligned",  just as you said in a previous mail.


 |   | A   | B|   C  |
 |---+-+--+--|
 |   | 1   | bar  | text |
 |   | 12  | test |  300 |
 |   | 9   | foo  |4 |
 | / |  |   |   |


gives us





  Sebastian

___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

[ ... ]

C-c / will prompt for another key and then dispatch depending on that
key.
Many do.


Hmm, that would fit into the already mentioned coding-style category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just `C-c
/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then you
want to have the real command names. This is one of the reasons why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)




Sincerely undecided here, just a question.




To simplify you work, you can just leave these keys unchanged in the
manual,and I will take a look at those later.


Remains something to do anyway IMHO.

First a creating command is mentioned, after it says "showing".

@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating command.

;;;

@kindex C-c / r
@item C-c / r
@vindex org-remove-highlights-with-change
Occur. Prompts for a regexp and shows a sparse tree with all matches. If


In this end, this should simply be

@orgcmd{C-c / r, org-occur}


May you update the doku?
BTW if the first key branches to other key, would help folks like me to 
know... Maybe saying: Is a generic key invoking...




Because the dispatcher command will call this command after "r" has been
pressed.

But as I said, I can do these indirect calls pretty easily, I know most
of them by heart.



Thanks. Should get it from var last-command already.


- Carsten




Still an issue:

No brand of Emacs org-mode knows org-occur here

M-x where-is org-occur

==>

org-occur is not on any key

Also when C-c / is pressed, there is no `r'-key displayed,
see screenshot.


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/


In GNU Emacs 23.1.1 (i586-suse-linux-gnu, GTK+ Version 2.20.1)
 of 2010-07-05 on build17
Windowing system distributor `The X.Org Foundation', version 11.0.1080
configured using `configure  '--with-pop' '--without-hesiod' 
'--with-kerberos' '--with-kerberos5' '--with-xim' '--prefix=/usr' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' 
'--datadir=/usr/share' '--localstatedir=/var' 
'--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' 
'--with-sound' '--with-sync-input' '--with-xpm' '--with-jpeg' 
'--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '--with-dbus' 
'--without-gpm' '--with-x-toolkit=gtk' '--x-includes=/usr/include' 
'--x-libraries=/usr/lib:/usr/share/X11' '--with-xft' '--with-libotf' 
'--with-m17n-flt' '--build=i586-suse-linux' 
'build_alias=i586-suse-linux' 'CC=gcc-4.3' 'CFLAGS=-fomit-frame-pointer 
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE -std=gnu89 
-pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label 
-Wno-unprototyped-calls -fno-optimize-sibling-calls 
-DSYSTEM_PURESIZE_EXTRA=55000 	 -DSITELOAD_PURESIZE_EXTRA=1 ' 
'LDFLAGS=-Wl,-O2 -Wl,--hash-size=65521''


Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
 C-x C-f   . g
n u  - e m  a l l   C-s r o
gr o 
 r o g -   
 o r g - m o dC-e
C-x C-e  C-x C-e C-x C-f r o g - 
   o r g - 
. o r g  C-h w o r g - o c c u r  M-x
d e s c r i b e   

r e p o r t - e m a c s - b u  

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
.gnu-emacs-all-cvs has auto save data; consider M-x recover-this-file
Mark saved where search started
("~/org-mode/lisp/" "/usr/share/emacs/23.1/site-lisp" 
"/usr/share/emacs/23.1/site-lisp/term" "/usr/share/emacs/site-lisp" 
"/usr/share/emacs/site-lisp/apel" "/usr/share/emacs/site-lisp/edict" 
"/usr/share/emacs/site-lisp/emu" "/usr/share/emacs/site-lisp/flim" 
"/usr/share/emacs/site-lisp/nxml-mode" 
"/usr/share/emacs/site-lisp/psgml" "/usr/share/emacs/site-lisp/w3m" 
"/usr/share/emacs/site-lisp/xslide" ...)

org-mode-einrichtungen
org.org has aut

Re: [Orgmode] Re: Aligning Columns in HTML Export Tables

2010-10-21 Thread Sebastian Rose
Carsten Dominik  writes:
> On Oct 21, 2010, at 9:36 AM, Christian Moe wrote:
>
>> On 10/21/10 2:25 AM, Sebastian Rose wrote:
>> (...)

 |  |  |  |
 | A   | B   |   C |
 | 1   | 2   |   3 |
 | 12  | 13  | 300 |
 | 9   | 11  |   4 |
>>>
>>>
>>> I get
>>>
>>> 
>>> 
>>>
>>> as expected.
>>
>> That's interesting. From the same example I get
>>
>> > />
>>
>> ...using freshly pulled 7.01trans. What might account for the difference?
>
> Actually, I also get what Christian gets.  Sebastian, how did you get 
> something
> different?


I guess I just didn't pull for a few days.

Nononono, just kidding :)

I tried my own table, which is different:

a) The  line is the last one.
b) There's an empty extra column, the first one, as the docs propose.
   This column contains in the first cell of the " | " line  a
   slash: 

|   | A   | B   |   C |
|   | 1   | 2   |   3 |
|   | 12  | 13  | 300 |
|   | 9   | 11  |   4 |
| / |  |  |  |


All this does not help.  But the third difference might be the key:

c) The table is a captured column view ("#+BEGIN: columnview...") with
   293 lines. 




  Sebastian

___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 2:42 PM, Andreas Röhler wrote:


[ ... ]
C-c / will prompt for another key and then dispatch depending on  
that

key.
Many do.


Hmm, that would fit into the already mentioned coding-style  
category.

Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes. There are not enough keys, unless I introduce a larger number
of full-scale prefix keys. And it is much easier to remember just  
`C-c

/' and then get a friendly prompt for a number of options. For
interactive use, I think this is just perfect.

Now, if you want to write programs based on these functions, then you
want to have the real command names. This is one of the reasons why I
like to have them in the manual, for look up.



Hi,

I'm following, thanks for the explanation.
Remains a describe-mode bug than (?)


I would not call it a bug.  Describe-mode looks at the key maps, it  
cannot look into the functions.


Cheers

- 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] What WebDAV service do you use for syncing org files?

2010-10-21 Thread Greg Troxel

Jeff Horn  writes:

> I keep wanting to test out MobileOrg on my Android phone, but I'm
> having a heck of a time figuring out why the SD sync isn't working
> like I expect. I'd like to sync org files with a WebDAV server, if
> possible. I currently use Dropbox, but it doesn't offer WebDAV. I can
> mount a WebDAV server in the file system so it'll work *kind of* like
> Dropbox.

The org mode part just needs to have a directory it can put files into
so that the client can access them.  Then the mobileorg client has to
get at them.  So you have to have someplace where you can make both
work. I think the options are

* dropbox

Use a dropbox client locally, to make dropbox space appear to be part of
local filesystem, and just set org-mobile-directory to be in there.
MobileOrg (iphone) has support for that; not sure about android versoin.

I think it's ridiculous to use a 3rd party server without encrypting
your org files, but of course your privacy views may be different.

* local apache 

I have an org setup where I have org-mobile-directory set to ~/ORG-dav,
which is just a directory on my disk (NetBSD, UFS2, nothing fancy).  I
have apache configured to put that directory into the webspace, and
configure MobileOrg to do webdav there, and set up .htaccess.  I have to
be careful to set up permissions so apache as www/www can access the
files - it's a bit hairy.

* remote apache with ssh

I have another org setup where I have org-mobile-directory set:

(setq org-mobile-directory "/ssh:foo.example.com:/usr/home/gdt/ORG")

which causes org-mobile to use tramp to place/fetch the files.  I then
have the same apache setup.

* remote apache with a dav fs

I haven't set this up, but it should be possible to use a webdav fs
(fuse, etc.) on the computer with the org files to be the staging area,
so that emacs will write over dav.  This is pleasing from a permission
point of view, because then the files that apache deals with are
accessed by two webdav clients with the same credentials, and the apache
permission scheme and the unix permission scheme don't have to be
deconflicted.


My apache setup is striaght by the book, with htdigest.


DavLockDB "/usr/pkg/var/httpd/DavLock"
Alias /org/gdt "/home/gdt/ORG-dav"

Options Indexes

AllowOverride AuthConfig
Order allow,deny
Allow from all

DAV On

AuthType Digest
AuthName "special-auth-name"
AuthDigestFile someplace


Require valid-user





pgpN3tbFcxlF3.pgp
Description: PGP signature
___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Greg Troxel

Carsten Dominik  writes:

> On Oct 21, 2010, at 10:52 AM, Rainer Stengele wrote:
>
>> My guessing is that a naive user (like me ...) does expect any
>> defined priority (like #D in this case) to have a higher priority
>> than a "non" priority item.
>
> I see how that makes sense.  However, the other use case is this:
>
> Use #A to make something higher priority.  Use #C to make it lower
> than any normal stuff.  All the rest mingles in #B.
>
> So your proposal makes the assumption that any priority means more
> than no priority.

The default aBc settings were easily understandable to me and I use A to
mark things high and C low and leave most things in the middle.

So maybe all that's needed is a "You might expect tasks with an explicit
priority to all be considered higher priority than tasks without an
explicit priority, but in fact unlabeled tasks inherit the default
priority."  Or maybe that's redundant.



pgpkbbaoZhQOS.pgp
Description: PGP signature
___
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] [PATCH] Update all ++ repeaters in an entry (loop variables weren't getting reset)

2010-10-21 Thread Andrew J. Korty
See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg30284.html. 
This patch is against release_7.01h.


ajk

---
lisp/org.el |   20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index d33bf4e..52e501e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -11369,7 +11369,6 @@ This function is run automatically after each state change 
to a DONE state."
(msg "Entry repeats: ")
(org-log-done nil)
(org-todo-log-states nil)
-(nshiftmax 10) (nshift 0)
re type n what ts time to-state)
(when repeat
  (if (eq org-log-repeat t) (setq org-log-repeat 'state))
@@ -11416,15 +11415,16 @@ This function is run automatically after each state change 
to a DONE state."
  (- (time-to-days (current-time)) (time-to-days time))
  'day))
((equal (match-string 1 ts) "+")
- (while (or (= nshift 0)
-(<= (time-to-days time) (time-to-days (current-time
-   (when (= (incf nshift) nshiftmax)
- (or (y-or-n-p (message "%d repeater intervals were not enough to 
shift date past today.  Continue? " nshift))
- (error "Abort")))
-   (org-timestamp-change n (cdr (assoc what whata)))
-   (org-at-timestamp-p t)
-   (setq ts (match-string 1))
-   (setq time (save-match-data (org-time-string-to-time ts
+ (let ((nshiftmax 10) (nshift 0))
+   (while (or (= nshift 0)
+  (<= (time-to-days time) (time-to-days 
(current-time
+ (when (= (incf nshift) nshiftmax)
+   (or (y-or-n-p (message "%d repeater intervals were not enough to 
shift date past today.  Continue? " nshift))
+   (error "Abort")))
+ (org-timestamp-change n (cdr (assoc what whata)))
+ (org-at-timestamp-p t)
+ (setq ts (match-string 1))
+ (setq time (save-match-data (org-time-string-to-time ts)
 (org-timestamp-change (- n) (cdr (assoc what whata)))
 ;; rematch, so that we have everything in place for the real shift
 (org-at-timestamp-p t)
--
1.7.3.1

___
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] Subtle bug with capture and refile

2010-10-21 Thread Christopher Witte
The new org capture has been working great but I have just come across a
subtle bug that has taken me a while to reliably reproduce.  I have org set
up to add TODO captures to the top of my organiser.org file.  If you try and
refile the capture TODO and the cursor is at the bottom of the capture
buffer, it will refile the next item in organiser.org and not the capture
TODO.  Hmm, that doesn't sound too clear, let me try and give an example.
My organiser.org looks like this:

-organiser.org-
* Home
** Home item 1
** Home item 2
* Work
** Work item 1


I then make a capture TODO

-capture buffer-
* TODO report capture buffer bug
!

with the cursor indicated by ! I press C-c C-w and refile to work.  Instead
of the capture note being refiled, Home get refiled so I end up with
organiser.org looking like:

-organiser.org-
*TODO report capture buffer bug
* Work
** Home
*** Home item 1
*** Home item 2
** Work item 1

if instead the cursor is on the TODO line when I refile, everything works as
expect and I end up with:

-organiser.org-
* Home
** Home item 1
** Home item 2
* Work
** TODO report capture buffer bug
** Work item 1

This has been causing me problems for a while now, but I could never work
out why this only happened some of the time.  I hope that explains the
problem with sufficient clarity, let me know if it doesn't.

Cheers
Chris Witte.
___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 1:44 PM, Andreas Röhler wrote:


Am 21.10.2010 12:51, schrieb Carsten Dominik:

Hi Andreas,

On Oct 21, 2010, at 12:37 PM, Andreas Röhler wrote:



Hi Carsten,

key-setting below looks like a bug

if

C-c /, org-sparse-tree

is set, there is no chance calling

C-c / r

as the first already matches (?)


C-c / will prompt for another key and then dispatch depending on  
that key.

Many do.


Hmm, that would fit into the already mentioned coding-style category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?


Yes.  There are not enough keys, unless I introduce a larger number
of full-scale prefix keys.  And it is much easier to remember just `C- 
c /' and then get a friendly prompt for a number of options.  For  
interactive use, I think this is just perfect.


Now, if you want to write programs based on these functions, then you
want to have the real command names.  This is one of the reasons why I  
like to have them in the manual, for look up.




Sincerely undecided here, just a question.




To simplify you work, you can just leave these keys unchanged in the
manual,and I will take a look at those later.


Remains something to do anyway IMHO.

First a creating command is mentioned, after it says "showing".

@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating  
command.


;;;

@kindex C-c / r
@item C-c / r
@vindex org-remove-highlights-with-change
Occur.  Prompts for a regexp and shows a sparse tree with all  
matches.  If


In this end, this should simply be

@orgcmd{C-c / r, org-occur}

Because the dispatcher command will call this command after "r" has  
been pressed.


But as I said, I can do these indirect calls pretty easily, I know  
most of them by heart.


- 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


[Orgmode] Re: C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler

Am 21.10.2010 12:51, schrieb Carsten Dominik:

Hi Andreas,

On Oct 21, 2010, at 12:37 PM, Andreas Röhler wrote:



Hi Carsten,

key-setting below looks like a bug

if

C-c /, org-sparse-tree

is set, there is no chance calling

C-c / r

as the first already matches (?)


C-c / will prompt for another key and then dispatch depending on that key.
Many do.


Hmm, that would fit into the already mentioned coding-style category.
Is it wise to do it that way?
For example M-x describe-mode fails telling about these keys.
Are reasons for this?

Sincerely undecided here, just a question.




To simplify you work, you can just leave these keys unchanged in the
manual,and I will take a look at those later.


Remains something to do anyway IMHO.

First a creating command is mentioned, after it says "showing".

@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating command.

;;;

@kindex C-c / r
@item C-c / r
@vindex org-remove-highlights-with-change
Occur.  Prompts for a regexp and shows a sparse tree with all matches.  If

;

Seeing a contradiction in so far, when the second command is on the top 
of the first, whose key has been hitten...


Understand: first I must create, to get a show. But can't I have "show" 
on base of a before created?


I'll proceed anyway...

Thanks being patient :-)

Andreas


So when there is an entry

for `C-c /', describe it as org-sparse-tree. When it is `C-c / r' you
can leave it as it was, and I will fix it.

- 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: ordered lists after unordered

2010-10-21 Thread Nicolas Goaziou
Hello,

> Richard Lawrence writes:

> I think I've found a bug with the way org-meta-return behaves. I
> occasionally need to follow an unordered list by an ordered list,
> without any intervening text. For example:

> * Some heading 
>   - unordered
>   - unordered
>   - unordered
>
>   1) ordered

> I am using Org version 7.01trans.

This behavior has been fixed in development version of Org mode. You
may upgrade.

By the way, please note that, by default, you now need to insert two
blank lines to separate lists (that is unless you set
`org-empty-line-terminates-plain-lists' to t).

Regards,

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


Re: [Orgmode] Bug: Another possible error for in-line math parsing

2010-10-21 Thread Carsten Dominik

Hi Jeff,
On Oct 20, 2010, at 7:29 AM, Jeff Horn wrote:


Carsten et al,

Possible error when escaping dollar sign in inline-math. When using
the following org source:
--
Supposing $C_H=\$10$ and $C_L=\$20$.
...
$.30(\$50)+.70(\$20)=\$29$


Org-mode will never be a perfect TeX scanner, and this is really hard.
Help yourself and Org by using \( and \) as math delimiters when you  
wish to include dollar characters inside


HTH

- 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


Aw: Re: [Bulk] [Orgmode] Integrating Apple Mail.

2010-10-21 Thread pappert
Hi Anthony,

works perfect!

Thanks a lot,
Oliver



- Original Nachricht 
Von: Anthony Lander 
An:  Oliver Pappert 
Datum:   21.10.2010 00:39
Betreff: Re: [Bulk] [Orgmode] Integrating Apple Mail.

> Hi Oliver,
> 
> On 10-Oct-20, at 10:35 AM, Oliver Pappert wrote:
> 
> > Hi,
> >
> > I have problem to integrate Apple Mail in Emacs:
> 
> It might be easier to do this through the org-modules customization:
> 
> M-x customize-group RET org RET
> 
> Then in the Org Modules section, enable "mac-message".
> 
> You might also consider enabling "mac-link-grabber", which will enable  
> you to easily insert links from other mac applications as well.
> 
>  From there, you only have to define your mail account, and if you  
> want to use the link grabber, a keybinding, like this:
> 
> (setq org-mac-mail-account "")
> (add-hook 'org-mode-hook '(lambda () (define-key org-mode-map (kbd "C- 
> c g") 'omgl-grab-link)))
> 
> Hope this helps,
> 
>   -Anthony
> 
> 

___
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: C-c / r key-setting bug (?)

2010-10-21 Thread Carsten Dominik

Hi Andreas,

On Oct 21, 2010, at 12:37 PM, Andreas Röhler wrote:



Hi Carsten,

key-setting below looks like a bug

if

C-c /, org-sparse-tree

is set, there is no chance calling

C-c / r

as the first already matches (?)


C-c / will prompt for another key and then dispatch depending on that  
key.

Many do.

To simplify you work, you can just leave these keys unchanged in the  
manual, and I will take a look at those later.  So when there is an  
entry for `C-c /', describe it as org-sparse-tree.  When it is `C-c /  
r' you can leave it as it was, and I will fix it.


- 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


[Orgmode] C-c / r key-setting bug (?)

2010-10-21 Thread Andreas Röhler


Hi Carsten,

key-setting below looks like a bug

if

C-c /, org-sparse-tree

is set, there is no chance calling

C-c / r

as the first already matches (?)

Thanks

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/




from org.texi:

2.6 Sparse trees
...

@orgcmd{C-c /,org-sparse-tree}
This prompts for an extra key to select a sparse-tree creating command.
@kindex C-c / r
@item C-c / 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


Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Tassilo Horn
Tassilo Horn  writes:

>> common footnote.el was never able to detect if a file opened has
>> already footnote inside. Didn't check that for some month now...
>
> Yes, I've just tried that.  Create a file with footnotes, save it, kill
> the buffer, find it again, add another footnote, and it starts numbering
> from [1] again.  Looks like a bug to me.  I'll report it...

Done as bug#7258.

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] [Bug?] Mark subtrees and inline tasks

2010-10-21 Thread Sébastien Vauban
#+TITLE: Mark subtree forgets about last line
#+AUTHOR:Seb Vauban
#+LANGUAGE:  en_US

* Selecting this subtree

To select this subtree, I use =C-c @=.

It does its job, except that it never selects the last line. OK; just C-x C-x,
add a line, and that's it. Feature?  Bug?

* The next headline

Same problem, though more problematic IMHO, with the inline tasks.

*** Check how the selection works
I'd expect the END line to be selected as well. It's not.
*** END

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] bug? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Rainer Stengele
Am 21.10.2010 11:01, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 10:52 AM, Rainer Stengele wrote:
>
>> Am 21.10.2010 09:39, schrieb Carsten Dominik:
>>>
>>> On Oct 21, 2010, at 9:30 AM, Rainer Stengele wrote:
>>>
 Am 21.10.2010 09:21, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:
>
>> Am 21.10.2010 09:07, schrieb Carsten Dominik:
>>>
>>> On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:
>>>
 Hi all,

 maybe this is a bug: (Org-mode version 7.01trans 
 (release_7.01h.605.gc540)

 Having set

 ==
 Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
 State: STANDARD.
 Non-nil means priority commands are active. Hide Rest
 When nil, these commands will be disabled, so that you never 
 accidentally
 set a priority.

 Org Highest Priority: Hide Value A
 State: STANDARD.
 The highest priority of TODO items.  A character like ?A, ?B etc. More

 Org Lowest Priority: Hide Value D
 State: SAVED and set.
 The lowest priority of TODO items.  A character like ?A, ?B etc. More

 Org Default Priority: Hide Value D
 State: SAVED and set.
 The default priority of TODO items. More

 resulting correctly in

 (custom-set-variables
 ...
 '(org-highest-priority 65)
 '(org-default-priority 68)
 '(org-lowest-priority 68)
 ...
 ==

 the custom agenda command

  ("Tp" "all todos sorted by prio"
   (
(alltodo "all todos" ))
   ((org-agenda-sorting-strategy '(priority-down

 will sort correctly by priorities #A, #B, #C, descending,
 but will then mix up the rest of the todos with "#D" or without 
 priority.
 "#D" does not seem to be included in the sorting.
>>>
>>> The meaning of the default priority is that tasks without a priority do 
>>> have
>>> the default priority.  If you need 4 priorities all higher than "normal 
>>> tasks",
>>> make E your lowest and default priority
>>>
>>> - Carsten
>>>
>> Yes, works now. A bit counterintuitive, isn't it?
>
> What would be the "intuitive" meaning of default priority then?
>
> - Carsten
 Well, I would have expected that if I define a priority #D as lowest 
 priority it is not excluded from sorting.
>>>
>>>
>>> It *is* included in the sorting. All #D's come after the #A's, #B's, and 
>>> #C's.  Only that "all #D's" includes all entries that have no specified 
>>> priority.  Within each main priority, the precise order of the entries is 
>>> determined by other
>>> factors well, like if it is a deadline or an overdue scheduled item.  
>>> That make the D's look random and the other not - but the same is going on 
>>> everywhere.
>>>
>>> You can look at the computed priority (which is used for sorting) by 
>>> pressing (I think) "P" on every item.
>>>
>>> Would you like to make a proposal for a paragraph in the manual to clarify 
>>> this?  Or are you proposing to change how this works?
>>>
>>>
>>>
>>> - Carsten
>>>
>> My guessing is that a naive user (like me ...) does expect any defined 
>> priority (like #D in this case) to have a higher priority than a "non" 
>> priority item.
>
> I see how that makes sense.  However, the other use case is this:
>
> Use #A to make something higher priority.  Use #C to make it lower than any 
> normal stuff.  All the rest mingles in #B.
>
> So your proposal makes the assumption that any priority means more than no 
> priority.
>
> - Carsten
>
I see what you mean.
Maybe some orgees could indicate which use case they think is preferred.

- Rainer


___
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] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Tassilo Horn
Andreas Röhler  writes:

Hi Andreas,

>> Oh, I was pretty sure that org-footnote.el is only a wrapper around
>> the original footnote.el that comes with emacs, but looking at the
>> code it seems to be a completely separate facility.
>>
>> It says to have "better support for resuming editing" than
>> footnote.el but be less configurable.  Can someone enlighten my what
>> is meant with that better support for resuming editing?  I mean,
>> footnote.el already provides automatic renumbering which is the only
>> special feature I can imagine to be of great use when resuming to
>> edit a footnoted document...
>
> common footnote.el was never able to detect if a file opened has
> already footnote inside. Didn't check that for some month now...

Yes, I've just tried that.  Create a file with footnotes, save it, kill
the buffer, find it again, add another footnote, and it starts numbering
from [1] again.  Looks like a bug to me.  I'll report it...

> Also org-footnote implemented labeled footnotes, very useful to avoid
> clashes with forms like list[1]
>
> BTW suggest to replace the common footnote by the org's footnotes, remove the
> prefix then, leave some aliases in org-mode for backward-compatibility.

Well, I don't have a strong opinion on that.  But currently
org-footnote.el is not very good when writing mails, because it places
footnotes at the end of a buffer.  If there's a signature, then
footnotes are in that and likely to be removed by people replying to
your mail.

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: Org-Mode as authoring tool for Moodle courses

2010-10-21 Thread Łukasz Stelmach
Gruenderteam Berlin  writes:

> Hello,
> beeing still in the process of learning the amazing org-mode,

This never ends ;-)

> I wonder if somebody has tried to use org-mode's publishing capacities
> as an authoring tool for the Online Learning Platform Moodle

We had tried to use moodle at our division before I learnt about
org-mode, and frankly speaking I didn't like moodle that much. Today, I
prepare and publish my courses with org-mode as standalone
web-pages. Considering endless capabilities and flexibility of org-mode,
moodle just scares me. Take for example grading. Org's spreadsheet
(or column-view, I have to try it out myself) is by far more convenient
to use than moodles tables. OK, that's enough, I suppose you'd like to
read something more constructive.

As I said I haven't done this myself but this is how I imagine this can
be done, here and now with as little elisp coding as possible.

1. Create org files in a directory structure resembling the structure of
   the SCORM zip file. That's obvious.
2. Set up a publishing project [[info:org:Publishing]]
3. Add "static" content (scripts, images) that will be published with
   org-publish-attachment function.
4. Create a script (this might imho be a shell script) that generates
   manifest file. Launch it after publishing using :completion-function
   project parameter. The script may create a zip file too. And upload
   it... too ;-)

What I don't know (as I browse through a SCORM zip for the second time
in my life) is what are all xsd files for and how to create them. Are
they optional? Does their content depend on the contents of the course?
If it does then elisp coding might be inevitable, however, since org
generates XHTML it can be reliably parsed with some external tools.

If I had to use moodle today I definitely would use org-mode for html
authoring: exporting to a temporary HTML buffer and then c'n'p to a
browser window.

I know that's not much but I hope I wrote something you haven't known
already or at least I give you a new idea how to put things together.

-- 
Miłego dnia,
Łukasz Stelmach


___
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: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jean-Marie Gaillourdet
Hi Jeff,

On 21.10.2010, at 10:38, Jeff Horn wrote:

> Well, I just answered my own question as far as getting MobileOrg to
> work... I just set the WebDAV directory to a local directory within
> Dropbox. I thought it had to be WebDAV (like that would make a
> difference).
> 
> I'm still interested to know what everyone uses to sync working files, though.
I'm using mydisk.se, which is a free WebDAV service.

-- Jean


___
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: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Holger Wenzel
Hi Jeff,

> Well, I just answered my own question as far as getting MobileOrg to
> work... I just set the WebDAV directory to a local directory within
> Dropbox. I thought it had to be WebDAV (like that would make a
> difference).
>
> I'm still interested to know what everyone uses to sync working files, though.


I've got my Android rooted and have a ssh server running there. 

Then I use the following hooks to run the scp command to copy the files
back and forth.
 
(setq org-mobile-post-push-hook  '(lambda ()

(shell-command 
"scp ~/org/mobile/*.org magic_home:/sdcard/stage")

))
(setq org-mobile-pre-pull-hook 
'(lambda ()
 (shell-command "scp 
magic_home:/sdcard/mobileorg/mobileorg.org /home/hw/org/mobile")
 )
)

So my org files never leave my network and all traffic is encrypted. 

There is an ftp-server available for Android phones that should let you
do similar things, if you didn't root your phone.

Holger




___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 10:52 AM, Rainer Stengele wrote:


Am 21.10.2010 09:39, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:30 AM, Rainer Stengele wrote:


Am 21.10.2010 09:21, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:


Am 21.10.2010 09:07, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:


Hi all,

maybe this is a bug: (Org-mode version 7.01trans  
(release_7.01h.605.gc540)


Having set

= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 


Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
State: STANDARD.
Non-nil means priority commands are active. Hide Rest
When nil, these commands will be disabled, so that you never  
accidentally

set a priority.

Org Highest Priority: Hide Value A
State: STANDARD.
The highest priority of TODO items.  A character like ?A, ?B  
etc. More


Org Lowest Priority: Hide Value D
State: SAVED and set.
The lowest priority of TODO items.  A character like ?A, ?B  
etc. More


Org Default Priority: Hide Value D
State: SAVED and set.
The default priority of TODO items. More

resulting correctly in

(custom-set-variables
...
'(org-highest-priority 65)
'(org-default-priority 68)
'(org-lowest-priority 68)
...
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 



the custom agenda command

 ("Tp" "all todos sorted by prio"
  (
   (alltodo "all todos" ))
  ((org-agenda-sorting-strategy '(priority-down

will sort correctly by priorities #A, #B, #C, descending,
but will then mix up the rest of the todos with "#D" or  
without priority.

"#D" does not seem to be included in the sorting.


The meaning of the default priority is that tasks without a  
priority do have
the default priority.  If you need 4 priorities all higher than  
"normal tasks",

make E your lowest and default priority

- Carsten


Yes, works now. A bit counterintuitive, isn't it?


What would be the "intuitive" meaning of default priority then?

- Carsten
Well, I would have expected that if I define a priority #D as  
lowest priority it is not excluded from sorting.



It *is* included in the sorting. All #D's come after the #A's,  
#B's, and #C's.  Only that "all #D's" includes all entries that  
have no specified priority.  Within each main priority, the precise  
order of the entries is determined by other
factors well, like if it is a deadline or an overdue scheduled  
item.  That make the D's look random and the other not - but  
the same is going on everywhere.


You can look at the computed priority (which is used for sorting)  
by pressing (I think) "P" on every item.


Would you like to make a proposal for a paragraph in the manual to  
clarify this?  Or are you proposing to change how this works?




- Carsten

My guessing is that a naive user (like me ...) does expect any  
defined priority (like #D in this case) to have a higher priority  
than a "non" priority item.


I see how that makes sense.  However, the other use case is this:

Use #A to make something higher priority.  Use #C to make it lower  
than any normal stuff.  All the rest mingles in #B.


So your proposal makes the assumption that any priority means more  
than no priority.


- 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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Rainer Stengele
Am 21.10.2010 09:39, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:30 AM, Rainer Stengele wrote:
>
>> Am 21.10.2010 09:21, schrieb Carsten Dominik:
>>>
>>> On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:
>>>
 Am 21.10.2010 09:07, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:
>
>> Hi all,
>>
>> maybe this is a bug: (Org-mode version 7.01trans 
>> (release_7.01h.605.gc540)
>>
>> Having set
>>
>> ==
>> Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
>> State: STANDARD.
>> Non-nil means priority commands are active. Hide Rest
>> When nil, these commands will be disabled, so that you never accidentally
>> set a priority.
>>
>> Org Highest Priority: Hide Value A
>> State: STANDARD.
>> The highest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Lowest Priority: Hide Value D
>> State: SAVED and set.
>> The lowest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Default Priority: Hide Value D
>> State: SAVED and set.
>> The default priority of TODO items. More
>>
>> resulting correctly in
>>
>> (custom-set-variables
>> ...
>> '(org-highest-priority 65)
>> '(org-default-priority 68)
>> '(org-lowest-priority 68)
>> ...
>> ==
>>
>> the custom agenda command
>>
>>   ("Tp" "all todos sorted by prio"
>>(
>> (alltodo "all todos" ))
>>((org-agenda-sorting-strategy '(priority-down
>>
>> will sort correctly by priorities #A, #B, #C, descending,
>> but will then mix up the rest of the todos with "#D" or without priority.
>> "#D" does not seem to be included in the sorting.
>
> The meaning of the default priority is that tasks without a priority do 
> have
> the default priority.  If you need 4 priorities all higher than "normal 
> tasks",
> make E your lowest and default priority
>
> - Carsten
>
 Yes, works now. A bit counterintuitive, isn't it?
>>>
>>> What would be the "intuitive" meaning of default priority then?
>>>
>>> - Carsten
>> Well, I would have expected that if I define a priority #D as lowest 
>> priority it is not excluded from sorting.
>
>
> It *is* included in the sorting. All #D's come after the #A's, #B's, and 
> #C's.  Only that "all #D's" includes all entries that have no specified 
> priority.  Within each main priority, the precise order of the entries is 
> determined by other
> factors well, like if it is a deadline or an overdue scheduled item.  
> That make the D's look random and the other not - but the same is going on 
> everywhere.
>
> You can look at the computed priority (which is used for sorting) by pressing 
> (I think) "P" on every item.
>
> Would you like to make a proposal for a paragraph in the manual to clarify 
> this?  Or are you proposing to change how this works?
>
>
>
> - Carsten
>
My guessing is that a naive user (like me ...) does expect any defined priority 
(like #D in this case) to have a higher priority than a "non" priority item.
If more users see it this way I would propose a change, if not I would suggest 
a short hint in the manual.

- Rainer



___
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] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Andreas Röhler

[ ... ]


Oh, I was pretty sure that org-footnote.el is only a wrapper around the
original footnote.el that comes with emacs, but looking at the code it
seems to be a completely separate facility.

It says to have "better support for resuming editing" than footnote.el
but be less configurable.  Can someone enlighten my what is meant with
that better support for resuming editing?  I mean, footnote.el already
provides automatic renumbering which is the only special feature I can
imagine to be of great use when resuming to edit a footnoted document...

Bye,
Tassilo




Hi Tassilo,

common footnote.el was never able to detect if a file opened has already 
footnote inside. Didn't check that for some month now...


Also org-footnote implemented labeled footnotes, very useful to avoid 
clashes with forms like list[1]


BTW suggest to replace the common footnote by the org's footnotes, 
remove the prefix then, leave some aliases in org-mode for 
backward-compatibility.


cc to emacs-devel for this.

Cheers

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/











___
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: What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jeff Horn
Well, I just answered my own question as far as getting MobileOrg to
work... I just set the WebDAV directory to a local directory within
Dropbox. I thought it had to be WebDAV (like that would make a
difference).

I'm still interested to know what everyone uses to sync working files, though.


-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jeff Horn
I keep wanting to test out MobileOrg on my Android phone, but I'm
having a heck of a time figuring out why the SD sync isn't working
like I expect. I'd like to sync org files with a WebDAV server, if
possible. I currently use Dropbox, but it doesn't offer WebDAV. I can
mount a WebDAV server in the file system so it'll work *kind of* like
Dropbox.

I can't seem to find a straight solution through Google. Any
suggestions? What do you use?

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] Difference between org-footnote.el and footnote.el (was: A few questions about how you write e-mails)

2010-10-21 Thread Tassilo Horn
suvayu ali  writes:

Hi!

>> Hm, I don't use org-mode and its functions when writing mails using
>> Gnus, but I enable footnote-mode in message-mode and then call
>> `Footnote-add-footnote' and friends directly.  That adds footnotes
>> before the signature just as you want.  test [1], test [2], ...
>
> This is exactly what I was looking for, I wasn't aware of
> footnode-mode. Thanks a lot!! :)

Oh, I was pretty sure that org-footnote.el is only a wrapper around the
original footnote.el that comes with emacs, but looking at the code it
seems to be a completely separate facility.

It says to have "better support for resuming editing" than footnote.el
but be less configurable.  Can someone enlighten my what is meant with
that better support for resuming editing?  I mean, footnote.el already
provides automatic renumbering which is the only special feature I can
imagine to be of great use when resuming to edit a footnoted document...

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


Re: [Orgmode] Re: A few questions about how you write e-mails

2010-10-21 Thread suvayu ali
Hi Nick,

On 20 October 2010 20:40, Nick Dokos  wrote:
> Given the mangling that mailers do to replies (e.g. the idiotic default
> top posting of Thunderbird and its ilk), how they handle signatures, and
> the non-standard nature of signatures themselves, I'd say this is pretty
> much hopeless.

After our discussion yesterday, I did some research. Didn't find
anything +ve. I am considering switching to mutt. :)

> At least the end is a well defined place that
> org-footnote-action can always find.  The rest are shifting sands.
>

footnote-mode seems to do the trick exactly as I was hoping to. See
Tassilo's response.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

___
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: A few questions about how you write e-mails

2010-10-21 Thread suvayu ali
Hi Tassilo,

On 21 October 2010 00:45, Tassilo Horn  wrote:
> suvayu ali  writes:
>
> Hi!
>
>> Also in my case, the footnotes appear below the signature. I have to
>> manually move it above that before sending the email. Would be awesome
>> if org-footnote-action understood signatures somehow.
>
> Hm, I don't use org-mode and its functions when writing mails using
> Gnus, but I enable footnote-mode in message-mode and then call
> `Footnote-add-footnote' and friends directly.  That adds footnotes
> before the signature just as you want.  test [1], test [2], ...
>

This is exactly what I was looking for, I wasn't aware of
footnode-mode. Thanks a lot!! :)

> Bye,
> Tassilo

-- 
Suvayu

Open source is the future. It sets us free.

___
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: Aligning Columns in HTML Export Tables

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 9:36 AM, Christian Moe wrote:


On 10/21/10 2:25 AM, Sebastian Rose wrote:
(...)


|  |  |  |
| A   | B   |   C |
| 1   | 2   |   3 |
| 12  | 13  | 300 |
| 9   | 11  |   4 |



I get

align="right" />



as expected.


That's interesting. From the same example I get

align="right" />


...using freshly pulled 7.01trans. What might account for the  
difference?


Actually, I also get what Christian gets.  Sebastian, how did you get  
something different?


Currently alignment is only by the fraction of number in the column,  
not by the  and  markers.  Should be of cause...


- 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


[Orgmode] Re: A few questions about how you write e-mails

2010-10-21 Thread Tassilo Horn
suvayu ali  writes:

Hi!

> Also in my case, the footnotes appear below the signature. I have to
> manually move it above that before sending the email. Would be awesome
> if org-footnote-action understood signatures somehow.

Hm, I don't use org-mode and its functions when writing mails using
Gnus, but I enable footnote-mode in message-mode and then call
`Footnote-add-footnote' and friends directly.  That adds footnotes
before the signature just as you want.  test [1], test [2], ...

I've checked my .emacs, but I don't have any special setup for making
that work...

Bye,
Tassilo

Footnotes: 
[1]  foo
[2]  bar
-- 
This is a test signature...


___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 9:30 AM, Rainer Stengele wrote:


Am 21.10.2010 09:21, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:


Am 21.10.2010 09:07, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:


Hi all,

maybe this is a bug: (Org-mode version 7.01trans (release_7.01h. 
605.gc540)


Having set

= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
==

Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
State: STANDARD.
Non-nil means priority commands are active. Hide Rest
When nil, these commands will be disabled, so that you never  
accidentally

set a priority.

Org Highest Priority: Hide Value A
State: STANDARD.
The highest priority of TODO items.  A character like ?A, ?B  
etc. More


Org Lowest Priority: Hide Value D
State: SAVED and set.
The lowest priority of TODO items.  A character like ?A, ?B etc.  
More


Org Default Priority: Hide Value D
State: SAVED and set.
The default priority of TODO items. More

resulting correctly in

(custom-set-variables
...
'(org-highest-priority 65)
'(org-default-priority 68)
'(org-lowest-priority 68)
...
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
==


the custom agenda command

  ("Tp" "all todos sorted by prio"
   (
(alltodo "all todos" ))
   ((org-agenda-sorting-strategy '(priority-down

will sort correctly by priorities #A, #B, #C, descending,
but will then mix up the rest of the todos with "#D" or without  
priority.

"#D" does not seem to be included in the sorting.


The meaning of the default priority is that tasks without a  
priority do have
the default priority.  If you need 4 priorities all higher than  
"normal tasks",

make E your lowest and default priority

- Carsten


Yes, works now. A bit counterintuitive, isn't it?


What would be the "intuitive" meaning of default priority then?

- Carsten
Well, I would have expected that if I define a priority #D as lowest  
priority it is not excluded from sorting.



It *is* included in the sorting. All #D's come after the #A's, #B's,  
and #C's.  Only that "all #D's" includes all entries that have no  
specified priority.  Within each main priority, the precise order of  
the entries is determined by other factors well, like if it is a  
deadline or an overdue scheduled item.  That make the D's look  
random and the other not - but the same is going on everywhere.


You can look at the computed priority (which is used for sorting) by  
pressing (I think) "P" on every item.


Would you like to make a proposal for a paragraph in the manual to  
clarify this?  Or are you proposing to change how this works?




- 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] Re: Aligning Columns in HTML Export Tables

2010-10-21 Thread Christian Moe

On 10/21/10 2:25 AM, Sebastian Rose wrote:
(...)


|  |  |  |
| A   | B   |   C |
| 1   | 2   |   3 |
| 12  | 13  | 300 |
| 9   | 11  |   4 |



I get




as expected.


That's interesting. From the same example I get

/>


...using freshly pulled 7.01trans. What might account for the difference?


In Opera it works for me, if I remove the styles for `td' from my
stylesheet.  The styles for table data cells will overrule the align
attribute in the col tag.

Current Firefox seems to ignore the align attribute, although it's valid
XHTML.


Good for Opera! I think Firefox generally ignores colgroup styling. 
Doesn't work on Safari, either.


CM

___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Rainer Stengele
Am 21.10.2010 09:21, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:
>
>> Am 21.10.2010 09:07, schrieb Carsten Dominik:
>>>
>>> On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:
>>>
 Hi all,

 maybe this is a bug: (Org-mode version 7.01trans (release_7.01h.605.gc540)

 Having set

 ==
 Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
  State: STANDARD.
  Non-nil means priority commands are active. Hide Rest
  When nil, these commands will be disabled, so that you never accidentally
  set a priority.

 Org Highest Priority: Hide Value A
  State: STANDARD.
  The highest priority of TODO items.  A character like ?A, ?B etc. More

 Org Lowest Priority: Hide Value D
  State: SAVED and set.
  The lowest priority of TODO items.  A character like ?A, ?B etc. More

 Org Default Priority: Hide Value D
  State: SAVED and set.
  The default priority of TODO items. More

 resulting correctly in

 (custom-set-variables
 ...
 '(org-highest-priority 65)
 '(org-default-priority 68)
 '(org-lowest-priority 68)
 ...
 ==

 the custom agenda command

("Tp" "all todos sorted by prio"
 (
  (alltodo "all todos" ))
 ((org-agenda-sorting-strategy '(priority-down

 will sort correctly by priorities #A, #B, #C, descending,
 but will then mix up the rest of the todos with "#D" or without priority.
 "#D" does not seem to be included in the sorting.
>>>
>>> The meaning of the default priority is that tasks without a priority do have
>>> the default priority.  If you need 4 priorities all higher than "normal 
>>> tasks",
>>> make E your lowest and default priority
>>>
>>> - Carsten
>>>
>> Yes, works now. A bit counterintuitive, isn't it?
>
> What would be the "intuitive" meaning of default priority then?
>
> - Carsten
Well, I would have expected that if I define a priority #D as lowest priority 
it is not excluded from sorting.
The meaning of the default priority is ok und understandable!

- Rainer

___
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] timestamp with repeater interval

2010-10-21 Thread Eric S Fraga
On Wed, 20 Oct 2010 00:16:51 +0200, Rainer Thiel  wrote:
> 
> 2010/10/19 Eric S Fraga :
> > On Mon, 18 Oct 2010 22:53:45 +0200, Rainer Thiel  
> > wrote:
> > Emacs -> Calendar/Diary -> Advanced Calendar/Diary usage -> Sexp Diary 
> > Entries
> 
> Thanks for trying to help out.  I cannot discover any hint to how to
> define an end date for repeater intervals there, though.  It is
> probably obvious to professional lisp programmers.  But while I have
> done some lisp programming, this is not really my field.

Rainer,

Matt Lundin has just posted a respond (in another thread) which answers your 
question:

On Wed, 20 Oct 2010 21:31:04 -0400, Matt Lundin  wrote:
> 
> Christopher Witte  writes:
> 
> > Is there a way to get timestamps that repeat (say weekly) up to a
> > certain date when it stops repeating?  I have a weekly appointment that
> > will only go for the next 8 weeks and I don't want to have to input
> > each appointment separately and I don't want it cluttering up my diary
> > beyond it's end date.
> 
> Though you can't yet do this with org-mode timestamps, you can use a
> diary sexp. Does the following FAQ help?
> 
> http://orgmode.org/worg/org-faq.php#org-diary-class
> 
> 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
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Carsten Dominik


On Oct 21, 2010, at 9:12 AM, Rainer Stengele wrote:


Am 21.10.2010 09:07, schrieb Carsten Dominik:


On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:


Hi all,

maybe this is a bug: (Org-mode version 7.01trans (release_7.01h. 
605.gc540)


Having set

= 
= 
= 
= 
= 
= 
= 
= 
= 
= 


Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
 State: STANDARD.
 Non-nil means priority commands are active. Hide Rest
 When nil, these commands will be disabled, so that you never  
accidentally

 set a priority.

Org Highest Priority: Hide Value A
 State: STANDARD.
 The highest priority of TODO items.  A character like ?A, ?B etc.  
More


Org Lowest Priority: Hide Value D
 State: SAVED and set.
 The lowest priority of TODO items.  A character like ?A, ?B etc.  
More


Org Default Priority: Hide Value D
 State: SAVED and set.
 The default priority of TODO items. More

resulting correctly in

(custom-set-variables
...
'(org-highest-priority 65)
'(org-default-priority 68)
'(org-lowest-priority 68)
...
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 



the custom agenda command

   ("Tp" "all todos sorted by prio"
(
 (alltodo "all todos" ))
((org-agenda-sorting-strategy '(priority-down

will sort correctly by priorities #A, #B, #C, descending,
but will then mix up the rest of the todos with "#D" or without  
priority.

"#D" does not seem to be included in the sorting.


The meaning of the default priority is that tasks without a  
priority do have
the default priority.  If you need 4 priorities all higher than  
"normal tasks",

make E your lowest and default priority

- Carsten


Yes, works now. A bit counterintuitive, isn't it?


What would be the "intuitive" meaning of default priority then?

- 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? org does not seem to sort by prioritiy #A, #B, #C, #D

2010-10-21 Thread Rainer Stengele
Am 21.10.2010 09:07, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:
>
>> Hi all,
>>
>> maybe this is a bug: (Org-mode version 7.01trans (release_7.01h.605.gc540)
>>
>> Having set
>>
>> ==
>> Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
>>   State: STANDARD.
>>   Non-nil means priority commands are active. Hide Rest
>>   When nil, these commands will be disabled, so that you never accidentally
>>   set a priority.
>>
>> Org Highest Priority: Hide Value A
>>   State: STANDARD.
>>   The highest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Lowest Priority: Hide Value D
>>   State: SAVED and set.
>>   The lowest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Default Priority: Hide Value D
>>   State: SAVED and set.
>>   The default priority of TODO items. More
>>
>> resulting correctly in
>>
>> (custom-set-variables
>> ...
>> '(org-highest-priority 65)
>> '(org-default-priority 68)
>> '(org-lowest-priority 68)
>> ...
>> ==
>>
>> the custom agenda command
>>
>> ("Tp" "all todos sorted by prio"
>>  (
>>   (alltodo "all todos" ))
>>  ((org-agenda-sorting-strategy '(priority-down
>>
>> will sort correctly by priorities #A, #B, #C, descending,
>> but will then mix up the rest of the todos with "#D" or without priority.
>> "#D" does not seem to be included in the sorting.
>
> The meaning of the default priority is that tasks without a priority do have
> the default priority.  If you need 4 priorities all higher than "normal 
> tasks",
> make E your lowest and default priority
>
> - Carsten
>
Yes, works now. A bit counterintuitive, isn't it?
Thanks!

- Rainer

___
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


  1   2   >