Re: literate programming, development log -- ideas?

2021-06-07 Thread briangpowell
* Donald Knuth created much for us, including TeX and a Literate Programming system called CWeb which helped to make C code documented in what he envisioned for Literate Programming ** A more generalized system that is based on CWeb is NoWeb--useful not just for C/C++ code but for every language:

Re: One vs many directories

2020-11-21 Thread briangpowell
* Strongly suggest looking into Emacs' vlf-mode and the newer vlfi-mode ** That is Very-Large-File-Mode & Very-Large-File-Improved-Mode for issues you're experiencing & if not, simply because they're very useful & interesting & fun Emacs Modes to explore & put into your toolbox

Re: Anyone doing any fancy customizations of source blocks?

2020-06-03 Thread briangpowell .
If you haven't already, you probably know all about it; but, for any newcomers on the subject of Literate Programming & source code blocks, etc. Highly recommend Knuth's CWEB book & of course NOWEB software {which is CWEB generalized for ALL programming languages}:

Re: emacs + org-mode in virtual machine/docker/...

2020-05-22 Thread briangpowell .
Would like to "allow the windows host to access the guest using SSH to run Emacs Org-Mode" suggestions: * Install Cygwin on Windows and use Cygwin's SSH tools & run X on Cygwin & login to your Linux virtual machine desktop ** Then can use X11VNC and/or TightVNC client if you run a VNC server of

Re: emacs + org-mode in virtual machine/docker/...

2020-05-21 Thread briangpowell .
n Thu, May 21, 2020 at 2:02 PM briangpowell . wrote: > You name it in the virtual world & I've done it--and of course Emacs > Org-Mode works great in ALL of them > > KVM+Docker{which I posted to this group about > previously}+VMWare+Qemu+VirtualBox+etc. --I agree with other pe

Re: emacs + org-mode in virtual machine/docker/...

2020-05-21 Thread briangpowell .
You name it in the virtual world & I've done it--and of course Emacs Org-Mode works great in ALL of them KVM+Docker{which I posted to this group about previously}+VMWare+Qemu+VirtualBox+etc. --I agree with other person: You can find ready-made Docker containers running emacs--personally I didn't

Re: get the body of a heading up to the next subheading

2020-05-11 Thread briangpowell .
Emacs was created to do such things--in fact the name E-macs is a terse form of Editor-Macros {originally a derivative of TECO} {There is a huge list of what Emacs should stand for--my fave is: Emacs Makes All Computing Simple} Now, what I'm suggesting is you make a macro, and store and reuse

Re: Display in minibuffer link under point

2020-05-08 Thread briangpowell .
I use this variable to toggle my Gnu Emacs Org-Mode buffer into an audio desktop: (setq tooltip-use-echo-area (not tooltip-use-echo-area)) Of course I had to do some programming to do that but the above should get you started And we can leave that programming as an exercise for the class--right

Re: R session and plotting in x11 window

2020-04-07 Thread briangpowell .
"I also don't understand why it would be set to X11 in a plain-old R session" R is an open source derivative of S and S-PLUS--"S" was the "Statistics Language" MIT X Consortium's "X Motif" is the default output of R from its inception R, S, S-PLUS have always made such output as its default

Re: Emacs hangs sometimes for no reason

2020-02-11 Thread briangpowell .
Emacs periodically saves all files that you are visiting; this is called auto-saving . Auto-saving prevents you from losing more than a limited amount of work if the system crashes. By default, auto-saves happen every 300 keystrokes, or after around 30 seconds of idle time. Suggest you try making

Re: Powershell scripting with org-babel

2020-02-11 Thread briangpowell .
p structures so that we could > pass structured data as hashes and lists between languages - not just > strings. > > On Mon, Feb 10, 2020 at 7:59 PM briangpowell . > wrote: > >> Micro$loth WindBlows is a computer virus >> >> But if you must use Windows, suggest yo

Re: Powershell scripting with org-babel

2020-02-10 Thread briangpowell .
Micro$loth WindBlows is a computer virus But if you must use Windows, suggest you use Cygwin and BASH and/or EShell {the Emacs Shell}--you can do much more than PowerSh3ll And Emacs & OrgMode work very nicely on Cygwin On Mon, Feb 10, 2020 at 11:58 AM MS Window wrote: > Hello, > > can you

Re: emacs build command for org-files

2020-01-26 Thread briangpowell .
that from the Python interactive shell if you like--and call remote shells from it and/or use "IPython" https://en.wikipedia.org/wiki/IPython On Sun, Jan 26, 2020 at 2:38 PM briangpowell . wrote: > "don't want it to necessarily use Makefiles" > > Why the hey not Dr

Re: emacs build command for org-files

2020-01-26 Thread briangpowell .
"don't want it to necessarily use Makefiles" Why the hey not Dr. Kitchin!? Make is an extremely powerful language Problem is people make makefiles that are often hard for others to read--suggest you try hard to keep it simple & avoid the fancy ways of doing things Make has flow control & is a

Re: problem with org-toggle-inline-images

2019-12-24 Thread briangpowell .
I use iimage-mode Have you tried iimage-mode? Notice the 2 i's in iimage Toggling works great with iimage-mode On Tue, Dec 24, 2019 at 8:09 AM Johannes Brauer wrote: > It seems that the problem arised since I’ve upgraded orgmode from version > 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3

Re: Displaying remote images

2019-12-02 Thread briangpowell .
* As always I much agree with Nick, looks like a great patch ** Meanwhile, this will read your R output and stick it at the end of the line & and show it all-at-once elisp:(progn (shell-command "rsync -a BlahRemoteHost:/blah-R-output.png /tmp")(sleep-for 3)(iimage-mode))]] /tmp/blah-R-output.png

Re: Displaying remote images

2019-11-28 Thread briangpowell .
* Great, see a lot of interest and use of image-mode.el, suggest you check out this thread https://emacs.stackexchange.com/questions/3432/display-images-in-eshell-with-iimage-mode ** Suggest you check out and use iimage-mode.el --it may help ...that's iimage-mode.el rather than, or in addition

Re: Displaying remote images

2019-11-28 Thread briangpowell .
* Idea 1 Create a "cron job" or "at job" that does updates up to the minute and make those images current...and local--and the cron job can auto-delete the temp file later or back it up * Idea 2 Make an elisp .el program that gets loaded and run whenever you open the .org file with the remote

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-12 Thread briangpowell .
Emacs (shortened name from "Editor Macros") has the fastest Regular Expression engine in the world--when you compare the engines that are programmed to find and display character strings AS YOU TYPE THEM. So, just hoping you keep that in mind: As far as editing documents and searching documents

Re: Good way to pre/view LaTeX-lines?

2019-10-27 Thread briangpowell .
* Suggest reviewing these free software packages: https://itsfoss.com/latex-editors-linux/ ** LyX and/or Kile are my faves ** Suggest trying these free software packages too apt-get install imaxima apt-get install maxima apt-get install maxima-emacs apt-get install texlive apt-get install

Re: [O] Several headers on a table

2019-10-20 Thread briangpowell .
* Many years ago I asked that such features be programmed into OrgMode--for Multivariate Statistics output--they flatly refused and said there would be no plans to do so ** In retrospect; and, in the future, after much thought about it: I very much agree with and respect the main of the OrgMode

Re: [O] Viewing animated gif as inline video

2019-04-13 Thread briangpowell
mate)." On Sat, Apr 13, 2019 at 3:52 PM briangpowell wrote: > I have done it before in OrgMode > > Its very compute intensive; and, more annoying than useful mostly--but I > did it many years ago, it would be interesting what percentage of computer > resources are now u

Re: [O] Viewing animated gif as inline video

2019-04-13 Thread briangpowell
I have done it before in OrgMode Its very compute intensive; and, more annoying than useful mostly--but I did it many years ago, it would be interesting what percentage of computer resources are now used But for a very small amount of computer screen real estate you can put a very long scrolling

Re: [O] ODT export --> opening in Okular?

2018-12-09 Thread briangpowell
* Suggest you try changing this: ("\\.odt\\'" . "libreoffice6.0 %s" * To this instead: ("\\.odt\\'" . "libreoffice %s" --since "libreoffice6.0" is a specific link that is subject to change--not only by you but by your chosen operating system package manager Unless of course, you

Re: [O] Best way of including tikz into latex (pdf and beamer) export with preview?

2016-05-17 Thread briangpowell .
* ImageMagick is great for shrinking images and/or making thumbnails for previews and/or maybe the emacs elisp program "thumbs.el" will help: ;;; thumbs.el --- Thumbnails previewer for images files ;;; ;; Author: Jean-Philippe Theberge ... On Thu, May 12, 2016 at

Re: [O] [OT] Git plus Syncthing: breaking hard links

2016-04-05 Thread briangpowell .
* Strongly recommend you pay close attention to Nick Dokos--he's brilliant--agree totally with his suggestions; "hardlinks cannot span filesystems" etc. ** "hardlinks breaking"--in rsync I throw -H to include/follow hard links across filesystems when syncing. *** I'm with Nick though again--not

Re: [O] ditaa and plantuml in PATH

2016-03-28 Thread briangpowell .
I remember looking into NixOS years ago and it was very interesting--also looked into "GNU Stow" and it may help you with PATH problems: https://www.gnu.org/software/stow GNU Stow comes with NixOS: https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/stow On Mon, Mar 28, 2016 at 1:18 PM,

Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.

2016-02-23 Thread briangpowell .
its harder to fool yourself, and others that read your code. On Tue, Feb 23, 2016 at 4:11 PM, briangpowell . <briangpowel...@gmail.com> wrote: > * Nah, tried it, all 3 have same output: > > * [[shell:cat ~/tmp | grep "asdf :"]] > * [[shell:cat ~/tmp | grep

Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.

2016-02-23 Thread briangpowell .
* Nah, tried it, all 3 have same output: * [[shell:cat ~/tmp | grep "asdf :"]] * [[shell:cat ~/tmp | grep "asdf ::"]] * [[shell:cat ~/tmp | grep "asdf :: "]] => Executing cat ~/tmp | grep "asdf :" asdf :: asdf asdf :: qwer Executing cat ~/tmp | grep "asdf ::" asdf :: asdf asdf ::

Re: [O] convert outline to .csv

2016-01-17 Thread briangpowell .
* Something like this might do it: tr "\n" "\",\"" < file > newfile sed -e "s/\",\"* /\n\",\"*/g" newfile > blah.csv On Mon, Jan 18, 2016 at 1:44 AM, Andrew wrote: > Example: > > * Micro topic 1 > ** Microbes are small > ** You can't see them! > *** Isn't that something?

Re: [O] org-ref video

2015-12-24 Thread briangpowell .
be hard to find--I have books to the ceiling in every room in my house--and many on TeX and its derivatives. On Thu, Dec 24, 2015 at 9:49 AM, Nick Dokos <ndo...@gmail.com> wrote: > "briangpowell ." <briangpowel...@gmail.com> writes: > > > I believe I read how to

Re: [O] org-ref video

2015-12-23 Thread briangpowell .
I believe I read how to correctly pronounce LaTeX as Lay-Teck (and why its important--to honor the creator of TeX's wishes+intentions, Donald Knuth) in Leslie Lamport's book on LaTeX--in the preface. And when you think about it, pronouncing it as "Lay" does make sense "La" only means "the" in

Re: [O] Scripting with org-mode

2015-11-30 Thread briangpowell .
* Assuming that entire file is made up of shell commands (like the ones in the example you gave) since, in such a case as your example the "#" in the first column would ignore the rest of the lines as comments: M< Mx set-mark M> Mx shell-command-on-region On Mon, Nov 30, 2015 at 11:43 AM,

Re: [O] PDF-tools... and LaTeX

2015-11-16 Thread briangpowell .
Wow, as usual thanks Nick, great help and insights. Say, LaTeX and xpdf and poppler and Okular are all great software--suggest you try out xournal too: apt-get install xournal --shows .pdfs and many tools for editing .pdf's Also, you're well aware of the Emacs/ELisp tools for .pdf's (

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread briangpowell .
Could create a named pipe and have one org-mode file write to it and another org-mode file read from it. On Fri, Oct 30, 2015 at 4:55 PM, Thomas S. Dye wrote: > Aloha Lawrence, > > Lawrence Bottorff writes: > > > There are many, many Babel examples, but I

Re: [O] Emacs+org-mode in a Docker?

2015-10-30 Thread briangpowell .
* Here are some of my notes+URL links on some docker+emacs experiments thus far: ** Last I checked some glimmering developments seem to be coming to light in the docker+emacs realm: *** Believe some links below might be stepping-stones for your students, Dr. Kitchin: ** Happily, below, I note

Re: [O] sip: links

2015-06-22 Thread briangpowell .
Cool, what do you do with xmpp:? On Mon, Jun 22, 2015 at 11:02 AM, Christian Thaeter ct.orgm...@pipapo.org wrote: On 2015-06-22 11:27, Michael Strey wrote: On So, 2015-06-21, Christian Thaeter wrote: [...] looks good, I'll use that instead of my hack. Look out for bugs. It's

Re: [O] [OT] wildcards in autocorrect?

2015-03-28 Thread briangpowell .
* Something like this may do what you seek (which isn't clear to me): Mx replace-regexp \boc.*\b \bco.*\b ** But why you'd do such a thing is a mystery to me--this may be more useful to you: Query Replace M-% string RET newstring RET Replace some occurrences of string with newstring. C-M-%

Re: [O] [OT] wildcards in autocorrect?

2015-03-28 Thread briangpowell .
, JSLINUX and more fame. ... On Sat, Mar 28, 2015 at 1:47 PM, briangpowell . briangpowel...@gmail.com wrote: * Something like this may do what you seek (which isn't clear to me): Mx replace-regexp \boc.*\b \bco.*\b ** But why you'd do such a thing is a mystery to me--this may be more useful to you

Re: [O] [OT] wildcards in autocorrect?

2015-03-28 Thread briangpowell .
Very interesting John, I get it now--that may be very useful--thanks for that. Also, I left out a main reason to use QEmacs: I use it for visually editing very large multi-gigabyte files--I use it for some of the things we discussed--search and replace and/or incremental-search-and-replace. On

Re: [O] org-download.el

2015-01-13 Thread briangpowell .
* https://github.com/abo-abo/org-download/blob/master/org-download.el has: ... (defcustom org-download-backend t Method to use for downloading. :type '(choice (const :tag wget wget \%s\ -O \%s\) (const :tag curl curl \%s\ -o \%s\) (const :tag url-retrieve t))

Re: [O] Efficiency of Org v. LaTeX v. Word

2014-12-26 Thread briangpowell .
Word is a desktop publishing system. LaTeX is a macro language which lays on top of TeX=Tau-Epsilon-Chi~Art in Greek TeX is computerized typesetting that enables vector graphics--you can get TeX to draw anything you want--you can even create your own font. More Math journals and books you'd

Re: [O] org-mode in teaching

2014-12-20 Thread briangpowell .
* Wow! Thanks for posting this topic and your techela. * Suggest an Introduction to Programming in Emacs Lisp and OrgMode be everyone's first, and maybe last, required course in grade school--other than Reading, Writing and Arithmetic of course! * Suggest all students download this free book

Re: [O] Mathjax vs. problems with imagemagick

2014-07-06 Thread briangpowell .
* PNG is lossless format--if you can, make it the first file you create rather than last. ** If you create a JPG a lossy format then you could lose some of the beauty (like your example). * ImageMagick has many switches you can throw--suggest you look deeper into it in the freely available

[O] [OT] OrgMode Webpage has broken link:

2014-06-20 Thread briangpowell .
http://orgmode.org/ - http://orgmode.org/worg/org-papers.html - http://orgmode.org/org-mode-documentation.html - 404 Not Found

Re: [O] [OT] OrgMode Webpage has broken link:

2014-06-20 Thread briangpowell .
Great, thanks, now its fixed--all the links work great. On Fri, Jun 20, 2014 at 5:19 AM, Nicolas Richard theonewiththeevill...@yahoo.fr wrote: briangpowell . briangpowel...@gmail.com writes: http://orgmode.org/ - http://orgmode.org/worg/org-papers.html - http://orgmode.org/org-mode

Re: [O] World Cup 2014 Schedule for Org-mode

2014-06-13 Thread briangpowell .
Brazil - Croatia: 3-1 Feel free to correct mistakes and add match results! Well, Fred did some play-acting and a dive in the box--this is more accurate: Brazil - Croatia: 2-1 ;-) Thanks Rüdiger! On Fri, Jun 13, 2014 at 7:48 AM, Rüdiger Sonderfeld ruedi...@c-plusplus.de wrote: Hello,

Re: [O] how to enter ==

2014-03-31 Thread briangpowell .
* One thing that may work: = ^H= ** In emacs that would be: = Cqh= ** In vi that would be = Cvh= *** i.e. you enter a Cntrl-h--the literal control character ^H--which is literally: BackSpace --this may not work in this case; but, it works in a lot of strange cases. * Could also make a