Questions tagged [emacs23]

Version 23 of the GNU Emacs text editor.

emacs23
Filter by
Sorted by
Tagged with
1 vote
1 answer
272 views

Emacs Lisp-error meaning when trying (require 'package)

I have an init.el file which only consists of a single line (require 'package) I am running emacs 23.1 on Red Hat Enterprise Linux Server Release 6.10 (Santiago) Execution of emacs --debug-init ...
Michele Ancis's user avatar
1 vote
1 answer
121 views

Emacs 23 avail melpa package manager

Im a newbie in emacs. I am using emacs 23 on a shared development server without root access. I want to use melpa which has more packages available. Is there any way I can use melpa on emacs 23(...
Prasanth Ramachandran Pillai's user avatar
1 vote
0 answers
320 views

GDB in Emacs 24 messed up

I am using emacs 24.5.1 and GDB 7.10 in conjunction with the GUD integration. I am starting GUD with the following bash command: emacs --eval "(gdb \"gdb -i=mi --fullname --cd=`pwd` -args $*\")" &...
mefiX's user avatar
  • 1,275
1 vote
0 answers
214 views

Emacs key binding to f3 resulting in a yank instead

Solution: So I found the solution ... and do I feel stupid. The problem was not anything to do with emacs at all - it was to do with my keyboard. So my keyboard has this button which I never use and ...
vab2048's user avatar
  • 1,161
0 votes
1 answer
39 views

Use search script froma previous search emacs

I'm an emacs newbie . I use C-s "text" to search for a text. How do I select from a previous search buffer to research an entry instead of typing it allover again . For instance C-S "text1" C-S "...
nogeek001's user avatar
  • 713
1 vote
1 answer
314 views

Create an Emacs semi-interactive macro

I would like to create a quick Emacs macro (with C-x () which takes some user input from the minibuffer each time it's executed. The usage scenario is this: You have a complex text to change where ...
Rick77's user avatar
  • 3,181
0 votes
2 answers
662 views

Cross compile on Emacs

How do I create/issue compilation command on Emacs, so I don't need to switch back and forth between it and console? My usual compilation procedure I'd like to see as Emacs command: $ export PATH=/...
KBart's user avatar
  • 1,578
3 votes
2 answers
280 views

emacs - first character of each line starts at end of window

I installed Solarized for the Terminal application in Mac OSX 10.9.5. It works great, except I now have a problem with Emacs. Specifically, when I edit a python file in Emacs, if a line appears after ...
adn bps's user avatar
  • 619
1 vote
2 answers
794 views

Emacs 23.3.1 fixedsys font issue

I have downloaded the Fixedsys.TTF font. I have moved the font into the /usr/share/fonts/truetype directory. I have opened Emacs and navigated to Options > Set Default Font... and selected ...
Bbunghole Ccornholio's user avatar
16 votes
1 answer
2k views

increase 'buffer' column width in buffer list view

I am working with rather longish file names and when viewing the buffer list, the width of the Buffer column is too short for my purposes. How can I increase that width (at the expense of, say, the ...
Marcus Junius Brutus's user avatar
2 votes
1 answer
136 views

Emacs indentations at decimal in floats

Let's say a text file looks like so: 0.00 33.90 -93.9 0.00 43.90 -93.9 10.00 53.90 -93.9 10.00 63.90 -93.9 -100.00 10.00 -7.0 -100.00 9.00 -8.0 100.00 ...
user avatar
0 votes
1 answer
35 views

Initiate Code in Emacs

I use emacs to mostly code in c++. Is there any way to add a particular piece of code snippet to every new file opoened in Emacs. For eg: Suppose i want to create a new file in emacs with name abc....
Sarkar's user avatar
  • 33
17 votes
1 answer
25k views

How to install melpa in emacs?

I need to install MELPA into my emacs 23.3 version. I have googled for the ways to install it but couldn't find/understand any of them. Can anyone please help me with installing MELPA. I am using ...
Pratik Singhal's user avatar
0 votes
1 answer
225 views

regular expression with the same element twice without knowing it

I've plenty fill and want to find all of them which are like this: A = A + B So I wanna use a regular expression using M + x rgrep. and was thinking to something like that: ([A-Za-z][A-Za-z0-9]*) = ()...
Romain Picot's user avatar
0 votes
1 answer
566 views

Copy & paste non-ASCII characters to an Emacs window from another window doesn't work correctly

I work with emacs23 with the iso-8859-1 coding system. I have these lines in my .emacs file: (setq default-buffer-file-coding-system 'iso-8859-1) (set-selection-coding-system 'iso-8859-1) However, ...
Charo's user avatar
  • 126
0 votes
1 answer
80 views

Emacs and CWB under Windows

I'm trying to use the Edinburgh Concurrency Workbench (http://homepages.inf.ed.ac.uk/perdita/cwb/) with Emacs under Windows. I have placed the file cwb.el under C:\emacs\emacs-22.3\emacs-stuff. My ....
user130888's user avatar
1 vote
1 answer
100 views

Automatically launch a command with Emacs when it's a .tex file

I want to launch a command when I start emacs with a .tex file. The command is: M-x flyspell-mode Is it possible and how?
Romain Picot's user avatar
0 votes
1 answer
959 views

From x-display-pixel-width in Emacs 23 to display-monitor-attributes-list in Emacs 24

In Emacs 23, evaluating (x-display-pixel-width) yielded the width of the current window. In Emacs 24 the same expression returns the combined width of all windows. How does one return the width of ...
Calaf's user avatar
  • 10.5k
1 vote
1 answer
101 views

One compile command per buffer, not directory

I am often editing foo.cpp and bar.cpp (or foo.tex and bar.tex) in one directory. During these edit sessions, I run make foo and make bar many times. At some point with Emacs 23, I needed to type ...
Calaf's user avatar
  • 10.5k
0 votes
1 answer
944 views

installing ya-snippet in emacs 23 manualy

I an new to emacs...so i was trying to install ya-snippets for this first i downloaded the ya-snippet tar file and then uzipped it and then kept it .emacs.d/packages/ and then added the following code ...
user3091069's user avatar
4 votes
1 answer
798 views

Need Help Turning off re-align comments after signals in port list. (Verilog-Mode)

Here's my problem, I define a port list as so: module spi_jstk ( input clk, // System Clock (40MHz) input reset, // Async Reset ...
mrbean's user avatar
  • 612
0 votes
1 answer
183 views

Invalid function warning with a recursive Lisp function

I'm watching these tutorials on Lisp and I've been following along so far. However, when I try to evaluate this function, (defun tailfact (n &optional (intermediate 1)) (if (= n 1) (return-...
Matt's user avatar
  • 3,527
4 votes
1 answer
6k views

Emacs like line navigation in sublime text 3?

I have been using Emacs from past few months and I like its line navigation feature a lot as it does't need you to use arrow keys. Emacs Line Navigation: C-p : go to previous line C-n : go to next ...
Deepak's user avatar
  • 1,519
1 vote
1 answer
478 views

Emacs: wrong-type-argument error in Emacs23 but not in Emacs24

First of all, I'll admit that I'm a complete novice at Emacs and ELisp (and for that matter Lisp in general), and I have stumbled upon an error that has got me stumped for quite a while now while ...
mwnx's user avatar
  • 97
0 votes
1 answer
86 views

Why the function name that starts with "do-" gets highlighted in emacs?

I am using zenburn.el color-scheme in emacs 23. The function name that starts with "do-" gets highlighted, as given in the figure below -- How do I fix it? Any idea?
ramgorur's user avatar
  • 2,144
15 votes
1 answer
9k views

Emacs: list-packages [no match]

I'm new to Emacs. I'd like to install a package, but doing M-x package-install says there is no such command. Trying to look which packages are installed with M-x list-packages does not work either. ...
Tim's user avatar
  • 2,018
1 vote
1 answer
1k views

emacs syntax highlighting for c++ using the "const" keyword

I am having an issue with syntax highlighting in emacs when writing c++ using the const keyword. A MWE is the following #include <iostream> class MyClass{ pulbic: void helloWorld(); }; ...
nick's user avatar
  • 319
5 votes
3 answers
1k views

How to turn off php-indent warning in Emacs

When editing a PHP file with PHP code and HTML markup in Emacs, I continue to get the warning: Warning (php-indent): Indentation fails badly with mixed HTML and PHP. Look for an Emacs ...
UserIsStuck's user avatar
2 votes
2 answers
264 views

Emacs 23 window.el

I am using emacs 23 on two computers. On both, dpkg -s emacs outputs the following version number. However one has window.el and the other not. This make some function such as split-window behave ...
M. Toya's user avatar
  • 685
2 votes
1 answer
4k views

package-install wrong-type-argument error

When I do M-x package-install <ret> dsvn <ret>, I get a wrong-type-argument error. This started with a recent Emacs package update. I can't figure it out. [=========] Debugger entered--...
PythonNut's user avatar
  • 6,282
2 votes
1 answer
602 views

What is the use of a fill-column if most modern text editors can word-wrap?

I have my emacs fill-column set to almost 10 trillion (999999999999). Is that bad, or is there another way to make emacs have a virtually infinite fill-column? What is the use of a fill-column ...
Geremia's user avatar
  • 5,107
0 votes
4 answers
4k views

Change .emacs directory in Ubuntu

Currently my .emacs file is found in /home So is my .emacs.d folder and I suppose some other files like diary, notes etc will be created in this folder. I find this really messy and I want all my ...
Spectre's user avatar
  • 684
2 votes
1 answer
1k views

Is there an option in emacs like vimdiff?

I simply want to supply two files to emacs from terminal and it should open them in two separate windows in diff mode.
ashutosh jain's user avatar
0 votes
1 answer
1k views

What is the correct syntax for .emacs file in emacs 23?

I am trying to get solarized color theme in emacs 23 as per http://david.rothlis.net/emacs/customize_colors.html . I have put all folders and files in ~/.emacs.d . Then I added: (add-to-list 'load-...
Leo's user avatar
  • 1,767
7 votes
2 answers
612 views

What is the emacs command to do full text search across all open buffers? like sublimetext's command+shift+f?

Title pretty much sums up the question. I am learning emacs and have all the basic commands mastered but I don't know how to achieve full text search yet
Hrishi's user avatar
  • 7,128
1 vote
1 answer
488 views

Binding Escape key (ESC) in Emacs running in Console (-nw)

I am trying to bind the ESC key to a custom elisp function, (global-set-key (kbd "<escape>") 'my-local-mode) which works under X but does not when emacs is running in a termial. ESC acts as ...
Hamza Yerlikaya's user avatar
1 vote
2 answers
294 views

How to ignore a local variables list in text?

I'm writing the readme (in org-mode) for a new emacs mode, and in the installation instructions we have how to enable the mode on a per-file basis: or at the end of your file: #+BEGIN_SRC emacs-lisp ...
Yossarian's user avatar
  • 5,316
0 votes
2 answers
315 views

How to get View-goto-percent defined at startup

If I startup emacs with emacs -q, then emacs does not know about the command M-x View-goto-percent, (which allows one to hop around large files by percent value). However, if I type C-h a percent (...
unutbu's user avatar
  • 862k
2 votes
2 answers
1k views

Delete key not working using emacs in Mac Terminal

I'm new in emacs. I want to code with it but it arose my first problem is that my delete key is not working (imagine coding without using this key). When I type appear the following message: "C-h (...
ultraInstinct's user avatar
0 votes
3 answers
1k views

In emacs23 how to bound C-<return> to C-<return> instead of C-J

I am trying to use org-mode and whenever I press Crtl+return emacs does C-J instead. I know this because when I use c-h k and then press crtl+return, emacs shows: "It is bound to C-j." Is there ...
user2278279's user avatar
3 votes
1 answer
906 views

Add a TeX symbol in the Emacs init file

I am trying to add the following code to my .emacs init file: (TeX-add-symbols '("eqref" TeX-arg-ref)) But I cannot get it to work. I get the following error when running emacs t.tex (t.tex is here ...
Håkon Hægland's user avatar
5 votes
3 answers
755 views

share emacs configuration between emacs 23 and emacs 24

I'm trying to put all my emacs configuration under version control in order to easily switch between different computers. Actually my preferred system is OSX (10.8.3) with emacs 24.3 from http://...
Nicola Vianello's user avatar
0 votes
0 answers
151 views

Where does emacs Predictive Mode store its dictionaries?

I know I installed Predictive Mode correctly, because it works. However, I have a large file I want to turn into a custom dictionary, and I can't do it. First, I gave it the proper formatting, and ...
user1889034's user avatar
2 votes
2 answers
595 views

emacs shortcut to insert 4 space and remove 4 space

Noob to emacs. I would like to create a shortcut in emacs to insert 4 space from current cursor position and remove 4 white spaces from current cursor position. May be map it to C > and C < Can ...
Zero One's user avatar
1 vote
2 answers
607 views

emacs: I need and explanation on dirtrack-list variable

In emacs' shell I am using dirtrack-mode (M-x dirtrack-mode). I get errors in the *Directory Tracking Log* buffer: Input `user@machine:~/modules/mydir> ' failed to match `dirtrack-list' In order ...
AntonioCamas's user avatar
2 votes
1 answer
199 views

ido-mode outdated file list

I am using Emacs on Windows 7, and am finding that ido-mode is not picking up some files created since I started using it. E.g. directory contains: foo.txt bar.txt Open foo.txt in Emacs. Later, ...
HXCaine's user avatar
  • 4,238
0 votes
1 answer
265 views

Enabling preview-latex For All Modes

I can use preview-latex successfully on any Tex buffer, and it works great. I was wondering how I can enable previewing capability for any mode, such as Fundamental, or any other programming ...
BBSysDyn's user avatar
  • 4,521
1 vote
1 answer
672 views

Separate GUI & CLI themes for Emacs?

To avoid the white background, I changed the default emacs background color to "dark gray" -- it's perfect for working in the GUI at night . . . however, emacs is also my default editor for terminals, ...
user1947267's user avatar
1 vote
2 answers
127 views

The js2-mode.el compilation error

I am getting an error when I compile js2-mode.el using byte-compile-file command in emacs. js2-mode.el:6778:21:Error: Lisp nesting exceeds `max-lisp-eval-depth' How do I get rid of this?
sudeepdino008's user avatar
0 votes
1 answer
120 views

Package sierotki.el doesn't work under Emacs-snapshot

For a couple of years I used to use the sierotki.el package (NonbreakableSpace) in Emacs for my LaTeX writing. It worked very well in my configuration (Ubuntu 12.04, emacs 23 or emacs 24 (24.2.1)). ...
xen's user avatar
  • 253

1
2 3 4 5