Most Popular
1500 questions
10
votes
2 answers
An efficient set data structure in elisp
Does elisp provide a builtin efficient set data structure, similar to set in Python and std::set in C++?

xuhdev
- 1,839
- 13
- 26
10
votes
1 answer
Reference cells of other tables in org-mode table
I have a long document with 10 tables, and I want to to have a summary table at the end of the document. Something like that:
tab1
| Nº | Description | Value |
+----+-------------+-------+
|... |
+----+-------------+-------+
| …

Jeff
- 537
- 4
- 13
10
votes
2 answers
Any functionality differences using a two-space vs one-space convention at the end of a sentence?
Q: What practical reasons are there not to set sentence-end-double-space to nil?
A recently-revived thread on recognizing sentences that don't end in two spaces inspired this question.
The Emacs manual node on sentences notes that the sentence…

Dan
- 32,584
- 6
- 98
- 168
10
votes
2 answers
Magit doesn't recognise git repo through ssh connection
I'm using ssh to connect to a remote server. On the server there is a git repo called MRFLSSVM. However, when I execute magit-status on:
/ssh:qmServer:/home/Chang/qmCodeLab/MRFLSSVM/
Magit asks me to Create repository in…

spacegoing
- 419
- 2
- 9
10
votes
4 answers
Diff of two buffers without creating temporary files
I need the diff of two buffers. One way would be to create temporary files containing the contents of these buffers and to use the diff function. However, the buffers contain sensitive information and I'd prefer not to have that information in…

tmalsburg
- 2,540
- 1
- 14
- 29
10
votes
1 answer
Using Emacs to send Tweets or Queets
I'm using Quitter or Twitter to send out short messages. Most of my Queets/Tweets go out through the web interface. However I'd like to use Emacs for it. Does anyone a good method/mode to use with Quitter or Twitter?

Jens Kubieziel
- 681
- 10
- 26
10
votes
3 answers
Embed Image as Base64 on HTML export from Orgmode
The goal is to make a self-contained html file when exporting from orgmode so that the images are intrinsic to the file and a single html file will can be distributed (I am trying to do this for a class I teach and want to give students a single…

brittAnderson
- 719
- 1
- 7
- 18
10
votes
1 answer
How can I make fill-paragraph regard the formatting rules of Python docstrings?
If I press M-q in a docstring like this, then the line breaks in the docstring get messed up:
def foo(word):
"""
This is a function that does something.
@param word: str, input.
@returns: True
"""
becomes this
def foo(word):
"""This is…

Lenar Hoyt
- 1,163
- 7
- 25
10
votes
2 answers
Prevent org-mode code block background color from bleeding through when collapsed?
I'm applying a background color to code blocks in org-mode, as shown in this line from my colortheme:
'(org-block ((t (:background "#F5F5F5" :family "Source Code Pro" :height 140))))
When I collapse an item that contains a code block, the code…

ivan
- 1,928
- 10
- 20
10
votes
4 answers
Can I reload a library and have defvar re-assign values?
I am developing a library and would like to reload it after editing without exiting Emacs (assume that it is on load-path):
(load-library "myname")
When I do this, Emacs doesn't pick up changes to defvar-bound variables.
I don't want to call…

gavenkoa
- 3,352
- 19
- 36
10
votes
3 answers
Get all filenames in current Dired buffer with Elisp
As the title suggests, how do I get all the file entries in a Dired buffer using Elisp?

Tu Do
- 6,772
- 20
- 39
10
votes
1 answer
Is there a company backend for completion in sql-interactive-mode?
I'm using sql-interactive-mode, and I'm in need for a Company backends that will complete SQL keywords, and preferably, also column/table names of the used database.
When looking around for any completion, to my surprise, there was no backend for…

ReneFroger
- 3,855
- 22
- 63
10
votes
1 answer
Meaning of magit status buffer: Head, Merge, Push
Can someone explain what the top three lines of the magit status buffer mean? Especially Merge: origin/master Commit message
Head: master Commit message
Merge: origin/master Commit message
Push: origin/master Commit message
Using the…

evolved
- 227
- 1
- 7
10
votes
2 answers
How can I download a web page's source from Emacs?
I want to use Emacs as an enhanced way to view the source of a page (say http://example.com). Is there some easy way to download the page directly from Emacs, maybe even through C-x C-f?
I remember doing this somehow in the past (maybe thanks to…

Tikhon Jelvis
- 6,152
- 2
- 27
- 40
10
votes
2 answers
problem of loading a package at emacs startup
According to Emacs Eclim, I added the following to ~/.emacs.d/init.d for emacs-eclim:
(require 'eclim)
(global-eclim-mode)
; If you want to control eclimd from emacs, also add:
(require 'eclimd)
The output of emacs -nw --debug-init is:
Debugger…

Tim
- 4,987
- 7
- 31
- 60