major-mode Questions
2
I've found a bunch of information (like this) on writing a major-mode for a language, but... I'd like to write a mode along the lines of dired or tetris - modes that use the buffer as a GUI.
In th...
Flagellum asked 5/10, 2012 at 7:18
7
Solved
I have tried to search Google and look in the manual, but still cannot find how to get major mode of a buffer object. Can you help me with an example or a reference. Thanks
only solution I could f...
Cinerator asked 10/2, 2010 at 16:22
4
Solved
Can anyone provide me with a hello world example for a major mode in emacs?
I guess it's a beginner question, still I really like to write a major mode, both to learn emacs and elisp, as to be abl...
Pilar asked 30/6, 2009 at 11:13
1
Solved
I am on Emacs 24.3.1. I installed the MELPA version of plantuml-mode via
M-x package-install RET plantuml-mode RET.
When I try to turn on plantuml-mode for a buffer, I get the following error:
W...
Thundercloud asked 22/3, 2014 at 8:3
3
Solved
I have few Major modes (like: Yaml and NXML) that I don't want electric-indent-mode (I want it for C like languages) but I'm unable to turn if off. To enable I have:
(electric-indent-mode 1)
fro...
Patella asked 17/1, 2014 at 9:42
3
Solved
I'm in the early stages of creating a major mode for Emacs for browsing and interacting with the Stack Exchange Network.
Involved in it are several major modes, all with one-key keybindings simila...
Shoifet asked 27/2, 2013 at 23:47
3
Solved
I am writing an elisp function that permanently binds a given key to a given command in the current major mode's keymap. For example,
(define-key python-mode-map [C-f1] 'python-describe-symbol)
...
Dower asked 23/1, 2013 at 21:37
1
Solved
Very specific question that I hope is not too dumb.
(setq-default fill-column 120) sets the width of the buffer fill to 120 columns. Default for me otherwise is 74.
This command, when put in my ....
Cnut asked 21/3, 2011 at 4:7
3
I have a buffer in some major-mode, and in another buffer the mode file itself (*.el). After I edit the *.el file I want to see the changes reflected in the first buffer, without restarting emacs. ...
Nealon asked 5/12, 2010 at 16:0
1
I am developing an emacs major mode for a language (aka mydsl). However, using the techniques on xahlee's site doesn't seem to be working for some reason (possibly older emacs dialect..)
The key i...
Informal asked 3/6, 2010 at 23:48
1
© 2022 - 2024 — McMap. All rights reserved.