Questions tagged [emacs23]

Version 23 of the GNU Emacs text editor.

Version 23 of the GNU Emacs text editor.

245 questions
2
votes
3 answers

Strange characters in ansi-term in emacs

I wrote a c++ program and when I compiled it using g++ in ansi-term, I got some strange characters displayed: If required, the error was that i hadn't declared the variable n. How can I correct this?
sudeepdino008
  • 3,194
  • 5
  • 39
  • 73
2
votes
5 answers

emacs query-replace jump to the beginning of buffer

I'm using emacs 23.4.1. In most cases, query-replace works fine just as expected. However sometimes when I try to replace something at the middle of buffer and type y for the first appearance after point, the point will immediately jump to the first…
old_bear
  • 279
  • 1
  • 5
  • 14
2
votes
1 answer

How to make ansi-term exit automatically once emacs exits?

Each time i press C-x-C-c to exit emacs, it always want me be sure whether or not close the shell process spawned by ansi-term. Can i make ansi-term exit unconditionally once emacs exit ? Sincerely!
z_axis
  • 8,272
  • 7
  • 41
  • 61
2
votes
2 answers

Shift selection and page up/down in emacs 23

I’m trying to replace pc-selection-mode with the new shift-select-mode with emacs 23. It works generally well, only the shift+pgup/down keys don’t create a selected region and I can’t find a confguration setting where I could tell emacs I want these…
visitor
2
votes
1 answer

How do I make an Emacs color theme that doesn't set a background color?

I am trying to make an Emacs color-theme for my terminal which sets colors for all the text and such, but uses the default background from the terminal- mainly because I like the transparency settings that my terminal profile has. Going into my…
Beej
  • 130
  • 10
2
votes
1 answer

emacs color-theme by buffer

I'm in love with emacs. I don't believe there is anything one can't do with enough effort! I have just fine working scripts/extensions installed that could be relevant to get my point: org-mode (with a CAPTURE-TEMPLATE named "Journal") color-theme…
Edward
  • 73
  • 4
2
votes
1 answer

Incomplete highlight in c++-mode with Emacs

I work with C++ in emacs, and it works perfect, except for a detail when highlighting the code. Whenever I write a function with more than one argument (sometimes, even with just one), it does not recognice the function as a function, for instance,…
oxio
  • 33
  • 7
2
votes
1 answer

Cant bind to Meta key?

Hi I have been experiencing some strange problems recently when trying to bind a command to the Meta key. This has only started happening today and I'm really confused. In my list of bindings I have definitions such as (define-key map (kbd "M-f")…
rflood89
  • 694
  • 2
  • 6
  • 11
2
votes
1 answer

How to diagnose emacs lisp problems involving indirect buffers?

I am using Dave Love's noweb-mode to edit a file that is a mix of LaTeX and C code. Love's mode uses his multi-mode to switch back and forth between modes. This switching is accomplished via indirect buffers. In Emacs 21, the mode appears to work…
Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
2
votes
1 answer

Emacs and ESS: Using the correct version of R

I have installed R-2.9.1 and I am using Emacs+ESS. When I start an R process, though, the version of R that gets used by Emacs is 2.6. I thought maybe Emacs was running R from a weird starting directory. However, if I select my home directory ESS…
Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
1
vote
1 answer

Emacs, HTML5 not validating

I'm Writing a JQuery Mobile / PhoneGap app using Emacs 23.3. I'm using nXhtml, but for example, HTML5 data attributes are not validated. I'd like to use completion as well. What's the recommended mode to use? Does anyone actually use Emacs to edit…
23min
  • 11
  • 2
1
vote
1 answer

completion-at-point in evil mode error

Why do I get the error: Symbol's function definition is void: completion-at-point When I type :e (in evil mode), then use tab-completion to complete a file name, while using emacs 23 on windows. I don't seem to get this error on linux, however I…
Arafangion
  • 11,517
  • 1
  • 40
  • 72
1
vote
3 answers

Removing DocView Welcome Page on Emacs

Emacs 23 can view PDF files inside the editor which is great. However it also shows a welcome page, for every PDF page, like this: How can I remove this welcome page? I understand Emacs is doing some processing for the PDF page, and it probably…
BBSysDyn
  • 4,389
  • 8
  • 48
  • 63
1
vote
2 answers

Folding/Identifying current `ifdef block in verilog code using emacs

My work invovles browsing through long verilog codes which incorporates `ifdef blocks. My primary editor is emacs. Following is a typical example: module Foo( ... ... ); // Inputs, Outputs ... `ifdef CONDITION_1 ... ... `else //…
Pulimon
  • 1,776
  • 4
  • 31
  • 45
1
vote
1 answer

mouse click in scrollbar changes selection

When I mouse click on the emacs scrollbar, emacs sets the mark at the mouse-down location (the end of that line, since the mouse is actually in the scrollbar) before the scroll and sets point at the mouse-up location after the scroll. This makes a…
JimKleck
  • 407
  • 4
  • 13