emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in the :VISIBILITY: handling of "folded" PROPERTY?
@ 2010-12-16 13:14 Sébastien Vauban
  2011-01-09 10:31 ` David Maus
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Vauban @ 2010-12-16 13:14 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

#+TITLE:     Example of file for which folded PROPERTY is not respected
#+DATE:      2010-12-16
#+LANGUAGE:  en_US

* To
#+begin_src csv :tangle addresses.csv
FirstName,LastName,Address,PostCode,Town,Country
Albert,Bellertelle,Rue de la Gare 19,5000,Namur,
#+end_src

* Subject, opening and closing
#+tblname: i-parts
| Subject    | This is the subject  |
| Opening    | Best                 |
| Closing    | Regards              |
| Enclosures | isodoc documentation |

* Body
#+srcname: body
#+begin_src org :results latex
Thanks for the support.
Find here the doc (attached).
#+end_src

* Composed letter                                                  :noexport:
  :PROPERTIES:
  :VISIBILITY: folded
  :END:
#+begin_src latex :noweb yes :tangle yes :var i-subject=i-parts[0,1] :var i-opening=i-parts[1,1] :var i-closing=i-parts[2,1] :var i-enclosures=i-parts[3,1]
\documentclass[11pt]{isodoc}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{datatool}
\DTLloaddb{addresses}{addresses.csv}

\usepackage[scorpios]{isodoc-style}

\setupdocument{
    subject = {i-subject},
    opening = {i-opening},
    closing = {i-closing},
    enclosures = {i-enclosures}
}

\begin{document}
\DTLforeach{addresses}{%
  \firstname=FirstName,%
  \lastname=LastName,%
  \addressi=Address,%
  \postcode=PostCode,%
  \town=Town,%
  \country=Country%
}{%
\letter[language=french,to={\firstname~\lastname\\\addressi\\\postcode~\town\\\country},openingcomma={,}]{%
<<body()>>
}}
\end{document}
#+end_src

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug in the :VISIBILITY: handling of "folded" PROPERTY?
  2010-12-16 13:14 Bug in the :VISIBILITY: handling of "folded" PROPERTY? Sébastien Vauban
@ 2011-01-09 10:31 ` David Maus
  0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2011-01-09 10:31 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]

At Thu, 16 Dec 2010 14:14:35 +0100,
Sébastien Vauban wrote:
> 
> #+TITLE:     Example of file for which folded PROPERTY is not respected
> #+DATE:      2010-12-16
> #+LANGUAGE:  en_US
> 

What exactly is the problem with this file?  If I open it the first
time, the *Composed letter* is folded.

Btw this is a perfect example of a extremly bad bug report.  Its
missing everything needed to process this report: Expected behaviour,
actual behaviour, maybe what the manual says.

Best,
  -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-09 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-16 13:14 Bug in the :VISIBILITY: handling of "folded" PROPERTY? Sébastien Vauban
2011-01-09 10:31 ` David Maus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).