Tag Info

New answers tagged

0

I solved this problem by modifying org/lisp/org-footnote.el Comment out a line in definition of 'org-footnote-re' (defconst org-footnote-re ;; Only [1]-like footnotes are closed in this regexp, as footnotes ;; from other types might contain square brackets (i.e. links) in ;; their definition. ;; ;; `org-re' is used for regexp compatibility with XEmacs. ...


2

I have a few ways to do this, easy ones first: Making the install prefix flexible is hard - I would just make the install prefix to your home directory, or somewhere that you can access on any of the machines, and use make install DESTDIR=/path/to/place/where/binaries/should/be/installed to install them to somewhere other than the prefix. I personally have ...


0

You can just define the linum size in your init config so it doesnt depend on default-face: (set-face-attribute 'linum nil :height 100)


0

EMACS will convert multiple slashes to a root path, e.g. // becomes / If you were to leave whatever text is in the minibuffer append a / paste the absolute path in the minibuffer, appending it to existing text The minibuffer will have a path such as ~//path2file/file EMACS will open /path2file/file There's no need to reassign Ctrl+K, just learn how ...


0

This have bothered me in the past as well. The solution I found was to make Ctrl+K a delete only command. This worked for me, as I never used Ctrl+K to copy and paste. Originally posted here ;; Ctrl-K with no kill (defun delete-line-no-kill () (interactive) (delete-region (point) (save-excursion (move-end-of-line 1) (point))) (delete-char 1) ...


1

You could always try to install the rpm from the later fedora versions. You can find them on rpmfind.net. Simply download the rpm matching your VM architecture and install using yum yum localinstall emacs-24.3-18.fc21.x86_64.rpm I'm not sure if you'll have the correct dependencies resolved. If so, you probably would have trouble compiling from source ...


1

With Fedora 17+, you can install emacs 24 simply: sudo yum install emacs You can search a package before install: yum search emacs Update Refer to this link, it seems that emacs 24.3 is not include in Fedora 17 repository. In this case, I think you should install emacs from source to get the newer version.


1

One solution is to use defadvice: (defadvice forward-word (around eif-forward-word activate) "forward-word, with the underscore not being a letter" (interactive "p") (modify-syntax-entry ?_ "_") ad-do-it (modify-syntax-entry ?_ "w")) Modify forward-word, backword-word, left-word, and right-word.


2

(replace-string "o" "├┤") replaces the next occurrence of o after the cursor┬╣, except in transient mark mode with an active mark in which case it replaces the first occurrence in the marked region. This works to replace the character after the cursor, but of course if that isn't an o then it could replace a character further. You could use the START and END ...


-1

Add this to your .emacs file to hide markup. (setq org-hide-emphasis-markers t)


0

Here's something that takes the current region and displays it in a new buffer with a timestamp: (defun date-stamp () (format-time-string " [%a %b %e %H:%M:%S %Z %Y]")) (defun extract-region (start end) (interactive "r") (setq sel (buffer-substring start end)) (switch-to-buffer-other-window (generate-new-buffer "*Command Output*")) (insert (concat ...


0

I had the same issue when running: git clone https://github.com/jwiegley/git-scripts.git cd git-scripts perl git-forest I used this as my test. Basically, you should get nice lines is you have utf8 set properly. If not you will get ugly boxes or characters. The solution is that you need to set LC_ALL to en_US.UTF-8 BEFORE you start a new screen session. ...


1

I wanted to run a dedicated terminal application, konsole. I wanted to open a new tab in konsole if it is running, or fire-up one if it is not. Since I was younger back then I split the implementation between emacs and bash. I call the following defun from emacs: (defun bk-konsoles () "Calls: bk_konsoles.bash -- which starts new tab in a running ...



Top 50 recent answers are included