Questions tagged [emacs23]

Version 23 of the GNU Emacs text editor.

Version 23 of the GNU Emacs text editor.

245 questions
7
votes
3 answers

PHP syntax highlighter for Emacs

Is there a good php syntax highlighter for Emacs? I'm using Emacs 23. I've tried php-mode, but that doesn't do anything. I've tried nXhtml, but that ignores my color theme and reverts to some awful looking default. Is there one I've missed or…
mozillalives
  • 1,460
  • 16
  • 26
7
votes
2 answers

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
  • 7,110
  • 5
  • 27
  • 26
6
votes
3 answers

zsh in Emacs output junk characters

No matter I use term or ansi-term to start zsh in Emacs, I encounter this problem, whenever I input commands, the output will have some junk characters like: [ruby-1.9.2] ~ pwd 2;pwd1;pwd/Users/tyraeltong the 2;pwd1;pwd is screwing the output,…
Tyrael Tong
  • 751
  • 10
  • 21
6
votes
2 answers

Can't seem to get rid of Ctrl-x Ctrl-z Key Binding in Emacs for minimizing window ('suspend-frame)

I keep trying to get rid of this keybinding but setting it to nil or 'undo which would be fine with no luck. I am not sure why it even gets set to C-x C-z in the first place. I wouldn't even mind permanently removing the suspend-frame command if…
J Spen
  • 2,614
  • 4
  • 26
  • 41
6
votes
1 answer

Changing the position of modeline

Is it possible to change the position of modeline so that it appears at the top of the buffer instead of at the bottom of the main buffers? If so, how can I do it?
sawa
  • 165,429
  • 45
  • 277
  • 381
6
votes
4 answers

Emacs 24 Keyboard Macros Running Slow

I've noticed keyboard macros running very slowly in emacs 24 for example - I just tried running a macro to append a '0' to the end of each line in a 105615 line text file C-x ( C-e TAB 0 C-n C-a C-x ) then C-u 105615 C-x e takes about 5 mins to…
bph
  • 10,728
  • 15
  • 60
  • 135
6
votes
6 answers

Emacs 23 on OS X - use multiple instances or emacsclient?

I wonder if anyone has any recommendations as to setup of emacs 23 on OS X. I have been using Linux/Windows for a while and there, I would just open many instances of emacs and they were self-contained - for instance, I could have two separate files…
hatmatrix
  • 42,883
  • 45
  • 137
  • 231
5
votes
1 answer

Changing the size of the menu from the "Buffers" item in the menu bar in emacs

Currently, the menu brought up by the Buffers menu item in the menu bar only shows the last 9 buffers and no more than about 29 characters of the buffer name. How can I change the number of buffers displayed in this menu and how can I get it to show…
perogiex
  • 505
  • 5
  • 10
5
votes
3 answers

how to delete region with [delete] key in emacs

I am using Emacs 23.3 on Mac OS X Lion. How can I delete the selected text region with simple key typing—something like delete or C-d? This works on windows without setting anything specific. How can I implement that in Mac OS X Lion?
luozengbin
  • 305
  • 2
  • 11
5
votes
2 answers

what is "script name symbol" means for emacs set-fontset-font function?

When I read the documentation about set-fontset-font, I found there is a sentence like below: (set-fontset-font NAME TARGET FONT-SPEC &optional FRAME ADD) Modify fontset NAME to use FONT-SPEC for TARGET characters. ... TARGET may be a script…
winterTTr
  • 1,739
  • 1
  • 10
  • 30
5
votes
3 answers

How to minify .emacs configuration file?

I was wondering if anyone can provide me with some help on minifying my .emacs file. Currently I have it set up where each language I use have a custom tab, for example, if I have a hook for Java, it would look like this. ;; Java Hook (defun…
YTKColumba
  • 4,023
  • 4
  • 19
  • 21
5
votes
1 answer

How can I start Emacs with one process in the top window and another in the lower window of a frame?

I have some processes that run from functions, i.e.: M-x run-proc1 M-x run-proc2 I would like to know what command to issue from the command line to run emacs with run-proc1 running in the upper window and run-proc2 running in the lower…
kpatelPro
  • 287
  • 2
  • 10
5
votes
1 answer

How to install new modes in emacs 23 on OS X?

I just downloaded the Haskell and J modes off of SourceForge, and I'm having trouble figuring out how to make them interface with emacs 23. Google searches yield detailed instructions for emacs 22, but it looks like changes have been made that make…
estanford
  • 1,302
  • 1
  • 13
  • 23
5
votes
2 answers

create emacs alias that starts in background?

I have an alias in bash that runs emacsclient if emacs daemon is already running and start emacs otherwise. However, in the event that a fresh instance of emacs is fired up, can I make it run in the background so I can still use that terminal (or…
hatmatrix
  • 42,883
  • 45
  • 137
  • 231
5
votes
3 answers

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 Lisp library that supports "multiple …
UserIsStuck
  • 519
  • 1
  • 6
  • 18