General :: Jdb And Jde With Emacs ( Name Unknown) \ Can't Access The Variables?

Jan 13, 2011

main[1] print myVariablecom.sun.tools.example.debug.expr.ParseException: Name unknown: myVariablemyVariable = nullAny guesses as to why this might be happening? I can place breakpoints like I'm used to, but I can't access the variables.

View 1 Replies


ADVERTISEMENT

Fedora :: Emacs: Set Syntax Highlighting For Unknown File Type

Mar 20, 2010

How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?

Xfig produces .pstex files which I want to be highlighted like .ps/.eps

View 2 Replies View Related

Programming :: C: Sscanf But Number Of Variables Unknown?

Nov 29, 2010

Goal:assign integers into array form string.

From string
"123,456,789,0123,4567,8901" (comma separated 6 integer numbers)
To array

[code]....

View 2 Replies View Related

Programming :: Access Command Line Variables From Awk?

Feb 11, 2010

I am taking an argument from the command prompt for my shell script ie $1 and i need to use $1 in my awk part of the script.But it actually doesn't get any value when used in awk. accessing this command line argument in awk?

View 5 Replies View Related

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

Programming :: MHC Modula-2 - Cannot Access The Command Line Options And The Environment Variables

Jul 2, 2010

Anyone else using the Mill Hill & Canterbury (MHC) Modula-2 to Java compiler?

[URL]

I cannot access the command line options and the environment variables.

View 2 Replies View Related

Ubuntu :: Bash Script With Variables And Editing Variables

Apr 6, 2011

mkvmerge -o <filename without extension>_TV.mkv -S <filename> && mkvextract tracks <filename> 3:<filename without extension>.*** && perl /home/brian/Desktop/ass2srt.pl <filename without extension>.*** && rm <filename without extension>.***

Doing these commands for multiple command line file inputs is the goal. So I can just type ./script.sh *.mkv in my terminal.This is what I have so far, but it doesn't work whatsoever.

View 2 Replies View Related

Ubuntu :: An - Unknown - Application Is Requesting Access To Keyring 'default'

Aug 19, 2011

On startup, I get two notifications that an application is requesting access to my default keyring. the problem is that I have no idea which applications are doing this. Is there any way to see what's making the request?

View 2 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

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

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

General :: Enable Autoindent In Emacs?

Apr 20, 2010

How to enable autoindent in Emacs?

View 6 Replies View Related

General :: Line Numbering In Emacs (as In Vi)

Jun 8, 2011

I want to enable line numbering in emacs - as is vi, which we use exclusively at work (my boss removed emacs from all the machines in the department.)

In vi you just use :set nu - the is a site that explains that this is possible [URL]

It describes a linenum.el - and I can see the program, but don't understand how to install it.

View 2 Replies View Related

General :: Get Vim Insert Mode In Emacs?

Apr 20, 2010

Is it possible to get vim insert mode in Emacs?

View 2 Replies View Related

CentOS 5 :: PHP Not Working - Blank Page - Get This Warning: Unknown: Failed To Open Stream : Permission Denied In Unknown On Line 0?

May 5, 2010

I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns

-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~

I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.

View 2 Replies View Related

General :: Hide The Tool-bar In Emacs Persistently?

Apr 4, 2010

I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?

View 2 Replies View Related

General :: Emacs + Git: Auto Commit Every 5 Minutes?

Apr 18, 2010

How can I set up emacs to automatically git commit every time I save an open file or periodically?

View 4 Replies View Related

General :: Copying Text From Emacs Into Other Programs?

Jul 19, 2010

I want to copy part of a file I'm writing in emacs into, say a blog post or something like that. Putting the text into the kill ring doesn't allow me to paste it into another program. As it stands, I have to open the same file in gedit and copy/paste from there. Is there an easier way?

[Weirdly, it works fine the other way round: copying text off a SU answer, for example, I can paste that into emacs with C-y just fine...]

View 2 Replies View Related

General :: Lightweight Web Browser With Emacs-like Keybindings?

Aug 4, 2010

Uzbl uses hjkl for moving around, much like vim does. I was wondering if there was a browser (text based like links, or needing X like uzbl) which would be easy for someone used to emacs key bindings?Or if there is an emacs mode for having a buffer behave like a Links browser, but with emacs keybindings to move around...[For linux systems, please ideally something available through AUR or a debian package or both]

View 3 Replies View Related

General :: Define Ctrl-[ As A Shortcut In Emacs?

Aug 9, 2010

On Linux, the Ctrl-[ key combination appears to be equivalent to hitting the Esc key. I would like to define Ctrl-[ as a shortcut in emacs but I am unable to because by the time the keystroke gets to emacs it looks like the Esc key was pressed. Is there anyway to disable this behavior so that Ctrl-[ simply means Ctrl-[?

View 2 Replies View Related

General :: Executing A Shell Command In Emacs?

Dec 17, 2010

I tried to execute a shell command by M-! cmd RET but it did not work.M-! does not turn up in the microbuffer no matter how many times I press Alt+!.But if I go to Tools menu and select Shell Command... option then it writes M-! to the microbuffer and everything works fine.What is the problem here?

View 2 Replies View Related

General :: Emacs: Startup With No Window System?

Feb 9, 2011

I know to start emacs with no window system, I do:

emacs -nw filename.txt

But, I don't want to specify -nw constantly. What do I add in my .emacs to do this automatically?

View 3 Replies View Related

General :: Setting Default Font In Emacs 23.2.1?

Apr 2, 2011

I'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.

I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs

set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)

[Code]...

View 2 Replies View Related

General :: Bash: Emacs: Command Not Found?

Oct 18, 2010

i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:

[root@localhost ~]# echo $PATH
/usr/local/src/root/bin:
[root@localhost ~]# nedit .bashrc

[code]....

View 4 Replies View Related







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