Re: Global variables in Org mode document with source blocks

2021-05-18 Thread Greg Minshall
Lennart, John's idea seems good. also, you could generate a separate RESULT for each language, then :var each language's "failed" RESULT into your bash block and fail if any of them are set? cheers, Greg

Re: Moving some lisp/ob-*.el files to org-contrib - your advice?

2021-05-17 Thread Greg Minshall
Bastien, > > lisp/ob-julia.el: Add a Homepage header > > that Homepage seems to point at > https://git.savannah.gnu.org/cgit/emacs/org-mode.git which appears to be > a (the?) full-on org-mode git repo, and which doesn't appear to have > ob-julia.el. apologies, i hadn't taken the time to look at

new org-contrib and straight.el

2021-05-15 Thread Greg Minshall
hi, all. i use, but don't know much about, straight.el [1]. in case it's of use to anyone, here is what is did to bring in the new org-contrib: (straight-use-package '(org-contrib :type git :repo "https://git.sr.ht/~bzg/org-contrib;

Re: Moving some lisp/ob-*.el files to org-contrib - your advice?

2021-05-14 Thread Greg Minshall
hi, Bastien, > 2e0375d2 — Bastien Guerry2 days ago > lisp/ob-julia.el: Add a Homepage header that Homepage seems to point at https://git.savannah.gnu.org/cgit/emacs/org-mode.git which appears to be a (the?) full-on org-mode git repo, and which doesn't appear to have ob-julia.el. for whatever

Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]

2021-05-10 Thread Greg Minshall
Kevin, ah. the behavior is complicated for me to understand, but presumably useful. (there's a Jerzy Neyman quote: Life is complicated, but not uninteresting.) cheers, Greg

Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]

2021-05-10 Thread Greg Minshall
Kevin, > FWIW, during the latest poll somebody suggested making org-indent-line > cycle through "syntactically valid" indentation levels when hitting TAB > repeatedly, like python-indent-line-function; I like this idea. i think (*) the current "master" branch allows you to type "- fu- *bar"

Re: <> and ?font-lock? fly-check, ...

2021-05-03 Thread Greg Minshall
Tom, >I just checked and it induces a syntax error, which I did not know, > but turns out to be quite useful because it means that an untangled or > incorrectly tangled file will fail to run beyond that point. Best! :) cheers.

Re: About multilingual documents

2021-05-03 Thread Greg Minshall
Aleks, et al., > Apart from the export, one of my biggest gripes is > flyspell. Specifically, the fact that you have to choose one language to > spell check the entire document with. That is insufficient in my case. in case it's relevant: i also switch between languages. but, for me (maybe i'm

Re: <> and ?font-lock? fly-check, ...

2021-05-02 Thread Greg Minshall
Tom, that is quite devious, actually. thank you very much! do you know, by the way, what flycheck and/or the shell make the "<<&" construct out to be? cheers, Greg

Re: <> and ?font-lock? fly-check, ...

2021-05-02 Thread Greg Minshall
Diego and Sébastien, thank you both. in particular, i didn't know about =org-babel-noweb-wrap-start=, and that's probably perfect for this case. cheers, Greg

<> and ?font-lock? fly-check, ...

2021-05-02 Thread Greg Minshall
hi, all. using a <> reference in a bash source block, the buffer's font lock colors go south on lines folowing the <> reference. (in my case, all remaining lines in the buffer are colored bright yellow). the major and minor modes are as listed below. is there an obvious thing to do to either

Re: stability of toc links

2021-04-30 Thread Greg Minshall
in this thread... > > The publish feature only means exporting several files at once. > You can publish a single file, too. It makes sense when a file is always > exported to the same location, possibly with the same configuration. my model is that exporting is to publishing as, well, as org

Re: [WDYT, mini] key h in agenda for quick help

2021-04-28 Thread Greg Minshall
Timothy, thanks! > Greg Minshall writes: > > > having glanced briefly at transient, would it be something with which > > one could, e.g., implement the export menu? > > > > where else in org-mode would you see using it? > > > > (just curiosity.) > &

Re: [WDYT, mini] key h in agenda for quick help

2021-04-28 Thread Greg Minshall
Timothy, > I actually think Org would benefit from using transient (which has > recently been merged into Emacs), and it could reduce the maintenance > burden, but I suppose that's not possible with our minimum version at > Emacs 24... having glanced briefly at transient, would it be something

Re: [PATCH] Babel: remove LaTeX environment -type #+results

2021-04-26 Thread Greg Minshall
Timothy, > The rendering is just done by `org-latex-preview'. > Hope that clears things up. yes, thanks.

Re: [PATCH] Babel: remove LaTeX environment -type #+results

2021-04-25 Thread Greg Minshall
Timothy, interesting. would this show up in #+RESULTS blocks? in (heaven forbid!) #+BEGIN_SRC blocks? cheers, Greg

Re: [tip] search this mailing list with helm-surfraw

2021-04-25 Thread Greg Minshall
Bastien, > I hope this is not confusing. no, that's perfectly clear. thanks. Greg

Re: [tip] search this mailing list with helm-surfraw

2021-04-24 Thread Greg Minshall
Bastien, > You might want to write another one for the public-inbox archive: > > E.g. https://orgmode.org/list/?q=Juan+Manuel+Mac%C3%ADas okay, i'll bite: what *is* the difference between https://orgmode.org/list and https://lists.gnu.org/archive/html/emacs-orgmode/ ? cheers, Greg

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-19 Thread Greg Minshall
Tom, thanks! i assumed something like that.

Re: [Patch] to correctly sort the items with emphasis marks in a list

2021-04-19 Thread Greg Minshall
hi, Nicolas, i'm curious, not knowing history and/or procedures. > ... CL is still necessary however, as we cannot use `seq' yet. why is 'seq not "yet" available? what will make it available? cheers, Greg

Re: Repository of Org files with important dates?

2021-04-17 Thread Greg Minshall
David Masterson wrote: > Hmm. I don't see a date function in Elisp... (current-time-string), if that helps.

Re: Is it possible to #+include: src blocks and tangle them too?

2021-04-16 Thread Greg Minshall
Rama, one other comment/suggestion. > I haven’t been able to fully work with Donald Knuth’s suggestion of > writing a Literate Program directly in a tool like orgmode/noweb since > it is a nuisance to keep having to type C-c ' to go into the editing > mode of the language concerned. while i

Re: Is it possible to #+include: src blocks and tangle them too?

2021-04-14 Thread Greg Minshall
Rama, thanks for your explanation. Arne Babenhauserheide suggested [M-x org-babel-detangle]; i've not used it myself, but it seems a possible direction. cheers, Greg

Re: Is it possible to #+include: src blocks and tangle them too?

2021-04-13 Thread Greg Minshall
Rama, another possible solution, though it may not be possible for your setup, is to "invert" things: centralize all your snippets in snippet.org, with each *snippet* set to tangle to its individual lisp file. cheers, Greg

Re: life on the eading bledge

2021-04-06 Thread Greg Minshall
Nicolas, thanks, your fix also seem to solve the problem i was having. cheers, Greg

Re: life on the eading bledge

2021-04-05 Thread Greg Minshall
Kyle, > The below change seems to fix the issue, though Nicolas may be able to > suggest a more appropriate change. yes, that seems to work for me. cheers, Greg > diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el > index 932f38530..ac24f1f74 100644 > --- a/lisp/ox-latex.el > +++

life on the eading bledge

2021-04-05 Thread Greg Minshall
hi. running c881b60593b3beeed7b8c7a2bada64157cd9940a, the following *** this =equals= that and, so on exporting [C-e l o], gives : replace-regexp-in-string: Wrong type argument: arrayp, nil cheers, Greg = backtrace: Debugger entered--Lisp error: (wrong-type-argument

Re: Generating documentation about Org from random org file

2021-04-04 Thread Greg Minshall
Michael, > Now I want to use this file to showcase the use case a bit, but also > to produce documentation about Org, about how to solve a problem with > Org. Therefore I want to show the code blocks, but this time with the > begin/end tags, with header parameters etc. Is there a nice way to do

Re: Idea for handling timezones

2021-04-03 Thread Greg Minshall
Russell, > I would not suggest using UTC. I believe one of the reasons timestamps > didn't include TZ information was to keep them short and human > legible. Solutions with overlays to change a timestamp reduce the > usefulness of the plain text reading of Org (ie: less, grep, > etc). Storing

Re: How to get a table into a variable in a shell code block?

2021-04-03 Thread Greg Minshall
William, try #+begin_src shell :results output :var n=numbers echo ${n[1]} #+end_src cheers, Greg

Re: Idea for handling timezones

2021-04-03 Thread Greg Minshall
hi, Shiro, > With this, say the user have > > #+TIMEZONE: America/Toronto > > at the start of their org file, and they moved to Shanghai, all the timestamp > in > the org file is converted using something equivalent to > > $ TZ=Asia/Shanghai date --date='TZ="America/Toronto" '"$TIMESTAMP" >

Re: header-args property

2021-04-01 Thread Greg Minshall
Michael, i see "Hello" when i C-c C-c. i see this with "emacs -Q". cheers, Greg

Re: How to expand macro in LaTeX export? How to use different options per export type?

2021-03-31 Thread Greg Minshall
Jean Louis, another thing that i find helpful in understanding the tao of export: if you haven't, look at the help string for the variable ~org-export-options-alist~: [C-h v org-export-options-alist]. cheers, Greg

Re: How to expand macro in LaTeX export? How to use different options per export type?

2021-03-31 Thread Greg Minshall
Jean Louis, when publishing, one presents a data structure ~org-publish-project-alist~ that defines the back ends and options for publishing actions. the options are here: https://orgmode.org/manual/Publishing-options.html#Publishing-options below is an example. as you can see,

Re: Using backticks for the inline code delimeter?

2021-03-31 Thread Greg Minshall
George and all, whether it's the right thing to do or not, i don't know. but, i'm very sympathetic to the urge. even when posting to the list, the reflex to use back ticks is strong. Greg

Re: How to expand macro in LaTeX export? How to use different options per export type?

2021-03-31 Thread Greg Minshall
Jean Louis, > Another issue related to this setup is that I would like: > > - for HTML export: title:t toc:t > > - for LaTeX PDF export: title:nil toc:nil > > Is there way to have options different for different exports? sometimes "publishing" gives me easier control over options than

[:results append] and [:wrap ...] don't play well together

2021-03-30 Thread Greg Minshall
hi. this fails with [emacs -Q], which in my case : Org mode version 9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/) and, also in whatever elpa'ish version i'm running : Org mode version 9.4.4 (release_9.4.4-277-g2e1c98 @ /home/minshall/.emacs.d/straight/build/org/) when i specify

Re: About exporting

2021-03-29 Thread Greg Minshall
i tend to be situational. some things i export to html, some to pdf, some to both. it just depends on the need of whatever small project i'm working on.

Re: exporting css into a .html file

2021-03-29 Thread Greg Minshall
below is a small patch with clarification in the manual, if deemed appropriate. cheers, Greg >From 46306f25fa1171fad94b7e70690c40f7db35a018 Mon Sep 17 00:00:00 2001 From: Greg Minshall Date: Mon, 29 Mar 2021 20:20:05 +0300 Subject: [PATCH] Clarify use of ... for CSS in HTML export ---

exporting css into a .html file

2021-03-27 Thread Greg Minshall
hi. i'm wondering what the reference to "style blocks" means in the "CSS Support" section of the manual: For longer style definitions, either use several ‘HTML_HEAD’ and ‘HTML_HEAD_EXTRA’ keywords, or use ‘ ... ’ blocks around them. Both of these approaches can avoid referring to an

Re: straight.el and org info pages?

2021-03-24 Thread Greg Minshall
Gustav, thanks. installing org went very well. and, i'm pleased with straight.el. (package.el didn't seem to install the info pages, either.) cheers, Greg

Re: straight.el and org info pages?

2021-03-24 Thread Greg Minshall
Richard, thanks. for ess, i see your results. for org, or org-plus-contrib, i see info pages from /usr/share/info. a mystery. (which shall be, for the moment, let be.) cheers, Greg

Re: trivial software engineering'ish question: switching org's

2021-03-23 Thread Greg Minshall
Maxim, also, thanks. i do use (something like) your suggestion when i just want to try once or twice. : emacs -Q -L /path/to/your/org-mode/folder/lisp -l org (from Ihor R, last December.) cheers, Greg

straight.el and org info pages?

2021-03-23 Thread Greg Minshall
Gustav, > Straight.el is worth looking into for this. Has served me well for > similar use cases. have you (or anyone else?) had problems getting straight.el to build and install the info pages for Org mode? cheers, Greg

[PATCH] Update example :publishing-function names in manual

2021-03-22 Thread Greg Minshall
--- doc/org-manual.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 0dbc5e205..d75828722 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -15845,12 +15845,12 @@ and possibly transformed in the process. The

Re: trivial software engineering'ish question: switching org's

2021-03-22 Thread Greg Minshall
Tim and Gustav, thanks for your answers. in particular, straight.el does seem promising. i'll set it up, use it with Tim's "switching use-package blocks", and see how it goes. cheers, Greg

Re: Bug: crash exporing to html [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-03-21 Thread Greg Minshall
Kyle Meyer wrote: > At the very least, the failure message should be informative in this > situation (a call referencing an unknown name). I've pushed a commit > (5450d6420) to improve the error reporting. thanks!

trivial software engineering'ish question: switching org's

2021-03-21 Thread Greg Minshall
hi. i occasionally want to switch from the org package to a git version, then back again. and, i want to avoid the dread "mixed installation". i'm wondering is there a way people do this other than simply installing/deleting the package version? cheers, Greg

Re: Using lexical-binding

2021-03-21 Thread Greg Minshall
Kyle, > Hmm, given that the lexical-binding change to ob-core was back in Org > 9.0 (November 2016), it seems like dynamic scoping wasn't really being > relied on (or, if it was, downstream code has already been adjusted). > In my view it'd be better to stick with lexical scoping for these >

Bug: crash exporing to html [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-03-20 Thread Greg Minshall
URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function ) -- Greg Minshall

Re: Using lexical-binding

2021-03-19 Thread Greg Minshall
Kyle, thanks. i see. i wondered why the talk was all about agendas. since, in my (brand new, experimenting) use of =org-babel-map-src-blocks=, i'm calling a function, and that function is trying to de-reference, e.g., =beg-block=, i get an error. it is (or does seem to be) the case that if

Re: Using lexical-binding

2021-03-19 Thread Greg Minshall
> but, iiuc, that relies on dynamic binding. so, as =lexical-binding= is > =t=, i don't have access to those appealing variables. from reading the elisp manual, it seems that one could define those variables to be "special variables", and, iiuc, one can achieve this by using a =defvar= without a

Re: Using lexical-binding

2021-03-19 Thread Greg Minshall
hi. i just upgraded to : Org mode version 9.4.4 (9.4.4-27-gb712b9-elpa @ /home/minshall/.emacs.d/elpa/org-20210315/) and, have also just started playing with (org-babel-map-inline-src-blocks), the documentation for which says During evaluation of BODY the following local variables are set

Re: org-in-org

2021-03-08 Thread Greg Minshall
Chuck, > I admit to being baffled by this. > > If you have nested org src blocks and you recursively enter each org > block using `org-edit-special' and execute the src blocks other than > org lang, then exit with `org-edit-src-exit', when you complete this > the org buffer will have nested src

Re: org-in-org

2021-03-07 Thread Greg Minshall
Charles, thanks. ah, i apologize -- i missed the elisp content of your earlier message. yes, that, at least for this simple case, does exactly what i was looking for! i guess when i used the term "recursive execute function" (i tend to confuse "execute" and "export"), i was thinking of

Re: org-in-org

2021-03-07 Thread Greg Minshall
Charles, thanks. any thing you'd like to add to the R-via-ESS/org-mode repository, that would be great. in general, afaik, the contents of org-in-org buffers export okay. at least plain ones. would could like to have the embedded code blocks go through some pretty-printer, but currently i

Re: org-in-org

2021-03-07 Thread Greg Minshall
Jeremie, thanks for this. > A possible solution might be this one > #+NAME: readdata-code > #+BEGIN_SRC org > ,#+NAME: readdata-code > ,#+BEGIN_SRC R :results value silent > > read.data("datafile1.csv",sep=3D",",header=3DT)->mydata1 > > > ,#+END_SRC > #+END_SRC iiuc, this will embed

Re: org-in-org

2021-03-07 Thread Greg Minshall
Erik, > I am not sure if this would be useful to your efforts, but I have an "R in > org-mode" tutorial on github: > https://github.com/erikriverson/org-mode-R-tutorial thanks. that gives me a model to look at in terms of structure and content. Greg

org-in-org

2021-02-23 Thread Greg Minshall
i have a question about org-in-org source blocks. i volunteered to help in an effort to provide a tutorial of using the ESS (Emacs Speaks Statistics) package for R, in particular, from org mode. i'd like to write my contribution as a .org file. i'd like to include fragments of org code,

Re: state of the art in org-mode tables e.g. join, etc

2021-02-22 Thread Greg Minshall
Malcolm, thanks, and, yes, i'm of mixed mind, myself. cheers, Greg

Re: state of the art in org-mode tables e.g. join, etc

2021-02-22 Thread Greg Minshall
Malcolm, > Checkout what R sqldf package makes easy: very nice! Greg ps -- (feeling a challenge... :) for base R, dplyr::inner_join, the following seem to work (i apologize that i don't know how people embed org-frags in e-mail, or how important that format might be?) #+NAME: original |

Re: 'false' list item

2021-02-21 Thread Greg Minshall
Tim, > There is no plans to change anything as far as I know. What I wrote was > mainly to show why we have the situation and that any proposed solution > has its own drawbacks. thanks. (i assumed that, but ...) > Bottom line, we cannot easily prevent the 'false' list item issue > without

Re: 'false' list item

2021-02-21 Thread Greg Minshall
Tim, > If a line starts with a number, period and space, but that line is > within a paragraph (i.e. no blank line above), then I don't think it > should be interpreted as an enumerated list item. If this is what the OP > is referring to, I would argue it is a bug. If it is a 'paragraph' >

Re: state of the art in org-mode tables e.g. join, etc

2021-02-20 Thread Greg Minshall
John, > Is there a state of the art in using org-tables as little databases > with joins and stuff? i have to admit i do all that with an R code source block. (the dplyr package has the relevant joins, e.g. dplyr::inner_join().) and, in R, ":colnames yes" as a header argument gives you header

Re: How do you name your code blocks?

2021-02-16 Thread Greg Minshall
hi, Rodrigo, thanks. i understand. we all like "int i;" to be independent in separate functions (as it were). right now, names of source blocks are global to the .org file, and i don't suspect that will (or should) change. i apologize for bringing it up, but the one thing that jumps out at

Re: How do you name your code blocks?

2021-02-15 Thread Greg Minshall
Rodrigo, i guess part of the answer depends on why you are naming your code blocks. for me, the main reason is for <>. another is so that when org-mode asks me if it should run a block, it has a name to tell me to help in my decision-making. for <>, there is noweb-ref header argument (see

Re: 2 Surprises and 2 Questions Regarding Org Tangle

2021-02-11 Thread Greg Minshall
Lee Jia Hong, on your second surprise, there was some discussion on the e-mail list, around 19 April, 2020, somewhere near this area. you might refer to that. cheers, again, Greg

Re: 2 Surprises and 2 Questions Regarding Org Tangle

2021-02-11 Thread Greg Minshall
Lee Jia Hong, for your surprise number one, maybe look at this point of the Org Manual Noweb insertions honor prefix characters that appear before the noweb syntax reference. basically, if the source of a <> has multiple lines (N, say), then the output of a subsequent <> *copies* that

Re: Get =#+RESULTS= without re-evaluating source code block?

2021-01-27 Thread Greg Minshall
John, > I tried this but it did not work for me. to be clear, caching means that the *first* time you execute, your reference will have to wait for the long-running computation to complete, but not during subsequent executions (unless the source block that performs the execution changes, in

a few dead links on the babel languages page

2020-12-31 Thread Greg Minshall
hi. here are a few dead links from https://orgmode.org/worg/org-contrib/babel/languages/index.html - http://ditaa.org/ditaa/ - ? s/b http://ditaa.sourceforge.net/ - http://www.mathomatic.org/ - http://www.mozart-oz.org/ cheers, Greg

Re: batch export: org-babel-execute:shell undefined? (SOLVED)

2020-12-31 Thread Greg Minshall
apologies. (org-babel-do-load-languages) (rtfm!) is what i was lacking. (progn (org-babel-do-load-languages 'org-babel-load-languages '((shell . t))

Re: batch export: org-babel-execute:shell undefined?

2020-12-31 Thread Greg Minshall
happy 2021, all and sundry. i should mention something else, in case it makes something click for someone. obviously, i'm not initializing things right, but that's a weak part in my knowledge, so i'm not sure what. > i find that my shell source blocks are *not* being executed unless i > use

batch export: org-babel-execute:shell undefined?

2020-12-31 Thread Greg Minshall
hi. i am doing an export to HTML using "--batch --eval" to invoke emacs. i find that my shell source blocks are *not* being executed unless i use (custom-set-variables), rather than (setq) or (let), to initialize 'org-babel-load-languages. to wit... the following code works:

Re: Microsoft Excel spreadsheet editing directly from within emacs.

2020-12-29 Thread Greg Minshall
Hongyi Zhao, > I use Linux as my working environment exclusively. So, I can't access > the native MS Office supplied for macOS/Windows. But I sometimes > really need to manipulate and process MS Office documents, especially > DOCX and XLSX files. Though there are some free and open source office

Re: [O] new links escaping mechanism causing some problems

2020-12-28 Thread Greg Minshall
> No, sorry; I stopped using this a while ago. I now use the default > exporter along this style sheet: > > https://taopeng.me/org-notes-style/css/notes.css thanks!

Re: [O] new links escaping mechanism causing some problems

2020-12-27 Thread Greg Minshall
hi, Eric, i wonder if you are still using ox-twbs? i like the look, but internal links (from the TOC, say) appear to be broken. cheers, Greg ps -- versions ox-twbs20200628.1949 installed org20201012 installed

Re: did behaviour of RET change again?

2020-12-23 Thread Greg Minshall
Tom, > The other reason I think this is a good idea is because I have been > working on a formal grammar for the org syntax, and everything would > be SO much simpler about the implementation after the first pass parse > if the canonical representation of an Org file did not allow > significant

Re: tabs turned into space when going into Org Src...?

2020-12-23 Thread Greg Minshall
Diego, thanks for looking at it. i apologize for not having looked at an "emacs -Q" (and, thanks to Ihor for, a few days ago, having pointed out how to "emacs -Q" with one's "normal" org version). : emacs -Q -L ~/.emacs.d/elpa/org-20201012/ -l org exhibits *half* of the behavior i am

tabs turned into space when going into Org Src...?

2020-12-22 Thread Greg Minshall
hi. it seems going into Org Src, at least from a "makefile" source block, changes the tabs (the the base org mode added for me) into spaces, and leaves them as spaces when i merge back into the main .org file (and, so, make(1) complains, "missing separator"). is this intentional? #+begin_src

Re: [PATCH] Apply emacs manual css to org pages

2020-12-22 Thread Greg Minshall
Timothy, > This is a quick patch to use the Emacs manual CSS with our generated Org > manual. that's certainly visually pleasing. nice! Greg

Re: Release Org 9.4.2

2020-12-17 Thread Greg Minshall
Eric, > Sure, and I do use it this way, but I had the impression that it was the > non-git aspects that were being put forward as being somehow helpful. I > could be wrong. i'm not a git-spert. but, the "pull requests" mechanism and "issues" (but reports), are maybe bits of git*.com that

Re: Multiple named code blocks

2020-11-28 Thread Greg Minshall
Félix, i ran into this restriction a while ago. on this list i was helped, and ended up using the suggestion to instead put my common bits in a property in the subtree for a given "name" * aggregate.R :PROPERTIES: :header-args+: :tangle

Re: Security issues in Emacs packages

2020-11-26 Thread Greg Minshall
Tim, > At the end of the day, this is essentially a supply chain problem. To > really have confidence, you need confidence in the whole supply chain, > not just the distribution centre. that makes sense. thanks. Greg

Re: Security issues in Emacs packages

2020-11-26 Thread Greg Minshall
Tim, > It could, but to get that level of assurance, you not only have to > verify the signature is valid (something which is automated if > enabled), you also need to verify that both packages have the exact > same signature, which is pretty much a manual process. So in addition > to telling you

Re: Local variables insecurities - Re: One vs many directories

2020-11-25 Thread Greg Minshall
Tom, > 2. If mutt is launching Emacs, you can pass --eval "(setq >enable-local-eval nil)" on the command line and all file local >variables will be ignored and treated as plain text. maybe that is one thing that could really help here. possibly mutt and other emacs-based mail readers,

Re: Security issues in Emacs packages

2020-11-25 Thread Greg Minshall
Tim, > I think you missed my point. There is no benefit in MELPA adopting > signed packages because there is no formal code review and no vetting > of the individuals who submit the code. it occurs to me there might be one benefit: if George, whom you trust, says, "I've been running version

Re: [PATCH] doc/org-manual.org: add reference to org-table-transpose-table-at-point

2020-11-20 Thread Greg Minshall
Kyle, thanks. i assume a patch e-mail with no explanatory message is not considered rude, so i'll try to remember to do that (or "scissors" -- thanks for that!). and, thanks for pushing. cheers! Greg

[PATCH] doc/org-manual.org: add reference to org-table-transpose-table-at-point

2020-11-19 Thread Greg Minshall
Kyle, thanks. yes, blind copy and paste. i'm not a git-format-patch expert, so let me know if this is the wrong format (i see some people include inline, whereas others attach a file -- is one easier to handle than the other?) --- doc/org-manual.org | 5 + 1 file changed, 5 insertions(+)

Re: patch to change org-adapt-indentation customization documentation

2020-11-18 Thread Greg Minshall
hi, Robert, thanks. given that the docstring already talks about nil, t, 'headline-data ... should i eliminate those, just leaving "three" choices? > "Adapt indentation for all lines" > "Adapt indentation for headline data lines" > "Do not adapt indentation at all" or, leave mention

patch to add mention of org-table-transpose-table-at-point to doc

2020-11-17 Thread Greg Minshall
hi. this adds the minimal mention of transpose. cheers. diff --git a/doc/org-manual.org b/doc/org-manual.org index 040fccc21..33d32b8f5 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -1649,6 +1649,12 @@ you, configure the option ~org-table-auto-blank-field~. the buffer. You

Re: patch to change org-adapt-indentation customization documentation

2020-11-17 Thread Greg Minshall
Robert, > The whole point of customize is that you shouldn't have to worry about > what the actual lisp value is. The actual lisp value only matters if > you directly set the value without using customize. thanks for the response. i've included the documentation for org-adapt-indentation below.

patch to change org-adapt-indentation customization documentation

2020-11-17 Thread Greg Minshall
for some reason, i was motivated to look at changing org-adapt-indentation. i found that the help text talked about values t, 'headline-data, and nil, but that the customization text didn't (though, of course, it *set* those values). the following might make it clearer. diff --git a/lisp/org.el

Re: Changed list indentation behavior: how to revert?

2020-11-17 Thread Greg Minshall
Tim, thanks. my tests were in a src block inside the main buffer. like you, i normally edit in an Org Src... buffer. but, it's nice when it basically "works" even in the main buffer (for minor edits, etc.). and, yes, setting org-adapt-indentation to either 'headline-data or nil seems likely

Re: Changed list indentation behavior: how to revert?

2020-11-16 Thread Greg Minshall
hi, Tim, et al. i started feeling guilty yesterday, partly for being party to prolonging this discussion (though i do think it may be important?). but also for realizing i had *not* explored the alternatives Tim, Gustavo, and others have suggested. the following is *clearly* the department of

Re: Changed list indentation behavior: how to revert?

2020-11-15 Thread Greg Minshall
i wonder if a grid might help? i.e., contexts in which we are all happy, others where we might disagree? below, i try; i'm sure i've missed cases. question: what does do/would we like it to do when we are in? = tables: next row, current column Org Src

Re: Changed list indentation behavior: how to revert?

2020-11-15 Thread Greg Minshall
i wanted first to thank everyone for their participation in this discussion. i want to not be annoying. and, yes, this is a long thread, and for me, at least, it's hard to keep track of what was said. (like many, i assumed this was some bug, triggered by my configuration TIMES emacs release

Re: Changed list indentation behavior: how to revert?

2020-11-15 Thread Greg Minshall
hi, all. David Rogers wrote: > Am I crazy to say that your last example of unwanted behavior is > easier for me to read and understand? (and to me the common > indenting is a hopeless mess?) yes, in fact, the "new" way sort of has the buffer indentation match that of the outline structure of

Re: Changed list indentation behavior: how to revert?

2020-11-13 Thread Greg Minshall
so, i also agree that the new('ish) behavior is somewhat surprising. [i once changed the behavior of the "Enter" key in Berkeley Unix, and suffered the (well-deserved, in that case) arrows that soon entered my back.] from that perspective, i wonder if maybe there's an interpretation of

Re: Thoughts on the standardization of Org

2020-11-11 Thread Greg Minshall
Jean Louis, > Like alias cat='sequence off; cat' something like that > > Somebody already mentioned there is cat -v to show nonprinting > characters with notation ^- and M- so that may be the solution and I > may be wrong there. yes, 'cat -v' will do it for you. (or, i'd like to know if i've

Re: Thoughts on the standardization of Org

2020-11-10 Thread Greg Minshall
Maxim, thanks. small note. > The sour story is that it is unsafe to feed non-trusted files directly > to terminal. A filter against control sequences is required. thus, the '-v' argument to cat(1) (which Rob Pike famously considered harmful. :) cheers.

<    1   2   3   4   >