Re: [O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
On Tue, Sep 17, 2019 at 8:46 AM John Kitchin wrote: > I don't totally understand what you are trying to do here. > I think the explanation was a little unclear! > If this were Python, it sounds like you want some kind of class that > stores a variable and reuses it several different

[O] Bug: Org commit d07d8ff41 breaks square-brace links in recent Emacs. [9.2.6 (release_9.2.6-538-g23113f @ /home/kfogel/src/org-mode/lisp/)]

2019-09-17 Thread Karl Fogel
Hi. It appears that commit d07d8ff4163 in Org Mode causes square-brace-enclosed links to display incorrectly. The buggy behavior is simple to describe: if you write a link like this [[URL][LINK-TEXT]] then URL will be displayed instead of LINK-TEXT (and LINK-TEXT goes unused: URL is still

[O] bug with emacs 26.3 and hyperlinks

2019-09-17 Thread Thomas Holst
Hello, today I upgraded to emacs 26.3. and links don't show up correct anymore with org-mode from git. The link is shown not the description. Steps to reproduce: =test.org=: #+begin_src org [[http://www.google.com][A Test link]] #+end_src : emacs -Q --find-file="test.org" All links are

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Nick Dokos
Matt Price writes: > I have a number of convenience functions define to help me with grading > assignments. As I go through the semester, i update all of these functions > modestly so that they'rehelpful for grading the current > assignment.  > > I big chunk of these simple functions is taken

Re: [O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread John Kitchin
I don't totally understand what you are trying to do here. If this were Python, it sounds like you want some kind of class that stores a variable and reuses it several different functions? Something kind of similar to that in elisp is a closure, which is like what you described. For example, here,

[O] lisp: scoping vars in repetitive defuns

2019-09-17 Thread Matt Price
I have a number of convenience functions define to help me with grading assignments. As I go through the semester, i update all of these functions modestly so that they'rehelpful for grading the current assignment. I big chunk of these simple functions is taken up just declaring variables with

Re: [O] Import CSV file, remove columns, print table

2019-09-17 Thread Loris Bennett
Hi John, Thanks, that's great. To get horizontal lines between each participant so that there is a nice box for the signatures I tried return tabulate.tabulate(sorted_results, tablefmt='grid') This works, but then the #+ATTR_LaTeX: :environment longtable :align |r|l|l|p{8cm}| seems to