I'm searching for a way to parse the whole directory with source code with semantic. Is this possible to do without explicitly opening each file in emacs ?
Hi, I've been getting my hands wet with emacs lisp, and one thing that trips me up sometimes is the dynamic scope. Is there much of a future for it? Most languages I know use static scoping (or have moved to static scoping, like Python), and probably because I know it better I tend to prefer it. Are there specific applications/instances or examples…
Hi,
I have created a really basic project (Make) like this:
(ede-proj-project "zrm"
:name "zrm"
:file "Project.ede"
:targets (list
(ede-proj-target-makefile-program "zm"
:name "zrm"
:path ""
:source '("zrm.c")
)
)
)
When doing M-x ede-proj-regenerate RET and M-x compile RET RET (accepting make -k as my compile…
Given the following code sample:
uint8_t i, in, ni;
i = in = 2; ni = 1;
while (2 == i > ni) in++;
How can I replace i, in, and ni, respectively with either in, ni, and i or inni, inin, and nini using emacs, vi, *nix commands, or anything else?
I'm trying to use Emacs as a python editor and it works fine when I evaluate(C-c C-c) only single files but when I evaluate a file that imports another file in the same directory, I get an error saying that the file could not be imported.
Does anyone know of a workaround?
Thanks in advance
I'm using emacs v24 [GNU Emacs 24.0.94.1 (x86_64-pc-linux-gnu, GTK+ Version 3.3.20)
of 2012-03-26 on meitnerium, modified by Debian] on Kubuntu 12.04.
My basic problem is that emacs is not behaving the same as the tutorials I'm reading. I either need different tutorials or I need to make my emacs work as described in the tutorials. Being new…
For example, suppose I have this document:
* category 1
** TODO item 1.1
** not a todo item
** DONE a done todo item
** TODO item 1.4
* category 2
** not a todo item
** not a todo item
* category 3
** DONE done item
* category 4
** TODO item 4.1
*** TODO subitem 4.1.1
*** TODO subitem 4.1.2
When collapsed, I'd like to see something like:
*…
Github supports org-mode files, and has a renderer that parses .org files and converts them to HTML form. Headings appear in larger font, text tables are converted to graphical HTML tables, etc.
Is there a way to control the way .org files appear on Github?
I tried adding some export options in the usual manner
#+OPTIONS: H:2 toc:t
…
In Aquamacs 2.0 preview 6, when opening new files externally (e.g., via Quicksilver or via dragging files on the Aquamacs icon) they always open in new frames (i.e., new windows).
I would prefer new files to be opening in the same frame, just in a new buffer (possibly with tabs turned on).
I already unchecked the option "Show Buffers in new…
When I type C-c C-v to see the list of TODOs, or C-/ m to see headlines with a certain tag, org-mode shows me a sparse tree with the results.
How do I then go back to seeing the tree the way it was before I issued this command? Note that I haven't changed the file in any way, so this isn't your normal "undo", it's about going back to how…
Can anyone please steer me in the right direction to a function that will edit multiple TODO in one fell swoop. Here are some examples:
highlight a group of TODO that have deadlines and remove the dealines to make them undated.
modify all priorites in a highlighted group -- e.g., #A to #D
set deadlines by group and/or change deadlines by…
What is the best, most foolproof way of getting nice font rendering in Linux?
Currently, I am experiencing thin, ugly fonts (shown below). I have wasted too much time tweaking fonts.conf, and I have yet to find a decent combination.
I am running Debian 6.0 with no desktop environment (just Openbox for a window manager) in a VM on a…
Is anyone aware of an org-sort function / modification that can refile / organize a group of TODO so that it sorts them by three (3) criteria: first sort by due date, second sort by priority, and third sort by by title of the task?
EDIT: If anyone can please help me to modify this so that undated TODO are sorted last, that would…
I am looking for a GUI tool in Windows, where I can do search and pass the result to next search and continue. I know I can do this in command line by piping one search result to another, but I am looking for a GUI tool.
Here is a sample search,
I would like to find all files that has extension ".java".
From the result, find all…
I feel like I often name files in such a way that my computer constantly beeps while I program because the tab completion is ambiguous. Before doing a lot of Unix programming, I tended to name related files with the same prefix to indicate their relation. Now I must re-think my approach to folder and file structures and names to…
I'm a big fan of ido-mode, so much so that I would like to use it for things like describe-function or find-tag and so on, without having to write something like in "Can I get ido-mode-style completion for searching tags in Emacs?" for each one.
Both
(defalias completing-read ido-completing-read)
and
(setf 'completing-read…
I want to know if there is a good compatible api that supports erb and javascript highlighting.
I've already tried Eclipse with Aptana RadRails.
Perhaps I'm configuring something wrong, but it guesses that I'm using html.erb on both css.erb and js.erb files.
I've tried too the Emacs with js2-mode, nXhtml and Rinari modes.…
Since I've upgraded to Ubuntu lucid and emacs23, Emacs pops up the debugger in situations, where emacs22 does not.
For example, when hitting C-c C-c in org-mode, emacs22 simply states can do nothing useful at this location, whereas in emacs23 the debugger shows up.
Debugger entered--Lisp error: (error "C-c C-c can do…
I really love org-mode in emacs and want to customize a few things. While reading thru org.el, I'm finding several references to filename but can't find filename using describe-function?
I'm sure there's a simple answer, but I'm just learning elisp and it's not obvious. Any insight into where filename is defined?…
Maybe this should be a community wiki page...
What unix text editor should I learn? My co-workers mostly use vi. I am thinking about vim because the syntax highlighting seems appealing. Is there any advantage to vi over vim?
I know that there are a lot of emacs fans out there too? Is there any reason to…
I have a program that takes input from
stdin and also takes some parameters
from command line. It looks like this:
cat input.txt myprogram -path
"/home/user/work"
I try to debug the code with gdb
inside emacs, by M-x gdb, I try to
load the program with the command:
gdb cat input.txt …
I'm using the php debugger geben and nxhtml-mode. While debugging, as soon as I step into a mixed line such as
<foo><?php bar(); ?></foo>
the debugger is no longer accepting any key-strokes. However, the mode line still indicates the debugger's presence (*debugging*'-entry). I guess…
I'm working on a toolkit (sort of a live-CD Lisp-in-a-Box) for people new to Common Lisp, and I want to make sure it is broadly satisfying. What is attractive to you about Lisp? What do/did/would you need to get you started and keep you interested?
What I have so far: SBCL 10.22, Emacs 22.3, SLIME, and…
Hello
GNU Emacs 23.1.1
I am wondering is there a way to display the path of the file in the status bar, instead of just the filename.
I have to open many files in many directories, and sometimes I forget what directory they are in. Just easier to display the some of the path in the status bar if that is…