New answers tagged emacs
Explanation of the bug remember-other-frame calls switch-to-buffer-other-frame which calls display-buffer with the variable pop-up-frames set to t. This results in a call to make-frame with the argument pop-up-frame-alist. The function make-frame creates a frame on the same display device as the current selected frame. (What Emacs calls a frame is what GUIs ...
When you deleted a server with Meta+x+server-force-delete You must run again Meta+x+server-start After you can run emacsclient -a "" -e "(remember-other-frame)" without problem.
bind -p gives you the current bindings. You'll find that Ctrl+W is bound to unix-word-rubout and Alt+D to kill-word: "\C-w": unix-word-rubout "\ed": kill-word If you do a bind -p | grep kill-word, you'll find: "\e\C-h": backward-kill-word "\e\C-?": backward-kill-word Some terminals send ^H upon Backspace and some other ^? which is why there are two ...
If the buffer doesn't actually contain tabs, then you can use the Mac utility pbcopy to copy its contents into the cut buffer. Set a region with mark and point around the text you want to copy. Run shell-command-on-region, normally bound to M-| . Type pbcopy Return. The contents of the region are now in the cut buffer and you can paste them normally. I ...
An old post to an emacs-orgmode mailing list I found suggests one of the two following solutions (I have not tested these) should work: Add #+DISABLE_PLAIN_FOOTNOTES: some arbitrary text to your org-mode file. Add to your .emacs file: (defun jb/disable-plain-footnotes-hack () (if (plist-get opt-plist :no-plain-footnotes) (save-excursion ...
Both the variable x-select-enable-clipboard and function called x-cut-buffer-or-selection-value seem to be significant. (setq x-select-enable-clipboard t) (setq interprogram-paste-function 'x-cut-buffer-or-selection-value) Read more from this Source : Integrate emacs copy paste with system copy paste
From the Emacs manual, section 12.3.1 Using the Clipboard: Prior to Emacs 24, the kill and yank commands used the primary selection, not the clipboard. If you prefer this behavior, change x-select-enable-clipboard to nil, x-select-enable-primary to t, and mouse-drag-copy-region to t. In this case, you can use the following commands to act explicitly on ...
After the problem in my question I found yum failed every time with Another app is currently holding the yum lock; waiting for it to exit... I've been trying to get over this for four days,asking questions all over the place, finally I tried this: [root@localhost owner]# ps < /var/run/yum.pid PID TTY TIME CMD 4126 pts/0 00:00:00 su ...
It is just that emacs isn't in the base set of packages. In the end, POSIX mandates vi(1), not emacs, as the default system editor.
I found what the problem was, Emacs was creating broken symlinks: $ file .#xxxx .#xxxx: broken symbolic link to `firstname.lastname@example.org:1393008109'
The problem does not really have anything at all to do with dotfiles. When you say: ls -A dir/ it would display the contents of the directory, e.g. list files like foo, bar, ... Now when you attempt to pipe the list to xargs, the latter would attempt to find those in the current directory and pass/fail depending upon whether those filenames exist in the ...
Try changing you TERM type in you .bashrc file like this: export TERM=xterm-256color Then turn on UTF-8 coding system everywhere, like so: (prefer-coding-system 'utf-8) (set-language-environment 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (setq locale-coding-system 'utf-8) (if ...
I usually use replace-regexp for this -- replace $ (end of line) with whatever you want. You could do it all in one shot by replacing ^.*$ with "\&".
This answer may work well. find . -regex ".*\.#.*"
> touch .#test > find . -name '.#*' ./.#test Works! find uses shell globbing, not regular expressions. . does not need to be escaped in the former because it is not a special character, it is always literal. The glob equivalent of the regexp wildcard . is ?. Also, * is a wildcard in globbing, the regexp equivalent of which is .* (* being a ...
Top 50 recent answers are included