2
votes
0answers
33 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
0answers
14 views

Use control-nonletter with Emacs in xterm

I mostly use Emacs in a window (I mean a normal GUI window, I guess this is what Emacs would calls a "frame" for which display-graphic-p returns t) but ocasionally use it in inside a terminal ...
0
votes
1answer
48 views

How can I have Emacs window(s) and cygwin shell running simultaneously on Windows?

I have Cygwin working with Emacs 24.3.1 on windows 8.1 with Emacs downloaded from the Cygwin installation, however I can't use Emacs and the Cygwin shell at the same time or open up multiple Emacs ...
0
votes
1answer
33 views

how to cd to pwd of emacsclient when exiting

Can someone provide a hook to change directory into the current directory of emacsclient when exiting emacsclient? I often navigate to some files via terminal, pop open emacsclient to edit some ...
0
votes
0answers
38 views

emacs C-/ behaves like delete instead of undo

I have installed emacs24-nox on a temporary instance of Ubuntu (on a VmWare Player virtual machine that I am not going to keep for long). I have run emacs to edit an Apache2 configuration file ...
0
votes
0answers
23 views

emacs can't handle Hyper_L modifier inside a terminal

I remapped my capslock key to Hyper_L using xmodmap. when i use the hyper modifier to define new bindings in emacs like (global-set-key (kbd "H-n") 'backward-char) it works when emacs is launched ...
1
vote
1answer
51 views

How can I setup emacs to change space to TAB character for indent? [duplicate]

I am writing code for Linux kernel driver. The coding standard said The first rule that everyone needs to follow is to use the Tab character rather than spaces, to indent code. Also, the Tab ...
2
votes
1answer
279 views

bash vi mode: What does # -*- mode: ruby -*- # vi: set ft=ruby : mean?

I'm looking through some random code, and at the top of it, it says this: # -*- mode: ruby -*- # vi: set ft=ruby : What does this mean? I know it's a simple question, but I couldn't find it out ...
2
votes
0answers
26 views

How do I add a `\label` to a figure in an Org-Mode file that I'm going to export via LaTeX?

How do I add a \label to a figure in an Org-Mode file that I'm going to export via LaTeX? example.org: #+CAPTION: This is the caption #+NAME: fig:org_label [[./figure.png]] This is a link to the ...
1
vote
1answer
158 views

Debian 7.3 emacs packages cannot be authenticated?

I'm using Debian 7.3 (x64): $ uname -a Linux XXX 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux I found this to be kind of weird, and I've never run into it before. Any ideas how to proceed? ...
0
votes
0answers
43 views

How to quickly handle mobile-org pull errors?

According to the org-mode manual, here is what happens during a pull error, and how to handle it: Org moves all entries found in mobileorg.org1 and appends them to the file pointed to by the ...
1
vote
1answer
26 views

emacs: run grep process without looking for .cshrc file in home directory

When I run emacs commands like grep or rgrep a new shell process is started and .cshrc is loaded from the home directory. There is quite a lot of stuff in it and I don't want to load it every time ...
0
votes
1answer
87 views

How to make my Alt_R function as another Control on Linux

I want to use my right Alt as another Control key to use with Emacs. I tried following (with modifications) this tutorial: ...
0
votes
1answer
32 views

build jdee with emacs on ubuntu

I am a new Ubuntu user running 13.04. I want to install Emacs 24 with jdee. I successfully installed Emacs 24 through apt-get, but am uncertain how to install jdee. I have a zip file called ...
5
votes
2answers
176 views

Getting rid of GNU Emacs's menu bar in terminal windows

How to get rid of Emacs's menu bar in terminal windows? The standard answer is to put (when (not (display-graphic-p)) (menu-bar-mode -1)) in init.el. However, this solution is not good, because ...
0
votes
0answers
32 views

emacs as frontend to remote emacs session

I would like to use emacs within a Windows desktop, but as a client to a remote server I access through ssh. I need emacs to give me access to shells and filesystems as found in the remote server. I ...
0
votes
0answers
123 views

Mobileorg not finding emacs org file with ssh server (but it is there)

I'm just getting starting using org-mode with Emacs - I thought I'd use it as an alternative to Evernote. Having it on my mobile is pretty important (I'm using the Android version). I'm getting the ...
1
vote
0answers
62 views

Emacs 24.3 corrupt ELPA

I am using emacs 24.3 on Ubuntu 12. I installed the auto-complete package through the emacs built-in package manager, and it mostly worked. The quick help feature was however missing. I found this ...
1
vote
1answer
332 views

Properly setting default external PDF reader in emacs org-mode

My default PDF viewer is Evince and I'm running Linux Mint 15 with Cinnamon. If, for instance, I double-click a PDF file on my Desktop, it opens in Evince as expected. In my org-file-apps variable I ...
4
votes
1answer
1k views

How to easily break up a text file into pieces smaller than a threshold?

I have some text files that are 100 to 300 MB in length that I want to view in Emacs, but my Emacs gets into some performance issues opening and traversing such large files. Therefore, I'm looking ...
3
votes
2answers
731 views

Install emacs without sudo?

I have been using vim for years, and I don't really like it. I'd like to try emacs for a while, but it's not installed on any of the linux servers I use regularly. I don't have root so apt-get ...
2
votes
2answers
99 views

How can I get the shell-script-mode in Emacs to intepret #PBS -S /bin/bash to be a bash shell code?

I am using Emacs on a LINUX system that uses Portable Batch System (PBS) for controlling the use of resources. The PBS scripts require "#PBS -S /bin/..." as the first line in the script to declare the ...
0
votes
1answer
165 views

Emacs org-mode configuration

I'm trying to configure the org-mode in Emacs. I'd like to use the org-capture feature. I don't know whether I misunderstood, but if I try to capture something with C-c c from a non org-file, it ...
0
votes
0answers
80 views

bash bind ctrl+Mode_switch+f?

I've messed with xmodmap to get more shortcuts for Emacs. I have stuff like this in my ~/.Xmodmap: keycode 41 = f F U03C6 U03A6 The unicode ones are φ and Φ. In graphical Emacs, I can bind: φ ...
1
vote
0answers
80 views

associate emacs org-mode single file to multiple files?

I do most of my note taking into a single large text file in emacs under Linux. I would like to be able to write down small README.project files in this large text file, and point them somewhere where ...
2
votes
1answer
261 views

Minimal emacs24 installation on ubuntu

I need a minimal emacs 24 installation for distribution in a virtual box. When I try to install emacs-snapshot from synaptics I get tons of stuff installed like ghostscript and imagemagic and various ...
0
votes
1answer
97 views

how to install emacs24 with gui for suse enterprise server

i worked on SUSE enterprise 11, i found it only have emacs22 installed by default, emacs22 can work with its GUI, i want some feature which has been included in emacs 24, and i try to install it ...
3
votes
3answers
694 views

How to quickly navigate/jump between functions on emacs?

How to quickly navigate/jump between functions on emacs? I'm looking for a way to jump quickly to functions on emacs. I'm using the emacs search to do it,but it's too slow and fail. For example,I need ...
1
vote
1answer
180 views

How to bind super and arrow keys to windmove in Emacs?

I'm trying to bind Super and the arrow keys, (s-up, s-down, etc) to change windows in Emacs. Unfortunately I'm having trouble setting it correctly. I am running Kubuntu 13.04 with Emacs 24.3.1. ...
0
votes
2answers
469 views

GTK+ 3 Menu configuration for Emacs

I don't like the GTK based emacs (Screenshot #1) and still prefer the tradition emacs (Screenshot #2), which I get from Ubuntu PPA. The fundamental difference is that the tradition emacs looks ...
1
vote
1answer
129 views

Can emacs be used across multiple screens?

I would like to use emacs across multiple monitors: one monitor would have code the other would have the R session that will be processing the code submissions. I am in a Windows machine logging into ...
0
votes
1answer
60 views

Use a modern locale, but retain asciibetical sorting?

I bought a new laptop (an Ideapad Yoga), and put Linux Mint on it. Everything seems to be working well, but Mint's default LOCALE settings for my language choice (en-CA... not sure why CA when I'm in ...
1
vote
1answer
46 views

Gnome sending keyboard shortcuts to an application

I would like to send key board shortcuts from my wm (gnome) to an application (specifically Emacs). for example If I press Some-prefix-key C-x C-s then I would like C-x C-s to be passed to Emacs ...
1
vote
1answer
111 views

Emacs doesn't fully maximize in Linux Slackware

Emacs version is 24.2.1, OS: Linux Slackware 14.0. I am using fullscreen function to maximize it on startup. Clicking maximize button does the same. But I mentioned, that it is not fully maximized. ...
0
votes
1answer
358 views

dpkg : dependency problems - leaving unconfigured

I have a problem with Emacs on my Linux Mint. When I make an apt-get upgrade or apt-get -f install, I have this error message : Paramétrage de emacsen-common (2.0.3) ... ...
0
votes
1answer
175 views

emacs color are strange

I have a problem with emacs color, I change color for konsole, gnome-term and urxvt but, when I open a .c file, there are not the same colors that my terminal color sheme. I haven't an emacs theme. ...
1
vote
4answers
227 views

Emacs tramp mode - filename auto complete doesn't work

I am using tramp mode in Emacs to edit files over ssh. But the problem is that on remote shell I have aliased ls as "ls --color". Tramp uses ls for auto completion and it is unable to parse color ...
0
votes
1answer
243 views

What version of emacs should I install on my Lubuntu computer? [closed]

There are two versions of Emacs 24. With and without GTK+ interface? Thanks.
5
votes
3answers
1k views

setting monospaced font on Emacs?

I used to use liberation mono font on emacs (on X11) on an Ubuntu system using the following command and it worked great: (custom-set-faces '(default ((t (:inherit nil :stipple nil :background ...
0
votes
1answer
58 views

GnuEmacs on Desktop to edit on Debian server (no XWindows)

I am have a hard time figuring out the best way open files on a headless server. I have never used Emacs tramp feature, and it's syntax to open remote files seems strange as well as I'm wondering how ...
2
votes
1answer
58 views

Why does sorting in Emacs produce a different output from sorting in bash?

Why does sorting in Emacs vs bash produce differing outputs? What can I do to get the same result in both? This is the output of diff two files, one sorted in Emacs with sort-lines, and the other in ...
1
vote
2answers
765 views

linux: using evernote from emacs?

I would like to know if there is software to be able to use evernote from emacs in Linux. I edit my notes with emacs in a .txt file that has grown to several MBs over the last 10 years, and I would ...
5
votes
1answer
187 views

How does emacs open a file at the same line as the last time it was opened?

On my system, if I open a file with emacs, scroll down the file and close it, the next time I open the file, emacs will automagically scroll down to the same position. How does this work? Is emacs ...
1
vote
2answers
124 views

My emacs24 doesn't have scroll bar

My emacs24 doesn't have a scroll bar... how can I fix this problem ?
0
votes
2answers
48 views

GNU Emacs is crashing with -nw

When I run emacs with -nw option, the emacs really open, but I can't do more nothing. As if the user input is blocked and no keyboard signal is received and/or interpreted. I've tried run without load ...
2
votes
0answers
273 views

emacs ansi-term is very slow

I'm running emacs GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) on Ubuntu 12.04. When I open an ansi-term (or term or multi-term) buffer, and use it for a few minutes, it ...
1
vote
2answers
1k views

How to automatically wrap long lines in emacs?

I just tried Gnu emacs 23 automatic long line wrapping feature using M-x auto-fill-mode. it works perfectly. Now I modified my .emacs file as following to have this feature always turned on but it ...
1
vote
1answer
174 views

Edit write-protected files by breaking hard links

A directory which I own and can write to contains hard links to files that I don't own and don't have write permission for. I want to open and edit these files in Emacs. When I save my changes, Emacs ...
4
votes
1answer
187 views

Why are there so many files in directory /etc/share?

Why are emacs related files still in /usr/share/emacs even after I uninstall emacs? Can I delete files in /usr/share/emacs? [root@home share]# rpm -qa | grep emacs [root@home share]# [root@home ...
1
vote
1answer
151 views

How to install an emacs lisp patch in Linux?

I ran into a problem with an Emacs Lisp function, and I got a patch from the developer. I'm running Debian Linux and the file to be patched does not even exist on my system. (The patch is for ...