4
votes
1answer
185 views

bash autocomplete feature doesn't work when I create function for emacs

Details about my system: I am running Ubuntu 12.04.4 LTS on Oracle Virtual Box 4.3.6, from Windows 8.1 installed on an Asus Laptop. I'm using bash_completion version 1.3 release (I got this from the ...
2
votes
3answers
55 views

Open all files in project with long lines in an editor

I'd like to edit all text files under a certain directory that have one or more lines that are over a certain threshold in length. How can I do that? To keep things simple, let's assume that all the ...
2
votes
2answers
180 views

emacsclient: command not found

Having what feels like a really weird problem. Running 32-bit Ubuntu 12.04 as a virtual machine on a 64-bit Win7 host. Open Emacs 23 and turn on server mode. In Bash, try to call emacsclient to edit ...
4
votes
1answer
451 views

Difference between launching an application from a keyboard shortcut vs the terminal?

What I have observed: When I type emacs in gnome-terminal, it launches in the same environment, with variables set in .bashrc. If I use a keyboard shortcut to the command emacs, it opens in an ...
2
votes
1answer
198 views

How to swap X-Server with Emacs org-mode?

I'm quite impressed of emacs' org-mode. So I want to use it for note-taking during lectures. To use it "distraction-free" my idea is the following: I want to register a bash-command, which swaps the ...
6
votes
3answers
1k views

How do I set environment variables in an Emacs session launched from Gnome Panel?

My .bash_env file sets several environment variables, including PATH and EMAIL, but in an Emacs session launched from the Gnome Panel (command: "/usr/bin/emacs23 %F") these variables do not have the ...