Stream

Join this community to post or comment

ErgoEmacs

Discussion  - 
 
M-x finder-list-keywords to see keywords in emacs package.
only these are supposed to be valid keywords in the keyword field of package's header.

is there any activity to broaden or change this?

correction: actually, the gnu info doc says it should contain at least one of those.
3
ErgoEmacs's profile photo
6 comments
 
+Nick Alcock (info "(elisp) Simple Packages")
mentions it.
Add a comment...

ErgoEmacs

Discussion  - 
 
#Emacs set isearch by Arrow Keys. Acquired taste. 

;; set arrow keys in isearch. left/right is backward/forward, up/down is history. press Return to exit
(define-key isearch-mode-map (kbd "<up>") 'isearch-ring-retreat )
(define-key isearch-mode-map (kbd "<down>") 'isearch-ring-advance )
(define-key isearch-mode-map (kbd "<left>") 'isearch-repeat-backward) ; single key, useful
(define-key isearch-mode-map (kbd "<right>") 'isearch-repeat-forward) ; single key, useful

http://ergoemacs.org/emacs/emacs_isearch_by_arrow_keys.html
Here's very convenient keys for isearch. (progn ;; set arrow keys in isearch. left/right is backward/forward, up/down is history. press Return to exit (define-key isearch-mode-map (kbd "") 'isearch-ring-retreat ) (define-key isearch-mode-map (kbd "") 'isearch-ring-advance ) (define-key ...
5
Add a comment...
 
Happy 30th Birthday GNU Emacs!
93
26
Pedro Augusto's profile photoXi Shen's profile photoAlexander Petrov's profile photoIlshad Khabibullin's profile photo
 
\\//_ Live long & Prosper EMACS!!
Add a comment...

Boy Wang

Discussion  - 
 
Hi everyone, what code analysis tool which help you to find definition, reference, or factory rename for JavaScript do you use most?
1
Przemysław Wojnowski's profile photoBoy Wang's profile photo
3 comments
 
Yeah I know ternjs and am using tern-mode. But it failed to find definition when codes were changed (not saved yet). Dunno why~
Add a comment...

ErgoEmacs

Discussion  - 
 
#Emacs fun 【M-x set-input-method RET chinese-py RET】
 http://ergoemacs.org/emacs/emacs_chinese_input.html
If you are learning Chinese, there's a nice feature of emacs Chinese input for studying Chinese characters. You can also try it just for fun. emacs chinese input 2015 emacs Chinese input. First, switch to Chinese input. Call set-input-method 【 Ctrl + x Enter ↵ Ctrl + \ 】, then give ...
3
2
Dmitry Zinkevich's profile photoYu-Fu Wu's profile photo
Add a comment...

bin chen

Discussion  - 
1
Add a comment...

Guanghui Qu

Discussion  - 
 
Hi, Emacers.   Do you use Super key in your keybinding? I found Prelude include it and the author also gives a few example of it. http://emacsredux.com/blog/2013/07/17/make-use-of-the-super-key/  I also enjoy the Super key very much. But in win8, some of Super key binding will be intercepted by system(eg. Super+D will go to desktop, Super + R will open up a command input box, Super + P will open projector settings etc..)  And in Ubuntu I even can't use Super key. The Win key will launch the GUI for selecting Applications. How do you remap Super key in Ubuntu and Linux. I know in Mac it works perfect. Thanks.
Emacs users have a lot of power at their disposal, but in one department they are always short - the number of available non-complex keybindings that …
1
Yuriy Pitometsu's profile photoGuanghui Qu's profile photo
12 comments
 
+Yuriy Pitometsu Thanks, I look at it.
Add a comment...

ErgoEmacs

Discussion  - 
 
i think emacs lacks a good command to isearch current word.
I created one recently “xah-search-current-word”. See updated http://ergoemacs.org/emacs/modernization_isearch.html
Let us know what do you do.
This page document a problem with emacs's incremental search feature, with suggested solution. Emacs's “isearch” has some problems. Suppose you have this line: … aa-bb - cc xx yy … and your cursor is on the second dash. You want to search the next occurrence of the word “aa-bb-cc”.
4
Jan Synáček's profile photoErgoEmacs's profile photo
6 comments
 
+Jan Synáček that checks boundaries. also, the keystroke is too much. 
Add a comment...

Quan Ta

Discussion  - 
 
It's funny my favorite theme is none of the Emacs themes I installed, but the one I ended up with when I byte-compile my .cask directory!  Every time, I byte-recompile, my Emacs end up with a theme that look like solarized-light, but the color is more lively, and everything just feel great.  The funny part is I tried to cycle through all the installed themes and none of them look anything like that.  What a lovely coincidence!
1
Gaurav Verma's profile photo
 
Snapshot? Tried leuven?
Add a comment...

bin chen

Discussion  - 
I use AngularJS as an example. The technique applies to other web frameworks. 1 Problem In a typical Angular application. A javascript function is defined in a javascript file and called in a htm
4
3
David Duncan's profile photoGabriel Pozo's profile photoAndreas K's profile photoJeroen Tiebout's profile photo
 
Nice read and a great introduction for someone who was interested in the ctags use, but hadn't identified where they fit in their own workflow. Cool example. 
Add a comment...
Bear in mind, this is from the perspective of noob who has decided to make a concentrated effort to really start using Emacs. Now the main thing that got me really pumped about Emacs was org-mode. It is INSANELY brilliant. With that in mind, I set out on the wired to learn more.
2
Rock X Loose (EELV)'s profile photoDylan “Villains Garage” Thiedeke's profile photo
4 comments
 
I'm using tango dark for now. I tried solarised but not a huge fan of it. 
Add a comment...

王璐

Discussion  - 
 
http://coolwanglu.github.io/dunnet.js/

Enjoy the `Auto' button ;-)

```
Dead end
You are at a dead end of a dirt road. The road goes to the east.
In the distance you can see that it will eventually fork off. The
trees here are very tall royal palms, and they are spaced equidistant
from each other.
There is a shovel here.
>
```
Start Over. Ron's Text Adventure for Esc Meta Alt Control Shift. @. GitHub. Restart. Help. Ron's FAQ. Hints. Walkthrough. Auto.
4
1
Wenlong Dai's profile photoLi Tianyi's profile photoJohan Sandén's profile photo
6 comments
 
Cool!
Add a comment...

bin chen

Discussion  - 
I'm still NOT satisfied to my Emacs performance after applying below tricks: autoload packages idle-load packages compiling *.el to *.elc After some research, I found I could make my Emacs
1
Boy Wang's profile photo
 
Wow you have 24G memory...
Add a comment...

Haojun Bao

Discussion  - 
 
A dirty workaround for Emacs copy/paste hang

After I run GUI Emacs under debian for several hours, there will be hang if I do copy/paste (or kill/yank, to use Emacs's language). Sometimes it can recover with a ``Timed out waiting for reply from selection owner'', sometimes I must press C-g to cancel, and yet sometimes I must restart Emacs because C-g can't quit it. Googling and strace doesn't help very much.

I used to write a daily cron job to kill and restart Emacs at 8:00am automatically, so that I won't feel too frustrated in the afternoon...

Now I am using xclip to do the copying/pasting. There is an xclip.el, but that is for Emacs running in a terminal. And if you run xclip directly in GUI Emacs, it will instantly hang. So I worked around it like this:

(defun bhj-select-text (text)
(let* ((default-directory "/")
(process-connection-type nil)
(proc (start-file-process "emacs-clip-cut" nil "emacs-clip-cut")))
(when proc
(process-send-string proc text)
(process-send-eof proc))
(setq bhj-last-selected-text text)))

(defun bhj-select-value ()
(let* ((default-directory "/")
(text (shell-command-to-string "emacs-clip-paste")))
(if (string= text bhj-last-selected-text)
nil
text)))

(setq interprogram-cut-function 'bhj-select-text
interprogram-paste-function 'bhj-select-value)

Then, for the 2 shell scripts emacs-clip-cut and emacs-clip-paste, I used setsid to avoid it hanging Emacs:

This is emacs-clip-cut:

#!/bin/bash
exec > ~/.cache/system-config/logs/emacs-clip-cut.log 2>&1
set -x
set -e
cat > /tmp/emacs-clip-cut.$$

(
cat /tmp/emacs-clip-cut.$$ | setsid xclip -i
cat /tmp/emacs-clip-cut.$$ | setsid xclip -i -selection clipboard

rm /tmp/emacs-clip-cut.$$
)&

And this is emacs-clip-paste:

#!/bin/bash
xclip -o -selection clipboard

1
1
Holger Schauer's profile photoHaojun Bao's profile photoSharon Kimble's profile photo
4 comments
 
yes, but it will take half a day before it start hanging😅
Add a comment...

Sylver Stone

Discussion  - 
 
Hey! just reading on how-to built a inf-lisp support for Lisp-Stat in Emacs.

Hey, R is great, of course, I also love it so much but it happened I got to know about xlispstat and I've found it particularly beautiful. I challenge you to try it [1] and, or tell out whether or not I'm right.. hahaha & I'd really like to have a look at the face you make when your own learning machine crashing down by that a new machine learning mindset.. haha

Well, seriously Lisp-Stat is great, you can gainsay e.g. following this tutorial [2]. If you agree it worth, please submit a petition at the ESS Github repository site, e.g at this [3] post where I found this is being discussing so that maintainers consider to give back Emacs support for it.
[1]http://homepage.stat.uiowa.edu/~luke/xls/xlispstat/current/
[2]http://homepage.stat.uiowa.edu/~luke/xls/tutorial/techreport/techreport.html ;; http://www.econ.hku.hk/~asiu/courses/xls/surfer/node1.html
[3] https://github.com/emacs-ess/ESS/issues/154
One of the hallmarks of Emacs is its ability to interface with external processes and add to the user experience with the full coterie of Emacs functionality like syntax highlighting, macros, command history, and so on. This functionality has been in Emacs since time immemorial, yet few people ...
9
4
Byron Schlemmer's profile photoManuel Alzurutt's profile photo
Add a comment...

ErgoEmacs

Discussion  - 
7
3
Николай Пузанов's profile photoAlberto Guatemala's profile photo
Add a comment...

bin chen

Discussion  - 
After shutdown of Google Code Search, I turned to plain google search instead. For example, if I want to search Emacs Lisp code. I google "keyword filetype:el". "el" is the file extension of Ema
11
1
Gaurav Verma's profile photo
Add a comment...

Quan Ta

Discussion  - 
5
Chris Holtz's profile photoQuan Ta's profile photo
3 comments
Quan Ta
 
Add a comment...

bin chen

Discussion  - 
I use company-mode most of the time. Sometimes I use Hippie Expand to autocomplete the English words from a dictionary. I surely can do this in company-mode too. But I prefer hippie-expand because
1
Add a comment...

Cezar Halmagean

Discussion  - 
Most of my work is on Ruby on Rails projects and I tend to switch editors a lot. My two favorite are Emacs and Vim and I use them both. Each one has it's strengths and weaknesses but I will not go into that here. Instead I will focus this article on describing my current Emacs setup.
18
6
Scott Hsu's profile photoAndreas K's profile photoАлексей Профатилов's profile photoCons Bulaquena's profile photo
3 comments
 
+Cezar Halmagean WRT syntax highlighting, you might want to search Emacs bug tracker, and maybe file a new bug.
Add a comment...