Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-06-16 Thread Phil Estival
This replaces the previous patch. The `sql-product-interactive' call was still using the modified signature and does no longer. >From e27f8231c2f97e6f7f84b6acb793eec7060b8396 Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Wed, 13 June 2025 17:00:00 +0200 Subject: [PATCH 06/08] ob-

Re: [PATCH] ob-sql: session

2025-06-16 Thread Phil Estival
* [2025-06-15 20:59 +] Michael Mauger : > On Sunday, June 15th, 2025 at 3:16 PM, Phil Estival wrote: > >> I also took good note of Michael's remarks. >> The attached series of patches will work >> without any modification to sql.el. I'll introduce later a

Re: [PATCH] ob-sql: session

2025-06-15 Thread Phil Estival
7; bound to the session name. In the absence of it, sessions will work, but will ask to confirm provided connection parameter upon establishing connection. * [2025-05-17 18:05 +] Ihor Radchenko : > Phil Estival writes: > >>> May you please update your latest patch for ob-sql.el, conve

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-05-14 Thread Phil Estival
* [2025-05-14 16:29 +0200] Phil Estival : > * [2025-02-15 16:25 +] Ihor Radchenko : >> Ihor Radchenko writes: >> >> May you please update your latest patch for ob-sql.el, converting it >> into (1) patch to sql.el; (2) patch for ob-sql.el that assumes changes >

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-05-14 Thread Phil Estival
f changes in ob-sql.el against release_9.7.30. The patch that assumes the change in sql.el is n°13. Cheers -- Phil Estival >From d83ee2c93d249673281c401bb78eb0569cd17e07 Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Tue, 13 May 2025 15:39:51 +0200 Subject: [PATCH 1/2] * lisp/progmodes/sql

Re: bug#76025: [PATCH] ob-sql: session + sql.el w/o prompt

2025-04-16 Thread Phil Estival
he last message in this thread. > Phil, do you need any help on this? I'm on it. I planned last monday to provide a release of this contribution this week and the next one. I've been using it as a work configuration lately and brought a few changes. -- Phil Estival

Borrowing the syntax highlighter from an a other mode

2025-04-04 Thread Phil Estival
-list 'org-src-lang-modes '("pl/python" . sql)) but colored as Python code? Cheers, -- Phil

Re: [FR] org-babel-n-tangle

2025-03-11 Thread Phil Estival
hor answer that writing a new test suite (test-ob-n-tangle.el) would be useful. -- Phil

Re: [PATCH] cosmetic of begin/end lines

2025-02-24 Thread Phil Estival
* [2025-02-21 18:57 +] Ihor Radchenko : > Phil Estival writes: > >>> Does the attached diff fix the problem you are encountering? >> >> Yes it does. Thank you! >> >> But we are losing that previous possibility we had of a >> bi-color display of

Re: [PATCH] cosmetic of begin/end lines

2025-02-20 Thread Phil Estival
* [2025-02-20 17:46 +] Ihor Radchenko : > Phil Estival writes: > >>> whole line does not mean only background. It includes everything - >>> underline as well. Background is just one example. >> >> It does because the variables are programmatically linked

[PATCH] cosmetic of begin/end lines

2025-01-21 Thread Phil Estival
lFrom 61cf0a3cc65449f3382e0ffa4ff21b2d07e3cb14 Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Tue, 21 Jan 2025 12:25:08 +0100 Subject: [PATCH] org.el: whole block fontification does not change extension of lines * lisp/org.el: block lines extension can be set in the customization menu independently o

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-01-19 Thread Phil Estival
* [2025-01-17 Fri 06:58 +0100] Ihor Radchenko Phil Estival writes: Is there any specific reason why you are seemingly re-implementing what `sql-product-interactive' does? May we re-use it instead? Yes. When opening a new connection `sql-product-interactive' will systematical

Re: [PATCH] ob-sql: session

2025-01-16 Thread Phil Estival
* [2025-01-07 19:38] Ihor Radchenko:> Phil Estival writes: [...] these `sql-set-product-feature' calls are overriding the defaults from sql.el. They will not only affect Org babel blocks, but all the interactive SQL sessions in Emacs. Such side effects are not acceptable. May we someh

Re: [BUG][minor] org-mouse

2025-01-15 Thread Phil Estival
* [2025-01-11 16:27] Ihor Radchenko: Phil Estival writes: Org-mouse makes a star followed by a blank space clickable anywhere, also in source blocks and this triggers the evaluation of the block or the opening of *Org-Babel Error Output* or *Org Babel Results*. emacs -q org mode v 9.8-pre

[BUG][minor] org-mouse

2025-01-08 Thread Phil Estival
killing the result buffer and clicking again confirms that). At this point, I'm confused because this result buffer is also reloaded after a fresh session of emacs -q ... but I don't know where to look for its source (rg --hidden Charlie) in /tmp or ~/.emacs or org-persist-directory? In this case please tell me, where is Charlie? Phil

To factorize code of test sets (or not)

2025-01-08 Thread Phil Estival
* [2025-01-07 19:38] Ihor Radchenko:> Phil Estival writes: [...] Some macros [for test suite] should probably be moved upward in a file where generic functions which purposes are to help writing the tests of babel source blocks should be declared. I do not mind. But please show wh

Re: [PATCH] ob-sql: session

2025-01-06 Thread Phil Estival
* [2024-12-13 18:46] Ihor Radchenko: Phil Estival writes: this patch modifies ob-sql to add support for session. Before I start a more detailed preview, may you please: 1. Rebase your changes onto main (development) branch. This is where the new features are added. See https

Re: [PATCH] ob-sql: session

2024-11-26 Thread Phil Estival
* [2024-11-26 15:34] Phil Estival: From Org 9.7.16, this patch modifies ob-sql to add support for session. - reintroduces sqlite in ob-sql (even if there is ob-sqlite.el) - limitation: no line number in session (a block is provided   on one prompt line) - tests: some generic macros for

[PATCH] ob-sql: session

2024-11-26 Thread Phil Estival
test set. From 10bcb0fa4a5176657604a8f17c828ff5a60eddaf Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Tue, 26 Nov 2024 11:34:48 +0100 Subject: [PATCH 01/10] ob-sql: untabify --- lisp/ob-sql.el | 288 - 1 file changed, 144 insertions(+), 144

Re: patch : ob-sql :session

2024-11-11 Thread Phil Estival
* [2024-11-09 15:43] Ihor Radchenko: Phil Estival writes: Have you considered integrating it into ob-sql itself? If not, what are the obstacles? Hello Ihor, yes I have. It grows ob-sql by approximately 300 lines. There are rooms for improvements. https://github.com/flintforge/ob-sql

Re: package submission : ob-sql-session

2024-11-04 Thread Phil Estival
* [2024-10-20 14:34] Ihor Radchenko: Phil Estival writes: ob-sql-session : - handle large results - has :results tables - accept header variables (:var) - accept sql client shell commands - keep login parameters - prompt only for blank connection parameters - can use `with-environment

Re: package submission : ob-sql-session

2024-09-17 Thread Phil Estival
Hi Adam, * [2024-09-18 00:25] Adam Porter: Hi Phil, On 9/17/24 05:00, Phil Estival wrote: Also, for org-sql-session (which sounds very useful), it would be good to compare and contrast it with the package it's meant to supersede. The following comparison was added to the readme

Re: packages submissions : ob-sql-session and org-blog

2024-09-17 Thread Phil Estival
* [2024-09-11 05:01] Adam Porter: Hi Phil, A quick, initial suggestion: it would be good to reformat the Lisp code in both projects, as I see several cases of incorrect indentation, hanging parens, extra blank lines, etc, and some of them would make the code hard to read.  For my Lisp

Re: Examples of online documentation written with Org-mode

2024-08-12 Thread Phil Estival
* [2024-08-11 18:39] Ihor Radchenko: Phil writes: (https://gitlab.com/7dnz/org-weblog) lands in this category, with an emphasize on a — very verbose I admit — but strict literate programming. It's a 99KB file, with tests, attempts, explanations, explorations, etc. The page documentati

Re: [FEATURE] On line-numbers inside Org Babel Source Blocks.

2024-08-11 Thread Phil Estival
> I've been using Org Mode for literate programming purposes, and > would like to have line-numbers within `src` blocks. [...] > I'd be glad to help implementing this feature, if I can be slightly > guided on where to refer to look for in the codebase. https://kitchingroup.cheme.cmu.edu/blog/20

Re: Examples of online documentation written with Org-mode

2024-08-11 Thread Phil
* [2024-08-11 08:19] Ihor Radchenko: mb...@mbork.pl writes: On 2024-08-10, at 17:13, Ihor Radchenko wrote: Many blogs are also made with Org mode. Not sure if it qualifies for documentation. ... my custom blog engine (https://gitlab.com/mbork_mbork_pl/org-clive). It is a testament t

Re: [FR] org-babel-n-tangle

2024-07-14 Thread Phil
* [2024-07-12 13:23] Ihor Radchenko:> Phil writes: To tangle to multiple destinations a logic extension of the existing tangle mechanism. 1) Introduce :tangle-directory parameter that defines relative directory to be used as tangle target; this directory, if defined, will be u

Re: Property: How to define allowed values at file level

2024-07-14 Thread Phil
Hello Sébastien, Remove the two dots after Review_all and everything will be fine. #+PROPERTY: Review_ALL ⭐ ⭐⭐ ⭐⭐⭐ ⭐ Best, Phil * [2024-07-15 03:18] Sébastien Gendre: Hello, After reading the manual about property syntax[1], I want to set the allowed values for a property at the

[FR] org-babel-n-tangle

2024-07-12 Thread Phil
n-tangle '(4)) #+end_src #+end_example In the above example the tangled outputs goes to *hostA:/tmp/x/y* and *hostB:/tmp/x/y* using a default protocol. In the absence of *:n-tangle* or when *org-babel-ntangle-destinations* is nil. *org-babel-n-tangle* behaves like *org-babel-tangle* What do you think ? Phil /"Oh what a tangled web we weave..."/

[BUG] unexpected behaviour on sub-list

2024-07-10 Thread Phil
t, the previous paragraph is killed and the list structure re/dis-organized. Cheers, Phil

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-07-09 Thread Phil
* [2024-07-06 13:36] Max Nikulin: On 18/06/2024 00:57, Ihor Radchenko wrote: Max Nikulin writes: Some shells support "semantic shell" that allows terminal applications e.g. to copy whole command output. It is based on escape sequences. https://gitlab.freedesktop.org/Per_Bothner/specificatio

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-07-03 Thread Phil
* [2024-07-02 22:05] Ihor Radchenko: Phil Estival writes: I'd like to add a few general remarks about *error status*. I'm starting to notice there are not much subprocesses that to do get called through =call-process= with ‘(REAL-DESTINATION ERROR-DESTINATION)’ kept as separate

Re: org-babel-execute-src-block filters characters from :session *shell* output

2024-07-02 Thread Phil
t; has to reinterpret the results. [[info:elisp#Synchronous Processes][elisp#Synchronous Processes]] says : You can’t directly specify a buffer to put the error output in; that is too difficult to implement. Can someone explain why? Phil

Re: [BUG] ob-sql should escape the password [9.7.3 (9.7.3-2f1844 @ /home/andrea/.emacs.d/elpa/org-9.7.3/)]

2024-06-06 Thread Phil
block fails. I solved like this: (format "PGPASSWORD='%s' " dbpassword) shell-quote-argument is designed for this case. Phil

Re: ob-sql-mode/session

2024-06-05 Thread Phil
* [2024-06-06 02:20] Phil: * [2024-06-05 20:50] Ihor Radchenko: Phil writes: In need for a sessions support on SQL, I checked ob-sql.el and sql.el lately, then wrote https://github.com/flintforge/ob-sql-session CCing Daniel, the ob-sql maintainer. it sounds to me like a proposal to

ob-sql-mode/session

2024-06-05 Thread Phil
embrassement to have a package named ob-sql-session in the repos (because it's not related to Emacs sessions of course;)? https://github.com/nikclayton/ob-sql-mode/issues/14#issue-1855387618 https://github.com/flintforge/ob-sql-session Phil

[PATCH] (cosmetic) improving block declaration colors

2022-06-08 Thread Phil Estival
x27;t set, an underline will run all over the line. have a nice day, Phil From c6e0bf2b4753608467bf9d545f62cc1d79bda80f Mon Sep 17 00:00:00 2001 From: Phil Estival Date: Wed, 8 Jun 2022 08:24:00 +0200 Subject: [PATCH 1/2] (cosmetic) distinct faces in block declaration when is language set ---

Re: [DISCUSSION] Refactoring fontification system

2022-06-07 Thread Phil Estival
all the keywords from >    org-options-keywords instead? > Makes more sense, yes. I would have named them "directives" rather than "keywords", but it's too late now. Regards, Phil

[bug] org-list-struct-apply-struct: insert an item in the end of a list

2022-06-07 Thread Phil Estival
y), the list's structure is     disorganized and the next paragraph too. Good luck, Phil

Re: # Comments export

2022-06-01 Thread Phil Estival
On 29/05/2022 à 02:46, Ypo wrote: > > I wanted to export my # comments so I could > share my notes with more people, using HTML > export. I would export all of them. > Ypo, As it is very close to what you're asking, here I'm suggesting how to export # comments in org, as to the HTML and % com

Re: [PATCH] ox: fix comment exported as a blank line

2022-06-01 Thread Phil Estival
Le 01/06/2022 à 13:48, Max Nikulin wrote : On 01/06/2022 12:30, Phil Estival wrote: * lisp/ox.el (org-export--skip-p): no longer export single-line comments as blank lines which did break paragraphs in two. unfortunately, you took a wrong direction If you are interested in other cases when

[PATCH] test-ox: no superfluous newline in exported comments

2022-05-31 Thread Phil Estival
* testing/lisp/test-ox.el (test-org-export/comments) test updated according to behavior change when exporting a comment: a single line of comment no longer insert a blank line TINYCHANGE ---  testing/lisp/test-ox.el | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/lis

[PATCH] ox: fix comment exported as a blank line

2022-05-31 Thread Phil Estival
* lisp/ox.el (org-export--skip-p): no longer export single-line comments as blank lines which did break paragraphs in two. TINYCHANGE ---  lisp/ox.el | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 9a8e63046..2c50fba0c 100644 --- a/lisp/ox.el ++

Re: [PATCH] Re: [BUG] org-element-map doco should refer to org-element-parse-buffer [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-14 Thread Phil Hudson
Thanks so much, Ihor. On Sat, 14 May 2022 at 06:08, Ihor Radchenko wrote: > > Phil Hudson writes: > > > Thanks Ihor, that's great! > > > > One tiny nit-pick: I think "e.g." is deprecated in favor of the > > explicit literal "for example&quo

Re: org-agenda-filter-by-tag doco

2022-05-08 Thread Phil Hudson
Fair enough. I follow your reasoning and it seems sound. Please close. On Sun, 8 May 2022 at 14:07, Ihor Radchenko wrote: > > Phil Hudson writes: > > > I'd like to expand the docstring of command `org-agenda-filter-by-tag` > > to document the Elisp equivalent of intera

Re: [BUG] org-compile-prefix-format doco is incomplete [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-03 Thread Phil Hudson
Thanks again Ihor! On Tue, 3 May 2022 at 04:44, Ihor Radchenko wrote: > > Phil Hudson writes: > > > Function org-compile-prefix-format in file org-agenda.el (line 6917 in > > Org 9.5.2) does not properly document parameter `key'. > > Thanks! Fixed on main via 5d3173cb0. > > Best, > Ihor

Re: [PATCH] Re: [BUG] org-element-map doco should refer to org-element-parse-buffer [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-05-03 Thread Phil Hudson
", which I think should probably be just "object types". Might as well fix that while we're at it. Best, Phil On Tue, 3 May 2022 at 04:43, Ihor Radchenko wrote: > > Phil Hudson writes: > > > The documentation for function `org-element-parse-buffer

[BUG] org-element-map doco should refer to org-element-parse-buffer [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-03-29 Thread Phil Hudson
#x27; parameter, but no hint as to how to obtain that data. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2021-08-28 Package: Org mode version 9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)

[BUG] org-compile-prefix-format doco is incomplete [9.5.2 (9.5.2-gfbff08 @ /home/phil/.emacs.d/elpa/org-9.5.2/)]

2022-03-29 Thread Phil Hudson
Function org-compile-prefix-format in file org-agenda.el (line 6917 in Org 9.5.2) does not properly document parameter `key'. Emacs : GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2021-08-28 Package: Org mode version 9.5.2 (9.5.2-gfbff08 @ /home/phil/.em

org-agenda-filter-by-tag doco

2021-11-28 Thread Phil Hudson
I'd like to expand the docstring of command `org-agenda-filter-by-tag` to document the Elisp equivalent of interactive prefix arguments. By trial and error and guesswork I determined that I could emulate `C-u C-u` by passing `'(16)` as the second argument (`strip-or-accumulate`). I'd like to add te

[BUG] require org-macs at compile time [9.5 (9.5-g0a86ad @ /home/phil/.emacs.d/elpa/org-9.5/)]

2021-10-19 Thread Phil Hudson
linux-gnu, X toolkit, Xaw3d scroll bars) of 2021-08-28 Package: Org mode version 9.5 (9.5-g0a86ad @ /home/phil/.emacs.d/elpa/org-9.5/)

Q: ox-md does not translate link searches to #bookmarks in markdown [9.4.4 (release_9.4.4 @ /snap/emacs/current/usr/share/emacs/27.2/lisp/org/)]

2021-05-11 Thread Phil Marneweck
(format "[%s](%s%s)" desc path (or (org-element-property :search-option link) "" You would of course have to do some sanity checking on search-option to just take care of id versus headline searches etc. Regards Phil

Re: Bug: Custom Drawers - Contents show in HTML export [9.4.4 (release_9.4.4 @ /snap/emacs/current/usr/share/emacs/27.2/lisp/org/)]

2021-05-10 Thread Phil Marneweck
default value would be #+OPTIONS: d:nil, either way my bad! Is there any other place to ask questions other #orgmode? Regards Phil Regards Phil On Fri, May 7, 2021 at 1:45 PM Nicolas Goaziou wrote: > Hello, > > "zar...@global.co.za" writes: > > > > Drawers

Re: [PATCH] Re: RFE: Capture: property prompt: default completion

2020-09-23 Thread Phil Hudson
On Wed, 23 Sep 2020 at 12:15, Bastien wrote: > > Sorry, I should have mentioned this, but the patch does not apply on > master. If you have time to merge recent changes and reformat it, I > can apply it right afterwarsds, otherwise I will try to do it myself > later this week. OK, herewith. org-

Re: [PATCH] Re: RFE: Capture: property prompt: default completion

2020-09-23 Thread Phil Hudson
On Wed, 23 Sep 2020 at 08:21, Bastien wrote: > It looks good to me. > > Can you update your patch by adding a proper commit message? Herewith. Hope I've got it right. I've signed the FSF papers. org-capture.el: Give a default value when prompting for a property * lisp/org-capture.el (org-capture

[PATCH] Re: RFE: Capture: property prompt: default completion

2020-09-14 Thread Phil Hudson
Sorry, should have changed the subject. Re-sending patch (no alterations). On Mon, 14 Sep 2020 at 00:32, Phil Hudson wrote: > > On Sat, 12 Sep 2020 at 19:20, Phil Hudson wrote: > > > > I'd like us to add the ability to provide a default completion value > > for a

Re: RFE: Capture: property prompt: default completion

2020-09-13 Thread Phil Hudson
On Sat, 12 Sep 2020 at 19:20, Phil Hudson wrote: > > I'd like us to add the ability to provide a default completion value > for a property prompt in a capture template, as already exists for a > non-property prompt. > > So where at the moment we can have: > >

RFE: Capture: property prompt: default completion

2020-09-12 Thread Phil Hudson
I'd like us to add the ability to provide a default completion value for a property prompt in a capture template, as already exists for a non-property prompt. So where at the moment we can have: %^{prompt|default|completion2|completion3|...} I want, by analogy: %^{prop|default}p with t

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Phil Regier
ted teachers to be able to access this, plus its > good to have accessible teaching tools no matter what, because you never > know when another blind person may want to use it later on. > > On Jun 12, 2020, at 6:23 PM, Phil Regier wrote: > > A friend showed me Org-mode running in

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Phil Regier
A friend showed me Org-mode running in spacemacs a few years back, and I was pretty impressed with how well it seemed to be working, though I haven't messed with it much myself. Especially not sure how much sugar it offers as far as sharing a particular experience with new users, but at the very l

Re: Feature request: Radio button option for lists of checkboxes

2020-02-11 Thread Phil Sainty
e list is intended to be radio buttons then that behaviour gets used automatically. If that's practical to add to the new implementation, I would think it would provide the best end-user experience for interacting with such lists. -Phil p.s. Their code for detecting this was along similar

Feature request: Radio button option for lists of checkboxes

2019-11-03 Thread Phil Sainty
one other contributor, so I have pushed a fork which excludes that particular change, as I am not aware of the copyright status for that. This FSF-safe fork is: https://github.com/phil-s/org-radiobutton (n.b. I've assigned FSF copyright for Emacs too, but none of the code on this fork w

Re: [O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2019-09-30 Thread Phil Sainty
n the master branch (commit d215c3a8c0b4c027), where a lambda is added to a hook variable (a few of them in the form of commented suggestions to the user). It's never a good idea; all of these should be changed to use named functions, IMO. -Phil -*- grep -*- ./ob-core.el:1429:(add-hook 'o

Re: [O] org-agenda-todo obliterates my windows

2019-08-29 Thread Phil Regier
Well, that sure was easy, and I certainly had missed it. This selection does indeed produce the behavior I was hoping for; thanks so much for the help! PR On Thu, Aug 29, 2019 at 12:17 PM Jack Kamm wrote: > > Is there any way to just open my org-agenda-todo items in the /current/ > > window, o

[O] org-agenda-todo obliterates my windows

2019-08-29 Thread Phil Regier
I've been ignoring this for a long time, but it's getting more disruptive as more of my daily life lives in emacs/org; I've tried a little blind hacking and only managed to make things worse, and I feel like I'm missing something easy and obvious. Is there any way to just open my org-agenda-todo i

Re: [O] Force center alignment in LaTeX table export?

2017-03-26 Thread Phil Regier
See inline below and attached. If exporting to PDF the first table gets a prefix of "ced!10" and the second is the pale red highlight I was wanting. Here are the important lines in the LaTeX buffer export: \(\left[\begin{array}{>{\cocumncococ{ced!10}}c|ccc|ccc} vs. \(\left[\begin{array}{a|ccc|

[O] Force center alignment in LaTeX table export?

2017-03-25 Thread Phil Regier
derstand the original problem or the fix. What does replacing l's and r's with c's achieve? Should I be defining new column types and/or just using a \newcommand that doesn't use the characters "l" or "r" instead of trying to directly set \columncolor directly in the alignment string? Thanks... Phil

[O] History list for %^{...} in capture

2016-05-20 Thread Phil Hudson
s calls. WDYT? Good idea? Too complex? Too "busy"? Useful? Not useful? -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63

[O] [PATCH] org-capture.el: Support all capture template target-file variants in Customize

2016-05-16 Thread Phil Hudson
>From ef813011fbe2fd47e5bdd623a6cff0878074de0c Mon Sep 17 00:00:00 2001 From: Phil Hudson Date: Mon, 16 May 2016 09:32:06 +0100 Subject: [PATCH] org-capture.el: Support all capture template target-file variants in Customize * lisp/org-capture.el (`org-capture-templates'): Adjust th

Re: [O] org mode capture to headline at point

2016-05-13 Thread Phil Hudson
below point. Then you can just C-c C-c to get your capture where you want it instead of C-c C-w, no refile required. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63

[O] [PATCH 2/2] org-capture.el: Support all target file specifiction variants in Customize

2016-05-11 Thread Phil Hudson
>From 9ca987e6580ef633c961bf2023813d8544a0d36b Mon Sep 17 00:00:00 2001 From: Phil Hudson Date: Wed, 11 May 2016 22:49:01 +0100 Subject: [PATCH 2/2] org-capture.el: Support all target file specifiction variants in Customize * lisp/org-capture.el (`org-capture-templates'): Adjust th

[O] [PATCH 1/2] org-agenda.el: Fix `org-agenda-bulk-custom-functions' supported Customize type

2016-05-11 Thread Phil Hudson
>From 256cf1f854e902de392a325ec4b9c8204fb84a21 Mon Sep 17 00:00:00 2001 From: Phil Hudson Date: Wed, 11 May 2016 15:34:12 +0100 Subject: [PATCH 1/2] org-agenda.el: Fix `org-agenda-bulk-custom-functions' supported Customize type * org-agenda.el (`org-agenda-bulk-custom-functions'

[O] [PATCH] org-agenda.el: Fix `org-agenda-bulk-custom-functions' supported Customize type

2016-05-11 Thread Phil Hudson
as saying only applies if you haven't signed the papers. Here's the git format-patch output: >From 256cf1f854e902de392a325ec4b9c8204fb84a21 Mon Sep 17 00:00:00 2001 From: Phil Hudson Date: Wed, 11 May 2016 15:34:12 +0100 Subject: [PATCH] org-agenda.el: Fix `org-agenda-bulk-custo

Re: [O] Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)]

2016-05-11 Thread Phil Hudson
On Wed, 11 May 2016 at 12:44:17 am BST, David Dynerman wrote: > I would like to manually save the buffer to a file by calling > write-file (C-x C-w) Would `write-region' not be what you want? -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit

Re: [O] Bug: Capture template file source variant support in Customize [8.3.4 (8.3.4-47-gaf853d-elpa @ /home/phil/.emacs.d/elpa/org-20160502/)]

2016-05-10 Thread Phil Hudson
On Tue, 10 May 2016 at 10:21:12 pm BST, Nicolas Goaziou wrote: > Hello, > > Phil Hudson writes: > >> Expected: When using the Customize interface to create/edit an Org >> capture template, we expect to be able to specify a file to write the >> captured ite

Re: [O] Org 8.3.4 - Problems with bulk reschedule in agenda

2016-05-10 Thread Phil Hudson
w). * Have you ever used 'edebug'? That would be my next step. (info "(elisp) Edebug") -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63

[O] Patches sent

2016-05-09 Thread Phil Hudson
Is there anything further I need to do to get the two patches I sent over the weekend merged (or constructively rejected)? They seem to have died a death. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63

[O] org-agenda-bulk-custom-functions Customize mismatch

2016-05-08 Thread Phil Hudson
;t in fact already broken. The second approach is as simple as changing that `cadr` to a `cdr`, but it does risk breaking working configs where the alist was populated procedurally. I propose the first. Here's a patch. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit

[O] Bug: Capture template file source variant support in Customize [8.3.4 (8.3.4-47-gaf853d-elpa @ /home/phil/.emacs.d/elpa/org-20160502/)]

2016-05-07 Thread Phil Hudson
also fixes that. I have signed the FSF papers. * pending your acceptance of this patch, at which point I can revert to the simpler filename-producing function I wanted to use initially. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA6

[O] Bug: Need additional context 'protocol' for capture templates [8.3.2 (8.3.2-39-gd537a3-elpa @ /home/phil/.emacs.d/elpa/org-20151123/)]

2015-12-10 Thread Phil Hudson
ww-mode' or 'protocol', for example. Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-04-25 on quiz Package: Org-mode version 8.3.2 (8.3.2-39-gd537a3-elpa @ /home/phil/.emacs.d/elpa/org-20151123/) current state: == (setq

[O] Bug: RFE: Truncate habit history [8.2.10 (8.2.10-33-g880a2b-elpa @ /home/phil/.emacs.d/elpa/org-20150216/)]

2015-02-24 Thread Phil Hudson
h the effect of slowing down habit cycling. Emacs : GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-01-02 on quiz Package: Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa @ /home/phil/.emacs.d/elpa/org-20150216/) current state: == (setq org-id

Re: [O] Cooperating with oneself using the cloud?

2014-09-15 Thread Phil Mason
Hi Martin, > That should work if I can find a free Git repository allowing me to keep > files secret. I use the free private repos from https://bitbucket.org/ to do something very similar to what you require. All the best Phil

[O] Clear non-repeated scheduled time when deadline is repeated

2014-07-27 Thread Phil Chrapka
p-with-keyword org-scheduled-string) > (setq n (string-to-number (match-string 2 ts)) > what (match-string 3 ts)) > (if (equal what "w") (setq n (* n 7) what "d")) Thanks, Phil

Re: [O] Is there an environment for Org syntax?

2014-03-18 Thread Phil Regier
Sorry, Fletcher, but this is beyond me. If what you want is essentially a buffer-based screenshot, then it may in theory be easier, relatively speaking, to build elisp routines to copy the contents of buffers, but that would be even further beyond my abilities. Phil - Original Message

Re: [O] Is there an environment for Org syntax?

2014-03-14 Thread Phil Regier
#+end_src ...then my HTML export adds as many spaces as there are in the block edit buffer. Is that not what you see, or are you looking for something more sophisticated? Phil - Original Message - From: "Fletcher Charest" To: emacs-orgmode@gnu.org Sent: Friday, Ma

Re: [O] Is there an environment for Org syntax?

2014-03-14 Thread Phil Regier
le to borrow some code for highlighting by inspecting the org and html source... Phil - Original Message - From: "Fletcher Charest" To: "Phil Regier" Cc: emacs-orgmode@gnu.org Sent: Friday, March 14, 2014 5:59:03 PM Subject: Re: [O] Is there an environment for Org syntax?

Re: [O] Is there an environment for Org syntax?

2014-03-14 Thread Phil Regier
thing about it), but AFAIK they are not distributed with Org at this time. Does that at least address the first part of your inquiry? Sorry I couldn't offer anything actionable for the second; maybe someone else can pick up where I left off. Phil - Original Message - From: &quo

Re: [O] Named latex blocks for inline execution?

2014-03-14 Thread Phil Regier
even if they do not. Phil - Original Message - From: "Eric S Fraga" To: "Phil Regier" Cc: "org mode" Sent: Friday, March 14, 2014 12:09:15 PM Subject: Re: [O] Named latex blocks for inline execution? Hello, The following works for me with your exa

Re: [O] Named latex blocks for inline execution?

2014-03-14 Thread Phil Regier
Many thanks, Tom; these are all variations I had not thought to try. I will try them out and see what combination works best for me. Phil - Original Message - From: "Thomas S. Dye" To: "Phil Regier" Cc: "org mode" Sent: Friday, March 14, 2014 11:54:

[O] Named latex blocks for inline execution?

2014-03-14 Thread Phil Regier
results ...] and [:exports ...] before and after the call (as well as prologues and epilogues), exporting to raw and latex and org, and even declaring the block as org instead of latex. Is there a correct way to achieve this, or am I trying to make Org do something it is not meant to do? Thanks for any ideas... Phil

Re: [O] Org plus contrib (and ditaa.jar)

2014-03-13 Thread Phil Regier
This actually does help; thanks! I had tried copying ditaa.jar from ditaa SVN, but that still did not work; copying from Org git, however, works like a charm. Not sure why the first method failed, but I like this approach better anyway, so I'm happy. Thanks again! Phil - Ori

Re: [O] Octave/Matlab Code Export Issue?

2014-03-13 Thread Phil Regier
Wow; I'm embarrassed. Thanks so much for the assist; terribly sorry to spam the list with such a simple error. X( Phil - Original Message - From: "Eric S Fraga" To: "Phil Regier" Cc: emacs-orgmode@gnu.org Sent: Thursday, March 13, 2014 11:08:36 AM Subject: R

[O] Org plus contrib (and ditaa.jar)

2014-03-13 Thread Phil Regier
Am I missing something obvious? Phil

[O] Octave/Matlab Code Export Issue?

2014-03-12 Thread Phil Regier
might start looking look for such a language-specific, non-option-specific, non-backend-specific export glitch? Thanks for any suggestions... Phil

Re: [O] Babel #+CALL: results?

2013-11-12 Thread Phil Regier
Oops; forgot to reply-all. Aaron's advice did set me straight, and #+CALL: is working fine for me now without my ill-advised debugging artifacts. Thanks to Aaron for the assistance, and to the Org list/maintainers for all the great Org tools and documentation. Phil - Original Me

[O] Babel #+CALL: results?

2013-11-12 Thread Phil Regier
nd the right combination of :results properties to pass output from a named block to a later call for display and/or export? Running from my current home directory installation, here are my emacs and Org versions: GNU Emacs 24.3.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.9) of 2013-11-10 on Org-mode version 8.2.2 (8.2.2-dist @ //.emacs.d/elpa/org-20131108/) Any guidance would be greatly appreciated... Phil Regier preg...@ittc.ku.edu

Re: [O] Include a limited level of subheadings for export/publish?

2012-11-09 Thread Phil! Gold
looking into agenda views in a lot more detail and discovered a few things that I was able to put together into pretty much what I wanted. I documented it here for posterity: http://aperiodic.net/phil/archives/Geekery/org-mode-project-overviews.html

[O] Include a limited level of subheadings for export/publish?

2012-11-07 Thread Phil! Gold
I've been through all of the export and publishing documentation and what I could find about includes and I can't see a way to do what I want to accomplish. I have multiple org files, each of which represents a project, with the first level headings representing milestones for the project and lowe

Re: [O] Counting total number of projects

2012-10-19 Thread Phil Mason
need the recursive property after the projects line like this: * Projects [%] [/] :PROPERTIES: :COOKIE_DATA: recursive :END: ** TODO project 1 ... Hope this helps Phil

[O] Shell script block gives no output when evaluated

2012-02-08 Thread Phil Mason
I remove either if block then the results for the remaining one is correct and if I run the same code from within an actual script it works as I expect (foo is defined, bar is not). Can anybody provide any clues about what I'm doing wrong. Thanks in advance Phil

  1   2   >