From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: About commit named "Allow multi-line properties to be specified in property blocks"
Date: Tue, 08 Nov 2011 11:42:18 -0300 [thread overview]
Message-ID: <4eb93fd2.035f650a.6940.7d55@mx.google.com> (raw)
In-Reply-To: <CAGhLh6GkoEVjZRzaTnbNbZUopK1mdf=zTWmRj791LL5G4hYwow@mail.gmail.com>
Unless I have missed something in the e-mails, the new syntax is to
concatenate new variables to the var property. Not modifying the values
currently stored in some variable. That is,
#+property: var foo=2
#+property: var+ 5
(not specifying the variable name ) should not be allowed and
#+property: var foo=2
#+property: var+ foo=5
#+property: var+ bar="bar"
should result in foo=5 and bar="bar". Is modifying a variable also a new
feature?
--
Darlan
At Tue, 8 Nov 2011 11:06:48 +0100,
Rainer M Krug <r.m.krug@gmail.com> wrote:
>
> [1 <text/plain; ISO-8859-1 (7bit)>]
> On Tue, Nov 8, 2011 at 10:58 AM, Sebastien Vauban <
> wxhgmqzgwmuf@spammotel.com> wrote:
>
> > Hi Rainer,
> >
> > Rainer M Krug wrote:
> > >> > * appending to a file-wide property
> > >> > :PROPERTIES:
> > >> > :var+: , baz=3
> > >> > :END:
> > >>
> > >> To be honest, the only thing that I dislike is the comma in the above
> > line.
> > >> Not intuitive at all. Quite hard to read.
> > >>
> > >> Can't the comma be implicitly added by the `+' after the property name?
> > >
> > > On the one hand, it might have one additional advantage:
> > >
> > > #+property: var foo="This is a very long text"
> > > #+property: var+ "with even more."
> >
> > I don't think such a construction would be tolerated. I guess you must
> > write
> > a var name (foo, bar, baz, ...) after the `var+' keyword.
> >
> > > Would foo be:
> > > "This is a very long text with even more"
> >
> > To be accurate, it would have become:
> >
> > "This is a very long textwith even more"
> >
> > if such a concatenation would be implied.
> >
>
> Correct - missing space.
>
>
> >
> > > Could one make the "," implicit, if the value follows the
> > >
> > > x=y
> > >
> > > style, while otherwise just concatenate the value to the one before?
> >
> > I guess this is going too far, as Babel is untyped: what about...
> >
> > #+property: var foo=2
> > #+property: var+ 5
> >
> > Does foo become equal to 25?
> >
> > (I know I exaggerate somehow, but just to show I guess such extensions are
> > simply not possible without explicit types).
> >
> >
> You definitely have a point here - so I opt for the implicit ","
>
>
> Cheers,
>
> Rainer
>
> But, if not equal to 25, what would be expected? An error, ...?
> >
> > Best regards,
> > Seb
> >
> > --
> > Sebastien Vauban
> >
> >
> >
>
>
> --
> 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 (F): +33 - (0)9 58 10 27 44
>
> Fax (D): +49 - (0)3 21 21 25 22 44
>
> email: Rainer@krugs.de
>
> Skype: RMkrug
> [2 <text/html; ISO-8859-1 (quoted-printable)>]
>
next prev parent reply other threads:[~2011-11-08 14:42 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 19:06 About commit named "Allow multi-line properties to be specified in property blocks" Nicolas Goaziou
2011-10-31 20:05 ` Eric Schulte
2011-10-31 20:49 ` Nicolas Goaziou
2011-10-31 21:30 ` Eric Schulte
2011-11-01 8:24 ` Nicolas Goaziou
2011-11-01 8:36 ` Nicolas Goaziou
2011-11-01 14:36 ` Eric Schulte
2011-11-01 15:39 ` Nicolas Goaziou
2011-11-01 16:58 ` Eric Schulte
2011-11-01 17:48 ` Christian Moe
2011-11-01 19:02 ` Eric Schulte
2011-11-01 19:45 ` Christian Moe
2011-11-01 20:22 ` Eric Schulte
2011-10-31 21:33 ` Christian Moe
2011-10-31 21:22 ` Christian Moe
2011-10-31 21:36 ` Eric Schulte
2011-11-01 7:33 ` Christian Moe
2011-11-02 15:35 ` Bastien
2011-11-02 17:39 ` Nicolas Goaziou
2011-11-03 1:26 ` Bastien
2011-11-03 8:08 ` Christian Moe
2011-11-03 15:10 ` Nick Dokos
2011-11-03 18:32 ` Eric Schulte
2011-11-03 20:01 ` Nicolas Goaziou
2011-11-03 20:18 ` Eric Schulte
2011-11-03 20:23 ` Eric Schulte
2011-11-04 8:02 ` Rainer M Krug
2011-11-04 17:48 ` Darlan Cavalcante Moreira
2011-11-04 19:25 ` Eric Schulte
2011-11-07 22:09 ` Eric Schulte
2011-11-08 8:42 ` Rainer M Krug
2011-11-08 9:31 ` Sebastien Vauban
2011-11-08 9:41 ` Rainer M Krug
2011-11-08 9:58 ` Sebastien Vauban
2011-11-08 10:06 ` Rainer M Krug
2011-11-08 14:42 ` Darlan Cavalcante Moreira [this message]
2011-11-08 15:06 ` Sebastien Vauban
2011-11-08 16:03 ` Eric Schulte
2011-11-08 22:53 ` Eric Schulte
2011-11-09 8:25 ` Rainer M Krug
2011-11-09 16:12 ` Eric Schulte
2011-11-09 17:18 ` Rainer M Krug
2011-11-09 22:31 ` Sebastien Vauban
2011-11-15 12:33 ` Rainer M Krug
2011-11-15 16:00 ` Eric Schulte
2011-11-15 16:37 ` Torsten Wagner
2011-11-15 16:56 ` Eric Schulte
2011-11-15 17:13 ` Thomas S. Dye
2011-11-15 18:22 ` Eric Schulte
2011-11-15 17:24 ` Rainer M Krug
2011-11-08 9:41 ` Sebastien Vauban
2011-11-08 9:44 ` Rainer M Krug
2011-11-08 16:01 ` Eric Schulte
2011-11-02 21:05 ` Samuel Wales
2011-11-02 21:21 ` Samuel Wales
2011-11-03 1:42 ` Bastien
2011-11-03 8:19 ` Christian Moe
2011-11-03 18:34 ` Eric Schulte
2011-11-03 18:59 ` Eric Schulte
2011-11-09 17:40 ` Samuel Wales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4eb93fd2.035f650a.6940.7d55@mx.google.com \
--to=darcamo@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=r.m.krug@gmail.com \
--cc=wxhgmqzgwmuf@spammotel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.