Description:
User queries and answers.
|
|
|
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 »
|
|
Hash-tables containing references to hash-tables
|
| |
Is it possible for a hash-table to contain a *reference* to another hash-table, similar to how we can build arbitrary graphs using conses/ lists and setf? If so how? If not, is there reason for being so or is it just an emacs todo? If we have (puthash parent-key (make-hash-table : size CHILD-SIZE) parent-hash)... more »
|
|
Visiting inexistent file
|
| |
Hi guys, I have an issue and I would like to have the most elegant solution. Whenever I visit an inexistent file, I would like to load an empty template file for that type. EG.: for .c and .h files, for .py and so on. Is there any possibility? Thanx in advance, Gabaux Linux is like a wigwam: no gates, no windows, and an apache inside!... more »
|
|
abbrev and escapes
|
| |
Here is a sample code that works with emacs22 in fundamental or tex mode. It expands \med into \medskip. (progn (clear-abbrev-table my-table) (define-abbrev-table 'my-table '( ("success" "success again") ("\\med" "\\medskip"))) (setq local-abbrev-table my-table) (setq abbrev-mode t)... more »
|
|
inserting code based on syntactic information in cc-mode
|
| |
Hello, I want to write elisp functions that can insert code based on the syntactic information at the point where they are invoked. For example, typing an opening brace at the start of a function definition should automatically insert the closing brace and put point on a new line between the two. But when an opening brace is typed at the start... more »
|
|
Creating a cyclical entry with a set number of repeats
|
| |
Hallo Group, I teach a class on Tuesday and Thursday evenings that lasts for eight weeks. A cyclical entry in the diary seems the obvious way to list this event but consulting the Emacs Manual and the Lisp Reference Manual doesn't show a way of creating a cyclical entry that doesn't repeat forever. Any ideas on how to do this or is there a better way?... more »
|
|
Imap backend does not timeout
|
| |
Hello, When checking for new mail (via IMAP), after returning from a suspend, the underlying connection gets stuck but it is not timed out. Cancelling the operation or restarting gnus does not help. The whole emacs needs to be restarted. As a workaround I have found out that killing the gnutls-cli process... more »
|
|
|