Stream

 
Hi emaser!

I want to create some specific keymap inspired from 1. cua keys and 2. "operator + motion" workflow. For example, something like ^x w to cut a word, ^x$ to cut until end of row. And so on.

yes i'm not sure about the result but i would like to see.

I did not write elisp yet. Finding documentation is ok. But what is the best bet? That's where I miss knowledge. Global minor mode? ErgoEmacs theme? Directly mess up keybindings on a distinct .el ?

i'm sure some answers will awesome me =)
1
Add a comment...
 
[Question] I started to use KeysNail yesterday and it's awesome. Now I'd like to bind "View Page Source" to a keyboard shortcut, but I don't know where I can find the "function" name of it. Any pointers?
1
Add a comment...

Chunbo Chen

Questions  - 
 
I turned to Emacs these days, and start to use ggtags for my C/C++ project. Then I have the first big problem for me. I work with a large code base, when I create tags, I only want to process some directories, if I run gtags in root directory, it will traverse all the subdirectory, if I run gtags in sub directories separately, then I cannot find the symbols defined in other directory but referenced in current directory, any good ideas?  
4
Dmitry Gutov's profile photoChunbo Chen's profile photo
5 comments
 
+Dmitry Gutov yes, I use ggtags, and it will use gtags to create database, right? My problem is how to create data base for selected sub-directory in the root dir, not for all.
Add a comment...

Boy Wang

Questions  - 
 
Is "Advising Function" similar to "Polymorphism" in OO launguage?
http://www.enigmacurry.com/2009/01/14/extending-emacs-with-advice/
1
Boy Wang's profile photoHolger Schauer's profile photo
2 comments
 
Ok, I gotta spare some time to process it. Thanks :D
Add a comment...
 
Which cscope library is best?    I've been using xcscope but am curious about the others.
6
1
Kat V's profile photoНикита Егоров's profile photo
Kat V
 
rms@gnu.org might know :3
Add a comment...
 
Is there a way of having a buffer with a list of all Emacs packages that I installed from repositories? Thanks.
2
Antonio Augusto F Garcia's profile photoDan LaManna's profile photo
18 comments
 
Using package.el - I found myself having to do the same thing tonight:
https://gist.github.com/danlamanna/10568342 - It's a bit messy, but served my purpose.
Add a comment...

文山任

Questions  - 
 
How to achieve the smooth auto-completion as in the video? I got moz-repl using el-get-install, but it doesn't give the completion functionality. 
9
文山任's profile photobin chen's profile photo
4 comments
 
+bin chen Thanks for the pointers. It looks to me the demonstrator was actually using Emacs, so I expected the official plugin https://github.com/bard/mozrepl/wiki/Emacs-integration could provide smart auto-completion right away.
Add a comment...
 
What happened to Zile?! I'm sure it used to be Zile is Lossy Emacs and was my first port of call for an Emac's like editor on embedded platforms. It seems to be a toolkit now....
4
1
E Sabof's profile photoZaicheng Qi's profile photo
2 comments
 
Seems it was redesigned. But it's good.
Add a comment...
 
I'm using Auto-complete with Clang to enable some auto-completion within C++ code. While this generally works well, I'd find it very useful if, on a function call, AC could let me quickly jump through the defined arguments, see their type and replace them with a compatible expression. It seems I have enabled something that does this behaviour but it's working intermittently and I believe it might be the work of Yasnippet interfering with AC+Clang.  Is there a clean solution to get this type of completion working properly? 
1
1
Mathieu Beliveau's profile photoAllan Rasmusson's profile photobin chen's profile photo
2 comments
 
Thanks for the suggestion! Company-mode does exactly what I wanted.
Add a comment...
 
Hi community. Does anyone know an alternative to this vim plugin (sidebar)? It's so sexy ^.^
3
1
陈国民's profile photoIcaro Perseo's profile photobin chen's profile photo
8 comments
 
sr-speedbar, though I rarely use it. imenu is good enough for me. I'm just curious how you guys use speedbar?
Add a comment...
 
I've been running Emacs as a (systemd) daemon for a few months now. It's great. However, I've just noticed an issue:  because the daemon starts before my X11 (or even my tty) sessions have started, it doesn't get my ssh-agent info. Meaning: TRAMP will prompt for my SSH pass-phrase instead of getting it from the agent. Also M-x shell runs /bin/sh instead of my configured preference (bash)... there's probably other subtle differences.

So, until I can solve this riddle, it's back to old-school (add server-start to .emacs and then launch an emacs in X11 startup) for me...

Anyone solved it?
3
fi nurr's profile photo
fi nurr
+
3
4
3
 
I let my ssh-agent write its variables into a file (~/.ssh/socket-info) and parse that file periodically from Emacs with a timer. 
Add a comment...

文山任

Questions  - 
 
[SOLVED] How to set alarms in Emacs? I'd like to make Emacs pop up a notification saying "hi, it's time to stand up, drink some water and exercise a bit" at intervals during working hours.
2
Jordon Biondo's profile photo文山任's profile photo
6 comments
 
Thank you. Pomodoro looks promising but it is an overkill for my needs. I finally achieved what I wanted with appt (had to remove a few elisp lines since update-calendar-mode-line is no longer available in the latest Emacs ). For whomever interested in: www.gnu.org/software/emacs/manual/html_node/emacs/Appointments.html
Add a comment...

Geyslan G. Bem

Questions  - 
3
1
Geyslan G. Bem's profile photo
3 comments
 
Emacs ROCKS!
Add a comment...
 
Random thought, does anyone know if there's any shell (bash/zsh/etc) that does completion like company-mode does it? That would be a pretty cool feature IMO. Alternatively, is there a way to get company completion in ansi-term or any other terminal mode in Emacs? It would be neat to use Emacs as a shell maybe...
1
Ibrahim Awwal's profile photo
9 comments
 
Never mind, it seems like it's working after restarting emacs, maybe something I tried to do while messing with my init.el didn't agree with it.
Add a comment...
 
Anyone knows  a way to find the current function in PHP ?
Like 'python-info-current-defun' in python mode ?
1
Gary Turner's profile photonicolas lamirault's profile photo
Add a comment...
 
When I use the url-retrieve-synchronously function, the function works well but after ~10sec I get a gnutls error about connection not being closed properly.

Does anyone know how to properly close the connection?
1
Sachin p's profile photo
 
I had similar problem behind proxy.
Add a comment...
 
Once I've set a variable to be local to a specific buffer (not local to every buffer), is there a way to undo that? 
1
Noah Friedman's profile photoArtur Malabarba's profile photo
2 comments
 
+Noah Friedman thanks! 
Add a comment...

Mike Vella

Questions  - 
 
I'm having some problems switching between emacs themes, I'm quite surprised how hard this is(!!): https://stackoverflow.com/questions/22866733/emacs-disable-theme-after-loading-a-different-one-themes-conflict?noredirect=1#comment34887344_22866733
On Emacs 24.3.1 if I M-X load-theme and load another theme, it often interferes with my current theme instead of replacing it, giving a very ugly result colour-wise. An example is here, where the solarized-light and wombat themes are conflicting: I solve this by doing a M-X disable-theme of the old theme, is there a cleaner way to solve this?
8
Kaushal Modi's profile photomartin haesler's profile photo
8 comments
 
+Kaushal Modi
You are very welcome.
Add a comment...

张振东

Questions  - 
 
Hi,everyone! I'm a beginner of Emacs. Something has bothered me for some of days!
It's how to complete c headers with company-clang?
Any ideas? thanks!
1
张振东's profile photo
12 comments
 
+Dmitry Gutov As above.Thank you.
Add a comment...

Björn Bidar

Questions  - 
 
Has anyone tried the css checker for flycheck?
And when how?
1
Björn Bidar's profile photoSebastian Wiesner's profile photo
3 comments
Add a comment...