Re: [O] orgmode as a transcription tool?

2015-02-02 Thread Basile (The Flammable Project)
Hello,

You should have a look at EMMS. It's suite easy to setup on linux. But if
you are using a MS Windows OS, it does requiert more settings. But
everything you light ne controlable within Emacs.

Regards,

Basile
Le 3 févr. 2015 06:27, Russell Adams rlad...@adamsinfoserv.com a écrit :

 On Mon, Feb 02, 2015 at 11:23:25PM -0600, Bill White wrote:
  Today I was looking for a tool to ease my transcription of a recording
  of a half-hour appointment with a doctor.
 
  Googling led to https://transcribe.wreally.com/ for the job - it really
  works well, and it seems like something orgmode should be able to do.
 
  The idea is to unite a media player with a text-editing window.  Certain
  commands issued *while in the text window* will operate on the media
  player: pause, go back or ahead 2 seconds, slow down, speed up, etc.
  Uniting the two eliminates constant switching between a media player and
  a text editor - it's all integrated and controllable without switching
  windows.
 
  From
 https://transcribe.wreally.com/guide/how-to-transcribe-audio-interviews-faster/
   The advantage of using Transcribe over a conventional text editor +
   media player approach is that you don’t have to lift your hands-off
   the keyboard at all. You can control the audio with your keyboard
   while simultaneously typing into the built-in text editor.
 
  Could orgmode do something like that?

 I don't see why not. Emacs could, or perhaps your audio program or
 window manager. I use xbindkeys and a few commands to control mpd
 (music daemon) and skip tracks, change volume, etc. Emacs has
 frontends to the same.

 --
 Russell Adamsrlad...@adamsinfoserv.com

 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3




Re: [O] A tutorial on using ox-rss.el to publish an Emacs-made blog

2013-09-28 Thread flammable project
that's ok! This is my mailbox for my website. I will take care to add my
true name each time I will send a reply.

Regards,

Basile


2013/9/27 Bastien b...@gnu.org

 Suvayu Ali fatkasuvayu+li...@gmail.com writes:

  On Fri, Sep 27, 2013 at 03:38:01PM +0200, Bastien wrote:
  Hi flammable (?),
 
  The post was signed Basile.  :-p

 Yep, sorry Basile !

 --
  Bastien




Re: [O] build errors on os x

2013-09-26 Thread flammable project
same on Ubuntu 13.04, with Emacs 24.3.1


2013/9/26 Longmin WANG longminw...@gmail.com




 On Thu, Sep 26, 2013 at 3:32 PM, Alan Schmitt 
 alan.schm...@polytechnique.org wrote:

 skip.coll...@gmail.com writes:

  The problem persists. Can anyone else confirm? Perhaps this should be
  added to the bug tracker file. For the record, my local.mk file is:
  EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs
  prefix = /usr/local/share
 
  On Tue, Sep 24, 2013 at 11:11 AM, Skip Collins skip.coll...@gmail.com
 wrote:
 
  For the last few days, building org with make up2 results in the
  following failed tests with Emacs for Mac OS X 24.3.1:
 
  Ran 456 tests, 448 results as expected, 8 unexpected (2013-09-24
 10:59:21-0400)
  5 expected failures
 
  8 unexpected results:
 FAILED  test-ob/org-babel-remove-result--results-code
 FAILED  test-ob/org-babel-remove-result--results-default
 FAILED  test-ob/org-babel-remove-result--results-html
 FAILED  test-ob/org-babel-remove-result--results-latex
 FAILED  test-ob/org-babel-remove-result--results-list
 FAILED  test-ob/org-babel-remove-result--results-org
 FAILED  test-ob/org-babel-remove-result--results-pp
 FAILED  test-ob/org-babel-remove-result--results-wrap

 I'm seeing the same errors here, using the emacs from
 https://github.com/railwaycat/emacs-mac-port

 Alan


 Same errors here both on os x and gentoo.

 Longmin

 --
 Longmin Wang (http://math.nankai.edu.cn/~wanglm/)
 Nankai University, 94 Weijin Road, Tianjin 300071, P. R. China
 http://math.nankai.edu.cn/~wanglm/



Re: [O] A tutorial on using ox-rss.el to publish an Emacs-made blog

2013-09-26 Thread flammable project
Hi all,

Since I use ox-rss to generate my rss feed, I would like to make some
clarification:

* EMACS
You need to have an Emacs version greater than 24.2.1. The function
'url-encode-url' must be present to generate successfully the RSS feed. Since
I'm using Xubuntu 13.4. I had to add the PAA of Damien CASSOU to my apt
config. Then I installed Emacs 24.3.1. The command 'url-encode-url' was
listed in.

* ORG Files
You should take care about the PROPERTIES section you use in your org_files
or section used to generate the RSS feeed.

the CATEGORY might be usefull to manage multiple feeds. Personnaly I don't
try it but with Liferea RSS reader this option is visible.
Personnaly, I put the same date for the DATE and PUBDATE options. The date
are correctly displayed in my RSS reader.

E.G:
8X-cut here--
* HEADER ON
:PROPERTIES:
:DATE: 2012-10-12 Fri
:PUBDATE: 2012-10-12 Fri
:CATEGORY: Blog
:END:

BLABLABLA
BLABLABLA
BLABLABLA
8X-cut here--

Regards,

Basile





2013/9/26 Detlef Steuer detlef.ste...@gmx.de

 On Wed, 25 Sep 2013 17:58:51 +0200
 Carsten Dominik carsten.domi...@gmail.com wrote:

  +1.  Tis is the post that might put me over the edge and try it.


 +1. Same status here.

 Detlef

 
  - Carsten





[O] How to easily create a new export engine...

2013-09-03 Thread flammable project
Hi all,

I'm looking for informations on how to create a new exporter based on the
new export engine.

I want to convert org files into HTML files in which some functions from
Twitter Bootstrap framework will be instantiated via Emacs and Org-Mode.

I'm quite fustrated because the org-export_generic.el file is obsolete and
I tried to use ox.el ox-ascii.el files but I was discouraged by their heavy
contents.

Could you please tell how to easily find a good starting point ?

Thanks

Basile


Re: [O] How to easily create a new export engine...

2013-09-03 Thread flammable project
Thanks Nocolas and Suvayu,


I will spend some time on ox-md.el and the section listed by Nicolas.

One last question:
If I choose to extend the existing back-end, would I be able to put all the
code into a external file and allow the user to load it through it emacs
config file?
I mean, I would like to add a support of Twitter Bootstrap trough the
ox-html.el export engine. If the user add (require 'ox-html-bootstrap)
into its .emacs file, it will allow the user to extend the ox-html export
engine.
Does it seems possible?

Thanks






2013/9/3 Nicolas Goaziou n.goaz...@gmail.com

 Hello,

 Suvayu Ali fatkasuvayu+li...@gmail.com writes:

  On Tue, Sep 03, 2013 at 03:37:05PM +0200, flammable project wrote:
  Hi all,
 
  I'm looking for informations on how to create a new exporter based on
 the
  new export engine.
 
  I want to convert org files into HTML files in which some functions
 from
  Twitter Bootstrap framework will be instantiated via Emacs and Org-Mode.
 
  I'm quite fustrated because the org-export_generic.el file is obsolete
 and
  I tried to use ox.el ox-ascii.el files but I was discouraged by their
 heavy
  contents.
 
  Could you please tell how to easily find a good starting point ?
 
  You could take a look at ox-md.el; it derives from ox-html.el.  Since
  you want to add to ox-html.el, that might be a nice starting point.
 
  Needless to say, you should probably wait for Nicolas's comment.  He is
  the expert, I'm just a user who looks at the source from time to time
  ;).

 The OP could also look at 12.13 Advanced configuration from Org
 manual. There's an example on how to extend an existing back-end.

 There's also `org-export-define-derived-backend' docstring.

 If the new exporter is not meant for public consumption and would always
 be used instead of regular html back-end, defadvices are also fine.


 Regards,

 --
 Nicolas Goaziou




Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-11 Thread flammable project
So here we are,

The package provided in (X)ubuntu 13.4 is this one : GNU Emacs 24.2.1
(i686-pc-linux-gnu, GTK+ Version 3.6.4) of 2013-04-09 on komainu, modified
by Debian.

I tried C-h f url-encode-url RET but wihout the expected results.

I tried to find something with google and I seems that the version of Emacs
must greater than 24.2.1.
I used the PAA for Damien CASSOU, install Emacs 24.3.1. The command
'url-encode-url' was listed in.

I tried both org-rss-export-as/to-rss and it worked. I also tested the
 org-publish-project-alist approach with success.

So my problem comes from the Emacs version. Thanks for your help!


2013/7/11 Bastien b...@gnu.org

 flammable project flammable.proj...@gmail.com writes:

  Any ideas?

 Can you check if you have `url-encode-url'?

 C-h f url-encode-url RET

 will tell you.  It is an autoloaded function, so you
 don't need to (require 'url-util), but if you can browse
 your Emacs sources, it should be in there.

 HTT,

 --
  Bastien



Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread flammable project
OK so let's move on Emacs 24...

Thanks for the rapid answer!

Basile


2013/7/10 Bastien b...@gnu.org

 flammable project flammable.proj...@gmail.com writes:

  I'm trying to use ox-rss to generate a rss feed but I'm facing an
  error :
 
  let*: Symbol's function definition is void: url-encode-url

 Mh, yes, `url-encode-url' is not available in Emacs 24.1.

 I just mentioned this in the comment section, thanks for reporting
 this problem.

 2012-05-09  Chong Yidong  c...@gnu.org

 * url-util.el (url-encode-url): New function for URL quoting.

 --
  Bastien



Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-10 Thread flammable project
Ok so mow I tried GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 3.6.4)
of 2013-04-09 on komainu, modified by Debian but with the same issue.

here is my .emacs config:

;;
;; ORG Mode
;;
(setq load-path (cons ~/.emacs.d/org-mode/lisp load-path))
(setq load-path (cons ~/.emacs.d/org-mode/contrib/lisp load-path))
(require 'org-install)
(require 'ox-rss)
;; Auto load OrgMode with *.org files
(add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
;;
;; EXPORT
;;
;; Don't use postamble to exported HTML
(setq org-export-html-postamble nil)

;; re-export everything regardless of whether or not it's been modified
(setq org-publish-use-timestamps-flag nil)
;;
;; ORG publish function
;;
(setq org-publish-project-alist
   '(
 (orgfiles
   :base-directory /home/x/Dropbox/website/src/
   :base-extension org
   :publishing-directory /home/x/Dropbox/website
/public_html/
   :recursive t
   :html-postamble nil
   :publishing-function org-html-publish-to-html)



  (images
   :base-directory /home/x/Dropbox/website/src/
   :recursive t
   :base-extension jpg\\|gif\\|png\\|ico
   :publishing-directory /home/x/Dropbox/website
/public_html/
   :publishing-function org-publish-attachment)

  (style
   :base-directory /home/x/Dropbox/website/src/
   :recursive t
   :base-extension js\\|css\\|otf\\|eot\\|svg\\|ttf\\|woff
   :publishing-directory /home/x/Dropbox/website
/public_html/
   :publishing-function org-publish-attachment)

   (sessions
   :base-directory /home/x/Dropbox/website/src/sessions/
   :base-extension css\\|js\\|png
   :publishing-directory /home/x/Dropbox/website
/public_html/sessions/
   :publishing-function org-publish-attachment)

   (rss_posts
:base-directory /home/x/Dropbox/website/src/posts/
:base-extension org
:rss-image-url http://..free.fr/fp_icon.png;
:html-link-home http://..free.fr;
:rss-extension xml
:publishing-directory /home//Dropbox/website/public_html/posts/
:publishing-function (org-rss-publish-to-rss)
:section-numbers nil
:exclude .*
:include (index.org)
:table-of-contents nil)

  (website :components (orgfiles images style
sessions rss_posts))
 )
   )


Any ideas?



2013/7/10 flammable project flammable.proj...@gmail.com

 OK so let's move on Emacs 24...

 Thanks for the rapid answer!

 Basile


 2013/7/10 Bastien b...@gnu.org

 flammable project flammable.proj...@gmail.com writes:

  I'm trying to use ox-rss to generate a rss feed but I'm facing an
  error :
 
  let*: Symbol's function definition is void: url-encode-url

 Mh, yes, `url-encode-url' is not available in Emacs 24.1.

 I just mentioned this in the comment section, thanks for reporting
 this problem.

 2012-05-09  Chong Yidong  c...@gnu.org

 * url-util.el (url-encode-url): New function for URL quoting.

 --
  Bastien





Re: [O] RSS back-end: blogging with Org-mode is now easy

2013-07-09 Thread flammable project
Hi Bastien,

I'm trying to use ox-rss to generate a rss feed but I'm facing an error :

*let*: Symbol's function definition is void: url-encode-url*
*
*
I use the latest git commit, with Emacs 23.4.1 on Xubuntu 13.04

Here is the file I want to export as RSS Feed.

---8
#+RSS_EXTENSION: xml
#+RSS_IMAGE_URL: http://..free.fr/rss_icon.png
#+HTML_LINK_HOME: http://..free.fr/

* [[file:2013_10_12.org]]:Blog:
:PROPERTIES:
:PUBDATE: 2013-05-12 Sat
:ID:   9e49dacc-00a6-4f5a-9aef-59e881f84faf
:END:


* [[file:2013_03_28.org]]   :Blog:
:PROPERTIES:
:PUBDATE: 2013-03-28 Thu
:ID:   c3e0e2fb-114c-4300-abf1-f9f0b06cb2c4
:END:

---8

Here is the 2013_05_12.org file :

---8
* Title of the Blog post for 2013_05_12

dcsdcdscsc
dcsdcsdd

---8

Here is the 2013_03_28.org file:
---8
* Title of the Blog post for 2013_03_28

nhnghngn
nhgnhnhngh
---8

when I use org-export-rss-as/to-rss I have the same error : *let*: Symbol's
function definition is void: url-encode-url*


I also tried to use the project alist approach.
---8

(add-to-list
  'org-publish-project-alist
  '(homepage_rss
:base-directory ~/website/src/posts/
:base-extension org
:rss-image-url http://..free.fr/rss_icon.png;
:html-link-home http://..free.fr/;
:rss-extension xml
:publishing-directory ~/website/public_html/
:publishing-function (org-rss-publish-to-rss)
:section-numbers nil
:exclude .*
:include (index.org)

:table-of-contents nil))

---8


Same error.

Bastien, could you please provide an exampl to illustrate the OX-RSS export
engine?

Thanks

Basile


2013/3/15 Bastien b...@altern.org

 Hi all,

 I added ox-rss.el, a rudimentary RSS 2.0 export back-end:

 http://orgmode.org/cgit.cgi/org-mode.git/plain/contrib/lisp/ox-rss.el?id=137207

 See the commentary section for instructions on how to use it.

 Basically, the idea is to define a new publishing project that
 will take care of publishing a .xml RSS 2.0 feed.

 Blog posts are top-level headlines.

 One possibility to use this for a blog is to maintain an .org
 file with the summary of your headlines in a separate files as
 top-level entries, then to export this file as a RSS feed that
 you can link anywhere else on your website.

 I plan to include this in 8.0 unless it's too buggy or useless.

 Please test this heavily and let me know if it works for you!

 Thanks,

 --
  Bastien





Re: [O] How to omit h1 title heading in HTML export?

2013-06-04 Thread flammable project
Hi,

Here is what I usely do, I ommit (left blank) the content beside the
#+TITLE: option.

Maybe it will help you!

Regards,

Basile


2013/6/3 * viki.ve...@gmail.com

 Dear list

 When exporting an Org-mode file to HTML, I have noticed the following:
 the first child of the div with id=content is an h1 heading enclosing
 the filename (minus extension), or the value of TITLE keyword.

 How can I keep HTML export from producing this h1 heading?

 For instance say I have a homepage.org file, and that I export this
 file to HTML with default settings. In the exported HTML file, I would
 find the following snippet:

 body
 div id=content
 h1 class=titlehomepage/h1
 div id=table-of-contents

 For what I'm doing, it would be better if the exported file didn't
 include the line
 h1 class=titlehomepage/h1

 How can I tell HTML export to not put this line in the file that it
 produces?

 At the moment my fix is some CSS...
 div#content  h1:first-child { display: none; }

 I'm using Org-mode version 8.0.3, Emacs 24.3.1

 Best...




Re: [O] How to automatic list org files via Elisp and then, import them for an HTML export

2012-10-29 Thread flammable project
Ho!

I was thinking that giving the more details will eliminated doubts and
misunderstanding.

So to be clear enough, there was two questions in my previous message:

1/ In E-LISP, how to parse a directory containing Org files and import them
with the #+INCLUDE function?

I used those two functions. They parsed the directory and listed the org
files. But my lake of skills in elisp programming is obvious!
#+BEGIN_SRC emacs-lisp :exports results
(let ((default-directory ~/path/to/the/directory/posts/))
(file-expand-wildcards ?org))
#+END_SRC

#+BEGIN_SRC emacs-lisp :exports results
(directory-files ~/path/to/the/directory/posts/
 nil
 \\.org\\')
#+END_SRC



2/ When I use #+INCLUDE for org files, the exporter mixed the hierarchy
in the HTML generated. Each time I used :minlevel 1 as argument but the
exporter seem to create a sub-level of hierarchy, which doesn't represent
the true hierarchy in the imported org files? Is it a bug?

I hope it's minimal enough now! Thanks Bastien for Org Mode and helps!

Basile







2012/10/27 Bastien b...@altern.org

 Hi Flammable (!),

 flammable project flammable.proj...@gmail.com writes:

  If someone can help me to do this I will really appreciate!

 I think we will be able to help with a more limited example.
 Keep it minimal, if possible...

 Thanks in advance,

 --
  Bastien



[O] How to automatic list org files via Elisp and then, import them for an HTML export

2012-10-26 Thread flammable project
Hi All,

Since I use Orgmode 7.9.2, I tri to do this:
- parsing a directory in which several Org files are located. Basically,
each files is a blog post. So one org file pear day.
- import or include them in a main ORG file (index.org)
- export the main Org file to HTML to create a website.

To be more clear, this is the directory structure I build.
/website/
+- index.org
|
+/blog-posts/
+ 2012_10_12.org
+ 2012_10_09.org

Here is a typical post org file:

8---CUT HERE
*Post title

blala c'est la crise

8--- CUT HERE

Here is the index.org
8---CUT HERE
#+SETUPFILE: ../templates/level-0.org
#+INCLUDE: ../templates/level-0.org

#+TITLE: Home

#+OPTIONS: toc:nil H:3 num:nil

# home
* Home
Welcome in ..
...
...

* Latest Articles 1

#+BEGIN_SRC emacs-lisp :exports results
(let ((default-directory ~/path/to/the/directory/posts/))
(file-expand-wildcards ?org))
#+END_SRC

#+BEGIN_SRC emacs-lisp :exports results
(directory-files ~/path/to/the/directory/posts/
 nil
 \\.org\\')
#+END_SRC


* Latest Articles 2
** Test 1

#+INCLUDE: ./posts/2012_10_12.org
#+INCLUDE: ./posts/2012_10_09.org

** Test 2

#+INCLUDE: ./posts/2012_10_12.org :minlevel 2
#+INCLUDE: ./posts/2012_10_09.org :minlevel 2

** Test 3

#+INCLUDE: ./posts/2012_10_12.org :prefix1 * 
#+INCLUDE: ./posts/2012_10_09.org :prefix1 * 

* Latest Articles 3

#+BEGIN_EXAMPLE
#+INCLUDE ~/Dropbox/Private/The_Flammable_project/wx-fp/posts/2012_10_09.org
#+END_EXAMPLE

* Latest Articles 4

#+BEGIN_SRC  :exports results :results output
cat ./posts/2012_10_12.org
#+END_SRC

8--- CUT HERE

Here is the status of my trial after doing org-publish-project:

- Latest trials 1 : this elisp code parses the right directory but I don't
know how to import the result the elisp function and  them use #+INCLUDE:
them as org files. If someone can help me on that? I really like to do what
I want with elisp, more powerfull solution.

- Latest trials 2 : the #+INCLUDE command includes the content of each
files but in the 3 sub-tests the hierarchy is completely meesed up, like
this
* Latest Articles 2
** 2012_10_12 Post title 
 blablabla from post 2012_10_12.org file
*** 2012_10_09 Post tile
 blabla from post 2012_10_09.org file

the second included files is put under another level of hierarchy even if
the command :minlevel X or :prefix1 are used.
Gentleman's any suggestion?

- Latest Articles 3  4 : Not working at all.

Here we are! The HTML export is working very well. So it's not a problem of
export.
If someone can help me to do this I will really appreciate!

Thanks