Tag Info

New answers tagged

0

I was able to make a portable version of Emacs 24 on CentOS 7. The same approach should work on Debian. The first thing I did was to install a virtual machine with a fresh copy of the OS, to ensure that I have root and can install any required libraries and tools. My initial attempt to create a portable install involved installing the emacs package on a ...


1

First split one of the windows in two Ctrl+X 3, then switch one of the two horizontal windows to the previous one (i.e. the other horizontal split): Ctrl+X bEnter. Finally navigate to the other split window: Ctrl+X o followed by another Ctrl+X o and close Ctrl+X 0 If you have to do this often, you might want to look at the ToggleWindowSplit package


0

In a magit-status buffer you can usually achieve this with C-u RET. The same usually works for active links in info-mode and help-mode. But there's no generic way to do this in Emacs. As the document you linked to explains, it's left to the major modes' discretion how they respond to actions on clickable text. The prescription is: Implementing a link ...


0

add this to .emacs: ;; Do not use gpg agent when runing in terminal (defadvice epg--start (around advice-epg-disable-agent activate) (let ((agent (getenv "GPG_AGENT_INFO"))) (setenv "GPG_AGENT_INFO" nil) ad-do-it (setenv "GPG_AGENT_INFO" agent))) source: http://stackoverflow.com/a/16829842/3024945


0

THIS! -> https://github.com/ecraven/pinentry-emacs You'll have to do some wrenching, but using this thing worked for me. put the script there into a directory in your PATH and then add the following entry to ~/.gnupg/gpg-agent.conf: pinentry-program <path-to-pinentry-emacs/pinentry-emacs Then reload the agent: $ echo RELOADAGENT | gpg-connect-agent ...


1

Can you run X11 in emacs? Yes, but not how you describe. If you start in text only mode sudo init 3 and then log in and start emacs, you can start x by running the startx command through emacs. M-! startx Doing so will start the X environment on a separate screen/terminal that you will have to shift to using Ctrl-Alt-# where # is the in order to see. ...


2

M-< and M-> should jump to the very beginning and end of a buffer.


1

APT doesn't know anything about your manually-installed software. If you installed Emacs under /usr/local (the default location), that installation is completely independent from the Emacs installation under /usr managed by APT. Running emacs will run /usr/local/bin/emacs (your manual installation); running /usr/bin/emacs will run the Emacs installed by APT ...


0

The Emacs server The best way to do this is to contact the Emacs server and run an Emacs Lisp command. emacsclient -e '(with-current-buffer "*scratch*" (write-file "~/scratch.txt"))' Or you could attach Emacs to the current terminal and do whatever you want there, such as switch to the `scratch buffer and save its contents. emacsclient -nw ...


3

Apt-get does not have a "safeupgrade" command. Are you thinking of "aptitude safe-upgrade"? That aside, apt-get only "knows" things because the package system maintains a database of all the changes the package subsystem programs makes. When you download source and build it yourself and then install it, that is not done using the package subsystem so none ...



Top 50 recent answers are included