Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to learn scheme using 'Teach yourself scheme in fixnum days' in order to customize reports generated by GnuCash. I am using a windows computer. When I type M-X run-scheme in emacs the response I get is 'Searching for program: permission denied, scheme'. I have done some googling and found that I should put some info in a .emacs file (I am pretty sure this does not exist yet) at location: C:\Users\Steve\AppData\Roaming. The instruction was to add some lines including (setq scheme-program-name "scm") where "scm" is replaced by the name of the scheme interpreter in my installation of emacs.
I have not been able to find the name of my scheme interpreter and also I am very unsure about the whole procedure being new to emacs and scheme. Any specific and / or general guidance here would be very much appreciated, Steve
You computer probably does not come with a Scheme program; thus, you'll need to install one. Do a Web Search; plenty of Scheme implementations for Windows. Once you install it just use it outside of Emacs. That is, take it step by step - get some familiarity with Scheme, then get some experience with Emacs, then combine the two.
Ooh, let me add to that; I believe that Gnucash uses Guile, the GNU scheme implementation. That's the one you're probably interested in.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I know this is probably a super silly question, but how do I install on my pc open source programs that I find here on github.
By installing I mean directly from the source code, and not by going on some external website and downloading the file from there.
I know I'm a noob, just go easy on me please
Github page of the program will generally show README file, and it would contain instructions on how to install this program. Sometimes you can find the instructions in wiki pages for this project.
There is no one general way to install something from github, it really depends on the software you are looking at.
Quite often, especially if it is a big project and is written in low level language, the main installation step is entering commands
./configure
make
make install
in your terminal, but this is only one of the different installation procedures.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When using \ef <function_name> to edit a function with psql, it puts the modified function (which can be over 100 lines in some cases) into the query buffer to execute. Works great! But, then when I up-arrow to scroll through history, the whole function pops back up, and in a couple of cases is longer than the terminal window and it's kind of mess. Is there anyway to keep the actual "create or replace function" out of history?
Just an annoyance here, but it really bugs me, and I'm obviously either the only one or I can't figure out the right Google search for how to fix. :\
note: I do understand that I can go into the .psql_history file and manually remove the entries. It would just be nice to not have to do this.
No there is not possibility to filter history in psql - and what I know, there is no plan to change it.
Sorry for offtopic - write only adhoc function in psql. Don't use psql or pgAdmin for writing plpgsql functions. These tools has this functionality, and it is not bad, but much more preferable way is writing to file (mainly for nontrivial functions) - use your favourite editor and import this file to Postgres.
files can be simply versioned - use Git, ...
code in files can be logically modularized
code in files can be much richer commented
use "make", "Makefile" for import
with git or other similar tool - code can be simply shared in team - anybody can know who and what did in code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am not too familiar with emacs lisp. Before I dig in and try learning it blind, I was hoping someone could give me a high level overview of how Emacs org mode work (or even emacs itself).
What I don't understand is how is it keeping track of things like headers, todos etc. How does it markup the text? Does it use something like html and when you make a header like * HEADER. It wraps it in some tag to know to change it's color? Or is it simply doing syntax highlighting like it would when coding. Just instead of when it sees a def when it sees a * and some text it changes the color?
Also the commands for movement, changing heading sizes, deadlines.
How does org mode keep track of things?
Just imagine that each time that you call agenda, org-mode "compiles"
all your org files, just like gcc would compile your source tree.
The highlighting
This is done in the same way as for source code highlighting,
i.e with regexps.
The commands you can learn either from http://orgmode.org/
or from info org.
Also I've found http://doc.norang.ca/org-mode.html very useful
to get a feel of a full workflow with org-mode.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm new to emacs and I find it hard to make decisions on which extension to choose. Too many choices I say. The same pattern is true when I first started to use linux (choosing a distro, choosing packages to install, etc.)
I'm now faced with the dilemma of choosing between autocomplete and company. Both are emacs extensions that provide completion mechanisms for emacs. I may decide to use autocomplete because I think it's much more mature, and because of AutoJavaComplete which requires autocomplete. However, company mode also seems to be good, and some users report that it's much better than autocomplete. It lacks documentation though, which I rather find daunting.
Basically, I just want "intellisensy" completion when writing code. Which among the two is a better choice for this?
The latest company-mode release is 12 hours old as I'm writing this. Recent work focused on bugfixing, as well as some nice new features.
I encourage you to try it, I think it provides better user experience than auto-complete.
You can feed company backends to auto-complete, and the compatibility is probably possible in the reverse direction too - so your choice may not be too critical.
What comes out of discussions at the emacs wiki is that CompanyMode is older, and there is at least one mention of bugs in favor of auto-complete. Indeed, it seems auto-conplete is what the cool kids are using these days, and repository on github shows active development. The latest version of company, on the other hand, is nearly 11 months old.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I currently use Kile to edit LaTeX documents. I don't like kile for a couple of reasons so I was thinking of trying to learn how to use texmacs. I have been through a tutorial for emacs which I am now getting to grips with. The documentation for texmacs and auctex are pretty weak in terms of explaining how to install and how to use those things. A quick google search didn't show up any friendly "how-to"s on this topic. Are there any resources you can direct me to?
I'm a bit puzzled by your question. I use Emacs+Auctex on Windows, Linux and OS X machines and have never had any problem installing them. I'd suggest heading to http://www.gnu.org/software/auctex/ and following the instructions. If you have any more specific questions post again.
sorry I can't help you with TeXmacs, I just wanted to note that this program isn't under active development for quite some time now. If you look at the homepage the copyright notice is until year 2003!
If you are looking for a more GUI oriented LaTeX editor I can recommend LyX. Emacs+AucTeX is of course wonderful, but it has a certain learning curve.
However if you plan to learn Emacs or are using it already, than you should definitely go for it!