Description:
User queries and answers.
|
|
|
Automatically viewing diffs while composing changes with vc-mode
|
| |
Whenever I'm composing a changelog entry for vc-mode, I like to be able to view the corresponding diff. Currently, after I use 'C-x v v' to create the *VC-Log* buffer, I immediately press 'C-c C-d' to open the *VC-Diff* buffer. Then after entering my changelog entry and committing with 'C-c C-c', I always immediately close the *VC-Diff*... more »
|
|
regexp/emacs selective replace
|
| |
Hi, I have a tricky problem that I'm not sure how to solve. I have a latex document with several figure environments that look like this: \begin{figure} \includegraphics{blah.ps} \end{figure} but need to look like this: \begin{figure} \begin{center} \includegraphics{blah.ps} \end{center} \end{figure}... more »
|
|
my org-mode mysteriously uses opera as default browser...
|
| |
Hi M-x browse-url works as supposed and opens urls in Firefox. But since I installed opera on my ubuntu-system org-mode insists to use opera instead of FF... I already checked "customize-group org-mode" and grepped thru all my .el for "opera". And FF is still the default of gnome. Any suggestion what I can do?... more »
|
|
VM CRASH buffers
|
| |
If anyone out there is a VM user, I could use some help. I've got VM configured and it works pretty well. But when VM is running (and after I close it) there are a bunch of buffers open to e-mail messages in my CRASH box. For every mail I read, there is a buffer named ~/Mail/CRASH.mbox open. The file "CRASH.mbox"... more »
|
|
Detecting if a file is binary
|
| |
Is there a way in emacs-lisp code to detect if a file binary, that is it does *not* contain a correct multi-character coding. Or can every possible combination of bytes always be correctly decoded by some character coding? /Nordlöw
|
|
Querying Syntactic Context in C/C++
|
| |
How can I get information about the current enclosing C/C++ syntactic context such as namespace, class and function, structure etc? I know Semantic has something like this available. Does cc-mode provide such features aswell? Could someone give me an enlightening example of how use such a tool to query for the current enclosing C++ class.... more »
|
|
How to scroll 2 buffers at once
|
| |
I thought I remembered being able to scroll 2 buffers in separate windows at the same time... but stepping thru all the hits on `scroll' in a search of the commands (C-h b). I'm not finding one that applies to two windows at once.
|
|
Execute In Multiple Shells?
|
| |
Hi, How can I send the same command to multiple shell buffers at the same time? That is, if I have 5 bash shells running, how can I send "source ./.bash" to all of them at once? Thanks, -T
|
|
Is it possible for a macro to expand to nothing?
|
| |
That is, not to a call to a null defun, but truly to nothing: i.e., the ensuing code (as least, when byte compiled) will be identical to what it would have been, had the macro invocation been omitted. I want something like this: (defmacro ifdef (condition &rest forms) "If the compile time CONDITION is non-nil, dump the FORMS to the... more »
|
|
|