xemacs

I want to try org-mode. What's the shortest path from zero to typing?

主宰稳场 提交于 2021-02-05 13:47:26
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

I want to try org-mode. What's the shortest path from zero to typing?

大兔子大兔子 提交于 2021-02-05 13:42:53
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

flush commands xemacs/elisp necessary?

大兔子大兔子 提交于 2019-12-24 17:19:41
问题 Im new to xemacs and linux in general, so consider me a newbie. And i was wondering if there is a reason why elisp wouldn't execute a command or commands instantly. I've the following code in my init.el: (defun myClear () "Clears console output buffer (F5)" (erase-buffer "*Shell Command Output*")) (defun myMake () "Executes make (F6)" (shell-command "make")) (defun myClearMake () "Clears console output buffer before executing make (F7)" (erase-buffer "*Shell Command Output*") (shell-command

How to have colors in the output of (emacs) shell-command?

你。 提交于 2019-12-22 10:36:50
问题 When executing the command shell-command , the output shown in the associated buffer is not colorized. This is particularly annoying when calling a testing framework (outputting yellow/green/red...) from within emacs. How can I configure, or extend, emacs in order to have shell-command allowing colorized output in the shell and preserving the colors while representing that output? Thanks! ps. I'm using the Bash shell, on a UN*X system. 回答1: You can implement your own shell-execute, something

GNU emacs equivalent of func-menu

孤街醉人 提交于 2019-12-21 12:00:15
问题 Is there and equivalent of func-menu for GNU emacs? I used func-menu when I had access to xemacs and I prefer its behaviour to that of the speedbar or sr-speedbar. Specifically: I like that only the functions for the current file are displayed. The function list can be popped up from the current frame and isn't a separate window which I may have covered up. The current function name shows up in mode line. Is there a package for GNU emacs which is a closer approximation to func-menu? 回答1:

Is there a way to make flymake to compile only when I save

ε祈祈猫儿з 提交于 2019-12-10 21:13:55
问题 When I type flymake makes the cursor hang a little. It's kind of annoying. I was wondering if there is a way to tell flymake to do not parse and compile each time I change something, just do it when I save. Any other suggestion? Thanks, 回答1: You can override the flymake-after-change-function from flymake.el by putting this in your .emacs or init.el file: (eval-after-load "flymake" '(progn (defun flymake-after-change-function (start stop len) "Start syntax check for current buffer if it isn't

How to have colors in the output of (emacs) shell-command?

亡梦爱人 提交于 2019-12-06 03:43:31
When executing the command shell-command , the output shown in the associated buffer is not colorized. This is particularly annoying when calling a testing framework (outputting yellow/green/red...) from within emacs. How can I configure, or extend, emacs in order to have shell-command allowing colorized output in the shell and preserving the colors while representing that output? Thanks! ps. I'm using the Bash shell, on a UN*X system. You can implement your own shell-execute, something like (defun my-shell-execute(cmd) (interactive "sShell command: ") (shell (get-buffer-create "my-shell-buf")

GNU emacs equivalent of func-menu

十年热恋 提交于 2019-12-05 05:05:11
Is there and equivalent of func-menu for GNU emacs? I used func-menu when I had access to xemacs and I prefer its behaviour to that of the speedbar or sr-speedbar. Specifically: I like that only the functions for the current file are displayed. The function list can be popped up from the current frame and isn't a separate window which I may have covered up. The current function name shows up in mode line. Is there a package for GNU emacs which is a closer approximation to func-menu? imenu would be the analogous feature in GNU Emacs. See C-h f imenu-add-menubar-index RET . You can call that in

Can I detect the display size/resolution in Emacs?

谁都会走 提交于 2019-11-28 22:45:38
问题 I'd like to change the window/frame size of my XEmacs based on the current display resolution. This is useful when I run my laptop either by itself or attached to a docking station with an external monitor. In either situation, I'd like Emacs to detect the primary screen resolution and adjust its main window frame size accordingly when I start it up. 回答1: The current display resolution is available using the following functions (both non-interactive). (x-display-pixel-width) (x-display-pixel