[Orgmode] Re: Safer kill-line for org-mode
On Sun, 27 Jan 2008 23:29:50 + Piotr Zielinski [EMAIL PROTECTED] wrote: Hi, Read this to avoid losing your work. Standard kill-line deletes all text from the point to the end of the _visible_ line. It happened to me a few times that I pressed C-k to delete a few final words of a headline, but instead the whole (invisible) subtree was deleted. This kind of mistake is costly Yeah. Felt the pain this weekend! Looks like a great addition. Thx Detlef because it may go unnoticed for weeks, when you start wondering what happened to a sizeable part of your org file and have to go through rather old backups. Below is what I believe to be a safer version of kill-line: it deletes text only to the end of the real line, unless used at the beginning of the line, in which case it behaves as the standard kill-line. I haven't tested much yet, but it seems to be working ok. (defun kill-line-safe () (interactive) (if (bolp) (kill-line) (kill-region (point) (point-at-eol (define-key global-map \C-k 'kill-line-safe) Piotr ___ 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] Fill-paragraph and orgmode
Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] Sure, it only takes a RET to fix, but anyway, if anyone has a solution for this, please share with me. Thanks, Hugo ___ 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] Fill-paragraph and orgmode
Ooops, sorry for that. The point is that. after fill-paragraph, the date comes to the same line that my text, ending up with something like below. * TODO title Text text [2008-...] Having the date stay on the line below would be nicer, so if anyone knows how to customize fill-paragraph (or org-fill-paragraph) to achieve that, please tell me. Thanks, Hugo On Jan 28, 2008 8:08 AM, Phil Jackson [EMAIL PROTECTED] wrote: Hugo Schmitt [EMAIL PROTECTED] writes: Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] I think your MUA is wrapping your text :/ Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] Fill-paragraph and orgmode
Hugo Schmitt [EMAIL PROTECTED] writes: Hi everyone. There is a little issue that I keep having with org-mode. Say the cursor is on : * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] After you press M-q you get this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] ... while what i really wanted was this: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] I think your MUA is wrapping your text :/ Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] (no subject)
This is really a question for Bastien I tried to use blorg.el but I can't load it it says Compiling file g:/Emacs/site-lisp/blorg.el at Mon Jan 28 13:17:20 2008 blorg.el:133:1:Warning: value returned from (fboundp (quote replace-regexp-in-string)) is unused blorg.el:1405:1:Error: Invalid read syntax: ? can you help me? ___ 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] Fill-paragraph and orgmode
On Jan 28, 2008 4:54 AM, Hugo Schmitt [EMAIL PROTECTED] wrote: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] For what it's worth, this looked right until I hit reply. About your real problem, I don't know what the right answer is. You need a way for wrap to know that you want the date stamp to mark the beginning of a paragraph. The problem is that right now they can be used in the middle of a paragraph and I believe some people (myself included) use that. I have a status log in each project where each entry starts with a date stamp and I avoid this problem by making each entry a list item. M-q handles indenting correctly then. == * WORKING project foo *** Status Log - [2008-01-01] I'm starting today. The requirements are a little confusing but I know what I have to do. - [2008-01-02] Everything is going great. My code works exactly how I planned. - [2008-01-03] My tests pass. I'm done. The universe is in harmony. - [2008-01-04] OMFG! Dan is such a bonehead. He doesn't get how things have to work! - [2008-01-05] OK. I re-wrote some stuff. It's ugly but it works. Kinda. I wish people would read the requirements! I don't know if this will work for you. I was doing the status log as a list from the beginning, so the date stamp wrapping was never a problem for me. Edd ___ 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] Fill-paragraph and orgmode
Eddward DeVilla [EMAIL PROTECTED] writes: On Jan 28, 2008 4:54 AM, Hugo Schmitt [EMAIL PROTECTED] wrote: * TODO Title Words words words words words words words words words words words words words words words [2008-01-25 sex] For what it's worth, this looked right until I hit reply. You saw the text/html part I saw the text/plain part. Another reason for HTML mail to die a painful death! Erm...you can get back to the important stuff now. :) -- Phil Jackson http://www.shellarchive.co.uk ___ 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] org-export-region-as-latex exports more than region
Tables are one of the handiest org mode features, especially since I can export them into latex. But there's a small bug: If I select a single table in an org file, and then type: M-x org-export-region-as-latex org mode exports all tables in that file, plus some miscellaneous headlines. Scott ___ 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: patch: link to the log of an ERC session
Chaps, Bastien [EMAIL PROTECTED] writes: Carsten Dominik [EMAIL PROTECTED] writes: I would really appreciate if people can test this out and give feedback - I would like to include this file with Org-mode, but I am not an irc/erc user myself. I've been testing it and it works fine. The patch below does this: [...] - when point is after ERC prompt, don't add this as a string for contextual search, since such a search won't produce the right result. I'm not sure that will produce the right result either in that case. What about if I changed it to link to the line above (if there isn't one then just the file)? Thanks for this add-on No problemo :) [...] Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Problems with moving items
Hi, After I upgraded my old 5.17 with 5.19 version it started to move too much spaces when I used archive, move or any other feature that uses it. Lets say we have this list: * hehe ** TODO hehe1 ** TODO hehe2 ** TODO hehe3 Now we archive hehe2. This is what you get: * hehe ** TODO hehe1 ** TODO hehe3 Is this a feature or a bug? Thanks, Sebastjan ___ 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] org-export-region-as-latex exports more than region
Tables are one of the handiest org mode features, especially since I can export them into latex. But there's a small bug: If I select a single table in an org file, and then type: M-x org-export-region-as-latex org mode exports all tables in that file, plus some miscellaneous headlines. Scott ___ 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?] org-open-file cannot handle spaces in file name?
Hi, Xiao-Yong Jin [EMAIL PROTECTED] writes: Hi, When I open a link in org-mode containing spaces in the actual file name, it gives out error as in attached file. Emacs version: GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1) of 2008-01-13 on neutrino I can't quite replicate this on 23.0.50.3 (5.19a), if I try with a file called 'file with spaces.txt' all is well. With 'file with spaces.pdf' I get a different error to you (args out of range). I'll try with 22 tomorrow and see what I get. Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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?] org-open-file cannot handle spaces in file name?
Hi, When I open a link in org-mode containing spaces in the actual file name, it gives out error as in attached file. error Description: error while opening a file Emacs version: GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1) of 2008-01-13 on neutrino org-mode version: Org-mode version 5.19a I'm not sure it's a problem of a particular emacs version or of the org-mode, since I updated my emacs and org-mode together and forget what was the version of org-mode before updating. -- 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] [BUG?] org-open-file cannot handle spaces in file name?
Phil Jackson [EMAIL PROTECTED] writes: Hi, Xiao-Yong Jin [EMAIL PROTECTED] writes: Hi, When I open a link in org-mode containing spaces in the actual file name, it gives out error as in attached file. Emacs version: GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1) of 2008-01-13 on neutrino I can't quite replicate this on 23.0.50.3 (5.19a), if I try with a file called 'file with spaces.txt' all is well. With 'file with spaces.pdf' I get a different error to you (args out of range). I'll try with 22 tomorrow and see what I get. I also see `Args out of range' error. In fact, if I don't turn on debug using `toggle-debug-on-error', it shows Args out of range: 41, 42 in the mini-buffer. Above two numbers depend on the file name. Best, 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] [BUG?] org-open-file cannot handle spaces in file name?
What does the link look like in the org-mode file? Please turn on `visible-mode' and copy the full link. - Carsten On Jan 28, 2008, at 11:52 PM, Xiao-Yong Jin wrote: Hi, When I open a link in org-mode containing spaces in the actual file name, it gives out error as in attached file. error Emacs version: GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.1) of 2008-01-13 on neutrino org-mode version: Org-mode version 5.19a I'm not sure it's a problem of a particular emacs version or of the org-mode, since I updated my emacs and org-mode together and forget what was the version of org-mode before updating. -- 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 ___ 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