Re: [Orgmode] Multi-line headline
On Mon, Oct 25, 2010 at 17:39, Bill Zingler billzing...@gmail.com wrote: All, Is it possible to have multi-line headlines? If so, how do I set it up? Not as such, no, but you could use visual-line-mode to wrap the overly long line on screen. (I think this was added with emacs 23.1.) // Ben ___ 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: 23.1; hl-line-mode appears to not be compatible with line prefix text properties
On Sat, Jan 9, 2010 at 21:55, Eric S Fraga ucec...@ucl.ac.uk wrote: At Sat, 09 Jan 2010 14:56:28 -0500, Chong Yidong wrote: Hi Eric, I use org-mode extensively. In a recent upgrade to org-mode, text properties are used to display the text automatically indented. However, this use of line prefix text properties, in particular, seems to interact badly with hl-line-mode. Specifically, the highlighting done by hl-line-mode starts at an indented position, not at the physical start of the line, and continues onto the next screen line to line up with the start position. A sample screenshot of this erroneous behaviour can be found (for a short while, at least) at http://www.homepages.ucl.ac.uk/~ucecesf/tmp/indent-highlight.png Org mode has been updated in Emacs since your bug report. Would it be possible for you to test if the bug still exists with the latest Emacs bzr repository? If that's inconvenient, could you please provide a precise step-by-step recipe for reproducing this problem? Thanks. Chong, using the latest emacs from the bzr repository is not very convenient at all. Sorry. However, I can easily reproduce the problem: take the attached org file (very short). Visit this file in Emacs with latest org. Then turn on global-hl-line-mode or hl-line-mode (either or both). Move the cursor to the first line after the Introduction heading and you should see the highlighting extend to the white space of the next line. The screenshot is still in the location indicated above and the current behaviour is the same as when that screenshot was generated. Thanks, eric I see the described problem using (not quite latest, but pretty close): - Emacs 23.1.91.1 (x86_64-darwin10.2.0, X toolkit) (bzr tag EMACS_PRETEST_23_1_91; revno 99220; Wed 2009-12-30 21:14:46 -0500) - org-version 6.33f (from my local elisp customization, 23.1.91.1 actually ships with 6.33x) // ben ___ 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: RSI
On Tue, Sep 8, 2009 at 07:50, PTspamfilteracco...@gmail.com wrote: Daniel Martins danielemc at gmail.com writes: Sticky keys takes some getting used to. It makes every modifier key work a little like caps lock. Sounds horrible, doesn't it? Well, it's not really. Basically, if you press control once, it locks control down for the next keystroke only, after which point the keyboard returns to normal. Press control twice, and it locks down until you release it with a third press. C-x C-f Used to be: press and hold control. Press and release x. press and release f. Release control. Now it's Press and release control twice. Press and release x. press and release f. Press and release control. I don't know which implementation you use, but with Windows' built-in sticky key setup there is no change compared to the usual order of keys: press/release ctrl, press/release x, press/release ctrl, press/release f No need to press and release control twice at the beginning, so it's the same number of keypresses as the usual method, you only need to pay attention you release the previous key before pressing the next one. yes, you can do it this way too, in fact I usually do for two-key sequences. You do have the option of locking down a modifier key by pressing it twice. Press once more to release it. Occasionally I find myself inputting a burst of keystrokes under the same modifier, in cases like that it can make sense to do this. (Think of it as a mode, in the way that word is used among the vi crowd.) I use that when I'm going to be repeating the same control key binding often, i.e. when I'm isearching through a document looking at all the matches: [ctrl] [s] sometext [ctrl][ctrl] [s] [s] [s] [s] [s] [s] [s] ... [ctrl] instead of [ctrl] [s] sometext [ctrl] [s] [ctrl] [s] [ctrl] [s] [ctrl] [ctrl] [s] [ctrl] [s] [ctrl] [s] [ctrl] [s] ... // Ben ___ 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] RSI
A few tips from an emacs hand who has had issues with repetitive strain in the past: The first thing I did after starting my first real job (years ago, when my RSI was pretty bad and my employer-supplied keyboard was in violation of the geneva conventions): 1. I got a kinesis contoured keyboard (like the Kinesis Advantage I'm typing on now.) It places C- and M- (Alt key) under your thumbs. (You could even assign them to foot pedals, though I never managed due to lack of rhythm -- guess I should have taken drumming classes at school.) The layout is completely programmable without additional software. In short: it's the ultimate emacs keybaord. 2. More recently, I had a flare up (Apple's wireless mouse is the work of the devil, for my hands at least.) It was then that I discovered Sticky Keys. Sticky keys takes some getting used to. It makes every modifier key work a little like caps lock. Sounds horrible, doesn't it? Well, it's not really. Basically, if you press control once, it locks control down for the next keystroke only, after which point the keyboard returns to normal. Press control twice, and it locks down until you release it with a third press. C-x C-f Used to be: press and hold control. Press and release x. press and release f. Release control. Now it's Press and release control twice. Press and release x. press and release f. Press and release control. This turns out to be easier on my hands because I don't find myself contorting my hands across the keyboard while I try to hold down more than one key at a time. I have sticky keys turned on on all my computers, except for the one at work where I have the kinesis keyboard. 3. I've rebound caps lock to control on all my keyboards (apart from the kinesis, where I have caps lock bound to the windows key.) 4. I have a happy hacking keyboard, which has control where caps lock is on an AT keyboard (and no caps key). The happy hacking keyboard has the drawback that it has no right control key. (Sticky keys helps here too.) // Ben ___ 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] RSI
On Mon, Sep 7, 2009 at 19:16, Daniel Martinsdaniel...@gmail.com wrote: Ben, Please publish your .emacs configuration! Daniel I think you've misunderstood. There's no emacs magic that makes what I describe below work, It's all hardware and features built into my various operating systems. (more below). // Ben 2009/9/7 B Smith-Mannschott bsmith.o...@gmail.com A few tips from an emacs hand who has had issues with repetitive strain in the past: The first thing I did after starting my first real job (years ago, when my RSI was pretty bad and my employer-supplied keyboard was in violation of the geneva conventions): 1. I got a kinesis contoured keyboard (like the Kinesis Advantage I'm typing on now.) It places C- and M- (Alt key) under your thumbs. (You could even assign them to foot pedals, though I never managed due to lack of rhythm -- guess I should have taken drumming classes at school.) The layout is completely programmable without additional software. In short: it's the ultimate emacs keybaord. 2. More recently, I had a flare up (Apple's wireless mouse is the work of the devil, for my hands at least.) It was then that I discovered Sticky Keys. Sticky keys takes some getting used to. It makes every modifier key work a little like caps lock. Sounds horrible, doesn't it? Well, it's not really. Basically, if you press control once, it locks control down for the next keystroke only, after which point the keyboard returns to normal. Press control twice, and it locks down until you release it with a third press. C-x C-f Used to be: press and hold control. Press and release x. press and release f. Release control. Now it's Press and release control twice. Press and release x. press and release f. Press and release control. This turns out to be easier on my hands because I don't find myself contorting my hands across the keyboard while I try to hold down more than one key at a time. I have sticky keys turned on on all my computers, except for the one at work where I have the kinesis keyboard. I've found that recent versions of windows (XP and later, possibly earlier too), Mac OS X and the Gnome Desktop all support some form of sticky keys. I found it buggy in in Ubuntu 8.04 and 8.10 but it works reliably in 9.04. [The specific problem is this: under 8.04 and 8.10 the option disable sticky keys if two keys are pressed together doesn't work. clearing this checkbox does not write through to the corresponding gnome registry setting. Editing of said setting by hand is the workaround. Also, attaching an external keyboard causes Gnome to forget that it's supposed to be using sticky keys.] 3. I've rebound caps lock to control on all my keyboards (apart from the kinesis, where I have caps lock bound to the windows key.) The ability to rebind caps to control is built into both Mac OS X and Ubuntu (GNOME). In years past I've used a registry hack on windows to achieve the same affect. I don't anymore because I use my Kinesis with my windows machine and Kinesis does rebinding in hardware. 4. I have a happy hacking keyboard, which has control where caps lock is on an AT keyboard (and no caps key). The happy hacking keyboard has the drawback that it has no right control key. (Sticky keys helps here too.) // Ben ___ 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] suggestion: native orgmode XML export (and import?)
On Sat, Aug 8, 2009 at 22:25, Ilya Shlyakhterilya_...@alum.mit.edu wrote: In the meantime, it would be useful to describe what kind of XML output do you want, because XML does not really describe anything per se. I'm looking for XML output that would closely mirror the logical structure of the org file, and that would contain all the information in the orgfile (since it's easy to ignore the parts you don't need during XML processing). So, something like orgfile entry headlineTasks/headline bodyHere are the tasks I need to do/body children entry headlineBuy bread/headline todo-statusDONE/todo-status tagstagfood/tagtagerrands/tag/tags properties propertynameImportance/namevalue1/value/property propertynameDeadline/namevaluedateday07/daymonth08/monthyear09/year/date/value/property /properties /entry /children /entry /orgfile The details of the XML schema can of course change. But it should let you process org file data without having to parse any elements of the org file (ideally, even dates) -- it would all be parsed by orgmode's native parsing code and put into XML elements. If there are questions about how to represent specific org elements in XML I can try to write a more detailed spec. Out of curiosity, how would you want to handle textual content? Pass it through unchanged with org's wiki-like markup in tact, or somehow xml-ified?: *foo* -- *foo* *foo* -- strongfoo/strong // Ben ___ 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