Re: [Orgmode] undo in org.el

2007-11-14 Thread Carsten Dominik


On  14Nov2007, at 12:17 AM, Carsten Dominik wrote:



On  13Nov2007, at 11:50 PM, Wes Nakamura wrote:




| On 13/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote:
|  Dammit, if I only had know about this earlier!  I implemented
|  multibuffer undo for the agenda, sort-of by hand.  This looks  
much

|  easier, but on this other hand it will not work on XEmacs.
| 
|  Sometimes I wander how many XEmacs users are out there, and if  
it is

|  still worth supporting it
| 
| 
|  - Carsten
| 

Another XEmacs user here.  On XEmacs I like being able to have a
default variable width font in the org-mode buffer but still have the
calendar, etc, come up in a monospace font in a different buffer  
in the

same frame.  I haven't been able to do this in Emacs since I believe
fonts are not buffer local but applied to a frame.



Yes, XEmacs has many great features.  I did use it for many years  
as my main Emacs.


- 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: undo in org.el

2007-11-14 Thread Tassilo Horn
Wes Nakamura [EMAIL PROTECTED] writes:

Hi Wes,

 On XEmacs I like being able to have a default variable width font in
 the org-mode buffer but still have the calendar, etc, come up in a
 monospace font in a different buffer in the same frame.  I haven't
 been able to do this in Emacs since I believe fonts are not buffer
 local but applied to a frame.

That's wrong.  You can mix as many proportional and variable width faces
in one buffer as you whish.  For example you could use big variable
width fonts for org headlines and small proportional fonts for the
normal content.

Simply set point on the face you want to change and hit `M-x
customize-face RET'.

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] undo in org.el

2007-11-14 Thread Carsten Dominik


On  13Nov2007, at 11:50 PM, Wes Nakamura wrote:




| On 13/11/2007, Carsten Dominik [EMAIL PROTECTED] wrote:
|  Dammit, if I only had know about this earlier!  I implemented
|  multibuffer undo for the agenda, sort-of by hand.  This looks much
|  easier, but on this other hand it will not work on XEmacs.
| 
|  Sometimes I wander how many XEmacs users are out there, and if  
it is

|  still worth supporting it
| 
| 
|  - Carsten
| 

Another XEmacs user here.  On XEmacs I like being able to have a
default variable width font in the org-mode buffer but still have the
calendar, etc, come up in a monospace font in a different buffer in  
the

same frame.  I haven't been able to do this in Emacs since I believe
fonts are not buffer local but applied to a frame.


I am not sure about this, but yes, XEmacs has many great features,  
like specifyiers.  I did use it for many years as my main Emacs.


- 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] Updating OrgMode

2007-11-14 Thread Bastien
Hi Graham,

Graham Smith [EMAIL PROTECTED] writes:

 I am returning to emacs after a brief try out some time ago. As Org-mode
 is now part of the distribution I'm no longer too sure how to update
 it. Before I had a folder for Org-mode that my .emacs file pointed to
 and I just copied all the new files into that folder.

Welcome back to Emacs :)

Unless you're using Emacs CVS, it's likely that you want to download the
whole Org package every now and then, and make sure you are using org.el
that comes with it.

To get the latest Org distribution, I am using Pete's script (attached).
Please have a look at it; you certainly want to modify variables to make
it work in your environment.

#!/bin/sh

# script to automate pullingthe latest org from Carsten's site
# PJP [EMAIL PROTECTED]
# $Revision: 1.1 $
# $Log: update-org.sh,v $
# Revision 1.1  2007/04/26 05:53:54  pete
# Initial revision

# directory where the org directory is located
DIR=$HOME/elisp/testing
ORGDIR=$DIR/org
TMP=/tmp
TMPTAR=$TMP/org.tar.gz

# This is where I keep my copy of CVS emacs. 
EMACSBIN=/usr/local/bin/emacs

# you should not need to edit anything else below here

# go to the tmp dir
cd $TMP

# make sure we have the lisp dir
mkdir -p $DIR

# get the tar file
# wget http://staff.science.uva.nl/~dominik/Tools/org/org.tar.gz
wget http://orgmode.org/org.tar.gz

# ORGDIR is a symbolic link. We get rid of it
rm $ORGDIR

# cd to the lisp directory
cd $DIR

# unpack the tar file
tar xzvf $TMPTAR

# what is the new directory name?
ORGVER=`tar tvf $TMPTAR | head -1 | sed 's/  */ /g' | cut -d' ' -f6`

# remake the link...
ln -s $ORGVER org

# make ...
cd $ORGDIR
mv Makefile Makefile.orig
sed s:EMACS=emacs:EMACS=$EMACSBIN:  Makefile.orig  Makefile
make

To load the most recent org.el, always put it in the same location and
add this location to your load-path in ~/.emacs:

(add-to-list 'load-path ~/elisp/testing/org/)

Then doing a simple (require 'org-install) somewhere after this should
do the trick.  It will override any org.el that you might already have
in your .../emacs/lisp/ directory.

HTH,

-- 
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


Re: [Orgmode] Updating OrgMode

2007-11-14 Thread Graham Smith
Bastien,

Thanks but that is roughly what I think I was doing and didn't work.

I have a directory called emacsaddins with a subdirectory called
Orgmode.

Together with lines in .emacs to load and require orgmode from that
directory.

In the past I have just overwritten the contents of the Orgmode directory
with the latest release and that has then been the version then loaded in
Emacs.

On this occasion I over wrote the contents of the orgmode directory with
5.13i, but Emacs still loaded 4.67. hence my question about updating because
what I was doing in the past didn't work. Which I assumed was because
OrgMode was part of Emacs now.

Having said that the lines in my .emac is slightly different.

(add-to-list 'load-path C:\\Program Files\\EmacAddIns\\org-mode)
 (require 'org)

but this seemed to work in the past

I'm afraid I don't know how to use the script you have attached :-(

Sorry I'm being so dim

Graham
On 14/11/2007, Bastien [EMAIL PROTECTED] wrote:

 Hi Graham,

 Graham Smith [EMAIL PROTECTED] writes:

  I am returning to emacs after a brief try out some time ago. As Org-mode
  is now part of the distribution I'm no longer too sure how to update
  it. Before I had a folder for Org-mode that my .emacs file pointed to
  and I just copied all the new files into that folder.

 Welcome back to Emacs :)

 Unless you're using Emacs CVS, it's likely that you want to download the
 whole Org package every now and then, and make sure you are using org.el
 that comes with it.

 To get the latest Org distribution, I am using Pete's script (attached).
 Please have a look at it; you certainly want to modify variables to make
 it work in your environment.


 To load the most recent org.el, always put it in the same location and
 add this location to your load-path in ~/.emacs:

 (add-to-list 'load-path ~/elisp/testing/org/)

 Then doing a simple (require 'org-install) somewhere after this should
 do the trick.  It will override any org.el that you might already have
 in your .../emacs/lisp/ directory.

 HTH,

 --
 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



___
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] Updating OrgMode

2007-11-14 Thread Bastien
Graham Smith [EMAIL PROTECTED] writes:

 Having said that the lines in my .emac is slightly different.

 (Add-to-list 'load-path C:\\Program Files\\EmacAddIns\\org-mode)
   ^

I guess this should come in lower-case, no?

(Very unlikely the erro comes from this though, this should return an
error...)

 I'm afraid I don't know how to use the script you have attached :-(

Maybe Windows people in this list have other ways of automating the
process of updating their Org installation -- and will share on the
list...

-- 
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


Re: [Orgmode] Re: undo in org.el

2007-11-14 Thread William Henney
Hi Tassilo

On 11/14/07, Tassilo Horn [EMAIL PROTECTED] wrote:
 Wes Nakamura [EMAIL PROTECTED] writes:

 Hi Wes,

  On XEmacs I like being able to have a default variable width font in
  the org-mode buffer but still have the calendar, etc, come up in a
  monospace font in a different buffer in the same frame.  I haven't
  been able to do this in Emacs since I believe fonts are not buffer
  local but applied to a frame.

 That's wrong.  You can mix as many proportional and variable width faces
 in one buffer as you whish.  For example you could use big variable
 width fonts for org headlines and small proportional fonts for the
 normal content.

 Simply set point on the face you want to change and hit `M-x
 customize-face RET'.


No. I think you are missing Wes' point. Of course you can set
different fonts for different faces, but that does not help with the
particular issue that Wes mentions. The calendar uses the default
face, as does org-mode for normal text. Therefore, you can't change
one without screwing up the other. If XEmacs allows the font
associated with a particular face to be buffer-local, then that is a
big improvement.

A work-around for GNU Emacs would be for org to use define an
org-default face that inherits from default but can be changed
independently. Is this feasible, Carsten? I would appreciate that
feature too.

The main reason I don't use XEmacs any more is that there is no
version for OS X that is as nice as Aquamacs...

Cheers

Will (XEmacs user 1993-2005, GNU Emacs user 1990-1993, 2005-present)

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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] Updating OrgMode

2007-11-14 Thread Bastien
William Case [EMAIL PROTECTED] writes:

 To load the most recent org.el, always put it in the same location and
 add this location to your load-path in ~/.emacs:
 
 (add-to-list 'load-path ~/elisp/testing/org/)
 
 Then doing a simple (require 'org-install) somewhere after this should
 do the trick.  It will override any org.el that you might already have
 in your .../emacs/lisp/ directory.
 
 Does this also work on a Linux box (Fedora7 == Fc8)?

Sure it does!  Emacs is Emacs.

-- 
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] Re: Updating OrgMode

2007-11-14 Thread Tony Mc
On Wed, 14 Nov 2007 14:07:35 +, Bastien [EMAIL PROTECTED] wrote:

 Graham Smith [EMAIL PROTECTED] writes:
 
  Having said that the lines in my .emac is slightly different.
 
  (Add-to-list 'load-path C:\\Program Files\\EmacAddIns\\org-mode)
^
 
 I guess this should come in lower-case, no?
 
 (Very unlikely the erro comes from this though, this should return an
 error...)
 
  I'm afraid I don't know how to use the script you have attached :-(
 
 Maybe Windows people in this list have other ways of automating the
 process of updating their Org installation -- and will share on the
 list...

Graham,

if you have 4NT you can use the following batch file to do the
installation. Obviously you should change the directories at the top
of the file to suit your setup. Just download the latest org-xxx.zip
and then do org_update xxx and emacs will use the latest org-mode. I
have 

(setq load-path
  (cons ~/.emacs.d/elisp load-path))

in my .emacs so that emacs knows to look there for addon packages. I
also have an environment variable INFOPATH set to include
~/.elisp.d/info before the standard emacs info directory, so that info
in emacs picks up the documentation for the latest version.

HTH, Tony

 Batch file org_update.btm ---
@ECHO OFF
REM Update the Emacs org-mode automatically
REM Usage: org_update xxx
REM   to update to version xxx

SETLOCAL
SET ORGFILES=org-%1
SET EMACS=C:\emacs\bin\emacs.exe
SET EMACS_OPTS=--batch -q -f batch-byte-compile
SET ELISPDIR=D:\.emacs.d\elisp
SET INFODIR=D:\.emacs.d\info
SET DOWNLOADDIR=D:\Downloads\Editors\Emacs\Elisp
SET ORGZIPFILE=%ORGFILES.zip

REM Unpack the downloaded file in a temp directory
CDD %DOWNLOADDIR
unzip -d %TEMP\ -o %ORGZIPFILE
CDD %TEMP\%ORGFILES

REM Compile the Elisp sources
FOR %f in (org*.el) %EMACS %EMACS_OPTS %f

REM Copy parts of the archive to where Emacs can find them
COPY org*.el org*.elc %ELISPDIR\
COPY org %INFODIR\
COPY org.pdf orgcard.pdf %DOWNLOADDIR\

REM Cleanup temp files
CDD %TEMP\
DEL %ORGFILES\*.* /s /x /y
ENDLOCAL



___
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: Updating OrgMode

2007-11-14 Thread Graham Smith
Tony,

Thanks I don't 4NT, indeed had never heard of it until now, but its all
useful to know and building my knowledge.

Graham

On 14/11/2007, Tony Mc [EMAIL PROTECTED] wrote:

 On Wed, 14 Nov 2007 14:07:35 +, Bastien [EMAIL PROTECTED] wrote:

  Graham Smith [EMAIL PROTECTED] writes:
 
   Having said that the lines in my .emac is slightly different.
  
   (Add-to-list 'load-path C:\\Program Files\\EmacAddIns\\org-mode)
 ^
 
  I guess this should come in lower-case, no?
 
  (Very unlikely the erro comes from this though, this should return an
  error...)
 
   I'm afraid I don't know how to use the script you have attached :-(
 
  Maybe Windows people in this list have other ways of automating the
  process of updating their Org installation -- and will share on the
  list...

 Graham,

 if you have 4NT you can use the following batch file to do the
 installation. Obviously you should change the directories at the top
 of the file to suit your setup. Just download the latest org-xxx.zip
 and then do org_update xxx and emacs will use the latest org-mode. I
 have

 (setq load-path
   (cons ~/.emacs.d/elisp load-path))

 in my .emacs so that emacs knows to look there for addon packages. I
 also have an environment variable INFOPATH set to include
 ~/.elisp.d/info before the standard emacs info directory, so that info
 in emacs picks up the documentation for the latest version.

 HTH, Tony

  Batch file org_update.btm ---
 @ECHO OFF
 REM Update the Emacs org-mode automatically
 REM Usage: org_update xxx
 REM   to update to version xxx

 SETLOCAL
 SET ORGFILES=org-%1
 SET EMACS=C:\emacs\bin\emacs.exe
 SET EMACS_OPTS=--batch -q -f batch-byte-compile
 SET ELISPDIR=D:\.emacs.d\elisp
 SET INFODIR=D:\.emacs.d\info
 SET DOWNLOADDIR=D:\Downloads\Editors\Emacs\Elisp
 SET ORGZIPFILE=%ORGFILES.zip

 REM Unpack the downloaded file in a temp directory
 CDD %DOWNLOADDIR
 unzip -d %TEMP\ -o %ORGZIPFILE
 CDD %TEMP\%ORGFILES

 REM Compile the Elisp sources
 FOR %f in (org*.el) %EMACS %EMACS_OPTS %f

 REM Copy parts of the archive to where Emacs can find them
 COPY org*.el org*.elc %ELISPDIR\
 COPY org %INFODIR\
 COPY org.pdf orgcard.pdf %DOWNLOADDIR\

 REM Cleanup temp files
 CDD %TEMP\
 DEL %ORGFILES\*.* /s /x /y
 ENDLOCAL



 ___
 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: undo in org.el

2007-11-14 Thread Tassilo Horn
William Henney [EMAIL PROTECTED] writes:

Hi William,

  On XEmacs I like being able to have a default variable width font
  in the org-mode buffer but still have the calendar, etc, come up in
  a monospace font in a different buffer in the same frame.  I
  haven't been able to do this in Emacs since I believe fonts are not
  buffer local but applied to a frame.

 That's wrong.  You can mix as many proportional and variable width
 faces in one buffer as you whish.  For example you could use big
 variable width fonts for org headlines and small proportional fonts
 for the normal content.

 Simply set point on the face you want to change and hit `M-x
 customize-face RET'.

 No. I think you are missing Wes' point. Of course you can set
 different fonts for different faces, but that does not help with the
 particular issue that Wes mentions. The calendar uses the default
 face, as does org-mode for normal text. Therefore, you can't change
 one without screwing up the other. If XEmacs allows the font
 associated with a particular face to be buffer-local, then that is a
 big improvement.

And how does XEmacs know what face a new buffer should use?  By its
major mode?

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: undo in org.el

2007-11-14 Thread William Henney
On 11/14/07, Tassilo Horn [EMAIL PROTECTED] wrote:
 William Henney [EMAIL PROTECTED] writes:
  If XEmacs allows the font
  associated with a particular face to be buffer-local, then that is a
  big improvement.

 And how does XEmacs know what face a new buffer should use?  By its
 major mode?


I really have no idea, but I'm guessing it works the same as any other
buffer-local variable. That is, there is a global default value that
is used for any buffer that has not explicitly set the variable
locally.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia


___
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] Survey of org-mode users

2007-11-14 Thread Charles Cave
I am running a short survey on org-mode with Carsten's approval to help
understand the environments in which org-mode is used and the applications.

Please give your feedback on org-mode by completing this short 10 question 
survey

http://www.surveymonkey.com/s.aspx?sm=CetuI2wsPz_2fsg6FAzvubnA_3d_3d

I am using the free version of survey monkey, so I am restricted to 10 questions
and 100 responses, so please respond soon!

Thank you,
Charles 



___
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] Survey of org-mode users (correction on link)

2007-11-14 Thread Charles Cave
 
 Please give your feedback on org-mode by completing this short 10 
 question survey

http://www.surveymonkey.com/s.aspx?sm=CetuI2wsPz_2fsg6FAzvubnA_3d_3d


___
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