Re: buffer name of Org Src...

2020-10-13 Thread Eric S Fraga
On Tuesday, 13 Oct 2020 at 11:01, Dr. Arne Babenhauserheide wrote: > Don’t you get a "do you want to revert file" warning then? You might not be visiting that file and/or you might have auto-revert mode set (which I do as I like living dangerously ;-)). -- : Eric S Fraga via Emacs 28.0.50, Org r

Re: buffer name of Org Src...

2020-10-13 Thread Dr. Arne Babenhauserheide
Eric S Fraga writes: > On Tuesday, 13 Oct 2020 at 09:27, Greg Minshall wrote: >> yes, but. the first time i 'C-c C-v t' in the base file onto a >> changed-but-uncommitted tangled file, even git will provide me no >> succor. > > True. :-( Don’t you get a "do you want to revert file" warning th

Re: buffer name of Org Src...

2020-10-13 Thread Eric S Fraga
On Tuesday, 13 Oct 2020 at 09:27, Greg Minshall wrote: > yes, but. the first time i 'C-c C-v t' in the base file onto a > changed-but-uncommitted tangled file, even git will provide me no > succor. True. :-( -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-57-g8402c4

Re: buffer name of Org Src...

2020-10-13 Thread Eric S Fraga
On Monday, 12 Oct 2020 at 20:52, Dr. Arne Babenhauserheide wrote: > Do you use org-mode to document stuff after you wrote it? Before, during, and after! > I often use it to start small tools that I need right now — for example I do as well. I have little snippets of code and data throughout my

Re: buffer name of Org Src...

2020-10-12 Thread Greg Minshall
Eric, > But that's what git etc. are for! ;-) yes, but. the first time i 'C-c C-v t' in the base file onto a changed-but-uncommitted tangled file, even git will provide me no succor. cheers, Greg

Re: buffer name of Org Src...

2020-10-12 Thread Dr. Arne Babenhauserheide
Eric S Fraga writes: > On Monday, 12 Oct 2020 at 18:33, Dr. Arne Babenhauserheide wrote: >> That’s also when I tangle — but I often don’t move the code back into >> org afterwards, because once I needed this support once, I know I’ll >> need it again. > > Interesting. I guess my needs are diffe

Re: buffer name of Org Src...

2020-10-12 Thread Eric S Fraga
On Monday, 12 Oct 2020 at 18:33, Dr. Arne Babenhauserheide wrote: > That’s also when I tangle — but I often don’t move the code back into > org afterwards, because once I needed this support once, I know I’ll > need it again. Interesting. I guess my needs are different: I need these support tools

Re: buffer name of Org Src...

2020-10-12 Thread Dr. Arne Babenhauserheide
Eric S Fraga writes: > On Monday, 12 Oct 2020 at 15:39, Dr. Arne Babenhauserheide wrote: >> Did you find a way to make flycheck or flymake work in the src-buffers? > > This is an example of when I use tangling/detangling: when I need this > kind of support to develop my code. That’s also when I

Re: buffer name of Org Src...

2020-10-12 Thread Eric S Fraga
On Monday, 12 Oct 2020 at 17:17, Greg Minshall wrote: > making changes in both the base file source block and in the Org > Src... buffer (which i assume the de-tangling solution can't?). Yes, de-tangling cannot handle such simultaneous changes so you do need to be careful. But that's what git e

Re: buffer name of Org Src...

2020-10-12 Thread Eric S Fraga
On Monday, 12 Oct 2020 at 15:39, Dr. Arne Babenhauserheide wrote: > Did you find a way to make flycheck or flymake work in the src-buffers? This is an example of when I use tangling/detangling: when I need this kind of support to develop my code. -- : Eric S Fraga via Emacs 28.0.50, Org release_

Re: buffer name of Org Src...

2020-10-12 Thread Greg Minshall
Eric, thanks. de-tangling sounds like a possible solution. though, at least with Org Src ... buffers, org/emacs mostly keep me from messing up by, e.g., making changes in both the base file source block and in the Org Src... buffer (which i assume the de-tangling solution can't?). given my agin

Re: buffer name of Org Src...

2020-10-12 Thread Greg Minshall
Arne, no, sorry, i don't use either flymake or flycheck. cheers, Greg

Re: buffer name of Org Src...

2020-10-12 Thread Dr. Arne Babenhauserheide
Greg Minshall writes: > ps -- in case it's of interest: possibly i'm frustrated now, and wasn't > so much in the past, as i recently got annoyed by having to go back to > the base file to save and tangle (part of my work flow, to test whatever > i'm working on), and, so, wrote a few lines of emac

Re: buffer name of Org Src...

2020-10-12 Thread Eric S Fraga
On Monday, 12 Oct 2020 at 15:44, Greg Minshall wrote: > in *my* case (with the project i'm currently working on), each source > block in the .org file is a separately tangled file, and each source > block could be tagged with a distinct '#+name:' value. Using the name of the src block would be a n