[Orgmode] keeping track of sent emails in org?

2008-10-27 Thread Bill White
Hi all -

I'm looking into porting my planner/muse/gnus infrastructure to org.
One indispensible bit of code in my current system writes a gnus message
link in the current day's planner file every time I send a message from
gnus.  It uses Sacha Chua's sacha/planner-gnus-track-sent method here:

http://sachachua.com/notebook/wiki/2006.08.10.php#anchor-3
http://article.gmane.org/gmane.emacs.wiki.general/6017

Has someone already written something like this for org?  Perhaps a
remember-like mechanism that writes a link to, say, Email.org?  Perhaps
messages could be filed under date headlines:

* Sunday, October 26, 2008
** message 1 recipient:subject
[link] (or contents?)
** message 2 recipient:subject
[link] (or contents?)

or somesuch.

Thanks for any thoughts about this -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] keeping track of sent emails in org?

2008-10-27 Thread Bill White
On Mon Oct 27 2008 at 13:11, Eric Schulte [EMAIL PROTECTED] wrote:

 Sebastian Rose [EMAIL PROTECTED] writes:

 Hi Bill,

 to add links to autgoing mails automatically, adding a link to such a
 mail once should be enough, to add the right funciton to your
 'mail-send-hook' (?? don't no which hook really...) since it's just a
 question of the link format.


 It seems like this could get complicated as it depends on how/where
 you store your sent messages.  Also, it looks like org-mode links rely
 on the gnus group, and article id to link back to an article, so
 somehow you would need a hook which runs after the sent article has
 been saved into a group and given an ID.  

Ah ha!  Something was bugging me about org's links to gnus messages.

From what I've seen so far in my cursory tours of org, links to gnus
nnml messages are, by default, of the form group#nnmlFileName rather
than messageID.  Message-ID is known and retrievable when gnus calls
message-sent-hook (which is how Sacha's link auto-filer works), but I'm
not sure the nnml filename is known at that point.

Can org create message-id links to gnus messages?  (sorry, that's
probably a FAQ)

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] keeping track of sent emails in org?

2008-10-27 Thread Bill White
On Mon Oct 27 2008 at 16:35, Carsten Dominik [EMAIL PROTECTED] wrote:

 On Oct 27, 2008, at 10:17 PM, Bill White wrote:

 On Mon Oct 27 2008 at 13:11, Eric Schulte [EMAIL PROTECTED]
 wrote:

 Sebastian Rose [EMAIL PROTECTED] writes:

 Hi Bill,

 to add links to autgoing mails automatically, adding a link to
 such a
 mail once should be enough, to add the right funciton to your
 'mail-send-hook' (?? don't no which hook really...) since it's
 just a
 question of the link format.


 It seems like this could get complicated as it depends on how/where
 you store your sent messages.  Also, it looks like org-mode links
 rely
 on the gnus group, and article id to link back to an article, so
 somehow you would need a hook which runs after the sent article has
 been saved into a group and given an ID.

 Ah ha!  Something was bugging me about org's links to gnus messages.

 Can Gnus in general find messages by message-id?  Then it would be
 nice if we could do that.  I believe the mhe interface does use
 message-id already, maybe others too.

I know this link, generated by remember, works from planner:

[[gnus://nnml:wri.d-wpt/[EMAIL PROTECTED]][E-Mail from Soandso]]

And this, generated from Sacha's code, also works from planner:

[[gnus://nnml:archive.2008-10/[EMAIL PROTECTED]][Eric Schulte: Re: 
%5BOrgmode%5D keeping track of sent emails in org?]]

(I store this month's outgoing mail in ~/Mail/archive/2008-10)

I don't know how planner's gnus:// link works, though.

 Maybe some gnus-enables person would like to look into this and create
 patches?

Gnus-enabled and time-enriched :-)

 - Carsten

 From what I've seen so far in my cursory tours of org, links to gnus
 nnml messages are, by default, of the form group#nnmlFileName
 rather than messageID.  Message-ID is known and retrievable when
 gnus calls message-sent-hook (which is how Sacha's link auto-filer
 works), but I'm not sure the nnml filename is known at that point.

 Can org create message-id links to gnus messages?  (sorry, that's
 probably a FAQ)

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] keeping track of sent emails in org?

2008-10-27 Thread Bill White
On Mon Oct 27 2008 at 16:59, Carsten Dominik [EMAIL PROTECTED] wrote:

 On Oct 27, 2008, at 10:49 PM, Bill White wrote:

 On Mon Oct 27 2008 at 16:35, Carsten Dominik
 [EMAIL PROTECTED] wrote:

 On Oct 27, 2008, at 10:17 PM, Bill White wrote:

 On Mon Oct 27 2008 at 13:11, Eric Schulte [EMAIL PROTECTED]
 wrote:

 Sebastian Rose [EMAIL PROTECTED] writes:

 Hi Bill,

 to add links to autgoing mails automatically, adding a link to
 such a
 mail once should be enough, to add the right funciton to your
 'mail-send-hook' (?? don't no which hook really...) since it's
 just a
 question of the link format.


 It seems like this could get complicated as it depends on how/where
 you store your sent messages.  Also, it looks like org-mode links
 rely
 on the gnus group, and article id to link back to an article, so
 somehow you would need a hook which runs after the sent article has
 been saved into a group and given an ID.

 Ah ha!  Something was bugging me about org's links to gnus messages.

 Can Gnus in general find messages by message-id?  Then it would be
 nice if we could do that.  I believe the mhe interface does use
 message-id already, maybe others too.

 I know this link, generated by remember, works from planner:

 [[gnus://nnml:wri.d-wpt/[EMAIL PROTECTED]][E-Mail from
 Soandso]]

 And this, generated from Sacha's code, also works from planner:

 [[gnus://nnml:archive.2008-10/[EMAIL PROTECTED]][Eric
 Schulte: Re: %5BOrgmode%5D keeping track of sent emails in org?]]

 (I store this month's outgoing mail in ~/Mail/archive/2008-10)


 I don't know how planner's gnus:// link works, though.

 This looks to me that the link needs to know in which group the
 message is located, so such links will probably get broken when you
 move the message.  So when you create the link in a group, then move
 it to a different group or folder, does the link then still work?

I don't know - I never do that.  Just a minute [fiddles with files...]

So I went to the archive group in gnus, moved the message to nnml:temp
via 'B m', then clicked the planner link to that message.

The code called by the link eventually calls 

   (gnus-summary-goto-article article-id nil t)

where article-id is, in my case, the message-id.  Somehow, gnus found
that message and displayed it *in the archive group* (with an article ID
number of -1) even though it isn't in that group anymore and I don't
have gnus-registry enabled.  There lurk gnus mysteries.

Dunno whether that helps :-/

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] keeping track of sent emails in org?

2008-10-28 Thread Bill White
On Tue Oct 28 2008 at 12:58, Carsten Dominik [EMAIL PROTECTED] wrote:

 Hi,

 I think there are interesting ideas coming up in this tasks, in
 particular the question if message IDs can be used to find articles in
 gnus, even if they have been moved around.  I am not sure if this
 questions has been fully answered, but I have not read the thread
 carefully enough yet, and certainly not tried Michaels code.

 Right now I would like to take a little step back and understand
 better what the original poster is trying to do.

I'm the OP; I think you captured it well in the rest of your message.
Using planner/muse, I've come to think of the day page as the
fundamental unit of information (though I suppose it can be used in
other ways).  What I do today is recorded on today's page - outgoing
emails, notes, remember records; also, any planner items/projects/etc
marked as 'done' are left behind on today's page.  When a new day page
is generated, all ongoing projects from the previous day migrate like a
herd of elephants across the savannah to the new day page.

My main use of that day-based information is in writing weekly and
monthly reports - a collection of stuff I've done that I and others may
find helpful now and in the distant future when all details have been
forgotten.

It seems to me so far that org doesn't have the same notion of a day
page; perhaps the fundamental unit of information is the note?  There
seems to be a certain 'timeless' quality to org pages, aside from
deadlines and schedules.  That timelessness is disconcerting when coming
from planner.

[...snip...]

 To me it seems that instead of creating a sequential list of links to
 emails for each day, it would be more interesting to create a way to
 collect links relating to a project or a task in the outline node of
 the project, or maybe in an attachment file of the project (if the
 list of emails is long).

Indeed.  There's surely no pressing need to implement a feature that
isn't useful in org's philosophy of the universe.  Perhaps if I can
switch over to org and begin to think in its ways, I'll find a useful
fundamental unit of information other than the day page and its
date-based contents.

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] exporting unnumbered section headings?

2008-11-23 Thread Bill White
Hi all -

Inspired by other posts on the list recently, I'm setting up an
org-based website.  So far I've been able to change everything to suit
me except numbered html section headings - I'd prefer unnumbered
headings, if possible.  For example, this:

   WRI stuff
   Emacs stuff

instead of this:

   1 WRI stuff
   2 Emacs stuff

Or at the very least, heading numbers like 1., 2. would be
preferable.  Is there a way to change this?

Versions:

 - GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
   2008-11-22 on billw-desktop
 - Org-mode version 6.13

Initialization:

(require 'org-publish)
(setq org-publish-project-alist
  '(
(org-notes
 :base-directory ~/org/
 :base-extension org
 :publishing-directory /var/www/org/
 :recursive t
 :publishing-function org-publish-org-to-html
 :headline-levels 4 ; Just the default for this project.
 :auto-preamble t
 )
(org-static
 :base-directory ~/org/
 :base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
 :publishing-directory ~/public_html/
 :recursive t
 :publishing-function org-publish-attachment)
(org :components (org-notes org-static))
  ))

Thanks -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: exporting unnumbered section headings?

2008-11-24 Thread Bill White
On Sun Nov 23 2008 at 20:41, Bill White [EMAIL PROTECTED] wrote:

 Hi all -

 Inspired by other posts on the list recently, I'm setting up an
 org-based website. 

Here's what I have so far: http://members.wolfram.com/billw (currently
using the worg css definitions).  

I'm looking for one of those css-switcher thingies to switch the page's
css file on the fly and redisplay with the new styles.  Does anyone
have such a thing?

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] exporting unnumbered section headings?

2008-11-24 Thread Bill White
On Sun Nov 23 2008 at 22:02, Sebastian Rose [EMAIL PROTECTED] wrote:

  :section-numbers nil

On Sun Nov 23 2008 at 23:29, Matthew Lundin [EMAIL PROTECTED] wrote:

 :section-numbers nil

Thanks guys!

Cheers -

bw
-- 
Bill White . [EMAIL PROTECTED] . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] newbie - gnus links/split windows/breadcrumbs

2009-02-10 Thread Bill White
Howdy -

I've finally taken the plunge into org-mode - I'm transferring my last 3
years of old planner/muse notes to org for its better html export and
its astounding rate of development.

So naturally I've found a few little things that bug me:

 - gnus hyperlinks open a new frame, rather than teleporting me to my
   running instance of gnus in the current frame.  Is it possible to
   keep things in one frame?  My gnus links are of the form

[[gnus:nnml:wri.d-wpt#87y719beqv@wolfram.com][e-mail to Joe Schmoe]]

 - C-o on an external link to another file in my ~/org results in a
   split window with the target file at the bottom.  Is it possible to
   open targets in the same window?  When I follow a trail of links to
   separate files (homepage - project homepage with hundreds of
   projects for my manager to read - details of a single project) I'm
   left with a tiny window and have to do C-x 1 to clean things up.

 - breadcrumbs: http://en.wikipedia.org/wiki/Breadcrumb_(navigation).  A
   link from, say, ~/org/projects.org, to a nonexistent file,
   [[file:blargh.org][blargh]], opens a buffer named blargh.org.
   Immediately after creating the new buffer, would it be possible to
   insert a link that points back to the calling page?  In this example,
   the following link would appear at the top of blargh.org:
   [[file:projects.org][projects.org]].

Thanks -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] newbie's one-week report

2009-02-12 Thread Bill White
I've been immersed in org-mode for a week now and I'm deeply impressed.

- I *feel* more in charge of my todo list
- I'm making better progress on projects and tracking that progress
  better
- org-mode actively helps me organize my thoughts and notes into orderly
  brain dumps and data piles that are easy to navigate and understand
- TODOs go right there among my brain dumps!
- my manager likes org-mode's html exports of my project pages (I'm
  using a slightly modified version of http://orgmode.org/worg/worg.css)
- it was ludicrously easy to adapt my work setup for home, where I now
  keep track of Important Stuff and check my agenda daily

Many thanks to Carsten and the org gang,

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Buffer *temp* modified; kill anyway?

2009-03-04 Thread Bill White
Hi all -

Buffer  *temp* modified; kill anyway? is driving me nuts.

Has anyone seen this error message when html-exporting pages that
contain #+begin_src ?  I get this once for every #+begin_src
... #+end_src group on a page.  I assume it's coming from htmlize.el,
but I haven't been able to isolate the problem with edebug.  I'm using
the latest htmlize.el from
http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el

Any ideas what's going on and how to silence it?  If it weren't for this
I'd be able to publish without babysitting the process through
source-heavy files.

Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Buffer *temp* modified; kill anyway?

2009-03-04 Thread Bill White
On Wed Mar 04 2009 at 12:38, Nick Dokos nicholas.do...@hp.com wrote:

 Bill White bi...@wolfram.com wrote:

 Hi all -
 
 Buffer  *temp* modified; kill anyway? is driving me nuts.
 
 Has anyone seen this error message when html-exporting pages that
 contain #+begin_src ?  I get this once for every #+begin_src
 ... #+end_src group on a page.  I assume it's coming from htmlize.el,
 but I haven't been able to isolate the problem with edebug.  I'm using
 the latest htmlize.el from
 http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el
 
 Any ideas what's going on and how to silence it?  If it weren't for this
 I'd be able to publish without babysitting the process through
 source-heavy files.
 

 Bill,

 I just tried exporting the following:

 ,
 | * Lisp source code
 | 
 | #+begin_src emacs-lisp
 | (defun org-xor (a b)
 |  Exclusive or.
 |  (if a (not b) b))
 | #+end_src
 `

 and did not have the problem you describe. Can you post a minimal example?

Here's one that triggers it:

,
| * Lisp source code
| 
| #+begin_src message
| From: Nick Dokos nicholas.do...@hp.com
| Subject: Re: [Orgmode] Buffer *temp* modified; kill anyway? 
| To: Bill White bi...@wolfram.com
| Cc: emacs-orgmode@gnu.org
| Date: Wed, 04 Mar 2009 13:38:32 -0500 (from Gnus)
| Reply-To: nicholas.do...@hp.com
| X-Sent: 1 hour, 9 minutes, 51 seconds ago
| Message-ID: 9344.1236191...@alphaville.usa.hp.com
| #+end_src
`

Interestingly, the message is not triggered when I use your example with
its #+begin_src emacs-lisp, nor does #+begin_src mma trigger
it (using Tim Wichmann's mma.el).

My versions are:
 - Org-mode version 6.23trans
 - GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-02-14 
on billw-desktop
 - htmlize-version 1.34
 - message.el version 1.169 (from the emacs cvs checkout above)

Thanks for the example - I didn't realize that some src modes didn't
trigger the problem.

Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Buffer *temp* modified; kill anyway?

2009-03-04 Thread Bill White
On Wed Mar 04 2009 at 16:26, Nick Dokos nicholas.do...@hp.com wrote:

 Nick Dokos nicholas.do...@hp.com wrote:

 Bill White bi...@wolfram.com wrote:
 
  On Wed Mar 04 2009 at 12:38, Nick Dokos nicholas.do...@hp.com wrote:
  
   Bill White bi...@wolfram.com wrote:
  
   Hi all -
   
   Buffer  *temp* modified; kill anyway? is driving me nuts.
   
   Has anyone seen this error message when html-exporting pages that
   contain #+begin_src ?  I get this once for every #+begin_src
   ... #+end_src group on a page.  I assume it's coming from htmlize.el,
   but I haven't been able to isolate the problem with edebug.  I'm using
   the latest htmlize.el from
   http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el
   
   Any ideas what's going on and how to silence it?  If it weren't for this
   I'd be able to publish without babysitting the process through
   source-heavy files.
   
  
   Bill,
  

 
 
 So I don't understand the difference in behavior between the two cases,
 but maybe this provides enough detail for a better elisper than me to
 understand and explain to the rest of us.
 

 OK - I think I know why: the mode of the temp buffer is set according
 to the language in the begin_src construct: emacs-lisp-mode in one
 case, message-mode (and a bunch of minor modes) in the other. The
 difference is that the latter associates the buffer with a file,
 whereas the former does not. It's that difference that makes
 kill-buffer behave differently.

 I suspect that the thing to do is to mark the buffer
 unmodified. Here's a patch:

That did it - what a relief!  Your elisp skills are pretty sharp.  I was
looking in entirely the wrong place to solve this.

Many thanks!

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] html export: row/column dividers in tables

2009-03-30 Thread Bill White
I recently found a need for visible dividers (or rules) between the
rows and columns of an org table exported to html.  The most recent
discussion of this that I could find on gmane was
http://article.gmane.org/gmane.emacs.orgmode/1709/match=table+rules+html
from 2007, which concluded that such rules weren't supported, so here's
a kludgey workaround I found today:

#+BEGIN_HTML
pre
|+++|
| a0 | b0 | c0 | d0 |
|+++|
| a1 | b1 | c1 | d1 |
|+++|
| a2 | b2 | c2 | d2 |
|+++|
/pre
#+END_HTML

It isn't pretty, but it works when you really need visual separation of
rows and columns.  Here's what it looks like in real life:

http://members.wolfram.com/billw/VerbatimTables.html

BTW, here's how I got the org-mode code sample onto the webpage:

#+begin_src org
#+BEGIN_HTML
pre
|+++|
| a0 | b0 | c0 | d0 |
|+++|
| a1 | b1 | c1 | d1 |
|+++|
| a2 | b2 | c2 | d2 |
|+++|
/pre
#+END_HTML
#+end_src

Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] html export of things that look like numbered lists

2009-05-23 Thread Bill White
How would you code a .org file to produce this sort of html page, which
contains items that look like numbered list elements?

http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html

In that page, a number at the beginning of a line indicates a paragraph
in the original work, so the exported html page needs to respect those
numbers.

Currently, org seems to assume that these are elements of a numbered
list, and renumbers the lines sequentially starting at 1.

Thanks -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] html export of things that look like numbered lists

2009-05-23 Thread Bill White
On Sat May 23 2009 at 14:30, Bill White bi...@wolfram.com wrote:

 How would you code a .org file to produce this sort of html page, which
 contains items that look like numbered list elements?

 http://press-pubs.uchicago.edu/founders/documents/v1ch2s1.html

 In that page, a number at the beginning of a line indicates a paragraph
 in the original work, so the exported html page needs to respect those
 numbers.

 Currently, org seems to assume that these are elements of a numbered
 list, and renumbers the lines sequentially starting at 1.

Here's one solution: write the paragraph numbers as =4.=, =5.=, etc.

Cheers -

bw, who sometimes has to ask the question in order to answer it
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] html export of src: extra newlines

2009-07-14 Thread Bill White
Org seems to insert extra newlines when exporting src to html.  You can
see the output at http://members.wolfram.com/billw/RomanCalendar.html
(search for gregorianFromAbsolute) - there's a large amount of vertical
space between the two function definitions.

Is there some way to avoid exporting all those newlines?

 - GNU Emacs 23.0.94.1 (i686-pc-linux-gnu, GTK+ Version 2.16.1) of
   2009-05-28 on billw-desktop
 - Org-mode version 6.27trans

Here's the relevant part of my .org file:

,
| #+begin_src mma
| absoluteFromGregorian[{year_Integer, month_Integer, day_Integer}] :=
|   DateDifference[epoch, {year, month, day}]
| 
| gregorianFromAbsolute[abs_Integer] := 
|   DatePlus[epoch, abs]
| #+end_src
`

I export the whole project via 'C-c C-e P' - here's the generated html:

,
| pre class=src src-mma
| span style=color: #ff;absoluteFromGregorian/span[{year_Integer, 
month_Integer, day_Integer}] :=
|   DateDifference[epoch, {year, month, day}]
| 
| 
| 
| span style=color: #ff;gregorianFromAbsolute/span[abs_Integer] := 
|   DatePlus[epoch, abs]
| /pre
`

Here's the relevant part of org-publish-project-alist:

,
| ;;
| (members.wolfram.com-org-notes
|  :base-directory ~/org/members.wolfram.com
|  :base-extension org
|  :publishing-directory ~/org/000-published/members.wolfram.com/
|  :recursive t
|  :publishing-function org-publish-org-to-html
|  :headline-levels 4 ; Just the default for this project.
|  :auto-preamble t
|  )
| (members.wolfram.com-org-static
|  :base-directory ~/org/members.wolfram.com
|  :base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
|  :publishing-directory ~/org/000-published/members.wolfram.com/
|  :recursive t
|  :publishing-function org-publish-attachment)
| (members.wolfram.com :components (members.wolfram.com-org-notes 
members.wolfram.com-org-static))
| ;;
`

Thanks!

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] html export of src: extra newlines

2009-07-14 Thread Bill White
On Tue Jul 14 2009 at 13:24, Dan Davison davi...@stats.ox.ac.uk wrote:

 Bill White bi...@wolfram.com writes:

 Org seems to insert extra newlines when exporting src to html.  You can
 see the output at http://members.wolfram.com/billw/RomanCalendar.html
 (search for gregorianFromAbsolute) - there's a large amount of vertical
 space between the two function definitions.

Argh!  I just now updated my org-mode and emacs, and all is well -
whatever caused the problem, it's gone now:
http://members.wolfram.com/billw/RomanCalendar.html

Next time, I'll be sure to try the latest version first.

Thanks for taking a look -

bw

 replicate this (org and html below). Maybe it would be revealing to
 try exporting the org buffer directly using C-c C-e h
 (org-export-as-html), and seeing if the problem occurs then with your
 setup?

 Dan

 Details
 ---
 I downloaded mma-mode just now from

 http://www.itwm.fhg.de/as/asemployees/wichmann/mma.html

 is that the same as yours?

 ,[ C-h v mma-version RET ]
 | mma-version is a variable defined in `mma.el'.
 | Its value is $Revision: 1.1 $
 | 
 | Documentation:
 | The Revision number of mma.el.
 | You should add this number when reporting bugs.
 | 
 | [back]
 `


Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [O] [WORG] How to ediff folded Org files?

2013-04-06 Thread Bill White
On Sat Apr 06 2013 at 17:24, Michael Brand michael.ch.br...@gmail.com wrote:

 But instead of the above I use this for ediff generally, it persists
 in Org mode:

You just solved the most annoying little usage problem I've had -
thanks!

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




[O] bug: /italic/ sometimes fails

2013-04-22 Thread Bill White
 - Org-mode version 8.0.1 (release_8.0.1-15-g0fff0b @ 
/home/billw/Dropbox/org/org-mode/lisp/)
 - GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri

Italicization fails when a doublequote character is adjacent to a slash.

This behavior is visible in an org-mode buffer, and is seen when
exporting the buffer to an HTML file.

These are italicized as expected:

/test/

/a test/

/a test a/

But these are not italicized:

/a test/

/a test/

/test/

/test/

/test/

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] bug: /italic/ sometimes fails

2013-04-22 Thread Bill White
On Mon Apr 22 2013 at 15:29, Bastien b...@gnu.org wrote:

 Hi Bill,

 Bill White bi...@wolfram.com writes:

  - Org-mode version 8.0.1 (release_8.0.1-15-g0fff0b @ 
 /home/billw/Dropbox/org/org-mode/lisp/)
  - GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on 
 wri

 Italicization fails when a doublequote character is adjacent to a
 slash.

 This is intended.

 You might want to have a look at the variable
 `org-emphasis-regexp-components'.

 Do carefully check the docstring of this variable

 C-h v org-emphasis-regexp-components RET

 it explains how to modify it.

Well heck, that variable is right there in the docs and I missed it:

To fine tune what characters are allowed before and after the markup
characters, you can tweak ORG-EMPHASIS-REGEXP-COMPONENTS.

Thank you!

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




[O] disable tangling for an entire section?

2013-05-06 Thread Bill White
Is there a simple way to disable tangling for an entire section's code
blocks?  Or to put it a different way, can tangling be toggled at the
section level and not just the code-block level?

I tried this:

** a section in my file
:PROPERTIES:
:tangle: no
:END:

by analogy from 
   #+PROPERTY: tangle yes
in (info (org) Header arguments in Org mode properties), but code
blocks in that section were still tangled.

Org-mode version 8.0.2 (release_8.0.2-61-g22dfa7 @ 
/home/billw/Dropbox/org/org-mode/lisp/)
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri

Thanks -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] disable tangling for an entire section?

2013-05-08 Thread Bill White
On Tue May 07 2013 at 07:23, Sebastien Vauban sva-n...@mygooglest.com wrote:

 Christian Moe wrote:
 Bill White writes:
 Is there a simple way to disable tangling for an entire section's code
 blocks? Or to put it a different way, can tangling be toggled at the
 section level and not just the code-block level?

 I tried this:

 ** a section in my file
 :PROPERTIES:
 :tangle: no
 :END:

 by analogy from 
#+PROPERTY: tangle yes
 in (info (org) Header arguments in Org mode properties), but code
 blocks in that section were still tangled.

 That should work, I think, and it does work for me (on 8.0.1).
 I cannot reproduce the problem.

 That must work, yes. Except if you have :tangle header arguments set
 on sub-subtrees, or on code blocks, of course.

Thank you Christian and Sebastien for your replies.

I was hoping that a higher-level setting would override all tangle
settings under it, no matter what they might be.  This would make it
possible to change an entire section's tangling without fussing with
each code block's setting.

For example, I had hoped that the following would disable tangling for
both code blocks, but for me[1] even under 'emacs -Q' the first block is
tangled:

* headline
:PROPERTIES:
:tangle:   no
:END:

#+begin_src perl :tangle yes
2 + 2
#+end_src

#+begin_src perl :tangle no
3 + 3
#+end_src

[1]:
Org-mode version 8.0.2 (release_8.0.2-61-g22dfa7 @ 
/home/billw/Dropbox/org/org-mode/lisp/)
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0) of 2013-03-11 on wri

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.





Re: [O] disable tangling for an entire section?

2013-05-13 Thread Bill White
On Mon May 13 2013 at 03:23, rai...@krugs.de (Rainer M. Krug) wrote:

 Christian Moe m...@christianmoe.com writes:

 I was hoping that a higher-level setting would override all tangle
 settings under it, no matter what they might be.  This would make it
 possible to change an entire section's tangling without fussing with
 each code block's setting.

 The status quo makes more sense, I think. It allows you to easily change
 an entire section's tangling but make specific exceptions that
 override the general setting.

 I agree with Christian here. But you could trick org into achieving
 what you want, in specifying a tangle target in the PROPERTIES sectio,
 given that you only use :tangle yes :

I wish I'd thought of that!  Many thanks -

bw



Re: [O] Tangle only current code block?

2012-10-08 Thread Bill White
On Sun Oct 07 2012 at 18:39, Eric Schulte eric.schu...@gmx.com wrote:

 Yann Le Du yann.ledu...@gmail.com writes:

 Hi,

 I have a bunch of code chunks with stuff like fun name and headers like
 :tangle toto.c exporting to different files in noweb style

 If I use C-c C-v t, it extracts all of those code chunks nicely

 However, sometimes I would like to put my cursor inside one of those code
 chunks and then extract only that one, not the others.

 Is there a simple way ?


 Yes, run the tangle with a prefix argument to tangle only the block
 under your cursor e.g., C-u C-c C-v t.

And you can tangle a consecutive subset of code blocks by narrowing your
org buffer to only those blocks before tangling.  It happens to me so
often I wrote a bit of code to avoid it.  From my emacs.org:

#+begin_src emacs-lisp :tangle yes
(defadvice org-babel-tangle (before widen-before-tangling)
  Widen a buffer before calling org-babel-tangle.
  (widen))

(ad-activate 'org-babel-tangle)
#+end_src

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




[O] navigating between non-code blocks?

2013-01-15 Thread Bill White
Has anyone thought about setting up navigation among any old kinds of
blocks, analogous to org-babel-next-src-block?

I've whipped up a dynamic block that displays a file's contents:

#+begin: file :file /ssh:server.example.com:/small/log/file1.txt
file1 contents
#+end:

#+begin: file :file /ssh:anotherserver.example.com:/small/log/file2.txt
file2 contents
#+end:

I sometimes have a lot of these in an org file and it would be handy
to navigate among them easily.  It seems that block navigation is set
up to work only with *code* blocks.

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] navigating between non-code blocks?

2013-02-08 Thread Bill White
On Fri Feb 08 2013 at 10:11, Bastien b...@altern.org wrote:

 Hi Bill,

 Bill White bi...@wolfram.com writes:

 I sometimes have a lot of these in an org file and it would be handy
 to navigate among them easily.  It seems that block navigation is set
 up to work only with *code* blocks.

 You now have 

 C-c C-F (`org-next-block') 
 C-c C-B (`org-previous-block')

 for navigating blocks.

 Thanks for the suggestion!

And thanks for implementing it.  One small code problem, though - I
think BLOCK-REGEXP should default to org-block-regexp.  Otherwise,
block-regexp isn't defined and the function just goes to the next
org-babel-src-block-regexp

(Sorry, I don't recall offhand how to set that up in elisp.)

And, echoing Sebastien, `F' and `B' as speed commands would be very
handy.

Thanks!

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [Orgmode] Worldcup + time zone question

2010-06-07 Thread Bill White
On Mon Jun 07 2010 at 14:48, Dirk-Jan C. Binnema djcb.b...@gmail.com wrote:

 Hi All,

 I made a little org-mode schedule for the Football World Cup in
 South-Africa (attached); it may be useful for some.

 Anyway, my question: the times are the local times in South Africa --
 is there some way to have the times shown in my org-agenda
 automatically corrected for my local time zone?

Norm Walsh's nifty wwtime.el may provide some ideas:
http://nwalsh.com/emacs/wwtime/

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.

___
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


[Orgmode] Elsevier's Executable Paper Grand Challenge

2010-12-07 Thread Bill White
In light of recent paper by Davison, Dominik, Dye and Schulte, this
sounds like something org-mode could address:
http://www.executablepapers.com

There is a USD 1 first-place award.

   Executable Paper Grand Challenge is a contest created to improve the
   way scientific information is communicated and used.

   It asks:

   How can we develop a model for executable files that is compatible
   with the user’s operating system and architecture and adaptable to
   future systems?

   How do we manage very large file sizes?

   How do we validate data and code, and decrease the reviewer’s
   workload?

   How to support registering and tracking of actions taken on the
   ‘executable paper?’

   The purpose of the Executable Paper Challenge is to invite scientists
   to put forth their ideas pertaining to these pressing and unsolved
   questions.

See http://www.executablepapers.com for more information, deadlines, etc.

Cheers -

bw
-- 
Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
No ma'am, we're musicians.

___
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


[O] orgmode as a transcription tool?

2015-02-02 Thread Bill White
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?

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] html export using html5 elements and bootstrap framework

2015-01-06 Thread Bill White
On Fri Jan 02 2015 at 09:47, R C re...@yahoo.com wrote:

 I would like to have org mode export a project using html5 elements
 and bootstrap framework adapting the worg tutorial:
 org-publish-html-tutorial.html
 
 I set it up as:
 - minimal org file to be published: ~/web/p2/org/tst.org

I think this isn't quite what you need to export a single file, but
o-blog by Sébastien Gross functions as an org-mode frontend for
bootstrap: https://github.com/renard/o-blog

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] orgmode as a transcription tool?

2015-02-10 Thread Bill White
On Sat Feb 07 2015 at 10:38, Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

 On 2015-02-03, at 06:45, Basile (The Flammable Project) 
 flammable.proj...@gmail.com wrote:

 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.

 FWIW, here's my config (and two helper functions to make seeking a bit
 easier):

 http://mbork.pl/2015-02-07_Emms_and_transcripts

This is great - many thanks!  I'm using it now, taking a break during
crosstalk in a recorded meeting.  I, too, had problems with skipping
backwards - your solution worked for me.  And the scale of the skipping
is off for me, too - a setting of -10 will skip back about 2 or 3
seconds.

I'm doing this on osx with homebrew's build of head-branch emacs and the
homebrew mplayer, and it works amazingly well.

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No, ma'am, we're musicians.




Re: [O] Org-Mode and Mac OS X advice

2015-03-26 Thread Bill White
On Thu Mar 26 2015 at 08:18, Chris Willard ch...@meliser.co.uk wrote:

 Hello All,

 I am thinking about changing to a Mac from Windows and wanted to check
 that there are no issues with using org-mode in OS X.

 I would like to know what version of Emacs people use (e.g. Aquamacs)
 and also if there are any issues using org-mode on a Mac. For example,
 I export to PDF frequently so would like to know if I need any other
 software for this.

I do this to get emacs on my macbook pro:

,[ emacs-install ]
| #!/usr/local/bin/bash
| brew update
| brew unlink emacs
| brew uninstall emacs
| brew install emacs --HEAD --use-git-head --cocoa --with-gnutls --with-rsvg 
--with-imagemagick
| brew linkapps
`

I don't think I've had any mac-specific problems with orgmode - I use it
every day.  And as others have said, mactex is very nice:
https://tug.org/mactex/

Cheers -

bw
-- 
Bill White . bi...@wolfram.com
No ma'am, we're musicians.




Re: [O] speed keys for plain lists?

2016-05-17 Thread Bill White
On Mon May 16 2016 at 13:17, Grant Rettke <g...@wisdomandwonder.com> wrote:

> On Thu, May 12, 2016 at 12:12 PM, Bill White <bi...@wolfram.com> wrote:
>> But I'm open to suggestions & discussion - now's the time to play around
>> with formats to find the right balance between playing with words and
>> slogging through markup.  Perhaps this isn't the right mailing list for
>> that discussion, though.
>
> If it isn't then please post the name of that list when you find it.

I'm happy to post here, especially since I can't see moving this project
out of orgmode.

> I started out using only lists too because they are exactly as you
> describe them.
>
> Eventually I wanted to attach metadata to the lists, and now I love
> headings.

Could you post an example?

Here's a sample of my second iteration.  A poor man's database - still
pure orgmode and still plain text, but easily parsable:

 - main word|subordinate word, subdivided into grammatical relations A, B, C, 

   - identification
 - main form :: Abbacy
 - obsolete † :: no
 - non-naturalized ‖ :: no
 - pronunciation :: æ•băsi
 - part of speech :: substantive
 - specification :: none
 - status :: default
 - spellings :: 5-6 abbasy, 6-7 abbacie
 - inflections :: none
   - [morphology]
 - derivation (etymology) :: A modification of the earlier
  ABBATIE, assimilated to forms like prelacy, mediaeval Latin
  -acia, -atia.
 - subsequent form-history :: 
 - miscellaneous facts :: 
   - TODO: significations & illustrative quotations

> "Created, developed, and nurtured by Eric Weisstein at Wolfram
> Research" [http://mathworld.wolfram.com/]
>
> Org-Mode makes it easy to do that with whatever document you are
> nurturing.

That describes most of my uses of orgmode - thanks!

bw
--
http://members.wolfram.com/billw



Re: [O] speed keys for plain lists?

2016-05-16 Thread Bill White
On Tue May 10 2016 at 03:21, Karl Voit <devn...@karl-voit.at> wrote:

> * Bill White <bi...@wolfram.com> wrote:
>>
>> Thank you all for the suggestions thus far.  I'll attach the org file
>> I'm working with:
>
> Being curious on your motivation: why do you use only plain list items
> instead of headings with paragraphs or headings with plain lists?

Mainly because I'm still playing around with possible formats.  Some
manual correction of the ocr text is required for each entry, which
provides a frictionless opportunity to add a little bit of list markup
and then get on with the next entry.

My final goal is a simple electronic version of the old Oxford English
Dictionary as outlined by Corey Doctorow
http://www.theguardian.com/technology/2013/aug/23/oxford-english-dictionary-future-digitally
based on files at the Internet Archive - volume 1 is at
https://archive.org/details/oed01arch

I'd like the thing to be as close to plaintext as possible with a
minimum of markup:
 - org list notation is minimal
 - it's useful within orgmode
 - it doesn't get in the user's way in non-emacs ecosystems
 - it avoids the endless quagmire of adding significant markup to such a
   huge body of text
 - it's a necessary first step for some other brave soul who wants to
   add markup & organization

But I'm open to suggestions & discussion - now's the time to play around
with formats to find the right balance between playing with words and
slogging through markup.  Perhaps this isn't the right mailing list for
that discussion, though.

Cheers -

bw
Bill White . bi...@wolfram.com
"No ma'am, we're musicians."




[O] speed keys for plain lists?

2016-05-09 Thread Bill White
I'm working on a project that uses deeply-nested plain lists, and I'm
finding navigation to be a chore.  Is there a way to enable speed keys
(info "(org) Speed keys") for navigation of plain lists?

Thanks -

bw
-- 
Bill White . bi...@wolfram.com
"No ma'am, we're musicians."




Re: [O] speed keys for plain lists?

2016-05-09 Thread Bill White
On Mon May 09 2016 at 06:30, Bill White <bi...@wolfram.com> wrote:

> I'm working on a project that uses deeply-nested plain lists, and I'm
> finding navigation to be a chore.  Is there a way to enable speed keys
> (info "(org) Speed keys") for navigation of plain lists?

Following the ancient tradition of stumbling upon an answer ten minutes
after asking the question... I just found that org-forward-element and
org-backward-element will do the job, and they work fairly intelligently
with org-beginning-of-line.

Now if only one could bind these to more-convenient keys than M-{ and
M-} when in a plain list.

Cheers -

bw
Bill White . bi...@wolfram.com
"No ma'am, we're musicians."




Re: [O] speed keys for plain lists?

2016-05-09 Thread Bill White
llings a week for the future.

 - c. absol. To make an abatement.

   - 1530 Palsgr. 420 :: I alowe or abate upon a reckenyng or
accompte made.
   - 1745 De Foe: Eng. Tradesm. I. xix. 179 :: He cannot abate
without underselling the market, or underrating the value
of his goods.
   - 1817 Jas. Mill: Brit. India II. IV. iv. 134 :: Lacey offered
to abate in his pecuniary demand.

   - 16. fig. To omit, leave out of count; to bar or except.

 - 1588 Shakespeare:: L. L. L. v. ii. 547 :: Abate [a] throw at
  Novum, and the whole world againe, Cannot pricke out five
  such.
 - 1700 Law: Council of Trade 253 (1751) :: Abating accidents
  which happen but seldom.
 - 1772 Johnson in Boswell (1816) II. 149 :: Abating his
  brutality, he was a very good master.
 - 1865 Sala: Diary in America I. 307 :: Abating the gold and
  silver plate.

   - 17. To abate of (a thing): to deduct something from, make an
 abatement from; to lower, or lessen in amount.  arch.

 - 1644 Bulwer: Chirologia 144 :: It falls short and abates of the
  perfection of the thing.
 - 1645 Bp. Hall: Remedy of Discontent. 27 :: Their fading
  condition justly abates of their value.
 - 1653 Izaak Walton: Compl. Angler 2 :: [I shall] either abate of
  my pace, or mend it, to enjoy such a companion.
 - 1765 Tucker Lt. of Nat. II. 635 :: Their own experience and the
   world they converse with will abate of this excess.
 - 1810 Scott: Lady of Lake V. iii. 22 :: The guide abating of his
  pace Led slowly through the pass’s jaws.

 - V. Technical.

   - † 18. Falconry. To beat with the wings, flutter.  More commonly
 aphetized to BATE.  Obs.

 - c 1430 Bk. of Hawkyng in Ret. Antiq. I. 297 :: If that she [the
  hawk] abate, let her flee, but be war that thou constreyne
  her not to flee.
 - 1575 Turberville: Booke of Falc. 135 :: You shall keepe
  hir alwayes in best plighte and leaste daunger to abate.

   - † 19. In Horsemanship. ‘A Horse is said to Abate, when working
 upon Curvets, he puts his two hind Legs to the Ground, both at
 once, and observes the same Exactness at all Times.’ Bailey 1721;
 whence in J. and subseq. Dicts.  Obs.


I'm hoping for something that works the way heading navigation works
with speed keys, since n, p, and u in that context are burned into my
synapses: ctrl-a out to the heading markup then n, p, or u, as needed to
go to the same relative place among the markup in the target line.

Perhaps endlessparentheses' context-aware method could be adapted to use
org-list.el's various org-at-x-p and org-in-x-p functions.  I just need
to find a block of time to think clearly :-/

Cheers -

bw
Bill White . bi...@wolfram.com
"No ma'am, we're musicians."


clocktable: link to :ID: rather than header text?

2020-09-14 Thread Bill White
I'm generating clocktables with :link t, and after changing the text of a 
target heading I found that links in clocktables point to the header text and 
not its :ID: 

Is it possible for clocktable links to use the target heading's :ID: rather 
than its text, which I may need to change? 

Thanks - 

bw 
-- 
"No, ma'am, we're musicians." 


block-like markup to export custom html?

2021-07-13 Thread Bill White
I'm using https://github.com/bastibe/org-static-blog to generate 
http://members.wolfram.com/billw 

See especially 
http://members.wolfram.com/billw/2021-07-05-romanovsky-on-bronstein.html

I have an org file full of these things to denote side-by-side columns of 
English and Russian text: 

@@html:@@ 
Some English text. 
@@html:@@ 
Some Russian text. 
@@html:@@ 

===> My question: is there a notion of a custom block-like structure that, upon 
export to html (or whatever backend org-static-blog uses), would insert the 
inlined html code shown above? I'm imagining something like: 

#+begin_multicol 
Some English text. 
#+break: 
Some Russian text 
#+end_multicol 

to produce this upon export: 

 
Some English text. 
 
Some Russian text. 
 

Background: I'm learning Russian and re-learning chess, and one day I realized 
I could translate articles from old Russian chess magazines. 

Thanks! 

bw 
-- 
"No, ma'am, we're musicians."



can clocktable link to IDs?

2024-05-03 Thread Bill White
When I create a clocktable, its entries are links to heading text: 

[ [file:/path/to/meetings.org::*featureset meeting][featureset meeting] ] 

But in my meetings.org file there are dozens of headings that simply read: 
``` 
​* featureset meeting 
``` 
so all clocktable links to these meetings point to the first instance in my 
meetings.org. 

However, when I run org-store-link with point on a particular heading I'm 
interested in, I get a link to a unique ID: 

[ [id:29FDF5EE-BD50-491F-9332-B007F8CE5CE9][featureset meeting] ] 

Is there a way to convince the clocktable mechanism to link to a unique ID 
(when it exists) rather than a possibly non-unique heading? 

Thanks - 

bw 
"No, ma'am, we're musicians."