Ämne: Re: Problem with let/cl-letf binding stuff with org-capture
Arthur Miller writes:
>
> Anyway, a follow question: Where is the source code?!
lisp/textmodes/string-edit.el
> Normally the help window says "... is a Lisp function in ."
>
My Emacs tells me it's an a
Arthur Miller writes:
>
> Anyway, a follow question: Where is the source code?!
lisp/textmodes/string-edit.el
> Normally the help window says "... is a Lisp function in ."
>
My Emacs tells me it's an autoloaded function with the usual link.
Bruno
Ihor Radchenko writes:
> Arthur Miller writes:
>
>> Based on a Reddit thread:
>>
>> https://www.reddit.com/r/emacs/comments/10xhvd8/a_little_readstring_utility_using_an_org_mode/j7xziao/?context=3
>>
>> I did a small experiment to see if I can re-use org-capture, to just capture
>> a
>> string
Ihor Radchenko writes:
> Note that Emacs 29 has `read-string-from-buffer'.
I completely missed the fact that it was already in Emacs.
I'll definitely use the string-edit version (the version
with callbacks).
Thanks Ihor.
Bruno
Arthur Miller writes:
> Bruno Barbier writes:
>
>>
>
> That looks very nice indeed. I am not aware of that package, I will definitely
> use it somewhere, sometime. But with that we are getting now into 1K extra
> sloc
> solution. With this experiment, I was mostly interesting to see how I can
Arthur Miller writes:
> And for the last time: I am not using this version of read-string, I don't
> need
> it myself; it was just me thinking how to implement something after reading a
> blog post. Anyway, thanks for the input, it was valuable to me.
Note that Emacs 29 has `read-string-from-bu
Bruno Barbier writes:
> Hi Arthur,
>
> Arthur Miller writes:
>
>> Bruno Barbier writes:
>>
>> ... but I feel a
>> bit of passive aggressivity here, for no good reason tbh.
>
> I'm just trying to help, giving some valid or invalid advices. I'm
> sorry that what I wrote, and how I wrote it, mad
Hi Arthur,
Arthur Miller writes:
> Bruno Barbier writes:
>
> ... but I feel a
> bit of passive aggressivity here, for no good reason tbh.
I'm just trying to help, giving some valid or invalid advices. I'm
sorry that what I wrote, and how I wrote it, made you feel that way.
>>
>> Yes, let b
Bruno Barbier writes:
> Arthur Miller writes:
>
>> Bruno Barbier writes:
>>
>>> Arthur Miller writes:
>>>
>>> The hook `org-capture-mode-hook' will be run in your special
>>> capture buffer. You can override the "C-c C-c" binding only there.
>>
>> Yes and in every other capture buffer
>
> No.
Arthur Miller writes:
> Bruno Barbier writes:
>
>> Arthur Miller writes:
>>
>> The hook `org-capture-mode-hook' will be run in your special
>> capture buffer. You can override the "C-c C-c" binding only there.
>
> Yes and in every other capture buffer
No. If you modify the hook only during you
Arthur Miller writes:
> Based on a Reddit thread:
>
> https://www.reddit.com/r/emacs/comments/10xhvd8/a_little_readstring_utility_using_an_org_mode/j7xziao/?context=3
>
> I did a small experiment to see if I can re-use org-capture, to just capture a
> string from a buffer, without actually writin
Bruno Barbier writes:
> Arthur Miller writes:
>
>>> Bruno Barbier writes:
>>> If you really want to just get the piece of text, you might be able to
>>> use the hook `org-capture-mode-hook' to replace the key binding to
>>> 'C-c C-c' in the capture buffer, so that it calls your own function tha
Arthur Miller writes:
>> Bruno Barbier writes:
>> If you really want to just get the piece of text, you might be able to
>> use the hook `org-capture-mode-hook' to replace the key binding to
>> 'C-c C-c' in the capture buffer, so that it calls your own function that
>> will take the string and c
Bruno Barbier writes:
> Arthur Miller writes:
>
>> However I see that the binding for the org-capture-finalizer, in capture
>> buffer,
>> is still the default 'org-capture--default-finalize' and not my lambda.
>>
>> I am really not an expert on emacs lisp; and I do understand that this is
>> so
Arthur Miller writes:
> However I see that the binding for the org-capture-finalizer, in capture
> buffer,
> is still the default 'org-capture--default-finalize' and not my lambda.
>
> I am really not an expert on emacs lisp; and I do understand that this is
> somewhat "creative" use of org-capt
Ruijie Yu writes:
> Hi Arthur,
>
> Please excuse my brevity and semi-random line of thought, as I’m replying on
> mobile right now. See below.
>
>> On Feb 10, 2023, at 23:11, Arthur Miller wrote:
>>
>>
>> Based on a Reddit thread:
>>
>> https://www.reddit.com/r/emacs/comments/10xhvd8/a_li
Hi Arthur,
Please excuse my brevity and semi-random line of thought, as I’m replying on
mobile right now. See below.
> On Feb 10, 2023, at 23:11, Arthur Miller wrote:
>
>
> Based on a Reddit thread:
>
> https://www.reddit.com/r/emacs/comments/10xhvd8/a_little_readstring_utility_using_an_o
Based on a Reddit thread:
https://www.reddit.com/r/emacs/comments/10xhvd8/a_little_readstring_utility_using_an_org_mode/j7xziao/?context=3
I did a small experiment to see if I can re-use org-capture, to just capture a
string from a buffer, without actually writing to any file.
My plan was to j
18 matches
Mail list logo