[Orgmode] Re: install and info

2008-10-09 Thread Richard Riley
Bernt Hansen <[EMAIL PROTECTED]> writes:

> On three systems I have access to the info files are in /usr/share/info
>
>   - Debian
>   - FreeBSD
>   - Ubuntu

Debian and Ubuntu should be the same I would think since Ubunti is
Debian based.

But there is an org which ships with emacs. I would expect the info file
from that to be there.

If one installs from CVS/git should it not be in /usr/local/share/info ?

I really am not sure personally and frequently have had issues with
other packages and the installation and location of Info files.



>
> -Bernt
>
> Carsten Dominik <[EMAIL PROTECTED]> writes:
>
>> Hi everyone,
>>
>> I'd be happy to change the default to
>>
>>infodir = $(prefix)/share/info
>>
>>
>> if this is a better default for most systems.  Is it better?  So could
>> people on
>> different systems out there please check where the standard info
>> directory is located?
>>
>> Thanks.
>>
>> - Carsten
>>
>> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>>
>>>
>>> There might be an inconsistency in the install process. Well, on my
>>> debian system.
>>>
>>> In the Makefile we have
>>>
>>> ,
>>> | # Where local software is found
>>> | prefix=/usr/local
>>> |
>>> | # Where local lisp files go.
>>> | lispdir = $(prefix)/share/emacs/site-lisp
>>> |
>>> | # Where info files go.
>>> | infodir = $(prefix)/info
>>> `
>>>
>>> Now I dont pretend to even begin to understand how the info system
>>> works
>>> but a "sudo make install-info" does not work because (a) it puts the
>>> file into /usr/local/info and my system appears to expect it in
>>> /usr/local/share/info. In addition the install info command appears to
>>> be broken:
>>>
>>> ,
>>> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
>>> true; fi ;
>>> | cp -p doc/org /usr/local/info
>>> | install-info --info-file=doc/org --info-dir=/usr/local/info
>>> | Usage: install-info [ ...] [--] 
>>> `
>>>
>>> Hopefully someone can shed some light. I think it used to work but am
>>> not sure if I was picking up a local info file before.
>>>
>>>
>>> -- 
>>> We are becoming the servants in thought, as in action, of the
>>> machine we have created to serve us.  ~John Kenneth Galbraith
>>>
>>>
>>> ___
>>> 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
>>
>>
>>
>> ___
>> 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

-- 
The factory of the future will have only two employees, a man and a dog.  The 
man will be there to feed the dog.  The dog will be there to keep the man from 
touching the equipment.  ~Warren G. Bennis


___
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] Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
Hi,

in an org file I want to insert some ascii art graphics.  In the docs I
found the #+BEGIN_EXAMPLE construct, but that seems to take effect only
when exporting.

If I add my ascii graphic inside such a construct, I get a weired
font-locking [1], and TAB and M-q work as if it was normal text and
garble the graphic.

Is there a mechanism to insert some text verbatim which supresses any
indentation and font-locking (or uses some special face)?

My org version is 6.06b.  That's the one that is in the current Emacs
CVS.

Bye and thanks for org!
Tassilo
__
[1] http://www.tsdh.de/~heimdall/org.png



___
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: install and info

2008-10-09 Thread Bernt Hansen
Richard Riley <[EMAIL PROTECTED]> writes:

> Bernt Hansen <[EMAIL PROTECTED]> writes:
>
>> On three systems I have access to the info files are in /usr/share/info
>>
>>   - Debian
>>   - FreeBSD
>>   - Ubuntu
>
> Debian and Ubuntu should be the same I would think since Ubunti is
> Debian based.

Yes they should be but I thought I'd list it for completeness :)

I've never messed with info files before (from an installation point of
view) but I was under the impression that the top level 'dir' file needs
to be edited to include new documentation in the tree and that file
lives in whatever the standard info directory is on your system.  I
think you can create new documentation in other locations but you still
need to reference it from the 'dir' file if you want it to be easy to
locate.

>
> But there is an org which ships with emacs. I would expect the info file
> from that to be there.
>
> If one installs from CVS/git should it not be in /usr/local/share/info ?
>
> I really am not sure personally and frequently have had issues with
> other packages and the installation and location of Info files.

Me either.  I'm just trying to provide additional information in case
it's useful.

-Bernt

>>
>> Carsten Dominik <[EMAIL PROTECTED]> writes:
>>
>>> Hi everyone,
>>>
>>> I'd be happy to change the default to
>>>
>>>infodir = $(prefix)/share/info
>>>
>>>
>>> if this is a better default for most systems.  Is it better?  So could
>>> people on
>>> different systems out there please check where the standard info
>>> directory is located?
>>>
>>> Thanks.
>>>
>>> - Carsten
>>>
>>> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>>>

 There might be an inconsistency in the install process. Well, on my
 debian system.

 In the Makefile we have

 ,
 | # Where local software is found
 | prefix=/usr/local
 |
 | # Where local lisp files go.
 | lispdir = $(prefix)/share/emacs/site-lisp
 |
 | # Where info files go.
 | infodir = $(prefix)/info
 `

 Now I dont pretend to even begin to understand how the info system
 works
 but a "sudo make install-info" does not work because (a) it puts the
 file into /usr/local/info and my system appears to expect it in
 /usr/local/share/info. In addition the install info command appears to
 be broken:

 ,
 | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
 true; fi ;
 | cp -p doc/org /usr/local/info
 | install-info --info-file=doc/org --info-dir=/usr/local/info
 | Usage: install-info [ ...] [--] 
 `

 Hopefully someone can shed some light. I think it used to work but am
 not sure if I was picking up a local info file before.




___
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] Is there some kind of verbatim environment for org?

2008-10-09 Thread Sebastian Rose
Hi Tassilo,

with a current version of Org-mode you may press

C-c '

to create such a region or edit an existing one. Not shure when this
feature made it into org. But 6.09 has this feature.

Hope that helps,

 Sebastian


Tassilo Horn <[EMAIL PROTECTED]> writes:
> Hi,
>
> in an org file I want to insert some ascii art graphics.  In the docs I
> found the #+BEGIN_EXAMPLE construct, but that seems to take effect only
> when exporting.
>
> If I add my ascii graphic inside such a construct, I get a weired
> font-locking [1], and TAB and M-q work as if it was normal text and
> garble the graphic.
>
> Is there a mechanism to insert some text verbatim which supresses any
> indentation and font-locking (or uses some special face)?
>
> My org version is 6.06b.  That's the one that is in the current Emacs
> CVS.
>
> Bye and thanks for org!
> Tassilo
> __
> [1] http://www.tsdh.de/~heimdall/org.png
>
>
>
> ___
> 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
>

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover

Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: [EMAIL PROTECTED], [EMAIL PROTECTED]
Http:  www.emma-stil.de


___
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: install and info

2008-10-09 Thread Xiao-Yong Jin
Richard Riley <[EMAIL PROTECTED]> writes:

> Bernt Hansen <[EMAIL PROTECTED]> writes:
>
>> On three systems I have access to the info files are in /usr/share/info
>>
>>   - Debian
>>   - FreeBSD
>>   - Ubuntu
>
> Debian and Ubuntu should be the same I would think since Ubunti is
> Debian based.
>
> But there is an org which ships with emacs. I would expect the info file
> from that to be there.
>
> If one installs from CVS/git should it not be in /usr/local/share/info ?
>
> I really am not sure personally and frequently have had issues with
> other packages and the installation and location of Info files.
>

This is the real problem.  I guess most of the package
managers are not happy with conflicting files from different
packages.  Gentoo, archlinux and FreeBSD are all not happy
with this.  So I just decided to install info files some
where in my home directory and prepend that to my $INFOPATH.

Xiao-Yong
-- 
c/*__o/*
<\ * (__
*/\  <


___
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: install and info

2008-10-09 Thread Richard Riley
Xiao-Yong Jin <[EMAIL PROTECTED]> writes:

> Richard Riley <[EMAIL PROTECTED]> writes:
>
>> Bernt Hansen <[EMAIL PROTECTED]> writes:
>>
>>> On three systems I have access to the info files are in /usr/share/info
>>>
>>>   - Debian
>>>   - FreeBSD
>>>   - Ubuntu
>>
>> Debian and Ubuntu should be the same I would think since Ubunti is
>> Debian based.
>>
>> But there is an org which ships with emacs. I would expect the info file
>> from that to be there.
>>
>> If one installs from CVS/git should it not be in /usr/local/share/info ?
>>
>> I really am not sure personally and frequently have had issues with
>> other packages and the installation and location of Info files.
>>
>
> This is the real problem.  I guess most of the package
> managers are not happy with conflicting files from different
> packages.  Gentoo, archlinux and FreeBSD are all not happy
> with this.  So I just decided to install info files some
> where in my home directory and prepend that to my $INFOPATH.
>
> Xiao-Yong

Did you have a local "dir" file too or put in a link into one of the
others?

I suspect this is getting a little OT now and more "How does info work"
:-; But it's reassuring to hear that others scratch their heads a little
too. I have lots of unresolved dir links since I removed (uninstalled
properly) emacs 22 and 21 and went for CVS Emacs 23 and that only adds
to my info woes ...

-- 
Technology... the knack of so arranging the world that we don't have to 
experience it.  ~Max Frisch


___
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] Can version 6.08 work in Emacs 21?

2008-10-09 Thread Eric S Fraga
Although I use org mode (and love it!) on most of my systems, I have
been using version 4.74 for a long time.  I just upgraded to version
6.08 which works perfectly fine on most of my systems and I really
appreciate all the improvements and new features.  However, my office
desktop, which acts as a server for many of my projects, is running
Debian stable (etch).  Version 6.08 does not appear to work well at
all, especially agenda views and links with the Emacs diary mode.

Is attempting to get org mode 6.08 working with Emacs 21 worthwhile,
especially given that Debian stable will soon be replaced by lenny
(which has Emacs 22)?

Thanks in advance for any suggestions or advice!

-- 
Eric S Fraga, UCL
BF >++[>++>+++[<]>-]>++.>.<-.++.--.



___
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] Can version 6.08 work in Emacs 21?

2008-10-09 Thread Carsten Dominik

Hi Eric,

I  thought hat Org *does* work reasonably well with Emacs 21, but  
maybe I am wrong?
Anyway, I will take no more steps to make it work better with Emacs  
21, Emacs 22 has been out long enough so that people can be expected  
to run Emacs 22.


- Carsten

On Oct 9, 2008, at 12:26 PM, Eric S Fraga wrote:


Although I use org mode (and love it!) on most of my systems, I have
been using version 4.74 for a long time.  I just upgraded to version
6.08 which works perfectly fine on most of my systems and I really
appreciate all the improvements and new features.  However, my office
desktop, which acts as a server for many of my projects, is running
Debian stable (etch).  Version 6.08 does not appear to work well at
all, especially agenda views and links with the Emacs diary mode.

Is attempting to get org mode 6.08 working with Emacs 21 worthwhile,
especially given that Debian stable will soon be replaced by lenny
(which has Emacs 22)?

Thanks in advance for any suggestions or advice!

--
Eric S Fraga, UCL
BF >++[>++>+++[<]>-]>++.>.<-.+ 
+.--.




___
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




___
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: install and info

2008-10-09 Thread Ben Alexander



Hi,

On my Mac OS X (10.5.5) system, /usr/share/info looks like the  
directory with all the info files.  Since I use MacPorts, I usually  
add the org-info file to /opt/local/share/info so the suggested change  
is slightly more convenient in that case, too.


HTH,
Ben



Carsten Dominik <[EMAIL PROTECTED]> writes:

Hi everyone,

I'd be happy to change the default to

   infodir = $(prefix)/share/info


if this is a better default for most systems.  Is it better?  So could
people on different systems out there please check where the standard info
directory is located?

Thanks.

- 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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
Sebastian Rose <[EMAIL PROTECTED]> writes:

Hi Sebastian,

> with a current version of Org-mode you may press C-c ' to create such
> a region or edit an existing one.  Not shure when this feature made it
> into org. But 6.09 has this feature.

Here it is:

,[ C-h k C-c ' ]
| C-c ' runs the command org-edit-special, which is an interactive compiled Lisp
| function in `org.el'.
| 
| It is bound to C-c ',,
|.
| 
| (org-edit-special)
| 
| Call a special editor for the stuff at point.
| When at a table, call the formula editor with `org-table-edit-formulas'.
| When at the first line of an src example, call `org-edit-src-code'.
| When in an #+include line, visit the include file.  Otherwise call
| `ffap' to visit the file at point.
`

I guess, that's what you mean.  But at least in my version, that's no
too big improvement.  Let's say I have this:

#+BEGIN_SRC artist
 +-+ (Abb. 23b)
 ENABLE--|  &  |
   +-+   | |
   | >=1 | +-| |---RUN
   | | | | |
 X-| |-+ +-+
 Y-| |
 RUN---| |
   +-+
#+END_SRC

If I hit `C-c '' in that block, it'll open the graphic in artist mode.
That's great, but still the graphic is font-locked like in the
screenshot of my previous posting, because org thinks it's a table.

And TAB in the first line moves point one line up and messages "Should
not happen...".  On other positions in the block, it indents like in
text-mode, and on even other positions it acts like in org tables (Jump
to the next "cell").

While I can live with TAB freaking out (Hey, `C-c '' switches to artist
mode. Yay!), the broken font-locking is disturbing me.  Is it possible
to fontify everything in #+BEGIN...#+END blocks with some special face
which takes precedence over the usual org font-locking?

Bye,
Tassilo



___
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: install and info

2008-10-09 Thread Bernt Hansen
On three systems I have access to the info files are in /usr/share/info

  - Debian
  - FreeBSD
  - Ubuntu

-Bernt

Carsten Dominik <[EMAIL PROTECTED]> writes:

> Hi everyone,
>
> I'd be happy to change the default to
>
>infodir = $(prefix)/share/info
>
>
> if this is a better default for most systems.  Is it better?  So could
> people on
> different systems out there please check where the standard info
> directory is located?
>
> Thanks.
>
> - Carsten
>
> On Oct 8, 2008, at 3:20 PM, Richard Riley wrote:
>
>>
>> There might be an inconsistency in the install process. Well, on my
>> debian system.
>>
>> In the Makefile we have
>>
>> ,
>> | # Where local software is found
>> | prefix=/usr/local
>> |
>> | # Where local lisp files go.
>> | lispdir = $(prefix)/share/emacs/site-lisp
>> |
>> | # Where info files go.
>> | infodir = $(prefix)/info
>> `
>>
>> Now I dont pretend to even begin to understand how the info system
>> works
>> but a "sudo make install-info" does not work because (a) it puts the
>> file into /usr/local/info and my system appears to expect it in
>> /usr/local/share/info. In addition the install info command appears to
>> be broken:
>>
>> ,
>> | if [ ! -d /usr/local/info ]; then mkdir -p /usr/local/info; else
>> true; fi ;
>> | cp -p doc/org /usr/local/info
>> | install-info --info-file=doc/org --info-dir=/usr/local/info
>> | Usage: install-info [ ...] [--] 
>> `
>>
>> Hopefully someone can shed some light. I think it used to work but am
>> not sure if I was picking up a local info file before.
>>
>>
>> -- 
>> We are becoming the servants in thought, as in action, of the
>> machine we have created to serve us.  ~John Kenneth Galbraith
>>
>>
>> ___
>> 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
>
>
>
> ___
> 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


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Eric Schulte
Tassilo Horn <[EMAIL PROTECTED]> writes:

> While I can live with TAB freaking out (Hey, `C-c '' switches to artist
> mode. Yay!), the broken font-locking is disturbing me.  Is it possible
> to fontify everything in #+BEGIN...#+END blocks with some special face
> which takes precedence over the usual org font-locking?
>

Are you aware of the other option for verbatim escapes? (every line
starts with a ":") I does do a minor font locking, and (I believe)
should fix your tab woes.  Also, you can use C-c' in this area, and it
will take you to special edit buffer.

:  +-+ (Abb. 23b)
:  ENABLE--|  &  |
:+-+   | |
:| >=1 | +-| |---RUN
:| | | | |
:  X-| |-+ +-+
:  Y-| |
:  RUN---| |
:+-+

Best -- Eric


___
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: How to use FILETAGS?

2008-10-09 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> On Oct 7, 2008, at 7:30 PM, Manish wrote:
>
>>  On Tue, Oct 7, 2008 at 9:58 PM, Carsten Dominik wrote:
>>> Hi Manish,
>>>
>>> On Oct 7, 2008, at 5:06 PM, Manish wrote:
>>>
 On Sun, Oct 5, 2008 at 5:26 PM, Manish wrote:
>
> Hello All,
>
> I have set a "#+FILETAGS: :Personal:" in my org file (did a C-c C-c
> to initilalize it.)  The tag did not appear in the agenda view
> like I
> expected it to.  I was hoping to use agenda view filtering on
> tags to
> see a subset of tasks with that tag (without having to set that for
> all tasks.)  What else do I need to do for it to work?
>

 Okay.  I think I realize my mistake now.

 The FILETAGS are NOT meant to be displayed and hence can not be used
 for filtering items in agenda view.  They are meant to be matched
 while creating agenda only.
>>>
>>> No.  They are used when the agenda is created, and they are stored
>>> in a text
>>> property on the entry.  If you press "T", you should see all the
>>> tags of an
>>> entry.  I just tested it, and it works fine, including filtering,
>>> which acts
>>> on the text-property tags, not only on the displayed tags.
>>>
>>> Maybe you have turned off tag inheritance?  Because file tags are
>>> *inherited* by all entries in the buffer.
>>
>> "T" does show the tags, inheritance is enabled for those specific tags
>> listed in FILETAGS only but am unable to make filtering work.
>
> This absolutely does work for me, also with non-top-level entries.
>
> Could someone else please check?

This works for me.  I added 

#+FILETAGS: :Personal:

to the top of one of my org files, hit C-c C-c on the line to
reinitialize and then match tags with Personal as the target with

C-c a m Personal RET

and it lists all of the tasks in my org file including top-level tasks.
The tasks do now show :Personal: in the display but using T on any tasks
shows the tag is inherited.

I hit T on a task 4 levels deep and it includes the Personal tag.

It also works with

#+FILETAGS: Personal

-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


Re: [Orgmode] Re: Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
"Eric Schulte" <[EMAIL PROTECTED]> writes:

Hi Eric,

>> While I can live with TAB freaking out (Hey, `C-c '' switches to
>> artist mode. Yay!), the broken font-locking is disturbing me.  Is it
>> possible to fontify everything in #+BEGIN...#+END blocks with some
>> special face which takes precedence over the usual org font-locking?
>
> Are you aware of the other option for verbatim escapes? (every line
> starts with a ":")

No, thanks for mentioning that.

> I does do a minor font locking,

Nice.  That's `org-code' face.  So why not use that face for things in
#+BEGIN...#+END blocks, too?

> and (I believe) should fix your tab woes.

No, but that's no problem if `C-c '' does the right thing.

> Also, you can use C-c' in this area, and it will take you to special
> edit buffer.

Here, it prompts me for a file.  That's because `org-edit-special' calls
`ffap' if it doesn't know what to do.  Is that different in your
version?

Anyway, I thinks the #+BEGIN_SRC constructs are better, because then the
correct mode is switched on automatically.

> :  +-+ (Abb. 23b)
> :  ENABLE--|  &  |
> :+-+   | |
> :| >=1 | +-| |---RUN
> :| | | | |
> :  X-| |-+ +-+
> :  Y-| |
> :  RUN---| |
> :+-+

So in summary I think I would be completely happy if #+BEGIN_SRC
constructs (or maybe all #+BEGIN_FOO constructs) would fontify their
contents with the `org-code' face.

Bye,
Tassilo


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Sebastian Rose
Hi Tassilo,


is this true for regions created using C-c '  ???

There is no #+BEGIN_SRC then and it works perfectly fine here.
Just create the region using C-c '
artist-mode is on automatically in the indirect buffer for editing the
region. 


Regards,

  Sebastian

Tassilo Horn <[EMAIL PROTECTED]> writes:
> Sebastian Rose <[EMAIL PROTECTED]> writes:
>
> Hi Sebastian,
>
>> with a current version of Org-mode you may press C-c ' to create such
>> a region or edit an existing one.  Not shure when this feature made it
>> into org. But 6.09 has this feature.
>
> Here it is:
>
> ,[ C-h k C-c ' ]
> | C-c ' runs the command org-edit-special, which is an interactive compiled 
> Lisp
> | function in `org.el'.
> | 
> | It is bound to C-c ',,
> |.
> | 
> | (org-edit-special)
> | 
> | Call a special editor for the stuff at point.
> | When at a table, call the formula editor with `org-table-edit-formulas'.
> | When at the first line of an src example, call `org-edit-src-code'.
> | When in an #+include line, visit the include file.  Otherwise call
> | `ffap' to visit the file at point.
> `
>
> I guess, that's what you mean.  But at least in my version, that's no
> too big improvement.  Let's say I have this:
>
> #+BEGIN_SRC artist
>  +-+ (Abb. 23b)
>  ENABLE--|  &  |
>+-+   | |
>| >=1 | +-| |---RUN
>| | | | |
>  X-| |-+ +-+
>  Y-| |
>  RUN---| |
>+-+
> #+END_SRC
>
> If I hit `C-c '' in that block, it'll open the graphic in artist mode.
> That's great, but still the graphic is font-locked like in the
> screenshot of my previous posting, because org thinks it's a table.
>
> And TAB in the first line moves point one line up and messages "Should
> not happen...".  On other positions in the block, it indents like in
> text-mode, and on even other positions it acts like in org tables (Jump
> to the next "cell").
>
> While I can live with TAB freaking out (Hey, `C-c '' switches to artist
> mode. Yay!), the broken font-locking is disturbing me.  Is it possible
> to fontify everything in #+BEGIN...#+END blocks with some special face
> which takes precedence over the usual org font-locking?
>
> Bye,
> Tassilo
>
>
>
> ___
> 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
>

-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover

Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: [EMAIL PROTECTED], [EMAIL PROTECTED]
Http:  www.emma-stil.de


___
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: install and info

2008-10-09 Thread Xiao-Yong Jin
Richard Riley <[EMAIL PROTECTED]> writes:

> Xiao-Yong Jin <[EMAIL PROTECTED]> writes:
>
>> Richard Riley <[EMAIL PROTECTED]> writes:
>>
>>> Bernt Hansen <[EMAIL PROTECTED]> writes:
>>>
 On three systems I have access to the info files are in /usr/share/info

   - Debian
   - FreeBSD
   - Ubuntu
>>>
>>> Debian and Ubuntu should be the same I would think since Ubunti is
>>> Debian based.
>>>
>>> But there is an org which ships with emacs. I would expect the info file
>>> from that to be there.
>>>
>>> If one installs from CVS/git should it not be in /usr/local/share/info ?
>>>
>>> I really am not sure personally and frequently have had issues with
>>> other packages and the installation and location of Info files.
>>>
>>
>> This is the real problem.  I guess most of the package
>> managers are not happy with conflicting files from different
>> packages.  Gentoo, archlinux and FreeBSD are all not happy
>> with this.  So I just decided to install info files some
>> where in my home directory and prepend that to my $INFOPATH.
>>
>> Xiao-Yong
>
> Did you have a local "dir" file too or put in a link into one of the
> others?

Yes, I have a local "dir" file.  In my case,

% echo $INFOPATH
/home/jin/etc/info:

% ls /home/jin/etc/info/
dir  emacs-w3m-ja.info  emacs-w3m.info  emms  org

>
> I suspect this is getting a little OT now and more "How does info work"
> :-; But it's reassuring to hear that others scratch their heads a little
> too. I have lots of unresolved dir links since I removed (uninstalled
> properly) emacs 22 and 21 and went for CVS Emacs 23 and that only adds
> to my info woes ...

As long as the file `dir' is in your $INFOPATH, it will be
searched before the one(s) in your system.  And that's how I
override the system's while keep the system happy.

Xiao-Yong
-- 
c/*__o/*
<\ * (__
*/\  <


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Eric Schulte
Tassilo Horn <[EMAIL PROTECTED]> writes:

>> Also, you can use C-c' in this area, and it will take you to special
>> edit buffer.
>
> Here, it prompts me for a file.  That's because `org-edit-special' calls
> `ffap' if it doesn't know what to do.  Is that different in your
> version?
>

Yes, for me C-c' calls `org-edit-special', which ends up calling
`org-edit-fixed-width-region' which then opens an *Org Edit Picture*
buffer editing the graph in artist mode.  I'm using the current version
of org from git.

Thanks -- Eric



___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Carsten Dominik


On Oct 9, 2008, at 4:53 PM, Tassilo Horn wrote:

I guess, that's what you mean.  But at least in my version, that's no
too big improvement.  Let's say I have this:

#+BEGIN_SRC artist


artist-mode is a minor mode, the BEGIN_SRC construct is meant for  
major modes.


The right solution for drawings like this is, as many people pointed  
out, a section of lines starting with ":".


- 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] Re: Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
Carsten Dominik <[EMAIL PROTECTED]> writes:

Hi Carsten,

> On Oct 9, 2008, at 4:53 PM, Tassilo Horn wrote:
>> I guess, that's what you mean.  But at least in my version, that's no
>> too big improvement.  Let's say I have this:
>>
>> #+BEGIN_SRC artist
>
> artist-mode is a minor mode, the BEGIN_SRC construct is meant for
> major modes.

Ah, right.  Artist-mode is indeed a minor mode, but as soon as you
toggle it on, the current major mode will be switched to picture-mode as
well.  So "#+BEGIN_SRC artist" enables picture-mode with artist-mode as
minor mode, which works just beautiful.

> The right solution for drawings like this is, as many people pointed
> out, a section of lines starting with ":".

I still get some font-locking weirdnesses.  Here's an example:

: +-+ (Abb. 23a)
: ENABLE--|  &  |
:   +-+   | |
:   | >=1 | +-| |---RUN-+
:   | | | | |   |
: X-| |-+ +-+   |
: Y-| | |
:   +---| | |
:   |   +-+ |
:   |   |
:   +---+

The empty char (the linebreak char) behind the last | in line 8 is
striked through, and everything in line 9 up to the second + is striked
through.  The last line has the same problem.

I can reproduce that with:

1. Put the graphic into foo.org as posted above
2. emacs -Q
3. C-x C-f foo.org

Bye,
Tassilo


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
"Eric Schulte" <[EMAIL PROTECTED]> writes:

Hi Eric,

>> Here, it prompts me for a file.  That's because `org-edit-special'
>> calls `ffap' if it doesn't know what to do.  Is that different in
>> your version?
>>
>
> Yes, for me C-c' calls `org-edit-special', which ends up calling
> `org-edit-fixed-width-region' which then opens an *Org Edit Picture*
> buffer editing the graph in artist mode.  I'm using the current
> version of org from git.

Ah, thanks.  Then I need to update to the git version, or will that be
synched to emacs trunk anytime soon?

Could you please check if you get the same font-lock gibberish as I do
with the graphic and reproduction recipe I posted as reply to Carsten a
minute ago?

Bye,
Tassilo


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Eric Schulte
Tassilo Horn <[EMAIL PROTECTED]> writes:

> Ah, thanks.  Then I need to update to the git version, or will that be
> synched to emacs trunk anytime soon?
>

I don't know how often it syncs with emacs trunk.  My guess is that it's
not very frequently.

>
> Could you please check if you get the same font-lock gibberish as I do
> with the graphic and reproduction recipe I posted as reply to Carsten a
> minute ago?
>

I pasted the following into an org file, put the cursor in the middle
and hit C-c' and it worked perfectly for me.  I assume that this is
because of our differences in org versions...

: +-+ (Abb. 23a)
: ENABLE--|  &  |
:   +-+   | |
:   | >=1 | +-| |---RUN-+
:   | | | | |   |
: X-| |-+ +-+   |
: Y-| | |
:   +---| | |
:   |   +-+ |
:   |   |
:   +---+

Best -- Eric

>
> Bye,
> Tassilo


___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Sebastian Rose

Eric Schulte wrote:

I pasted the following into an org file, put the cursor in the middle
and hit C-c' and it worked perfectly for me.  I assume that this is
because of our differences in org versions...



Same here. Works perfect. I also tried 'emacs -Q' and it works. No font
wierdness.




: +-+ (Abb. 23a)
: ENABLE--|  &  |
:   +-+   | |
:   | >=1 | +-| |---RUN-+
:   | | | | |   |
: X-| |-+ +-+   |
: Y-| | |
:   +---| | |
:   |   +-+ |
:   |   |
:   +---+

Best -- Eric


Bye,
Tassilo



___
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





___
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] BUG with artist mode eating blank lines

2008-10-09 Thread Bernt Hansen
Following the discussion about artist mode I started to play with this
today and noticed that going in and out of artist mode eats lines in my
org file.

With the following file:

,[ test.org ]
| * Drawing
| 
| : +-+ (Abb. 23a)
| : ENABLE--|  &  |
| :   +-+   | |
| :   | >=1 | +-| |---RUN-+
| :   | | | | |   |
| : X-| |-+ +-+   |
| : Y-| | |
| :   +---| | |
| :   |   +-+ |
| :   |   |
| :   +---+
| 
| 
| 
| * More stuff
| goes here
`

If you put the point somewhere in the drawing and repeatedly hit C-c '
then the blank lines before

* More stuff

get removed one at a time until it becomes part of the drawing text.

-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


Re: [Orgmode] BUG with artist mode eating blank lines

2008-10-09 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Oct 10, 2008, at 1:13 AM, Bernt Hansen wrote:


Following the discussion about artist mode I started to play with this
today and noticed that going in and out of artist mode eats lines in  
my

org file.

With the following file:

,[ test.org ]
| * Drawing
|
| : +-+ (Abb. 23a)
| : ENABLE--|  &  |
| :   +-+   | |
| :   | >=1 | +-| |---RUN-+
| :   | | | | |   |
| : X-| |-+ +-+   |
| : Y-| | |
| :   +---| | |
| :   |   +-+ |
| :   |   |
| :   +---+
|
|
|
| * More stuff
| goes here
`

If you put the point somewhere in the drawing and repeatedly hit C-c '
then the blank lines before

* More stuff

get removed one at a time until it becomes part of the drawing text.

-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




___
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: Is there some kind of verbatim environment for org?

2008-10-09 Thread Tassilo Horn
"Eric Schulte" <[EMAIL PROTECTED]> writes:

Hi Eric,

>> Could you please check if you get the same font-lock gibberish as I
>> do with the graphic and reproduction recipe I posted as reply to
>> Carsten a minute ago?
>>
>
> I pasted the following into an org file, put the cursor in the middle
> and hit C-c' and it worked perfectly for me.  I assume that this is
> because of our differences in org versions...

Ok, then I'll get org from git.

Thank a lot for testing that for me.

Bye,
Tassilo
-- 
Richard Stallman spends  his leasure time playing Duke  Nukem Forever on
GNU Hurd.


___
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