Re: [Orgmode] FR: more flexible customization of org-agenda-custom-commands key bindings

2007-10-30 Thread Carsten Dominik


On  28Oct2007, at 3:42 PM, Bastien wrote:


Adam Spiers [EMAIL PROTECTED] writes:


If the idea is just to re-display the *Org agenda* buffer


Correct.  It's effectively a more generic version of Press `C-u  
r' to

search again with new search string.


So why not just make `C-u r' call the *agenda commands* buffer back  
when

the current agenda view is produced by (org-agenda-list)?

Then `C-u r' will have the same meaning across all possible types of
agenda views, i.e. call `org-agenda-redo' and wait for more  
information
on how to refine the current view.  Which means: call back `org- 
agenda'

if the last command was `org-agenda-list'.


This is not possible, because the prefix argument is needed to be  
passed to the

command that is executed by the r command.



I think it will be hard to have a simpler keystroke than `C-x b' :)
But anyway, I guess your point is to have some Org internal command  
for

this function -- which would also avoid the problem with ido.el.


We could use e for execute agenda command?




I can't think of a good mnemonic for binding any of these to this
operation.  My preferred solution would be the following, though I
would understand if it was rejected on the grounds of being too
disruptive to what users are used to:

  - rebind 'r' to this operation, since 'redo' or 'repeat' is the  
most

obvious mnemonic,

  - rebind 'g' to `org-agenda-redo', since 'g' is a universal emacs
keybinding meaning 'refresh the current buffer display', and

  - bind 'G' to `org-agenda-toggle-time-grid', since this is a less
frequent operation and hence can be moved to the chord shift-G
without causing hassle.


I do agree with the last two, g should indeed be the refresh command.
However, I'm hesitating to change the r binding, I believe that  
many people

(including me) are too used to this key binding.

- Carsten




___
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] XHTML export - Upper case COL tag is invalid XHTML

2007-10-30 Thread Øyvind Stegard
Hi,

XML and therefore XHTML is case sensitive with regard to tag names.
Org-mode version 5.13h generates upper-case COL tags in XHTML-export,
which is invalid. The tag should be in lowercase. The patch below should
fix it.

--- org.el.orig 2007-10-30 13:34:18.0 +0100
+++ org.el  2007-10-30 13:30:40.0 +0100
@@ -24127,11 +24127,11 @@
 (unless splice (push /table\n html))
 (setq html (nreverse html))
 (unless splice
-  ;; Put in COL tags with the alignment (unfortuntely often ignored...)
+  ;; Put in col tags with the alignment (unfortuntely often ignored...)
   (push (mapconcat
 (lambda (x)
   (setq gr (pop org-table-colgroup-info))
-  (format %sCOL align=\%s\/COL%s
+  (format %scol align=\%s\/col%s
   (if (memq gr '(:start :startend))
   (prog1
   (if colgropen /colgroup\ncolgroup 
colgroup)


Regards,
Øyvind Stegard

PS. I'm not a list subscriber, and only a light-weight org-mode user.
-- 
 Øyvind Stegard  oyvinst at ifi uio no 
  http://www.oyvind.nu/



___
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] FR: more flexible customization of org-agenda-custom-commands key bindings

2007-10-30 Thread Bastien
Carsten Dominik [EMAIL PROTECTED] writes:

 Then `C-u r' will have the same meaning across all possible types of
 agenda views, i.e. call `org-agenda-redo' and wait for more
 information on how to refine the current view.  Which means: call
 back `org- agenda' if the last command was `org-agenda-list'.

 This is not possible, because the prefix argument is needed to be
 passed to the command that is executed by the r command.

Understood.

 We could use e for execute agenda command?

Yes.

 I do agree with the last two, g should indeed be the refresh
 command.  However, I'm hesitating to change the r binding, I believe
 that many people (including me) are too used to this key binding.

I'm also used to `r' -- we can keep it and still make the change for `g'
and `G', since those two are quite logical.

-- 
Bastien


___
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] Problems with drawers export

2007-10-30 Thread Bastien
Hi Carsten,

there seem to be quite a few problems with drawers export (Org 5.13h)

Here is a test file: 


#+TITLE: Test drawers export
#+DRAWERS:   HIDE TEST

:TEST:
This is not a drawer.
:END:

:HIDE:
This text is hidden.
:END:


Setting `org-export-with-drawers' nil/t seems to have no effect on the
export.  The lines starting with a column are always export as pre.

Then I tried setting (setq org-export-with-drawers '(HIDE)) so that
:HIDE: drawer's content would be exported.. but it removed the :HIDE:
drawer instead.

BTW, the d:(HIDE) seems not to be taken into account right now.  Did I
miss something?  Can you reproduce these problems?

Thanks!

-- 
Bastien


___
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] bibtex fields in remember templates

2007-10-30 Thread Austin Frank
Hello!

I am wondering whether it would be possible to have access to the values
of bibtex fields in remember templates when calling remember from a
buffer in bibtex mode.  I would like to define a template that includes
a link to the bibtex entry, but which also lays out a brief citation.
Something like

* TO_READ%?\n %a\n %:author (%:year).  %:title.  %:journal: %:pages.

I know that links to bibtex entries are created using the custom search
mechanism, but I can't figure out how to expose properties of the bibtex
entry to remember or org-remember.

Thanks for any help,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgpjNi7Nt5Lkf.pgp
Description: PGP signature
___
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