Software :: Emacs Indenting - TAB ?

Jun 26, 2009

All I want is that when I press the "TAB" key, I will ALWAYS get an actual TAB character--not spaces, not relative indenting with tabs mixed with spaces, just one singlel TAB character.

I tried every possible option I could find, but nothing works. I absolutely despise the relative indenting, and I haven't found a way to turn it off...

View 1 Replies


ADVERTISEMENT

Ubuntu :: Code In Emacs File To Start Emacs Maximized?

May 17, 2010

I was using the following code in my .emacs file to start emacs maximized:

Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32

[Code]...

View 2 Replies View Related

Fedora :: Emacs As Root In 12

Dec 6, 2009

I am sufferihng from two problems running emacs in Fedora 12: Firstly, whether I am logged in as root or not, starting emacs from an xterm gives me the following messages: Finished loading /usr/share/emacs/site-lisp/egg/leim-list.el and load others... Loading /usr/share/emacs/23.1/leim/leim-list.el (source)... Loading /usr/share/emacs/23.1/leim/leim-list.el (source)...done Not much of a problem, but I would like to know how to prevent this.

However, if I am logged in as root, or if I use 'su -c emacs' I get an additional message and then emacs takes a long time to start up. The additional message is: socket(): Address family not supported by protocol I did not get this in Fedora 10, and it is not so much the message but more the delay of a few seconds in starting up which is annoying me.

View 3 Replies View Related

Ubuntu :: Emacs Causes X Crash In 10.10

Oct 14, 2010

Since upgrading to Ubuntu 10.10 I have been unable to use Emacs23. Upon starting Emacs, it immediately causes X to crash and I am returned to the login screen.I thought of looking for a log file and providing it here or in a Launchpad post to shed some light on the problem, but I don't know which log I could provide (if there is one).

View 4 Replies View Related

Ubuntu :: Run Emacs Within Terminal?

Dec 11, 2010

After I installed GNU Emacs 23 to my Ubuntu system, every time I invoke the "emacs file" command, it launches Emacs.Because opening up Emacs takes time on my PC's last century hardware, and it consumes quite a big chunk of memory too. I wonder if I can still do some quick text editing using Terminal's emacs mode?

View 1 Replies View Related

Ubuntu :: Open Emacs With Ssh?

Jun 30, 2011

I am using emacs at work, and when I am home I use ssh through the terminal to connect to my computer at work. However starting emacs through ssh only gives me emacs in the terminal. As it is a bit awkward to work with I would like to open the GUI version of emacs through ssh. I tried installing tramp, but that did not seem to have any effect.

View 7 Replies View Related

General :: Run Emacs In CLI Inside Of GUI?

Jul 29, 2011

I tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?

View 1 Replies View Related

Red Hat :: Cannot Find Emacs Or Xemacs

Jul 21, 2010

I have looked in all the usual places but cannot find emacs or xemacs... Does this mean I have to install it manually??

View 5 Replies View Related

Fedora :: F14 Emacs Wont Start After Su?

Nov 9, 2010

I can run emacs just fine as "me", but it consistently fails after a su:

Code:
#emacs
**

[code]....

View 7 Replies View Related

Fedora :: Change Colour In Emacs?

Jan 28, 2011

I'm trying to change the colours in emacs ( I could do with a darker background).From what I could find I have to install emacs-goodies-el.noarch, which I have done. However, M-x load-library RET color-theme RET M-x color-theme-select RET then does nothing and I cannot find a way to change the colours.looks like the instructions were wrong, it was the color theme package i need now.

View 1 Replies View Related

Fedora :: Possible To Downgrade By Installing Emacs 23.1 Rpm?

May 5, 2011

I recently installed Fedora 14 in an unused partition after having used Fedora 12 for some time. I used Add/Remove Software to download and install emacs successfully. However, there appears to be a bug in this version of emacs -- the menu bar grabs focus and will not give it back without cllicking on a menu item. I find this bug very annoying and would like to scrap 23.2 in favor of another version. According to emacs bug reports, this bug has been fixed in emacs 23.3 which is available right now from the emacs home page, but only as a tarball.

How long does it usually take for a new version, such as emacs 23.3, to become available as a Fedora rpm? Would it be possible for me to downgrade by installing the emacs 23.1 rpm? If so, how do I get it? (Fedora's Add/Remove Software lists only the 23.2 version for me.)

View 3 Replies View Related

OpenSUSE :: Unable To Use Emacs After Upgrade From 11.3 To 11.4?

Apr 5, 2011

I'm using emacs as editor. When using Emacs with any kernel for the 11.4 version, I observe that the cursor does not follow the arrow keys, and that some characters are randomly appearing in the Emacs text windows. This disappears when using the failsafe kernel. What could be the origin of this flaw and what can be done for solving this issue ?

View 1 Replies View Related

OpenSUSE :: Emacs Does Not Refresh Properly

Apr 26, 2011

I'm using openSUSE 11.4 Tumbleweed with KDE 4.6. I started using emacs and I wound when I scroll, emacs gui does not refresh the screen properly, and the characters get messy.

Especially the first column (first chars in every lines) does not go away for a while when I scroll.

View 1 Replies View Related

OpenSUSE :: Emacs Giving Me Artifacts In GUI

May 11, 2011

I am using emacs for editing. The problem is that it is giving me a lot of artifacts on the screen. Like the cursor movement leave black marks all over the screen. Cursor is sometimes not visible after movement. If I use highlighting current line then it also leaves artifacts.

View 7 Replies View Related

General :: How To Get A Decent Emacs Setup

Mar 11, 2011

I am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.

View 4 Replies View Related

General :: How To Open Emacs In Its Own Window

Aug 20, 2010

I am doing some project work and for that using the server at college with ssh connection. Every time I try to open emacs on the terminal after connecting, it opens emacs in the terminal itself i.e. not its own window. On my laptop on which ubuntu is installed, emacs always opens up in its own window an thats how I am used to it. There are several problems when it opens in the terminal like when I try to use commands such as M-V, actually terminal's view menu opens up, its very frustrating. Also I am pretty sure that the college server runs on red hat and has X installed on it. So what do I need to do to get my emacs window back.

View 4 Replies View Related

Ubuntu :: How To Scroll Down Other Window In Emacs

Oct 26, 2010

I like emacs very much, and especially like using C-M-v and C-M-S-V to scroll other window up and down. It is cool, especially when I am coding and referring documents.The problem is, using C-M-v to scroll down is OK in both terminal and X,but using C-M-S-V to scroll up just works well in X, if I use it in terminal, it behaves scrolling down too.

View 2 Replies View Related

Ubuntu :: Have To Press C-x 1 When Emacs Startup

Nov 6, 2010

i intend to integrate with speedbar in the emacs frame. but the it seems didn't work correctly follow my mind, i have to press C-x 1 to solve the mistake when emacs startup!!!

screenshot for emacs starup:

and after i press C-x 1

what should i write in .emacs? and i had wrote these lines to ~/.emacs:

;speedbar intergration
(require 'tramp)
(defconst my-junk-buffer-name "Junk")
(setq junk-buffer (get-buffer-create my-junk-buffer-name)
)

[Code]....

View 5 Replies View Related

Ubuntu :: Emacs .el File Addon?

Mar 23, 2011

I'm new to the emacs thingy. i just moved back to ubuntu.i have found out how to have emacs load the .el file from the .emacs file but i cant seem to use the addon.http://blogs.unity3d.com/2010/01/15/...ty-javascript/that is the addon i am trying to use.this is my .emacs file:

(add-to-list 'load-path "~/.emacs.d")
;; UnityJS mode for emacs
(autoload 'unityjs-mode "unityjs-mode" "Major mode for editing Unity Javascript code." t)

[code]....

View 2 Replies View Related

Ubuntu :: Logs Out Each Time When Use Emacs (X11)

May 3, 2011

I recently clean installed Ubuntu 10.10 and copied over my last home directory from 11.04, after having upgraded from 10.10. Maybe something went wrong in this transition which is making this happen. Basically, I have a macbook pro with Ubuntu 10.10 64 bit and have the latest nvidia driver. I'm sshing using -X and -A. I try "emacs &" and Ubuntu logs me out immediately. Occasionally, it will simply log me out on startup although I haven't seen this happen in the last few logins. I also just tried running kdiff3. It starts to load the window and it does the same as emacs: it logs me out of Ubuntu.

View 3 Replies View Related

Ubuntu :: Functionality Like Ctrl-tab In Emacs?

May 6, 2011

I've recently started using Emacs and find switching between different buffers using the menu to be inconvenient. Is there any mode or trick that allows functionalitry like Alt-tab?

View 3 Replies View Related

Ubuntu :: Natty: No Fonts In Emacs Over Ssh?

Jun 21, 2011

I successfully installed Natty on my PC and everything works great. Or nearly! If I connect to a server via ssh and try to open an emacs window on the server: no fonts are visualized (only empty boxes) and I get the following warnings:

Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
- running emacs with the "no window" option -nw works fine (but I don't like working with emacs in the terminal window).

[Code]...

View 4 Replies View Related

Applications :: Install Php Mode On Emacs?

Dec 23, 2010

I am just starting out with ubuntu.

I downloaded emacs, and wanted to use php-mode, so i downloaded something called php-mode. I would have posted a link, but this forum restricts me from doing that.

Inside are a bunch of files, and no readme. I tried to ask google how to install this, but found nothing that made sense to me (i am still a n00b).

View 8 Replies View Related

Debian :: How To Upgrade Emacs Which Is Not On Repo

Sep 18, 2010

Debian 504 64-bit
Emacs 22.2.1

I have emacs running on the box

$ apt-cache policy emacs Code: emacs:
Installed: 22.2+2-5
Candidate: 22.2+2-5

[code].....

View 2 Replies View Related

General :: Emacs Is How Much More Than Text Editor?

May 30, 2011

I was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?

View 11 Replies View Related

General :: Set Ispell Language In Emacs?

Mar 16, 2011

I'm using emacs to write documents in latex. But, I would like to set the spell checker to use english or portuguese language. I've installed the ispell package for english and for portuguese. Now, I would like to set the emacs to use the english or the portuguese language. I can I do that?

View 2 Replies View Related

General :: Web Search Engines And Emacs / Vim

Nov 8, 2010

The facilities offered by any text editor to look for a string are highly superior to those offered by search engines such as that of Google or the one used by LQ>Search. To only speak of the most one elementary that comes to my mind, you can reach 'john smith' by searching with the string 'hn smi' in any decente editor, but I know of no search engine that offers this feature.

On the other hand, I have always heard of the power of Vim and Emacs. For instance, they say there is no thing Emacs cannot do. Lets advocate to the job of adding Google searches the ability to find 'john smith' by using 'hn smi' as the matching pattern. Or to add regular expression capabilities. Could I use Vim/Emacs to solve this problem?

A little light into the meaning of my words: It would be Vim/Emacs the one in charge of making the Internet connection, connecting to Google and send appropriate commands go Google. Then, to look for my string, I would be directly using Vim/Emacs which, upon receiving my commands, would send the appropriate ones to Google and return control to me.

View 2 Replies View Related

General :: Copy From Openoffice To Emacs?

Apr 27, 2011

I want to copy 100 rows from the openoffice calc file to a txt file opened in emacs at console mode, and I can't do it correctly.

I've open an openoffice cal file, and I select all rows and do copy. I've a txt file opened in emacs console. When I do paste, it will only be pasted 25 rows, and not all.

View 1 Replies View Related

General :: EMacs - Cannot Connect To X Server

Oct 8, 2010

I don't know what the problem is. I ssh on to a linux machine and
setenv DISPLAY mylocalhostname:0
emacs temp.temp
Emacs: Cannot connect to X server mylocalhostname:0.
Check the DISPLAY environment variable or use `-d'.
Also use the 'xhost' program to verify that it is set to permit connections from your machine.

View 5 Replies View Related

General :: How To Do Auto Brace In Emacs

Apr 19, 2010

If i type '{' and hit Enter emacs will automatically put '}'. How can i do this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved