[Orgmode] Re: [PATCH] org-display-inline-images to reduce image size

2011-01-10 Thread Vladimir Alexiev
How to avoid line breakage in the patch? 
Some source lines are naturally 80 chars and I wouldn't like to shorten them.
I posted from the web (http://post.gmane.org/post.php?group=gmane.emacs.orgmode)
I guess I should get an account and post from a real mail client?

Furthermore, the Comments at the patchwork server 
(http://patchwork.newartisans.com/patch/526/)
mess up the patch, though the patch itself is ok
(http://patchwork.newartisans.com/patch/526/raw/)


___
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


Re: [Orgmode] Re: noob question about word wrap

2011-01-10 Thread Eric S Fraga
Filippo A. Salustri salus...@ryerson.ca writes:

 Hi again.
 I send the msg below a few weeks ago, and got a reasonable response from
 Ross Glover.
 However, I'm still convinced that I would prefer to try orgmode with
 different word wrapping.
 I'm looking for a way to get orgmode buffers to be in visual-line-mode and
 org-indent-mode only.
 That is, I'm looking to turn off truncate-lines and auto-fill-mode.

 Can anyone point me in the right direction?

I'm not entirely sure what you are asking but if all you wish to do is
turn off the automatic truncation of lines, simply type M-x
toggle-truncate-lines RET to turn this off if it were on and vice versa.
You can do the same for auto-fill-mode with M-x auto-fill-mode RET.

In both cases, M-x stands for Meta-x: hold your Meta or Alt key down
and press x or hit the ESC key and then the x key.  RET stands for hit
the enter key.

If you want to do this for all org files you visit, you can add these
commands to org-mode-hook.

HTH.
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.4 (release_7.4.148.g8a71)

___
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] Re: org fontifies outside of src blocks

2011-01-10 Thread Dan Davison
Jeff Horn jrhorn...@gmail.com writes:

 Beautiful. Thanks, Tom!

Hi Jeff, so you had two problems:

1. Erroneous fontification outside of blocks
2. Slowness and too much output to *Messages*

I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of (1)
before. Isn't it a bit weird that the same fix should fix (1)?

Dan


 On Sun, Jan 9, 2011 at 10:16 PM, Thomas S. Dye t...@tsdye.com wrote:
 Aloha Jeff,

 I think I had this issue.  IIRC, this is a Mac issue.  I think you can fix
 it with this:

  (setq font-lock-verbose nil)

 If not, let me know and I'll look harder.

 Tom

 On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote:

 Hey list,

 I have an annoying issue. When in *either* Aquamacs or terminal emacs,
 if I view my init file (it's in org rather than elisp) and I edit
 *anything* in the buffer, org attempts to fontify the text as
 emacs-lisp.

 It takes a few seconds for anything to show up in windowed emacsen.
 Terminal experiences no lag, so it's less of an issue. After typing a
 sentences, the message buffer has tens of instances of the following
 text:

   Fontifying  org-src-fontification:emacs-lisp-mode...
 (regexps.)

 Is this the expected behavior? I like fontification. I just only
 expect it to happen within a block, not outside of it. And yes, all of
 the blocks are closed correctly (I've double checked, but I used
 yasnippet to fill the buffer in the first place).

 Where should I start looking? :)

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/

 ___
 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




___
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


Re: [Orgmode] Help with migrating blog to org-mode format

2011-01-10 Thread Ian Barton

On 09/01/11 22:53, Myriam Abramson wrote:


Hello,

After Google dropped the ftp option to blogger, I dumped my blog to an
xml file with the hope of ressucitate it to a more friendly
environment for me. I've found this environment with a combination of
org-mode, blorg, and ... dropbox. Dropbox just provides me a link to
publish my blog wherever I want to. Blorg isn't being maintained I
believe and it has lots of error but it works in converting org-mode
to blog formatting for now and I can work on it later.

Each topic in a blog is a TODO task and the date is inserted when the
task is DONE. I'm planning to read from my xml blog and write topics
simply as * DONE mytopic ...  but how can I get the publication date
in org to get CLOSED:date on the next line?

The xml of my blog is something like that:

title type='text'  my title/title
content type='html'  my content/content
published2003-10-22T18:27:00.000-04:00/published

TIA,

myriam


I use org in combination with Jekyll and jekyll.el. The process goes 
like this:


Create draft post using jekyll.el. This goes in the _drafts directory 
and isn't published. When it's finished use jekyll.el which modified the 
filename and moves it to the _posts directory.


Export my org files to html.

Run jekyll to create the web site and rsync it to my server.

My tutorial is on worg: 
http://orgmode.org/worg/org-tutorials/org-jekyll.html


There are other ways to use org with jekyll, but this should give you 
some ideas.


Ian.

___
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


Re: [Orgmode] Re: org fontifies outside of src blocks

2011-01-10 Thread Thomas S. Dye

Hi Dan and Jeff,

I remember slow response time and output to *Messages* when working  
outside code blocks, but no erroneous fontification of text outside  
code blocks.  My hunch at the time was that emacs was determining what  
text to display and how to fontify it, and that it would do this  
regardless of whether code blocks were actually displayed.  It has  
been a while since someone on the list pointed out the fix to me, but  
I haven't run into any problems since then and my buffers are  
fontified correctly.


All the best,
Tom

On Jan 10, 2011, at 3:06 AM, Dan Davison wrote:


Jeff Horn jrhorn...@gmail.com writes:


Beautiful. Thanks, Tom!


Hi Jeff, so you had two problems:

1. Erroneous fontification outside of blocks
2. Slowness and too much output to *Messages*

I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of  
(1)

before. Isn't it a bit weird that the same fix should fix (1)?

Dan



On Sun, Jan 9, 2011 at 10:16 PM, Thomas S. Dye t...@tsdye.com wrote:

Aloha Jeff,

I think I had this issue.  IIRC, this is a Mac issue.  I think you  
can fix

it with this:

 (setq font-lock-verbose nil)

If not, let me know and I'll look harder.

Tom

On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote:


Hey list,

I have an annoying issue. When in *either* Aquamacs or terminal  
emacs,

if I view my init file (it's in org rather than elisp) and I edit
*anything* in the buffer, org attempts to fontify the text as
emacs-lisp.

It takes a few seconds for anything to show up in windowed emacsen.
Terminal experiences no lag, so it's less of an issue. After  
typing a
sentences, the message buffer has tens of instances of the  
following

text:

  Fontifying  org-src-fontification:emacs-lisp-mode...
(regexps.)

Is this the expected behavior? I like fontification. I just only
expect it to happen within a block, not outside of it. And yes,  
all of

the blocks are closed correctly (I've double checked, but I used
yasnippet to fill the buffer in the first place).

Where should I start looking? :)

--
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
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






___
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



___
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] [manual] Update solution for orgmode and yasnippet conflict

2011-01-10 Thread Puneeth Chaganti
Hi all,

I was trying to configure yasnippet for org-mode with the help of the
conflicts page [1] in the emacs manual. But I could not get it
working. Apparently the latest version of yasnippet does not work with
the solution given in the manual. After some searching, I found a
solution in Eric Schulte's  emacs-starter-kit[2].  Can someone update
the manual?

Thanks,
Puneeth

[1] - http://orgmode.org/manual/Conflicts.html
[2] - 
https://github.com/eschulte/emacs-starter-kit/raw/master/starter-kit-org.org

___
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


Re: [Orgmode] Help with migrating blog to org-mode format

2011-01-10 Thread Erik Iverson

Myriam,

I write my content in Org-mode, and use weblogger.el to post my content. 
Just search for weblogger on Emacs wiki, and perhaps this will help a 
bit too:


http://www.randomsample.de/dru5/node/77

This is about Drupal, but the ideas should work for posting to anything 
that supports xmlrpc.


--Erik

Myriam Abramson wrote:

Hello,

After Google dropped the ftp option to blogger, I dumped my blog to an
xml file with the hope of ressucitate it to a more friendly
environment for me. I've found this environment with a combination of
org-mode, blorg, and ... dropbox. Dropbox just provides me a link to
publish my blog wherever I want to. Blorg isn't being maintained I
believe and it has lots of error but it works in converting org-mode
to blog formatting for now and I can work on it later. 


Each topic in a blog is a TODO task and the date is inserted when the
task is DONE. I'm planning to read from my xml blog and write topics
simply as * DONE mytopic ...  but how can I get the publication date
in org to get CLOSED: date on the next line? 

The xml of my blog is something like that: 


title type='text' my title/title
content type='html' my content/content
published2003-10-22T18:27:00.000-04:00/published

TIA,

myriam




From the cat's little instruction handbook:

Treat yourself to a nap in the sock drawer once in awhile.

___
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


___
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] Extending paste to auto-archive a copied image

2011-01-10 Thread Marcelo de Moraes Serpa
Hi list,

So, I'm usign an emacs extension that renders links to image as the
image itself, it's a minor mode called iimage.el. It works great, but
the fact that I need to copy the image somewhere first is a time and
flow - killer. Is it possible to hook up to the paste command and, if
it's a image in the clipboard, auto-archive somewhere in the
filesystem it and then return its URL?

Thanks,

Marcelo.

___
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] Re: org fontifies outside of src blocks

2011-01-10 Thread Dan Davison
Thomas S. Dye t...@tsdye.com writes:

 Hi Dan and Jeff,

 I remember slow response time and output to *Messages* when working
 outside code blocks, but no erroneous fontification of text outside
 code blocks.  My hunch at the time

The slowness and superfluous output to *Messages* during fontification
is something which emacs does on OS X which is not related to code
blocks or Org-mode. I think the default value of `font-lock-verbose'
should be changed to nil in emacs24. I'll suggest it.

Dan

 was that emacs was determining what
 text to display and how to fontify it, and that it would do this
 regardless of whether code blocks were actually displayed.  It has
 been a while since someone on the list pointed out the fix to me, but
 I haven't run into any problems since then and my buffers are
 fontified correctly.

 All the best,
 Tom

 On Jan 10, 2011, at 3:06 AM, Dan Davison wrote:

 Jeff Horn jrhorn...@gmail.com writes:

 Beautiful. Thanks, Tom!

 Hi Jeff, so you had two problems:

 1. Erroneous fontification outside of blocks
 2. Slowness and too much output to *Messages*

 I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of
 (1)
 before. Isn't it a bit weird that the same fix should fix (1)?

 Dan


 On Sun, Jan 9, 2011 at 10:16 PM, Thomas S. Dye t...@tsdye.com wrote:
 Aloha Jeff,

 I think I had this issue.  IIRC, this is a Mac issue.  I think you
 can fix
 it with this:

  (setq font-lock-verbose nil)

 If not, let me know and I'll look harder.

 Tom

 On Jan 9, 2011, at 4:54 PM, Jeff Horn wrote:

 Hey list,

 I have an annoying issue. When in *either* Aquamacs or terminal
 emacs,
 if I view my init file (it's in org rather than elisp) and I edit
 *anything* in the buffer, org attempts to fontify the text as
 emacs-lisp.

 It takes a few seconds for anything to show up in windowed emacsen.
 Terminal experiences no lag, so it's less of an issue. After
 typing a
 sentences, the message buffer has tens of instances of the
 following
 text:

   Fontifying  org-src-fontification:emacs-lisp-mode...
 (regexps.)

 Is this the expected behavior? I like fontification. I just only
 expect it to happen within a block, not outside of it. And yes,
 all of
 the blocks are closed correctly (I've double checked, but I used
 yasnippet to fill the buffer in the first place).

 Where should I start looking? :)

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/

 ___
 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




 ___
 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


 ___
 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


___
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


Re: [Orgmode] [babel] Painless integration of source blocks with language

2011-01-10 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes:

[...]

 A crude version of the above is already possible using the
 `org-babel-detangle' function.  For example, follow the instructions in
 the attached org-mode file (which uses elisp rather than clojure code
 blocks simply for wider portability to non-clojure users).

Detangling, as currently implemented, doesn't do the job for me as it
doesn't understand noweb.  My current mode of operation with org and
babel is to have various snippets of code throughout a file and then
combine these in different ways using noweb syntax which I then tangle
to create different source files (each bringing together different
pieces in different configurations).

In any case, and please excuse me for hijacking this thread a little,
the increasing use of babel (a good thing!) especially with noweb syntax
and tangling (as this thread is about) is bringing up a document
management issue: I find it difficult (a) to remember what all my source
code snippets are called and (b) to navigate to any given snippet.  I
would love to see a babel table of contents popup (a la the table of
contents popup with reftex implements for latex files).  Is something
like this already available?  If not, how difficult would it be to
implement (I'm happy to try given a pointer in the right
direction(s)...).

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.4 (release_7.4.153.ga0b80)

___
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] Re: format text in TreeWidget.

2011-01-10 Thread Alin Soare
No.

Thanks for your answer.

No, your answer is wrong.

You did not understand what I meant.

I answer you so:

I do not like to create a tree like this :


|- a
aaa
|- b
bbb
`
c

but like this:


|- aaa
|  aaa
|- bbb
| 
|-ccc
`ccc


In other words:

Is there a function fill-paragraph for tree-mode ?


Thanks.

Alin
















quote author=Tassilo Horn-5
Alin Soare as1...@gmail.com writes:

 I did write the following code.

 As the :tag text is very long on some lines, and pass over the end the
 line, it is displayed on myltiple lines, and the tree looks spoiled. I
 wish to make the tree widget show the text formatted correctly, and on
 maximum N columns.

Hm, this somehow works, but is not perfect:

--8---cut here---start-8---
(widget-create 'tree-widget
   :node '(push-button :tag
xxx :format %[%t%]\n)
   `(tree-widget
 :tag ,(with-temp-buffer
 (set-fill-column 50)
 (insert bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla)
 (fill-paragraph)
 (buffer-string)))
   `(tree-widget
 :tag ,(with-temp-buffer
 (set-fill-column 60)
 (insert foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo foo foo foo)
 (fill-paragraph)
 (buffer-string)))
   `(tree-widget
 :tag ,(with-temp-buffer
 (set-fill-column 70)
 (insert baz baz baz baz baz baz baz baz baz baz baz baz baz
baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz
baz baz baz baz baz baz baz baz baz baz baz)
 (fill-paragraph)
 (buffer-string
--8---cut here---end---8---

The problem is that only the first line has correct tree lines...

But maybe that's still a pointer into the right direction.

Bye,
Tassilo



/quote
___
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] Re: format text in TreeWidget.

2011-01-10 Thread Chong Yidong
Alin Soare as1...@gmail.com writes:

 |- aaa
 |  aaa
 |- bbb
 | 
 |-ccc
 `ccc

 Is there a function fill-paragraph for tree-mode ?

You could look at the value of (widget-get widget :indent) and emit a
string that is filled accordingly.

___
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] Re: format text in TreeWidget.

2011-01-10 Thread Alin Soare
I generate the tree in the following order:

XML - (xml-parse-tag) - LISP - (defining xml-tags as lisp functions) -
tree-widget format.

I can insert to te level xml-tags as lisp functions an accumulator to help
me know the

:level N

of every tree-widget element. N can represens the number of columns at the
beginning of a line used by group

| [N times]

Supposing you have a (:level N) element for every element of tree-widget,
how do you define a fill-paragraph function in tree-widget mode ?

Please help from the author of tree-widget and everybody else who knows it .


Alin.












2011/1/10 Alin Soare as1...@gmail.com


 No.

 Thanks for your answer.

 No, your answer is wrong.

 You did not understand what I meant.

 I answer you so:

 I do not like to create a tree like this :


 |- a
 aaa
 |- b
 bbb
 `
 c

 but like this:


 |- aaa
 |  aaa
 |- bbb
 | 
 |-ccc
 `ccc


 In other words:

 Is there a function fill-paragraph for tree-mode ?


 Thanks.

 Alin
















 quote author=Tassilo Horn-5
 Alin Soare as1...@gmail.com writes:

  I did write the following code.
 
  As the :tag text is very long on some lines, and pass over the end the
  line, it is displayed on myltiple lines, and the tree looks spoiled. I
  wish to make the tree widget show the text formatted correctly, and on
  maximum N columns.

 Hm, this somehow works, but is not perfect:

 --8---cut here---start-8---
 (widget-create 'tree-widget
:node '(push-button :tag
 xxx :format %[%t%]\n)
`(tree-widget
  :tag ,(with-temp-buffer
  (set-fill-column 50)
  (insert bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla)
  (fill-paragraph)
  (buffer-string)))
`(tree-widget
  :tag ,(with-temp-buffer
  (set-fill-column 60)
  (insert foo foo foo foo foo foo foo foo foo foo foo foo foo
 foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
 foo foo foo foo foo foo foo foo foo foo foo)
  (fill-paragraph)
  (buffer-string)))
`(tree-widget
  :tag ,(with-temp-buffer
  (set-fill-column 70)
  (insert baz baz baz baz baz baz baz baz baz baz baz baz baz
 baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz baz
 baz baz baz baz baz baz baz baz baz baz baz)
  (fill-paragraph)
  (buffer-string
 --8---cut here---end---8---

 The problem is that only the first line has correct tree lines...

 But maybe that's still a pointer into the right direction.

 Bye,
 Tassilo



 /quote


___
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] org-faq: Invalid XHTML

2011-01-10 Thread Jambunathan K

There are 16 errors while validating org-faq page.

http://validator.w3.org/check?uri=http%3A%2F%2Forgmode.org%2Fworg%2Forg-faq.htmlcharset=%28detect+automatically%29doctype=Inlinegroup=0

Can such errors be not caught as soon as it happens?

Jambunathan K.


___
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] Improving speed of org-mac-protocol

2011-01-10 Thread Marcelo de Moraes Serpa
Hi list,

The org-mac-protocol stuff is really amazing and works really well.
The only downside is that it takes a bit to show in the first call.
Subsequent calls are relatively fast, but even so, I'd like to know if
there is a way to speed it up. The reason is that I've been spolied by
Thngs.app's capture dialog (I had it bound to shift-space). It's by no
means a reason to stop using org-mac-protocol, but would be nice
nevertheless to make it smoother :)

Keep up the good work, the org echosystem just keeps getting more and
more awesome!

Marcelo.

___
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


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-10 Thread Michael Brand
Hi Marcelo, hi all

I think I have drilled down this slowness to be related with
viper-mode color settings but now I can not help more. Since it seems
to be a problem only in org-mode I hope that someone with a Mac OS X
Cocoa Emacs 23 here on the list can analyze this further.

On Mon, Jan 10, 2011 at 03:26, Marcelo de Moraes Serpa
celose...@gmail.com wrote:
 Has anyone tried to use this combo? I find that viper is too slow when
 in insert mode (when typing, actually), but only when in a buffer
 where orgmode is activated. Any ideas ?

I noticed only now that I have this slowness when I start a Mac OS X
Cocoa Emacs 23.2.1 with -q. With my settings it happened only
sporadically every few weeks or months and disappeared I think after
closing the buffer and reopening the file.

Now I drilled down the slowness to be related with my color setting.
When I have no or an empty ~/.emacs and a ~/.viper with this content:

(setq viper-inhibit-startup-message 't)
(setq viper-expert-level '3)
(setq viper-vi-state-cursor-color sea green)
(setq viper-insert-state-cursor-color sea green)

and enter viper-mode before or after opening a file in org-mode the
slowness disappears. When I uncomment only one of the two lines above
with the viper-*-state-cursor-color and restart Emacs the slowness is
back. When I stay in the buffer and change its major mode from
org-mode to fundamental-mode the slowness disappears again.

In a Linux GNU Emacs 23.2.1 I can not observe such slowness.

Michael

___
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] [BUG] .dir-locals.el broken links on cygwin

2011-01-10 Thread Vladimir Alexiev
Some of the .dir-locals.el files in the distribution are 
symbolic links to another.
On cygwin they come out as LNK files.
Emacs tries to load such LNK file and fails.
I had to remove these files to be able to edit orgmode elisp files.

Perhaps there is a way to make emacs on cygwin interpret LNK as links,
then it should be mentioned in the installation instructions.

Otherwise (and I think better), the build process could copy .dir-locals.el
from the master dir to the slave dirs


___
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


Re: [Orgmode] Viper-mode + orgmode + emacs 23.xx on OSX, slowness in insert-mode

2011-01-10 Thread Marcelo de Moraes Serpa
Thanks Michael, I will try out your settings!

It seems that Cocoa Emacs has several problems. Even if it works well
overall, I've read in a lot of places users complaining about it, and
indeed, it has several rendering flaws, just use it for any extended
period of time and you'll spot a few, a bunch are related to
performance.

I hope the emacs developers spend more time on the Cocoa/OSX side of
things for version 24! MacVim has been getting a lot of hype and
attention lately and is very well supported, to make a quick
comparison here.

Cheers,

Marcelo.

On Mon, Jan 10, 2011 at 4:14 PM, Michael Brand
michael.ch.br...@gmail.com wrote:
 Hi Marcelo, hi all

 I think I have drilled down this slowness to be related with
 viper-mode color settings but now I can not help more. Since it seems
 to be a problem only in org-mode I hope that someone with a Mac OS X
 Cocoa Emacs 23 here on the list can analyze this further.

 On Mon, Jan 10, 2011 at 03:26, Marcelo de Moraes Serpa
 celose...@gmail.com wrote:
 Has anyone tried to use this combo? I find that viper is too slow when
 in insert mode (when typing, actually), but only when in a buffer
 where orgmode is activated. Any ideas ?

 I noticed only now that I have this slowness when I start a Mac OS X
 Cocoa Emacs 23.2.1 with -q. With my settings it happened only
 sporadically every few weeks or months and disappeared I think after
 closing the buffer and reopening the file.

 Now I drilled down the slowness to be related with my color setting.
 When I have no or an empty ~/.emacs and a ~/.viper with this content:

 (setq viper-inhibit-startup-message 't)
 (setq viper-expert-level '3)
 (setq viper-vi-state-cursor-color     sea green)
 (setq viper-insert-state-cursor-color sea green)

 and enter viper-mode before or after opening a file in org-mode the
 slowness disappears. When I uncomment only one of the two lines above
 with the viper-*-state-cursor-color and restart Emacs the slowness is
 back. When I stay in the buffer and change its major mode from
 org-mode to fundamental-mode the slowness disappears again.

 In a Linux GNU Emacs 23.2.1 I can not observe such slowness.

 Michael


___
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] Re: A couple of suggestions

2011-01-10 Thread Matt Lundin
Filippo A. Salustri salus...@ryerson.ca writes:

 2. A vi-esque data entry mode
 No offence, but I've always found emacs-y key bindings to be incredibly
 unintuitive compared to, say, vi/vim.
 The idea would be to rebind all keys on top of something like, but not
 necessarily identical to, vi-mode.
 I find that there are two thinking styles when I'm using org-mode:
 organizing and gathering.  When gathering, I'm mostly in emacs mode
 cuz it's mostly entering data with little editing except for
 corrections to spelling etc.  When organizing, I'm doing little data
 entry, and mostly moving stuff around, adding dates, changing task
 status etc.
 In organizing mode, it's a pain for me to do the Cu-Cc-Cwhatever thing,
 so I think it could be useful to people to have a choice of having a
 simpler keystroke set available.

Have you checked out the speed keys feature?

(info (org) Speed keys)

Best,
Matt

___
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] Re: A couple of suggestions

2011-01-10 Thread Filippo A. Salustri
Oy-vay.  There's always another surprise coming, ain't there.
Thanks for the pointer!  This could be quite useful to me.

Cheers.
Fil

On 10 January 2011 19:28, Matt Lundin m...@imapmail.org wrote:

 Filippo A. Salustri salus...@ryerson.ca writes:
 
  2. A vi-esque data entry mode
  No offence, but I've always found emacs-y key bindings to be incredibly
  unintuitive compared to, say, vi/vim.
  The idea would be to rebind all keys on top of something like, but not
  necessarily identical to, vi-mode.
  I find that there are two thinking styles when I'm using org-mode:
  organizing and gathering.  When gathering, I'm mostly in emacs mode
  cuz it's mostly entering data with little editing except for
  corrections to spelling etc.  When organizing, I'm doing little data
  entry, and mostly moving stuff around, adding dates, changing task
  status etc.
  In organizing mode, it's a pain for me to do the Cu-Cc-Cwhatever thing,
  so I think it could be useful to people to have a choice of having a
  simpler keystroke set available.

 Have you checked out the speed keys feature?

 (info (org) Speed keys)

 Best,
 Matt




-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/
___
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


Re: [Orgmode] Re: org fontifies outside of src blocks

2011-01-10 Thread Jeff Horn
 On Jan 10, 2011, at 3:06 AM, Dan Davison wrote:
 Hi Jeff, so you had two problems:

 1. Erroneous fontification outside of blocks
 2. Slowness and too much output to *Messages*

 I was aware that Tom's fix fixes (2) on OS X, but I haven't heard of (1)
 before. Isn't it a bit weird that the same fix should fix (1)?

 Dan

Yes, it is weird. As I said, I continued to get the same verbatim
messages in my buffer while in terminal emacs, which I've installed
from source. Hard to believe OSX did something funky to terminal
emacs, but it is possible.

However, I can confirm that org/emacs is fontifying everything
correctly in the buffer when I type between src blocks. For instance,
typing () in a source block gets it indented and makes the quote
fontified. Outside source blocks, it is apparently rendered as
plaintext.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
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


Re: [Orgmode] [manual] Update solution for orgmode and yasnippet conflict

2011-01-10 Thread Jeff Horn
I can confirm Eric's setup is the best I've used for yasnippet. I
probably didn't look as hard as Puneeth, though. :)

On Mon, Jan 10, 2011 at 10:50 AM, Puneeth Chaganti puncha...@gmail.com wrote:
 Hi all,

 I was trying to configure yasnippet for org-mode with the help of the
 conflicts page [1] in the emacs manual. But I could not get it
 working. Apparently the latest version of yasnippet does not work with
 the solution given in the manual. After some searching, I found a
 solution in Eric Schulte's  emacs-starter-kit[2].  Can someone update
 the manual?

 Thanks,
 Puneeth

 [1] - http://orgmode.org/manual/Conflicts.html
 [2] - 
 https://github.com/eschulte/emacs-starter-kit/raw/master/starter-kit-org.org

 ___
 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




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/

___
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] [PATCH] Fix conflict doc

2011-01-10 Thread Jeff Horn
(Eric, mind glancing at the patch?)

In regard to the following message:

http://article.gmane.org/gmane.emacs.orgmode/35931

This patch incorporates Eric Schulte's method of making org-mode work
with yasnippet into the documentation.

-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/


fix-conflict-doc.patch
Description: Binary data
___
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