Tag Info

New answers tagged

0

You can copy an Outlook e-mail to OneNote (comes in as a yellow letter icon), then right click and select 'link to paragraph', and then paste the link into another document that can work with links. But anyway, Microsoft should have made this whole thing of linking to an e-mail a standard feature. It was such a useful feature of Lotus Notes.


2

IMHO this answer on emacs.SE answers your question by explaining the differences between ELPA, MELPA, and Marmelade, including some words on the overlap between the three.


0

If you still have the session attached on the desktop and are sharing it with screen -x, the currently-displayed window does not automatically get refitted. In any case, you can trigger a force-fit (i.e. update what the "terminal" will return as its size when queried, and, if that changed, send a SIGWINCH) with the "fit" command, by default bound to e F ...


1

Send it a CONT signal: killall -CONT emacs A WINCH signal also seems to work, so you can just resize the Emacs window. Clicking on any menu items seems to work as well. If you were running Emacs from a terminal, fg ("foreground") or %emacs would work.


0

I'd prefer to make this a comment but don't have enough reputation Just an FYI: Anything libvte based supports bold, italics, underline and strikethrough. No other terminal engine supports all four. Application support is virtually zero though because the functionality is only a few months old and it'll be many many years before the escape sequences are ...


1

Using xfce4-terminal -e "emacs -nw" you are not running bash — rather, you are running emacs directly. So your shell initialization is not used. If you want to ensure that bash is run, you could do something like this xfce4-terminal -e "bash -i -c 'emacs -nw'"


0

I added at the begining of my init.el: (require 'iso-transl) And it accepts my spanish inputs.


1

Try forward slashes: //REMOTE-HOST/<path>


1

So, I found the answer. Turns out I in define-derived-mode I never invoked use-local-map on my custom key map. once I included: (use-local-map report-mode-map) Everything worked fine.


1

That link's use of the word "call" is used because there is more than one way to invoke it. For a quick demo, just type: Meta-x (Esc and lowercase x) eww (type this in the lower command prompt in emacs) This will prompt for "Enter URL or keywords:", and you might just type www.google.com The above is a typical emacs cmd invocation. You could also ...


0

I've had similar problem when I started to use ELPA. In my case I have had several local packages as those were not present in ELPA. And thus I had altered load-path. For some reason load-path is not properly updated by package.el. To solve the problem I had to put (setq load-path (cons "~/.emacs.d" load-path)) after the call to package-initialize


1

The filter mechanism is already in 24.4. Thanks to glucas. http://emacs.stackexchange.com/questions/8097/how-do-i-filter-kill-ring-contents (defvar kill-ring-entry-length 3) (defun my/replace-blank-kill (args) (let ((string (car args)) (replace (cdr args)) (last (car-safe kill-ring))) (when (or (and last (string-blank-p last)) ...


0

I had the same problem and setting line-number-display-limit-width solved it. I set it using 'customize' and 'Save for future sessions'. I thought that 'Save for future sessions' would include the 'Set for Current Session'. But that seems not to be the case. I had to quit and re-start emacs in order to make it take effect. That was in a GNU Emacs 22.3.1 ...


1

In Windows I have found Cygwin to work great. Just do not download everything when you install packages as that will take up way too much memory. When using the installer run a search for "openssh" and you should be good to go. Also, if you go this route, 'ncurses' is also a must have. I tested emacs using cygwin's ssh and ctrl+a worked fine.


0

I solved it with my customised function my-tab with some code written by phil.I bind tab key to my-tab, it will send a raw tab when in term-char-mode and do complete in other cases, also two quick tab will do yas-expand, by binding yas-next-field to "M-n", tab completion even works inside a snippet expansion. The problem is when company and yasnnipet has ...


0

From your question it appears, that you lack knowledge of the emacs fundamentals. I suggest to follow the emacs tutorial, which you can either acces via the menu bar or via C-h t.


0

Turns out I was loading my git prompt with .bash_profile, but not with .bashrc, after I had changed the load style of my bash configuration for speed. I've created https://github.com/mcandre/dotfiles/blob/master/.bashrc.d/emacs-git-prompt.sh to get the best of both worlds: fast shells, and idiomatic Emacs shell prompts!


0

Remove \v or \V from your PS1 variable. http://ss64.com/bash/syntax-prompt.html


0

Emacs provides some useful functions in menu-bar.el, of all places. So I have: (global-set-key [(control shift ?w)] 'clipboard-kill-ring-save) (global-set-key [(control shift ?y)] 'clipboard-yank)


0

Start another X server on a different console, with emacs as the main process: startx emacs Now you have no window manager, and can determine whether C-S-w makes it through to emacs. That's the first stage in tracking down the problem. If the problem is Emacs itself, then look first at function-key-map; if it's the window manager, then ps -fHu$USER (in ...


0

When you run a program in screen, the screen program can (and will) do this: screen has its own terminal description. It tries to map (convert) the underlying terminal's key sequences into that. The conversion is not complete. As a workaround, screen looks for customized terminal descriptions starting with screen.$TERM. ncurses provides some useful ...


0

You can make an emacs editing macro ("editing macros" are what the name "emacs" is derived from) and in the keyboard macro put commands that run Gnu Bash scripts or other shell programs and create scripts that query the user for Y or N answers. So to create the macro, you'd do something like this: Cx ( Mx new-frame return Mx shell return (or just Mx eshell ...


1

Short answer: M-x terminal-emulator sounds exactly like what you're asking for. What you need might be different - if you really just need to give the program a series of y lines on stdin, consider yes | program. If the program really wants its stdin to be a tty, consider using expect.


1

Try the library keyfreq - https://github.com/dacap/keyfreq It records how often you use different commands, grouped by mode. You can get a list of them with the function keyfreq-show: (defun keyfreq-show (&optional major-mode-symbol) "Show command usage statistics in `keyfreq-buffer'. If MAJOR-MODE-SYMBOL is given, the function shows the statistics ...


2

Assuming you don't want to store a macro in your .emacs file to make it a one keystroke macro, then using a generic startup: Ctrl-x 3 (divides current window vertically) Ctrl-x o (switches from left to right pane) Ctrl-x 2 (divides right pane into 2)


0

You can use replace-regexp for this: set mark to the last line --> C SPC and go to the last line type M-x replace-regexp RET in minibuffer (i have a key binding for this M-r) Give ^ RET type bar and hit RET This will add bar to the beginning of the line.


0

I needed to unbind ctrl+alt+down for Eclipse too, and for me it was bound in two places. Firsty in metacity, as described by seanf, but also in Compiz cube. I don't have ready access to the CompizConfig gui, so found that binding in gconf-editor as well, under the key /apps/compiz/plugins/cube/allscreens/options/unfold_key, which I set to Disabled (the ...


1

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 ...



Top 50 recent answers are included