Re: [O] Babel problem: Output incomplete if it contains # character (only in session)

2018-06-12 Thread Narendra Joshi
;s just bar. > If I remove :session xyz it displays correct value, i.e.: I also face issues when there is a session involved with shell. Why don't you try: export PS1=$ at the beginning of the session as the first command and see if this fixes it for you? > #+RESULTS: > : foo#bar >

[O] Org-babel bash session with non-standard prompt

2018-06-08 Thread Narendra Joshi
' ls -lah #+end_src And this works ^. I would like to know if I can somehow pass the environment variable to the shell that org-babel starts for the session. I don't want to add it to a snippet and do not want to type it every time. Any help would be greatly appreciated. Thanks, -- Narendra Joshi

Re: [O] show future scheduled date in Agenda

2018-01-28 Thread Narendra Joshi
G [212d] Other Thing:tag: > Bar: VERIFY Did X happen? This should be available with the default prefix format for agenda type entries in your custom agenda. Best, -- Narendra Joshi

Re: [O] Searching all attachments in org-files

2017-12-26 Thread Narendra Joshi
(cons (file-name-base f) f)) file-paths)) (file-name (completing-read "att: " completions nil t)) (path (assoc-default file-name completions))) (concat "att:" path))) #+end_src This worked for me. I had to change it a bit for my use case. Thanks a lot for the help! :) -- Narendra Joshi

[O] Searching all attachments in org-files

2017-12-25 Thread Narendra Joshi
an existing file that is attached to an org-heading, would be greatly appreciated. Thanks, -- Narendra Joshi

Re: [O] ox-publish export subtree scopes?

2017-12-09 Thread Narendra Joshi
static blog. I wanted to wrap everything inside body in a container and a row (bootstrap classes). The functions provided do not let me do this conveniently. I can define `content', `preamble' and `postamble' but cannot wrap all three of them inside a `div' without overriding the whole export function. Best, -- Narendra Joshi

[O] org-store-link not working on a Gnus heading

2017-11-04 Thread Narendra Joshi
Hello, I get an error `org-gnus-store-link: Invalid function: gnus-summary-article-header` when trying to get a link to an article in Gnus. Is this a known bug? Best, Narendra -- Narendra Joshi

Re: [O] Dynamic Org-capture Templates

2017-11-04 Thread Narendra Joshi
t value and a completion table ca be specified like this: %^{prompt|default|completion2|completion3|...}. I think to get completion you would need to dynamically build the value for `org-capture-templates` which would include the completion candidates for reach field. I think that's not a great way to do it. Someone else can suggest a better way, I think. -- Narendra Joshi

Re: [O] Agenda filtering (take 2)

2017-10-04 Thread Narendra Joshi
But neither seems to work. Can anyone provide > any insights here? Is it possible for sub-tasks within a project to inherit > their deadline? Found an already asked question that might help: https://lists.gnu.org/archive/html/emacs-orgmode/2016-04/msg00373.html You can set org-agenda-sorting-strategy to `user-defined-up' and use the function used in the thread I have posted above to compare two NEXT entries. > Many thanks as always! > > Best, > Richard > -- Narendra Joshi

Re: [O] Auto-filling in org-mode without affecting the headlines

2017-09-10 Thread Narendra Joshi
dra, > > Narendra Joshi writes: > >> I would like to have auto-fill enabled in org-mode but would like to >> prevent headings from being auto-filled. Is something available in org-mode >> that would allow me to do this? > > > I have used auto-fill-mode in Org buffers for q

[O] Auto-filling in org-mode without affecting the headlines

2017-09-10 Thread Narendra Joshi
Hi, I would like to have auto-fill enabled in org-mode but would like to prevent headings from being auto-filled. Is something available in org-mode that would allow me to do this? Thanks, -- Narendra Joshi

[O] Change todo state when scheduled or a deadline is set

2017-08-30 Thread Narendra Joshi
Hi, I would like to change the state of a task to TODO when it is scheduled or a deadline is set for the task. I couldn't find any hook that is called after scheduling. How can I do this? Best, -- Narendra Joshi

[O] How do you organize a project and its related sub-tasks

2017-06-18 Thread Narendra Joshi
andle this? Best, -- Narendra Joshi

[O] Grouping tasks with todo-keywords

2017-06-17 Thread Narendra Joshi
Hi, Is it possible to group tasks in org-agenda by the state they are in? For example, I would like to have horizontal divider between all tasks that are ONGOING and tasks that are in TODO state. I have already setup `org-agenda-sorting-strategy' to get the desired order. Best, -- Nar

Re: [O] How to stop org delete surrounding newline when adding headlines?

2017-03-10 Thread Narendra Joshi
42..\322N\204\242.\323.\322\324#\210\325\326\327. \211\321N\330#\"\210\262.\207" [debug-on-next-call prefix-arg current-prefix-arg disabled-command-function command-history history-length nil prefix-command-update disabled run-hooks indirect-function autoload autoload-do-load arrayp execute-kbd-macro 0 call-interactively byte-obsolete-info command-execute-obsolete-warned put t message "%s" macroexp--obsolete-warning "command"] 13 2406715](org-agenda-list nil nil nil) ad-Advice-command-execute(#[1025 "\306.\211?\205.\211.\306.\n\203.\307 \210.9\203(.\310N\203(. \203(.\311\303!\202\244.\312.!\262.\211\211\242\313=\262.\203C.\314.\"\211\262.\204).\315.!\203s.\203l.\316.E\fB. \247\203l. \317V\203l. \f\233\211:\203k.\211\306\241\210\210\316.\"\202\242.\320...#.9\203\242..\321N\203\242..\322N\204\242.\323.\322\324#\210\325\326\327. \211\321N\330#\"\210\262.\207" [debug-on-next-call prefix-arg current-prefix-arg disabled-command-function command-history history-length nil prefix-command-update disabled run-hooks indirect-function autoload autoload-do-load arrayp execute-kbd-macro 0 call-interactively byte-obsolete-info command-execute-obsolete-warned put t message "%s" macroexp--obsolete-warning "command"] 13 2406715] org-agenda-list) apply(ad-Advice-command-execute #[1025 "\306.\211?\205. \211.\306.\n\203.\307 \210.9\203(.\310N\203(. \203(.\311\303!\202\244.\312.!\262.\211\211\242\313=\262.\203C.\314.\"\211\262.\204).\315.!\203s.\203l.\316.E\fB. \247\203l. \317V\203l. \f\233\211:\203k.\211\306\241\210\210\316.\"\202\242.\320...#.9\203\242..\321N\203\242..\322N\204\242.\323.\322\324#\210\325\326\327. \211\321N\330#\"\210\262.\207" [debug-on-next-call prefix-arg current-prefix-arg disabled-command-function command-history history-length nil prefix-command-update disabled run-hooks indirect-function autoload autoload-do-load arrayp execute-kbd-macro 0 call-interactively byte-obsolete-info command-execute-obsolete-warned put t message "%s" macroexp--obsolete-warning "command"] 13 2406715] org-agenda-list) command-execute(org-agenda-list) -- Narendra Joshi

Re: [O] Saving org-capture buffer while writing it

2017-02-20 Thread Narendra Joshi
Myles English writes: > Hello, > > on [2017-02-20] at 14:05 Narendra Joshi writes: > >> Hi, >> >> Sometimes when I am taking notes, I end up spending a lot of time in a >> capture buffer. If I happen to switch to something else, I end up >> loosing th

Re: [O] Saving org-capture buffer while writing it

2017-02-20 Thread Narendra Joshi
Stig Brautaset writes: > Narendra Joshi writes: > >> Hi, >> >> Sometimes when I am taking notes, I end up spending a lot of time in a >> capture buffer. If I happen to switch to something else, I end up >> loosing the capture buffer. I probably just kill the

[O] Saving org-capture buffer while writing it

2017-02-20 Thread Narendra Joshi
file? Thanks, Narendra Joshi