Ivanov Dmitry wrote:
>I modified the scheme and the function. I think, that these 2 if-s
>just complicate the code for comprehension: we have 3 cases, for each
>of them we should return the appropriate value.
Yes, `cond' is more suitable here.
>All the tests work fine with the new version.
>When
Ivanov Dmitry wrote:
>Thanks, David. I improved the scheme, added 2 question. Please, take a look.
1/
,
| 09. (if (or (equal "(" (substring prop 0 1)) (equal "'"
(substring prop 0 1)))
|
| vs.
|
| 09. (if (string-match "^'?(.*)$" prop)
`
I wouldn't call it a flaw
Thanks, David. I improved the scheme, added 2 question. Please, take a look.
org-collector.pdf
Description: Adobe PDF document
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/m
I modified the scheme and the function. I think, that these 2 if-s just
complicate the code for comprehension: we have 3 cases,
for each of them we should return the appropriate value.
Here is my variant of the function, including the fix, that you suggested:
(defun org-read-prop (prop)
"C
Hi Ivanov,
Ivanov Dmitry wrote: >Hi, Eric. I decided to draw schemes for
functions in your module org-collector.el. And started from
org-read-prop. Please, check my pdf file - my questions are marked
with green. If there are no attachments allowed in the mailing list,
you can get it here:
>http:/
Hi, Marcelo.
I used Visio. Then saved as Postscript and converted to pdf, using ps2pdf.
___
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
Hi, Eric. I decided to draw schemes for functions in your module
org-collector.el. And started from org-read-prop. Please, check my pdf file -
my questions are marked with green. If there are no attachments allowed in the
mailing list, you can get it here:
http://live-wtr.ru/org/org-collector.p
Eric Schulte wrote:
> > I presume that paredit is useful because it's a minor mode, so you can
> > enable it on an org-mode buffer (e.g. using babel).
>
> No, even for emacs-lisp code blocks I use C-c ' to edit the code in
> emacs-lisp mode. I do have "[" and "]" globally bound to
> `insert-par
Hi Nick,
Nick Dokos writes:
> Eric Schulte wrote:
>
>> ...
>> If you are going to do any serious work with lisp, I would emphatically
>> recommend using paredit-mode, and becoming friends with the Sexp
>> movement functions
>> ++
>> | C-M-f | runs th
Eric Schulte wrote:
> ...
> If you are going to do any serious work with lisp, I would emphatically
> recommend using paredit-mode, and becoming friends with the Sexp
> movement functions
> ++
> | C-M-f | runs the command paredit-forward |
> |---
Ah, heck, just forgot:
Casting Spells in Lisp
http://www.lisperati.com/casting.html
Comic book about programming in Lisp, Emacs Lisp Version available.
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
pgpfQkHRmtNAJ.pgp
Description: PGP signatur
Eric Schulte wrote:
>[1 ]
>So,
>The way that I learned how to program in emacs lisp was mainly using two
>commands `elisp-index-search' bound to `C-h e' on my system, and most
>importantly `describe-function' bound to `C-h f'. With
>`describe-function' you can look at the source code of function
So,
The way that I learned how to program in emacs lisp was mainly using two
commands `elisp-index-search' bound to `C-h e' on my system, and most
importantly `describe-function' bound to `C-h f'. With
`describe-function' you can look at the source code of functions whose
behavior you are familia
Hi, can anyone give me a tutorial for org-mode programming and it's API.
I just read Eric Schultes module org-collector.el, but I can't understand the
code: how it is organized and how to write the elisp for org-mode.
Can anyone help?
___
Emacs-orgm
14 matches
Mail list logo