[O] A Microsoftesque detail in org
Greetings. I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and the heading line will not be broken. # * Example Some text. # This immediately reminded me of Microsoft products, where the software tries to be too intelligent, thus making it harder for the user. In this case, I needed to figure out that Ctrl-o is needed to break the line. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. Or? Jarmo
Re: [O] A Microsoftesque detail in org
Hi Jarmo, Jarmo Hurri jarmo.hu...@iki.fi writes: I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and the heading line will not be broken. # * Example Some text. # This immediately reminded me of Microsoft products, where the software tries to be too intelligent, thus making it harder for the user. In this case, I needed to figure out that Ctrl-o is needed to break the line. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. I disagree. Consider the more complete example: * TODO [#A] foo bar:tag: With your behavior you can (i) break the TODO tag; (ii) break the cookie; (iii) break the tag. At least (i) and (ii) are quite destructive. I, for one, would hate to have to readjust my tags every time I break a headline. Call me spoiled by MS if you like and if you think it's relevant. Yet, not being able to break between foo and bar is quite annoying. The attached patch re-enables breaks in region four of org-complex-heading-regexp, i.e. from the cookie up to tags. A quick test suggests it works nicely. WDYT? —Rasmus -- However beautiful the theory, you should occasionally look at the evidence From 8a2477cb70770526939a6c665026802d46db21ea Mon Sep 17 00:00:00 2001 From: Rasmus ras...@gmx.us Date: Fri, 15 May 2015 13:08:11 +0200 Subject: [PATCH 2/2] org.el: RET works in headline text * org.el (org-return): RET works in headline text. --- lisp/org.el | 93 +++-- 1 file changed, 54 insertions(+), 39 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 4b44a94..8adec05 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -21185,45 +21185,60 @@ will not happen if point is in a table or on a \dead\ object (e.g., within a comment). In these case, you need to use `org-open-at-point' directly. (interactive) - (if (and (save-excursion - (beginning-of-line) - (looking-at org-todo-line-regexp)) - (match-beginning 3) - (= (point) (match-beginning 3))) - ;; Point is on headline tags. Do not break them: add a newline - ;; after the headline instead. - (progn (org-show-entry) - (end-of-line) - (if indent (newline-and-indent) (newline))) -(let* ((context (if org-return-follows-link (org-element-context) - (org-element-at-point))) - (type (org-element-type context))) - (cond - ;; In a table, call `org-table-next-row'. - ((or (and (eq type 'table) - (= (point) (org-element-property :contents-begin context)) - ( (point) (org-element-property :contents-end context))) - (org-element-lineage context '(table-row table-cell) t)) - (org-table-justify-field-maybe) - (call-interactively #'org-table-next-row)) - ;; On a link or a timestamp but not on white spaces after it, - ;; call `org-open-line' if `org-return-follows-link' allows it. - ((and org-return-follows-link - (memq type '(link timestamp)) - ( (point) - (save-excursion (goto-char (org-element-property :end context)) -(skip-chars-backward \t) -(point - (call-interactively #'org-open-at-point)) - ;; In a list, make sure indenting keeps trailing text within. - ((and indent - (not (eolp)) - (org-element-lineage context '(item))) - (let ((trailing-data - (delete-and-extract-region (point) (line-end-position - (newline-and-indent) - (save-excursion (insert trailing-data - (t (if indent (newline-and-indent) (newline))) + (let* ((context (if org-return-follows-link (org-element-context) + (org-element-at-point))) + (type (org-element-type context))) +(cond + ;; At a headline + ((and (eq type 'headline) (not (bolp))) + (org-show-entry) + (let ((string )) + (unless (and (save-excursion + (beginning-of-line) + (looking-at org-complex-heading-regexp)) + (or (and (match-beginning 3) + ( (point) + (save-excursion + (goto-char (match-beginning 4)) + (skip-chars-backward \t) + (point + (and (match-beginning 5) + (= (point) (match-beginning 5) + ;; Point is on headline keywords, tags or cookies. Do not break + ;; them: add a newline after the headline instead. + (setq string (delete-and-extract-region + (point) (or (match-beginning 5) +(line-end-position + (when (match-beginning 5) + (insert (make-string (length string) ?\ + (end-of-line) + (if indent (newline-and-indent) (newline)) + (save-excursion (insert (org-trim
Re: [O] A Microsoftesque detail in org
Jarmo Hurri jarmo.hu...@iki.fi writes: Greetings. I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and the heading line will not be broken. I was struggling with this as well until I somehow worked around this - fortunately I did not need this to often. # * Example Some text. # This immediately reminded me of Microsoft products, where the software tries to be too intelligent, thus making it harder for the user. In this case, I needed to figure out that Ctrl-o is needed to break the line. Thanks - did not know this. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. I agree - Return should be return - unless e.g. a smart return is enabled in the settings. I would definitely dis-able this. Cheers, Rainer Or? Jarmo -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 signature.asc Description: PGP signature
Re: [O] A Microsoftesque detail in org
-Original Message- On Behalf Of Jarmo Hurri Subject: [O] A Microsoftesque detail in org ...the software tries to be too intelligent, thus making it harder for the user. Well, phrased. I usually just scream, DON'T DO ME ANY FAVORS! -- ,Doug Douglas Lewan Shubert Ticketing (201) 489-8600 ext 224 or ext 4335 The human brain is the most complex thing known to man, according to the human brain.
Re: [O] Org to mindmap and back
On 2015-05-14 at 12:12, Marcelo de Moraes Serpa celose...@gmail.com wrote: After some research, I could finally find the repository on github for this project, so, for anyone who might also be interested, here it is: https://github.com/dogriffiths/hipster Looks great, but when I copypaste I see Markdown not Org. Does Org work for you? -k.
[O] ob-rec.el
It appears that ob-rec.el is in org-mode - somewhere - because when I evaluate #+begin_src rec :data Testrec2.rec #+end_src the output in the is no org-babel execute function for rec However once I add (rec . t) to my org-babel-load-languages and restart emacs and then evaluate the block, etc. #+begin_src rec :data Testrec2.rec #+end_src #+RESULTS: | %Bar| %Baz| |--+---| | entrybar1 | entrybaz1 | | entrybar2 | entrybaz2 | So first question - where is ob-rec.el in org-mode? Second - should rec-utils be added as a supported language or should some reference be made so that users know to add (rec . t) to their org-babel-load-languages, if so desired? Charlie
Re: [O] Status of MobileOrg on IOS??
On Wed, May 13, 2015 at 10:28 PM, David Masterson dsmaster...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Tue, May 12, 2015 at 11:43 AM, David Masterson dsmaster...@gmail.com wrote: I've asked this before and I'll probably continue asking as I move in and out of using it, but... What's the development status of MobileOrg -- particularly on IOS? From what I see, it appears that development is stalled. My attempts at trying to use it show the following: * It seems to work even on my iPhone 6 as far as it goes But will it be going further? For instance, a Siri interface would be really nice (or a general such interface by which a Siri interface could be built). But this was my point in the previous email. I don't know how anyone on this list will know unless they develop for it. To my knowledge, they don't and thus you're better off asking the person who might know (vs. my estimate that those on this list don't). * It only seems to support basic viewing and minimal editting What would you expect/like? I can't (for instance) figure out how to add new items to my outlines (both new items and subitems). * The documentation is minimal with few use-case examples What topics would you like more information about, and can you provide a use-case you need assistance with? A walkthrough on: 1. Why you would want to push. 2. What exactly happens when you push. 3. How MobileOrg sees what has been pushed. 4. Sync issues that might occur in the push. 5. Why you would want to pull. 6. What exactly happens when you pull. 7. Sync issues that might occur in the pull. 8. Safety approaches for #4 and #7. Submit github issue/request? Give a detailed, but high-level, example to ground the above topics. Who is running MobileOrg and what's its status? - Who: http://mobileorg.ncogni.to/support/ - Status: http://mobileorg.ncogni.to/development/ and https://github.com/mobileorg/mobileorg Regarding all of the questions above, I'd contact the app developers, as it seems your inquiries relate to phone usage, not anything on the Org side. From looking at ~/org.git/list/org-mobile.el, Carsten wrote the tool from the Org-mode side. But again, all of your questions about inquiries or wishes about the app, which I don't think we can help with. From skimming the mobileorg github site, it doesn't look like anyone's really running it. Their most recent push appears to have been a year ago. And that makes it hard to contact the app developers. I'm not (yet) doing detailed work on it, so I don't want to push them until I have something strong to say. I post my general questions here on the assumption that this is the most likely central point that one (or more) people using/developing MobileOrg would see and maybe interest would perk up. Right, but that's the nature of open source/free software. Someone awesome develops some tool X when they have the time/inclination. That's awesome, until they perhaps don't have the time/inclination anymore. If any of your questions re. usability/procedures are answerable, I can definitely see this mailing list as a good avenue to reach them. In terms of future features or development status, you're at the mercy of the person who's good will is/was used to provide the tool. In any case, my primary point is that the developer(s) list their email addresses right on the various MobileOrg sites... so I don't see why you wouldn't start there for anything related to development. Good luck, John -- David Masterson Programmer At Large
Re: [O] ob-rec.el
Charles Millar mill...@verizon.net writes: It appears that ob-rec.el is in org-mode - somewhere - because when I evaluate #+begin_src rec :data Testrec2.rec #+end_src the output in the is no org-babel execute function for rec However once I add (rec . t) to my org-babel-load-languages and restart emacs and then evaluate the block, etc. #+begin_src rec :data Testrec2.rec #+end_src #+RESULTS: | %Bar| %Baz| |--+---| | entrybar1 | entrybaz1 | | entrybar2 | entrybaz2 | So first question - where is ob-rec.el in org-mode? M-x locate-library RET ob-rec RET In my case, ob-rec was not present (but see below). Second - should rec-utils be added as a supported language or should some reference be made so that users know to add (rec . t) to their org-babel-load-languages, if so desired? I downloaded recutils-1.7.tar.gz from http://ftp.gnu.org/gnu/recutils/ and, after unpacking it, found rec-mode.el and ob-rec.el in the etc/ subdirectory of the unpacked tarball. Maybe you can add a pointer to where to get it (and a few words about what it does) to http://orgmode.org/worg/org-contrib/babel/languages.html on Worg. N.B. the language should be rec, not rec-utils. -- Nick
Re: [O] A Microsoftesque detail in org
Pressing enter in a headline to make a new headline is consistent with the way many other text-mode outliners have worked in the past. Ctrl-O to open a line is an Emacs standard keybinding. I don't really have an issue with the way this works. -- Bob Newell Honolulu, Hawai`i * Sent via Ma Gnus 0.12-Emacs 24.3-Linux Mint 17 *
Re: [O] A Microsoftesque detail in org
I fully agree with this, I find this “feature” very irritating. There is a strong expectation that hitting enter inserts a line break at the position of the cursor. Can we please stick to that? When I put the cursor in the middle of a word and press enter that also “breaks” the word. Yet we would not prevent the user from doing this. Titus On 2015-05-15 Fri 02:35, Jarmo Hurri wrote: Greetings. I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and the heading line will not be broken. # * Example Some text. # This immediately reminded me of Microsoft products, where the software tries to be too intelligent, thus making it harder for the user. In this case, I needed to figure out that Ctrl-o is needed to break the line. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. Or? Jarmo signature.asc Description: PGP signature
Re: [O] Bug: Invalid function: org-with-silent-modifications [8.2.10 (8.2.10-40-gc763fa-elpa @ /home/me/.emacs.d/elpa/org-20150504/)]
But when M-x package-install RET org RET on a fresh Emacs session (fresh like emacs -q) it indeed solves the issue. It is same well known bug from the link in my report. Sorry for inconvenience. 2015-05-14 22:02 GMT+02:00 novak fod...@gmail.com: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I get error from the subject when try to activate agenda view (using any option). Problem has occurred when I have restarted Emacs. I can't figure out what happened here but I can suspect that problem maybe lays in the fact that I have moved some of my org files from /media/me/Storage/Emacs/ to /media/me/Strage/org/ and some of them has been added in agenda using C-c [. It was only maybe significant change I have made in meantime. I saw this [http://comments.gmane.org/gmane.emacs.orgmode/70880] but in this Emacs version org is built-in package and I haven't installed it from any external source. Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Package: Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpa @ /home/me/.emacs.d/elpa/org-20150504/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-clock-idle-time 30 org-default-notes-file /media/me/Storage/org/notes.org org-agenda-include-diary t org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp \\me\\ org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(org-clock-load #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-enforce-todo-dependencies t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence TODO(t) FEEDBACK(f) VERIFY(v) | DONE(d) DELEGATED(l)) ) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-files '(/media/me/Storage/org/) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-after-todo-statistics-hook '(org-summary-todo) )
[O] Bug: Invalid function: org-with-silent-modifications [8.2.10 (8.2.10-40-gc763fa-elpa @ /home/me/.emacs.d/elpa/org-20150504/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I get error from the subject when try to activate agenda view (using any option). Problem has occurred when I have restarted Emacs. I can't figure out what happened here but I can suspect that problem maybe lays in the fact that I have moved some of my org files from /media/me/Storage/Emacs/ to /media/me/Strage/org/ and some of them has been added in agenda using C-c [. It was only maybe significant change I have made in meantime. I saw this [http://comments.gmane.org/gmane.emacs.orgmode/70880] but in this Emacs version org is built-in package and I haven't installed it from any external source. Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian Package: Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpa @ /home/me/.emacs.d/elpa/org-20150504/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-clock-idle-time 30 org-default-notes-file /media/me/Storage/org/notes.org org-agenda-include-diary t org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp \\me\\ org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(org-clock-load #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-enforce-todo-dependencies t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence TODO(t) FEEDBACK(f) VERIFY(v) | DONE(d) DELEGATED(l)) ) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-files '(/media/me/Storage/org/) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-after-todo-statistics-hook '(org-summary-todo) )
[O] [PATCH] Fix message format in org-notmuch-search-open
* org-notmuch.el (org-notmuch-search-open): Bug fix When opening a notmuch-search link, we use =message= to display the path at the bottom of the screen. This would signal Not enough arguments for format string when the path contained %-signs, as it is likely to when the query contains spaces: [[notmuch-search:tag:inbox%2520not%2520tag:bulk%2520org]] That query appears to be double-escaped, which also might contribute to the problem, but either way: we should use =(message %s str)= to print arbitrary strings, not =(message str)=. --- contrib/lisp/org-notmuch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-notmuch.el b/contrib/lisp/org-notmuch.el index ae9b50b..712ec5a 100644 --- a/contrib/lisp/org-notmuch.el +++ b/contrib/lisp/org-notmuch.el @@ -113,7 +113,7 @@ Can link to more than one message, if so all matching messages are shown. (defun org-notmuch-search-open (path) Follow a notmuch message link specified by PATH. - (message path) + (message %s path) (funcall org-notmuch-search-open-function path)) (defun org-notmuch-search-follow-link (search) -- 2.4.0
Re: [O] A Microsoftesque detail in org
I like this feature and hope that I can keep it by setting a variable if changes are made. All the best, Tom Titus von der Malsburg malsb...@posteo.de writes: I fully agree with this, I find this “feature” very irritating. There is a strong expectation that hitting enter inserts a line break at the position of the cursor. Can we please stick to that? When I put the cursor in the middle of a word and press enter that also “breaks” the word. Yet we would not prevent the user from doing this. Titus On 2015-05-15 Fri 02:35, Jarmo Hurri wrote: Greetings. I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and the heading line will not be broken. # * Example Some text. # This immediately reminded me of Microsoft products, where the software tries to be too intelligent, thus making it harder for the user. In this case, I needed to figure out that Ctrl-o is needed to break the line. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. Or? Jarmo -- Thomas S. Dye http://www.tsdye.com
[O] [bug, org-table] new hline doesn't update formula
Hi, Consider this example: |---+---+---| | a | b | c | | d | e | f | |---+---+---| | 1 | 2 | 3 | | 4 | 5 | 6 | |---+---+---| | 5 | 7 | 9 | #+TBLFM: @5=vsum(@II..@III) Insert a hline after |a|b|c|. The formula is now broken. Expected behavior: org-table-insert-hline should call org-table-fix-formulas, though this does not currently support hlines, it seems. I have no idea how trivial or hard this is to fix this... But hints or fixes are appreciated. —Rasmus -- The Kids call him Billy the Saint