Re: [O] expand yasnippet or abbriv text inside a capture

2015-06-05 Thread Xebar Saram
Ok so i made some progress here. i think i can just use the org capture
itself to suit my needs. but as i dont know elisp i got stuck with this:

  (setq org-capture-templates
(quote (
("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org"
"Inbox")
 "* Cook %? %^g
   :PROPERTIES:
   :Time:
   :Rating:
   :Source:
   :Ammount:
   :Fav:
   :Type:
   :ID:
   :END:

** HEADER 2
** HEADER 3 " )

when i add the subheaders ** HEADER 2 and ** HEADER 3 i can eval the
section anymore.

Do i need to escape the * somehow? i just want 2 same level subheadrs below
the main capture header/
whats the best way to do this?

best

Z



On Fri, Jun 5, 2015 at 9:57 PM, Xebar Saram  wrote:

> Hi all
>
> I was wondering since i have zero lisp (or coding at all) skills if anyone
> could show me an example on how to expand yasnippet or text as part of a
> org capture
>
> i think that using %(sexp) would work (im guessing here :))
>
> i have this capture
>
> ("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org"
> "Inbox")
> "* COOK %?  %^g " :kill-buffer )
>
> i want that after the COOK headline it will expand a snippet or if not
> possible add a property drawer.
>
> also related can org ask me to fill in specific properties in a property
> drawer as part of the capture?
>
> thx!
>
> Z
>


Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-06-05 Thread Titus von der Malsburg

On 2015-06-05 Fri 14:27, Nicolas Goaziou wrote:
> Titus von der Malsburg  writes:
>
>> Below is a list of things that I tested.  This list of test cases is
>> probably not exhaustive.
>
> Thanks.
>
>> Things that don't work with \verb (produce malformed LaTeX):
>>
>> #+TITLE: ~test~
>>
>> #+CAPTION: ~test~
>> [[/tmp/img.png]]
>>
>> * ~test~
>> ** ~test~
>> …

Thee can be handled by protectedtexttt.  The obvious questions is of
course: Wouldn’t it be more consistent to handle all instances of ~code~
using protectedtexttt?  And if you want to support the use of \verb at
all, shouldn’t that be done via =verbatim= not ~code~?

>> These two did not produce the intended results (sub and super script
>> don’t work) but the LaTeX is not malformed:
>>
>> test^~test~
>> test_~test~

This really seems to be an independent issue (because test^*test*
doesn’t work either) but I think it should produce this LaTeX:

test\(^{\text{\texttt{test}}}\)
test\(_{\text{\texttt{test}}}\)

But this works, too:

test\(^{\text{\verb~test~}}\)
test\(_{\text{\verb~test~}}\)

Titus


signature.asc
Description: PGP signature


Re: [O] [RFC] Org linting library

2015-06-05 Thread Nicolas Goaziou
Rainer M Krug  writes:

> The link
>
> ,
> | [[file:__BOX__/Aerodynamic%20resistances.docx][file:./__BOX__/Aerodynamic 
> resistances.docx]]
> `
>
> causes the following warnings:
>
> ,
> |   9094 low   Link to non-existent local file 
> "__BOX__/Aerodynamic%20resistances.docx"

Fixed. Thank you.

> |   9094 low   Link to non-existent local file "./__BOX__/Aerodynamic"
> `
>
> although the file exists and the link works in org.

Here, Org Lint is correct. Link's description is really a link to
a file, "./__BOX__/Aerodynamic", followed by a space, and
"resistances.docx" text.


Regards,



Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-06-05 Thread Nicolas Goaziou
Titus von der Malsburg  writes:

> Below is a list of things that I tested.  This list of test cases is
> probably not exhaustive.

Thanks.

> Things that don't work with \verb (produce malformed LaTeX):
>
> #+TITLE: ~test~
>
> #+CAPTION: ~test~
> [[/tmp/img.png]]
>
> * ~test~
> ** ~test~
> …
>
> These two did not produce the intended results (sub and super script
> don’t work) but the LaTeX is not malformed:
>
> test^~test~
> test_~test~

What should be produced by "ox-latex.el" in all the cases above?

Regards,



Re: [O] export filename to a different name than buffer's filename

2015-06-05 Thread Nicolas Goaziou
Hello,

Leslie Harlley Watter  writes:

> Is possible to define the export filename of the entire file ?

You can use `org-export-to-file'.

Regards,

-- 
Nicolas Goaziou



[O] export filename to a different name than buffer's filename

2015-06-05 Thread Leslie Harlley Watter

Hi Folks,

Is possible to define the export filename of the entire file ?

I know that I can use #EXPORT_FILE_NAME tag to change the filename if I export 
a subsection of the file, 
but what I want is to change the name of the file when I export the entire 
file. 

It would be usefull to export tests / tests + answers ;-)

Thanks

LEslie

-- 
Leslie H. Watter
 "Always do right.  This will gratify some people and astonish the rest."
-- Mark Twain


signature.asc
Description: Digital signature


Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-06-05 Thread Titus von der Malsburg

On 2015-05-31 Sun 01:40, Nicolas Goaziou wrote:
> Titus von der Malsburg  writes:
>
>> Huh, ~code~ is translated to \verb and =verbatim= is translated to
>> \texttt (plus escaping of some special characters)?
>
> Correct.
>
>> If \verb is used at all, shouldn’t it be generated by =verbatim=
>> instead of by ~code~?
>
> Why is that? Because \verb reminds =verbatim=? Really, both "code" and
> "verbatim" syntax produces verbatim contents. Therefore both are
> eligible for "\verb".

Well, \verb is short for verbatim.  So, yeah, it is pretty unexpected
that =verbatim= is translated to testtt and ~code~ to \verb.

>>> Note that we could do better anyway and switch command depending on
>>> context.
>>
>> Yes, I suppose anything is better than producing malformed LaTeX.
>
> Could you give the list of all contexts requiring such a switch, and
> what the result should be in each case?

Below is a list of things that I tested.  This list of test cases is
probably not exhaustive.

Things that don't work with \verb (produce malformed LaTeX):

#+TITLE: ~test~

#+CAPTION: ~test~
[[/tmp/img.png]]

* ~test~
** ~test~
…

These two did not produce the intended results (sub and super script
don’t work) but the LaTeX is not malformed:

test^~test~
test_~test~

Things that did work as expected with \verb:

~test~

| ~test~ |

[[http://www.fsf.org/][~test~]]

- ~test~ :: this is a ~test~

[fn:1]
[fn:1] ~test~

*~test~*
=~test~=
/~test~/
+~test~+
_~test~_



-- 
Dr Titus von der Malsburg
Feodor Lynen Research Fellow
Dept. Psychology & Dept. Linguistics
University of California, San Diego
http://pages.ucsd.edu/~tvondermalsburg/


signature.asc
Description: PGP signature


Re: [O] How to sort an unordered list?

2015-06-05 Thread Sharon Kimble
Subhan Michael Tindall  writes:

> Are you using CUA mode by any chance?  If this is the case, when you 
> highlight and hit C-c you are copying the region.
> Try C-S-c  ^ (same as C-C ^) (which using the non-CUA key binding)
> And should sort just find for you.
> The use of shift to override CUA bindings is very helpful, works
> for C-v & C-x too.

Thanks for this Subhan Michael, and Nick.

I wasn't aware of the usage of shift, and when I try it on John's
testing setup, I get an error message displayed in the echo area
which says "user-error: No surrounding element".

I've had these sorts of problems before with various commands, on
this computer which was new in February this year, and its
predecessor. But the common element with both is that I've used the
same USB keyboard! So I'll swap it over to another USB keyboard I
have tomorrow, and see if that changes things.

Thanks
Sharon.

>
>> -Original Message-
>> From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org
>> [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On
>> Behalf Of Sharon Kimble
>> Sent: Friday, June 05, 2015 9:01 AM
>> To: org-mode
>> Subject: [O] How to sort an unordered list?
>> 
>> I've been unable to sort an unordered list as per
>> http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
>> everytime I try on a highlighted region it just inserts ^ at the beginning 
>> of the
>> first item.
>> 
>> So how can I sort it please?
>> 
>> Thanks
>> Sharon.
>> --
>> A taste of linux = http://www.sharons.org.uk TGmeds =
>> http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1
>
> This message is intended for the sole use of the individual and entity to
> which it is addressed and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message. If you have received this message in error, please immediately
> advise the sender by reply email and delete the message. Thank you.

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1


signature.asc
Description: PGP signature


[O] expand yasnippet or abbriv text inside a capture

2015-06-05 Thread Xebar Saram
Hi all

I was wondering since i have zero lisp (or coding at all) skills if anyone
could show me an example on how to expand yasnippet or text as part of a
org capture

i think that using %(sexp) would work (im guessing here :))

i have this capture

("f" "food" entry (file+headline "/home/zeltak/org/files/agenda/food.org"
"Inbox")
"* COOK %?  %^g " :kill-buffer )

i want that after the COOK headline it will expand a snippet or if not
possible add a property drawer.

also related can org ask me to fill in specific properties in a property
drawer as part of the capture?

thx!

Z


Re: [O] How to sort an unordered list?

2015-06-05 Thread Subhan Michael Tindall
Are you using CUA mode by any chance?  If this is the case, when you highlight 
and hit C-c you are copying the region.
Try C-S-c  ^ (same as C-C ^) (which using the non-CUA key binding)
And should sort just find for you.
The use of shift to override CUA bindings is very helpful, works for C-v & C-x 
too.

> -Original Message-
> From: emacs-orgmode-bounces+subhant=familycareinc@gnu.org
> [mailto:emacs-orgmode-bounces+subhant=familycareinc@gnu.org] On
> Behalf Of Sharon Kimble
> Sent: Friday, June 05, 2015 9:01 AM
> To: org-mode
> Subject: [O] How to sort an unordered list?
> 
> I've been unable to sort an unordered list as per
> http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
> everytime I try on a highlighted region it just inserts ^ at the beginning of 
> the
> first item.
> 
> So how can I sort it please?
> 
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk TGmeds =
> http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1

This message is intended for the sole use of the individual and entity to which 
it is addressed and may contain information that is privileged, confidential 
and exempt from disclosure under applicable law. If you are not the intended 
addressee, nor authorized to receive for the intended addressee, you are hereby 
notified that you may not use, copy, disclose or distribute to anyone the 
message or any information contained in the message. If you have received this 
message in error, please immediately advise the sender by reply email and 
delete the message.  Thank you.




Re: [O] How to sort an unordered list?

2015-06-05 Thread Nick Dokos
Sharon Kimble  writes:

> I've been unable to sort an unordered list as per
> http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
> everytime I try on a highlighted region it just inserts ^ at the
> beginning of the first item.
>

If I highlight the region and press C-c ^, I get "Nothing to sort",
but it does not insert a caret. It looks as if your Control-C is ignored
somehow.

Once you get the C-c issue straightened out, don't highlight the region:
just place the cursor somewhere in the list and type C-c ^ and then
select what kind of sorting you want from the menu in the echo area.

Nick




Re: [O] How to sort an unordered list?

2015-06-05 Thread Sharon Kimble
John Kitchin  writes:

> I can't reproduce your problem.
>
> If I put the cursor on any one of these lines and type C-c ^, it asks me how 
> to sort the list.
>
> - 5
> - 3
> - 1
>
> John

Hi John, thanks for the reply. Using your sample I do 'Ctrl-c &
Shift 6'. I have to do it this way as the '^' character is above the
6, and if I don't do that then I just get a '6'!

This is with 'Org-mode version 8.2.10 (release_8.2.10 @
/home/boudiccas/git/org-mode/lisp/)' and 'GNU Emacs 24.5.50.1
(i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-04-16 on london'.

Thanks
Sharon.

>
> ---
> Professor John Kitchin 
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
> On Fri, Jun 5, 2015 at 12:01 PM, Sharon Kimble  
> wrote:
>
> I've been unable to sort an unordered list as per
> http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
> everytime I try on a highlighted region it just inserts ^ at the
> beginning of the first item.
>
> So how can I sort it please?
>
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1
>

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1


signature.asc
Description: PGP signature


Re: [O] How to sort an unordered list?

2015-06-05 Thread John Kitchin
I can't reproduce your problem.

If I put the cursor on any one of these lines and type C-c ^, it asks me
how to sort the list.

- 5
- 3
- 1

John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Fri, Jun 5, 2015 at 12:01 PM, Sharon Kimble 
wrote:

> I've been unable to sort an unordered list as per
> http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
> everytime I try on a highlighted region it just inserts ^ at the
> beginning of the first item.
>
> So how can I sort it please?
>
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1
>


[O] How to sort an unordered list?

2015-06-05 Thread Sharon Kimble
I've been unable to sort an unordered list as per
http://orgmode.org/manual/Plain-lists.html where it says 'C-c ^' but
everytime I try on a highlighted region it just inserts ^ at the
beginning of the first item.

So how can I sort it please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.1


signature.asc
Description: PGP signature


Re: [O] calc vmode function is probably broken

2015-06-05 Thread Nick Dokos
Jude DaShiell  writes:

> I write that since a few minutes ago, I sorted columns 2-5 in
> numerical order with m-x org-table-sort-lines then returned to the top
> of file and did cu+cc+cc and checked the mode row and vmode still
> returned only zeros.
>

There is no calc vmode function: what you see is the result of calling
an undefined function with a format. If you change "vmode" to "foo",
you'll still get zeros.

Nick





Re: [O] Links in #+caption: lines

2015-06-05 Thread Rasmus
Nicolas Goaziou  writes:

> Hello,
>
> Rasmus  writes:
>
>> Try the attached patch.
>>
>> I have done 20 second of testing (I'm traveling) so there may be adverse
>> effects.  But it looked OK.
>
> With this patch, you remove fontification from caption contents, which
> is not desirable. Caption is an affiliated keyword and should be marked
> as such.

I was not proposing merging it.  Perhaps it can be changed to an advice or
something.

Would it be possible to specify inheritance priority?  So that e.g. link
would retain the blue coloring?

Rasmus

-- 
Vote for Dick Taid in an election near you!



Re: [O] [RFC] Org linting library

2015-06-05 Thread Rainer M Krug
One more observation:

The link

,
| [[file:__BOX__/Aerodynamic%20resistances.docx][file:./__BOX__/Aerodynamic 
resistances.docx]]
`

causes the following warnings:

,
|   9094 low   Link to non-existent local file 
"__BOX__/Aerodynamic%20resistances.docx"
|   9094 low   Link to non-existent local file "./__BOX__/Aerodynamic"
`

although the file exists and the link works in org.

Cheers,

Rainer


Nicolas Goaziou  writes:

> Hello,
>
> The following library implements linting for Org syntax. The sole public
> function is `org-lint', which see.
>
> Internally, the library defines a new structure: `org-lint-checker',
> with the following slots:
>
>   - NAME: Unique check identifier, as a symbol. The check is done
> calling the function `org-lint-NAME' with one mandatory argument,
> the parse tree describing the current Org buffer. Such function
> calls are wrapped within a `save-excursion' and point is always at
> `point-min'. Its return value has to be an alist (POSITION MESSAGE)
> when POSITION refer to the buffer position of the error, as an
> integer, and MESSAGE is a strings describing the error.
>
>   - DESCRIPTION: Summary about the check, as a string.
>
>   - CATEGORIES: Categories relative to the check, as a list of symbol.
> They are used for filtering when calling `org-lint'. Checkers not
> explicitly associated to a category are collected in the `default'
> one.
>
>   - TRUST: The trust level one can have in the check. It is either `low'
> or `high', depending on the heuristics implemented and the nature of
> the check. This has an indicative value only and is displayed along
> reports.
>
> All checks have to be listed in `org-lint--checkers'.
>
> Results are displayed in a special "*Org Lint*" buffer with a dedicated
> major mode, derived from `tabulated-list-mode'. In addition to the usual
> key-bindings inherited from it, "C-j" displays problematic line reported
> under point and "RET" jumps to it.
>
> Checks currently implemented are:
>
>   - duplicates CUSTOM_ID properties
>   - duplicate NAME values
>   - duplicate targets
>   - duplicate footnote definitions
>   - orphaned affiliated keywords
>   - obsolete affiliated keywords
>   - missing language in src blocks
>   - NAME values with a colon
>   - wrong header arguments in src blocks
>   - misuse of CATEGORY keyword
>   - "coderef" links with unknown destination
>   - "custom-id" links with unknown destination
>   - "fuzzy" links with unknown destination
>   - "id" links with unknown destination
>   - links to non-existent local files
>   - special properties in properties drawer
>   - obsolete syntax for PROPERTIES drawers
>   - missing definition for footnote references
>   - missing reference for footnote definitions
>   - non-footnote definitions in footnote section
>   - probable invalid keywords
>   - invalid blocks
>   - probable incomplete drawers
>   - obsolete QUOTE section
>
> Since it relies on lexical binding, `pcase' and `string-prefix-p', it
> cannot be added to Org 8.3, but can make it into Org 8.4, if deemed
> useful enough.
>
> Feedback welcome.
>
>
> Regards,

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] Links in #+caption: lines

2015-06-05 Thread Thomas S. Dye
Nicolas Goaziou  writes:

> Hello,
>
> Rasmus  writes:
>
>> Try the attached patch.
>>
>> I have done 20 second of testing (I'm traveling) so there may be adverse
>> effects.  But it looked OK.
>
> With this patch, you remove fontification from caption contents, which
> is not desirable. Caption is an affiliated keyword and should be marked
> as such.

Is it possible to have descriptive links in captions?

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] Testers / Feedback wanted: Gantt charts via org-gantt.el

2015-06-05 Thread Bernhard Schmitz
OK, small update:

- Milestones are implemented. All headlines with tags that are in 
:milestone-tag (org-gantt-default-milestone-tag, resp.; :milestone: by default) 
are marked as Milestones.

- tag highlighting is working correctly. The alists :tags-bar-style and 
:tags-group-style ("tag" . "style") set the styles, :tag-style-effect sets 
whether this style is applied only to the headline with that style, or to all 
its subheadlines ('subheadlines). (All options are available as 
org-gantt-default... as well).

- tag inclusion/exclusion is working correctly. If :use-tags is non-nil, only 
headlines with at least one of the given tags (and its subheadlines) will be 
used. If :ignore-tags is non-nil, headlines with one of the given tags (and its 
subheadlines) will be ignored.

- I have added an option :tikz-options . If this is non-nill, the entire chart 
will be placed inside a tikzpicture environment with the given parameters. E.g. 
scaling is possible with :tikz-options "scale=0.5, every 
node/.style={scale=0.5}". This seems to work fine, so the lowlevel-scale option 
has been removed.

Regards,
Bernhard 

> -Ursprüngliche Nachricht-
> Von: emacs-orgmode-bounces+bernhard.schmitz=vis.uni-stuttgart...@gnu.org
> [mailto:emacs-orgmode-bounces+bernhard.schmitz=vis.uni-
> stuttgart...@gnu.org] Im Auftrag von Karl Voit
> Gesendet: Mittwoch, 3. Juni 2015 17:17
> An: emacs-orgmode@gnu.org
> Betreff: Re: [O] Testers / Feedback wanted: Gantt charts via org-gantt.el
> 
> * Eric S Fraga  wrote:
> >
> > The only comments I have at the moment is that it is missing support for
> > milestones and all of my GANTT charts have such and that I would like to
> > be able to link tasks across headlines (i.e. groups).  Can I suggest a
> >:milestone: tag or MILESTONE property for the former and a LINKED-TO or
> > similar for the latter?
> 
> How about a heading task who got only DEADLINE (no SCHEDULED) and
> does not span more than 1 day? This seems to be a mile-stone to me.
> 
> (Or *additionally* this tag?)
> 
> --
> mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
>> get Memacs from https://github.com/novoid/Memacs <
> 
> https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on
> github
> 




Re: [O] searching for csv utilities

2015-06-05 Thread Eric S Fraga
On Thursday,  4 Jun 2015 at 23:24, Thierry Banel wrote:
> You may want to consider a slightly different approach. It may (or
> maynot) be relevant depending on your context.

[...]

> Then using a package named "org-aggregate" (on Melpa) you can derivean
> aggregated table:

Thanks for reminding me (us?) about this package.  Very useful!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1195-g1a7364



Re: [O] (1) global cycling for numbered lists? (2) adaptive links to list item numbers?

2015-06-05 Thread Eric S Fraga
On Thursday,  4 Jun 2015 at 16:06, Ulva wrote:

[...]

> (2) Taking a cue from Insert>Cross-Reference in LibreOffice, suppose I would
> like to refer in section (say) 4.1.1 to section 2.1. Something like "As
> mentioned in 2.1, frogs are often green". But I would like this "2.1"
> reference to update automatically if later the 2.1 content ends up somewhere
> else in the document. E.g. if a first-level section is added at the top of
> the list and everything else shifts, 4.1.1 becomes 5.1.1 and should update
> to "As mentioned in 3.1, frogs are often green". Is this possible in
> emacs/org-mode?

Use internal targets and link to them:

[[info:org#Internal%20links][info:org#Internal links]]

Basically, the following should work:
#+begin_src org
  ,* test
  <>
  Some introductory text
  ,* more stuff
  In this section, we summarise what we saw in [[section-test]].
#+end_src

HTH,
eric
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1195-g1a7364



Re: [O] (1) global cycling for numbered lists? (2) adaptive links to list item numbers?

2015-06-05 Thread Nicolas Goaziou
Hello,

Ulva  writes:

> (1) S-Tab is very handy to collapse list sublevels globally, but it only
> seems to work if the first level of the list is 'bulleted' (*), not if it
> consists of numbers. Is this correct, and is there a way around it?

Note that "bulleted" lists are called headlines, and are very different
from actual plain lists in Org.

You could tweak `org-cycle-include-plain-lists', but I'm not sure it
would lead to the desired effect.

> (2) Taking a cue from Insert>Cross-Reference in LibreOffice, suppose I would
> like to refer in section (say) 4.1.1 to section 2.1. Something like "As
> mentioned in 2.1, frogs are often green". But I would like this "2.1"
> reference to update automatically if later the 2.1 content ends up somewhere
> else in the document. E.g. if a first-level section is added at the top of
> the list and everything else shifts, 4.1.1 becomes 5.1.1 and should update
> to "As mentioned in 3.1, frogs are often green". Is this possible in
> emacs/org-mode?

See (info "(org)Internal links"), in particular last paragraph.


Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Export to html inserts strange unicode characters at line breaks because of fci-mode [8.2.7c (8.2.7c-64-g01f736-elpa @ /home/kmodi/.emacs.d/elpa/org-20140915/)]

2015-06-05 Thread Nicolas Goaziou
Hello,

Kaushal  writes:

> I would suggest that that fci-mode specific code be removed from the
> master.

Done in 9540ff8d7a7a480b18dd1af94e7eb062f020b9ff. Thank you.


Regards,

-- 
Nicolas Goaziou