emacs

Getting the callers of a specific function

Hello, GNU Emacs 23.1.1 I am just wondering is there any feature in emacs where I can find out what functions call a specific function. In my code, I normally have to do a search on the function name to see what functions calls it. It would be nice if I could display all the names of the functions where this specific function is bein...

scrolling lags in emacs 23.2 with GTK

Hey there, I am using emacs 23.2 with the GTK toolkit. I built emacs from source using the following configure-params: ./configure --prefix=/usr --without-makeinfo --without-sound Which builds emacs with the following configuration: Where should the build process find the source code? /home/****/incoming/emacs-23.2 What oper...

How can I force TAB in org-mode to properly align plain lists?

When using org-mode, I frequently write plain lists using either '-' or numbers. When I move to the next line using RET then TAB, the cursor always moves eight spaces beyond the start of the line instead of aligned with the list "marker" above. This screenshot should be helpful to see what I mean... Thanks for your help, Ryan Kaskel ...

CSRF error when trying to log onto Django admin page with w3m on Emacs23

I normally use Firefox and have had no problems with the admin page on my Django website. But I use Emacs23 for writing my posts, and wanted to be able to use w3m in Emacs to copy the stuff across. When I try to log into my admin pages, it gives the CSRF error: CSRF verification failed. Request aborted. Help Reason given for failure...

Is it possible to make Python etags a bit smarter with emacs?

I work on my Django project with emacs. In my virtualenv "postactivate" script I have the following simple command: find -L . -type f -name "*.py" | xargs etags -e > /dev/null 2>&1 & The TAGS file generates just fine but the system seems rather dumb. When the cursor is a model filter call, e.g. MyModel.objects.filter(...) and I hit...

emacs lisp spawning subprocesses with custom environmental variables

Basically I want to spawn a process changing its working directory. My idea was to spawn a process and set the PWD enviroment variable. There's a way to obtain something like that? (virtually I would like to change any of the environment variables for flexibility) ...

Getting emacs indentation to work correctly in major mode

Hi, I am writing a major-mode in emacs for a DSL I've created. I'm inheriting from fundamental-mode, which tabs out way far (6 tab stops, I think). I'd like to be able to define: (setq mydsl-tab-width 4) and have that work. ...

Highlighting correctly in an emacs major mode

Hi, I am developing an emacs major mode for a language (aka mydsl). However, using the techniques on xahlee's site doesn't seem to be working for some reason (possibly older emacs dialect..) The key issues I am fighting with are (1) highlighting comments is not working and (2), the use of regexp-opt lines is not working. I've reviewed...

Editing LaTeX with Emacs - search for unused \ref

Hello, When writing a .tex document, I often have labeled equations. When finishing the document, I sometimes find that I haven't referenced all of the equations. So, I need to look for the equations which I haven't referenced, and disable numbering for those equations. How can I do this in Emacs? Basically, I need to search for all \l...

emacs lisp number crunching (actually, simple addition)

Hi, this is what I get when I try to do some calculations in emacs lisp... (+ 2082844800. 1274511600.0) => 1209872752.0 (+ 2082844800.0 1274511600.0) => 3357356400.0 Could anyone tell me what's going on and what's the difference between representing a floating-point number with . and .0 at the end? Thanks ...

trying to build a C# grammar for bison/wisent

I've never done Bison or Wisent before. how can I get started? My real goal is to produce a working Wisent/Semantic grammar for C#, to allow C# to be edited in emacs with code-completion, and all the other CEDET goodies. (For those who don't know, Wisent is a emacs-lisp port of GNU Bison, which is included into CEDET. The Wisent appar...

How to get Cocoa Emacs to jump to line number from external application?

When using Carbon Emacs (v22) from an external application (ex. Unity 3D) files sent to Carbon Emacs would jump to the line number requested by the external application (ie. double click on an error message editor selected in preferences is started with file at error line number). For some reason the new Cocoa Emacs (v23) no longer does ...

Refactoring R code using ESS/R

I would like to know if it is possible to refactor R code in ESS. Using search and replace in Emacs does not seem to be a good alternative to it. ...

Yanking text into a terminal running in Emacs

I am unable to yank text into a terminal running in Emacs. This is my procedure: I killed the string "date" from one buffer and yanked it into the terminal in another buffer and hit return. The terminal behaves as if I typed nothing. It just returns the prompt back. I am using OS X 10.5.8 and Emacs 23.1. I have tried this procedure...

emacs lisp mapcar doesn't apply function to all elements?

Hi, I have a function that takes a list and replaces some elements. I have constructed it as a closure so that the free variable cannot be modified outside of the function. (defun transform (elems) (lexical-let ( (elems elems) ) (lambda (seq) (let (e) (while (setq e (car elems)) (setf (nth e seq) e) (setq ele...

recursive find in emacs?

Is there a recursive find function for a find in emacs? I thought the 'nix "find" was implemented in eshell but perhaps not (I've been using it on OS X but it must have been calling FreeBSD's "find")... I know of rgrep, find-grep, grep-find, in emacs, but I don't actually need the grepping part. Perhaps it's a feature in one of dired's f...

Is there any way to have EMACS save your undo history between sessions?

Is there any way to have EMACS save your undo history between sessions? I'm aware of the savehist lib, the saveplace lib, the desktop lib, and the windows lib, these all provide some session control but none seem to save the undo history. ...

emacs frustration with web development any working dot-files?

I really liked flexibility of emacs but it is really annoying to make it work. I want to use it for web development html, css, javascript, php. I first tried emacs-starter-kit . It didn't included nXhtml. Also C-g key binding does not work (they call it starter kit but basic key command does not work). I think it is mapped for git contro...

Emacs Column based Narrowing or Folding

Is there column based narrowing in emacs. I tend narrow in one everything between script tags but that still keeps the original indent (space before var). It would be great if I could actually column narrow to the the beginning of the indent since otherwise the electrict indent tries to bring it to column 0. <some html></some html> <s...

When using emacs do you rebind caps-lock to CTRL?

This question is, as indicated, for those who use Emacs. When you do, do you rebind the caps-lock key to CTRL, or do you use the "normal" ctrl key? I've recently learned some Emacs commands and was using the Visual Studio 2008 emacs commands for a while, and of course I used a caps-rebind tool, but I'm curious how many other people do...