Re: [Orgmode] information/feature request: org analog to latex \description environment

2008-09-10 Thread Carsten Dominik


On Sep 10, 2008, at 12:19 AM, Eric Schulte wrote:


Sebastian Rose [EMAIL PROTECTED] writes:


,
| first term: and it's definition
| second: and it's definition
`



How should Org distinguish those colons from other colons?


yes, I suppose the double colons you show below would be required


would be much preferable to what I currently often find myself doing
which is

,
| - *first term*: and it's definition
| - *second*: and it's definition
`



This is what I did too :-) I even wrote a little little elisp  
function

to do this for me. But since a few weeks there is:


 - Term1 :: description (try to press ALT-RET here)
 - Term2 :: description (try to press ALT-RET here)


However, this syntax is only supported by the HTML backend, not by the  
LaTeX backend yet :-(


- 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


Re: [Orgmode] org-mode remember visibility

2008-09-10 Thread Carsten Dominik


On Sep 8, 2008, at 3:30 PM, Rainer Thiel wrote:


I like the interaction of org-mode and remember, and I have defined
the following templates with minimal and trivial adaptations of what
is suggested in the manual:

(setq org-remember-templates
'((Todo ?t * TODO %?\n  %i\n  %a org-default-notes-file  
Aufgaben)
  (Notiz ?n * %U %?\n\n  %i\n  %a org-default-notes-file  
Notizen)

  (Besprechung ?b * %^{Besprechung mit} %U %?\n\n %i\n
  org-default-notes-file Besprechungen)
  (Idee ?i * %^{Title}\n %i\n %a
  org-default-notes-file Ideen)))

This works fine.  What I find confusing though, is that initially the
Text of the newly created entry (including text inserted from the
active region) is invisible.  Is there are good reason for this
default behaviour, and is there a way to change it, viz. to start the
entry as visible?


The escape sequences are filled in one by one, in the sequence as they  
appear in the template. If you have an interactive prompt near the  
beginning, you first have to put in the information before template  
creation can proceed.  Is this what you mean by invisible?


- 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] Re: Top-level headers in org-sparse-tree

2008-09-10 Thread Bernt Hansen
Iris Jackson [EMAIL PROTECTED] writes:

 I recently started using org mode and I really like it.  I have a single file
 that contains all information about a project like TODOs, project specs, user
 documentation, development notes, etc.  For example, the way I generate the
 project specs is to first create a sparse tree matching on the tag I assigned
 to the specs, then HTML exporting it.

 The problem I encountered is that org-tags-sparse-tree shows top-level headers
 even if they don't contain the selected tag.  Is there a simple way to turn
 that off?  For example, if I have a top level section called Bugs, and it
 does not contain the project spec tag, then I don't want it to show up in
 the result :-)

 I think this functionality is controlled by org-make-tags-matcher on line 9382
 of org.el (version 6.06b), but this function is too intimidating for me to try
 to change it.

 Please advise.  Thanks!

You can highlight the region you want to export then

M-x narrow-to-region

Do your export and then

M-x widen

to restrict what is included in the export.

Hope that helps.

-Bernt


___
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


R: [Orgmode] Top-level headers in org-sparse-tree

2008-09-10 Thread Giovanni Ridolfi
--- Mar 9/9/08, Iris Jackson [EMAIL PROTECTED] ha scritto:
 The problem I encountered is that org-tags-sparse-tree
 shows top-level
 headers even if they don't contain the selected tag. 
 Is there a simple way
 to turn that off?  For example, if I have a top level
 section called Bugs,
 and it does not contain the project spec tag,
 then I don't want it to show
 up in the result :-)

does the manual at section: Tag inheritance
help you?:


To limit tag inheritance to specific tags, or to turn it off entirely,
use the variable `org-use-tag-inheritance'.

   When a headline matches during a tags search while tag inheritance
is turned on, all the sublevels in the same tree will match as well(1).
The list of matches may then become very long.  If you only want to
see the first tags match in a subtree, configure the variable
`org-tags-match-list-sublevels'.

   -- Footnotes --

   (1) This is only true if the the search does not involve more
complex tests including properties (*note Property searches::).
---

cheers,
Giovanni

__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it



___
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: Latex exporting

2008-09-10 Thread Frank Dekens
Russell Adams RLAdams at AdamsInfoServ.Com writes:

 
 
 End of file.org --
 
 #+ Local Variables:
 #+ org-export-latex-title-command: 
 #+ org-export-latex-append-header: \
 #+ \\usepackage{graphicx}
 #+ \\usepackage{multicol}
 #+ \\geometry{headheight=47pt}
 #+ \\fancyhead[L]{\\LARGE This is the header title}
 #+ \\fancyfoot[L]{\\small Overridden filename \\today}
 #+ 
 #+ End:
 
 
 

Hi,
 I have seen these local variable additions in several examples on
the web, but for some reason they never make it into my .tex file. Is
there a trick to getting these to appear? I'm using v6.02 of org with
Carbon Emacs on a Mac.
 I'll try the .emacs style from your example in the mean time, but
it would still be nice to get these variables to work.
 Thanks,
 Frank D.
PS: Thanks for the great example.



___
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: remember integration problem with 6.06

2008-09-10 Thread Dan Griswold
JBash [EMAIL PROTECTED] writes:

 When I type 'Ctrl-C r', which used to bring up the remember template, I now
 get:

 run-hook-with-args-until-success: Autoloading failed to define function
 org-remember-annotation


How about:

(require 'org-install)


I recently had problems that were resolved when I uncommented that
line in my config. :\

Dan


-- 
--
Dan Griswold
Rochester, NY
--



___
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] Re: Latex exporting

2008-09-10 Thread Russell Adams
Those are only honored when the file is opened, or you can hit 

'M-x normal-mode' 

to reload them.

Don't forget that the same applies to the template options header org
can put at the top of the file. Its honored at open, or if you update
a line you can C-c C-c on it to load that line.

This is why I use a Makefile that invokes a separate copy of email to
export / pdflatex my output. I never have to worry about if my
variables are current.

Enjoy!

On Wed, Sep 10, 2008 at 06:54:49PM +, Frank Dekens wrote:
 Russell Adams RLAdams at AdamsInfoServ.Com writes:
 
  
  
  End of file.org --
  
  #+ Local Variables:
  #+ org-export-latex-title-command: 
  #+ org-export-latex-append-header: \
  #+ \\usepackage{graphicx}
  #+ \\usepackage{multicol}
  #+ \\geometry{headheight=47pt}
  #+ \\fancyhead[L]{\\LARGE This is the header title}
  #+ \\fancyfoot[L]{\\small Overridden filename \\today}
  #+ 
  #+ End:
  
  
  
 
 Hi,
  I have seen these local variable additions in several examples on
 the web, but for some reason they never make it into my .tex file. Is
 there a trick to getting these to appear? I'm using v6.02 of org with
 Carbon Emacs on a Mac.
  I'll try the .emacs style from your example in the mean time, but
 it would still be nice to get these variables to work.
  Thanks,
  Frank D.
 PS: Thanks for the great example.
 
 
 
 ___
 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
 


--
Russell Adams[EMAIL PROTECTED]

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

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


___
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] Using other modes in org-mode

2008-09-10 Thread Eric Schulte
Hi,

Here is some code for using other major modes inside of org-mode.  It
uses blocks like the org-mode #+BEGIN_SOURCE, #+END_SOURCE blocks.
This is sort of fun to play with but not necessarily stable.  Thanks to
Lennart for showing me how the MuMaMo code works.  Requires MuMaMo-mode
http://www.emacswiki.org/cgi-bin/wiki/MuMaMo

In order to try this out...

1) eval the following elisp forms (change the value of mumamo-org-modes
   if you want to try other modes)

(require 'mumamo)

(defvar mumamo-org-modes
  '(ruby-mode emacs-lisp-mode c-mode)
  Modes to include in org-files)

(defvar mumamo-org-chunk-functions
  (mapcar
   (lambda (mode)
 (eval `(defun ,(intern (format mumamo-chunk-org-%S mode)) (pos min max)
  ,(format %s support inside org BEGIN END blocks mode)
  (mumamo-quick-static-chunk
   pos min max ,(format #+BEGIN_%S mode) ,(format #+END_%S mode)
   t (quote ,mode) nil
   mumamo-org-modes)
  The automatically defined mumamo-chunk-org-* functions for use
cramming other modes into org-mode.  See `mumamo-org-modes'
`mumamo-quick-static-chunk'.)

(eval `(define-mumamo-multi-major-mode org-mumamo-mode
 ,(format Turn on multiple major modes with main major mode 
org-mode.\n\n%s
  (mapconcat (lambda (el) (format - %S el))
 mumamo-org-modes \n))
 (Org Source Blocks Family org-mode ,mumamo-org-chunk-functions)))

2) open a buffer containing something like the following


* testing this out

- regular org-mode in these lines

#+BEGIN_ruby-mode

  # ruby-mode active in the block
  def eric
# nothing else
  end
  
#+END_ruby-mode

#+BEGIN_emacs-lisp-mode

(defun this-is-lisp ()

  )

#+END_emacs-lisp-mode  


3) M-x org-mumamo-mode



___
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: Using other modes in org-mode

2008-09-10 Thread S . P . Tseng

That will be very cool, if this feature will be part of org-mode. It can
correctly indent, font-lock and easy edit source code in native org-mode.

By the way, I can not stop special mark [[xxx][xx]] ** to be explain with
SRC block, however : can do that.



___
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