help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Org to Markdown programmatically


From: Jean Louis
Subject: Re: Org to Markdown programmatically
Date: Wed, 5 May 2021 14:58:03 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2021-05-05 10:23]:
> Oh, I found the most amazing tool - on Android of all places,
> it was called a SEO tool but it actually went thru the whole
> page, all aspects, even language and style, but of course also
> the old SEO things like header-body congruence and all that.
> 
> Anyway found lots of small mistakes that I corrected. I run it
> on all my blog post pages - and this article by far scored the
> highest, 79%
> 
>   https://dataswamp.org/~incal/blog/box-10/marco-antonio-barrera.html

Scored for which term?

> >   (let ((my-keywords '("TODO" hi-yellow
> >                    "DONE" hi-green
> >                    "URGENT" hi-red-b)))
> >     (while my-keywords
> >       (let ((keyword (pop my-keywords))
> >         (highlight (pop my-keywords)))
> >     (highlight-regexp keyword highlight)))))
> 
> Hahaha, creative! :)
> 
> But go get yourself a proper loop, will you :)

For me, proper loops in Emacs Lisp are `while' and mapping
functions. It gives me more clarity due to old habbits.

`dolist' and `dotimes', or cl-loop, I will never use in Emacs Lisp. I
may use it in Common Lisp. But there is bunch of it to be converted
yet.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]