I'm writing a mode which is actually a glorified markdown reader. It's a read-only mode however, and though I'd like to change the faces for bold, italics, and links, I'd love to remove the decorations surrounding those faces. However, when I do so, I lose the fontification. Is there anyway to modify fontified-text to something that no l...
I cannot find the setting that prevents deletion of an entire region when you have it highlighted and you hit backspace... (I just want it to delete one character even if a region is highlighted.) I already have
(delete-selection-mode 0)
and in custom-set-variables (I have cua-mode enabled for its rectangle functions),
'(cua-delete-s...
I know little elisp, and I'm trying to figure out how to call a function that takes a property list as one of its arguments. The particular function is rudel-join-session from the Rudel package; I'm trying to set it up so Rudel will automatically join a session when Emacs starts. I'm not sure how property lists work, so I tried doing thi...
I'm not entirely sure if this question belongs on stackoverflow or superuser (is there an emacs stack exchange?). Based on the meta.stackoverflow post I'll assume that it does.
My emacs defaults header files (of the .h variety) to c mode. I can easily type M-x c++-mode and get my highlighting back, but because I program more often in c+...
So, I've been having fun with this web site that creates random themes for Emacs. I've been saving the resultant .el files and loading them when starting Emacs. Each color theme can be started by evaluating an elisp expression prefixed with inspiration-.
Unfortunately, I don't know elisp. Can someone help me figure out how I might writ...
I've previously used sql-oracle just fine in Xemacs on XP and vista.
However, now I'm using Postgresql psql on the command line but I kinda find it lame (as compared to using sql-* from within emacs)
So, I'm trying to get it(psql) working within xemacs(21.4.22) on windows. When I type
M-x sql-postgres ENTER, I get the following 3 pro...
Hello,
I want to make that would in all the buffers which I had opened were line numbers in GNU/Emacs. In my .emacs i try to add:
(linum-mode t)
but it's not helped me.
Thank you
...
I currently bind compile to C-x c. I know I can run compile in comint mode by using C-u C-x c but I'd prefer to just bind it to C-x c directly. I can't fathom how to do this without copying the whole of the compile function from compile.el, tweaking it and binding that. Is there a better way?
Edit: To clarify my sloppy language, I don't...
I was recently browsing around for an emacs mode for php and the like and decided to settle on nXhtml. However, I keep getting the following error: whenever I open up an html file, the entire file is highlighted in blue. Needless to say, this is quite the annoyance. I figure it's probably because my html files don't have any xhtml spe...
I have the following code in Emacs under scala-mode (from the Scala 2.8 package):
object t1 {
def main (args: List[String]) = {
println("Hello")
}
}
I also have my return key set to newline-and-indent. When I repeatedly hit return after the last brace, it goes to the leftmost column for one blank line. When I press return agai...
With emacs/eshell, the "echo $PATH" shows different paths than that of $PATH environment variable.
And I also checked that eshell doesn't read .bashrc or .profile, and I think that's the reason why the path is different.
What setup file does eshell read when it starts?
How eshell sets its PATH?
How to make the eshell's PATH the same...
The page 49 of org mode manual has the following comment.
"To limit tag inheritance to specific tags, or to turn it off entirely, use the variable org-use-tag-iheritance and org-tags-exclude-from-inheritance."
It seems that I should set those variables to 1 or t inside emacs. Is this correct? If so, how can I do that?
...
I add the following preprocessor code in header files all the time.
#ifdef _HELLO_H_
#define _HELLO_H_
#endif
Is there a way to do this automatically (I mean, when I load the header file for the first time, the emacs just adds the code), or manually (I mean, I have some M-x SOMETHING)?
If none exists, how can I program the elisp co...
When I use C-M-\ (with emacs and ESS) to format my R code, it right justifies my comments. For example, it changes:
#This is a comment
x=5
to
#This is a comment
x=5
How do I stop my comments being right-justified?
...
I was trying to use the capture as is explained in org-manual p 74.
This is the .emacs file for org mode.
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
(setq org-default-notes-file (concat o...
Im making a DSL in lisp (basically what i think is a nicer syntax), its the same thing as lisp except with different 'primitives', no instead of not, 'as' instead of let.Thus i need to change both indentation and color only in files which end in .goby (it should not effect ones which end in .lisp) So i would like to create files with ex...
In the Windows version of Emacs, Ctrl+Up and Ctrl+Down navigate between blocks of text by going to the prev/next blank line instead of line by line. Is there a way to reproduce this functionality in Visual Studio?
...
I have been using emacsw32 for a year or so, and I never even realized that meta+r is supposed to be interactive and show hits right away! This works in the unpatched emacsw32 client (which is also much newer, btw).
Wondering if anyone knows why this is? Is it the patching breaking it or is it the older emacs? Its not very old though, s...
I'm tired of using IDEs for scala because it can take several minutes to write one line of code on my computer (before I started programming in scala I didn't surmise that it is slow). It's a great pity that there is no option to turn off some features of scala plugin (of any IDE) that devour 100% of my cpu power and not necessary for me...
I would like that my linum-mode numbering is right aligned. The closest thing I've found is on emacswiki, but it doesn't work - it seems to left align the digits instead of right align it. The snippet is found here. Sorry for the horrible indenting, lisp is pretty alien to me :)
(setq linum-format
(l...