Tag Info

New answers tagged

0

I'm not sure I understand your question. Yes, with Bookmark+ you can have multiple bookmarks with the same bookmark name. (Actually, you can with vanilla Emacs too, but not usefully.) If you create autofile bookmarks, for instance, the bookmark name is the same as the relative file name, but the recorded file name is absolute, so you can have different ...


0

Here's my version which will delete everything within (or including) a matching pair of characters. The character pairs are defined in a list so that the matching start/end character are known. I've mapped it to "C-c i" for change in and "C-c a" for change all of. It also copies the removed characters to the clip board for pasting later. ; Re-create ci" ...


2

I use dired to access the remote machine and open a shell there. Here is the function I use, taken and modified from Tikhon Jelviss' emacs configuration: (defun anr-shell (buffer) "Opens a new shell buffer where the given buffer is located." (interactive "sBuffer: ") (pop-to-buffer (concat "*" buffer "*")) (unless (eq major-mode 'shell-mode) ...


1

It seems to me, that your main problem are to many old buffers, that you probably have not visted for some time. In emacs there is a command clean-buffer-list. By default it cleans buffers that have not been accessed for 3 days (or 1 hour, in the case of some special buffers). Of course, you can customize the time. Also have a look at midnight-mode, which ...


0

First, confirm that Preview is setup properly. In the preferences for preview, you should have "start on the last viewed page" checked. I'm guessing that you do, however. This is a bug with Preview.app in Yosemite. If the PDF is closed and you recompile, then reopen the pdf, it will be where you last left off. However, if the PDF is open and you ...


0

The list org-latex-classes is defined in ox-latex.el, so you need to insert (require 'ox-latex) in your .emacs before adding to it.


1

I believe your issue is resolved by explicitly stating the terminal type. I use multi-term for emacs in cygwin on windows7 x64 with the following lines in my .emacs: (require 'multi-term) (setq multi-term-program "/bin/bash") ;; <--- this is what you need (setq multi-term-dedicated-select-after-open-p t) (setq ...


0

I tried to use pdflatex with Auctex and (TeX-PDF-mode t) or (setq TeX-PDF-mode t) in my ~/.emacs didn't work, so here is what I found out: There is a variable and a function with the same name: TeX-PDF-mode. One can either set the variable directly with (setq TeX-PDF-mode t) or use the function (TeX-PDF-mode t). But the variable is not only buffer local, ...


0

The reason for the timeout was that the display wasn't set correctly on host B. The $DISPLAY environment variable must be set to the display of host A.


0

I use this one, which I slightly modified from a google post (https://groups.google.com/forum/#!topic/gnu.emacs.help/9UDFLLjBeKU) (defun get-word-boundary () "Return the boundary of the current word. The return value is of the form: (cons pos1 pos2). " (save-excursion (let (p1 p2) (progn (skip-chars-backward "-A-Za-z0-9_.") ;; here you can ...


0

shadowfile.el would do it for you. Unfortunately, it still lives in the ange-ftp world. Porting it to understand Tramp is on my todo list, but I haven't done yet.


0

I am not familiar with emacs, but I can think of several solutions: 1) Work in a NAS folder that is actually a file system that is not on the machine you are running to begin with, but it is rather an NFS of CIFS share. Not sure how well will this work given your VM hoses up 2) Create a custom macro that will save the file locally and then invoke an scp ...


1

One possible cause for this issue is the lack of a proper init file for the async process : from what I understand, the async exporter works by starting another emacs session, which needs an init file. This file is specified by the variable org-export-async-init-file, which by default points to your init file. I had the same problem, and based on ...


0

I just saw this bug report and adapted the workaround to sudo rm /var/lib/emacsen-common/state/flavor/installed/emacs24. Then sudo apt-get install emacs24 auctex worked.


0

Besides having the E mark, the article needs to be older than nnmail-expiry-wait days, which by default is 7, in other words, it has to be older than a week.


2

The following function was written by username Starkey on stackoverflow in a related question: http://stackoverflow.com/a/3417472/2112489 (defun close-all-buffers () (interactive) (mapc 'kill-buffer (buffer-list))) EDIT:  As suggested by @Drew in the comment below, it is generally a good idea to keep internal buffers that have a leading space in ...


1

Unsatisfactory Workaround The sequence C-x @ s-… is equivalent to s-…, e.g. C-x @ s-t is equivalent to s-t. Combined with iTerm2 shortcuts: Create a global or profile shortcut for ⌘… set to Send hex code, e.g. ⌘t => Send hex code Specify hex code of the form: 0x18 0x40 MOD KEY where MOD is either 0x68 or 0x73 for h and s respectively and KEY is the key ...



Top 50 recent answers are included