I don't know, but it might help to check C-h l
to see which sequence of mouse events Emacs is reporting in each case.
7890yuiop
How much would you pay for all-the-packages?! Don't answer yet because if you call now we'll install even more packages. That's right, packages which haven't even been written yet will be installed the moment that their first alpha version is detected on the internet! And if that wasn't enough, our first 100 callers will receive a free pair of GNU socks. Don't miss this incredible offer.
I guess you want to write a custom interprogram-paste-function
which checks to see if the value is a valid filename and, if so, establishes it relative to default-directory
in the current buffer.
(Sounds like freakish behaviour to me, but maybe that's just me.)
I think you need to define your requirements in more detail. What if you call magit-status while using Magit? Does that change what the "previous window configuration" should be? (I suspect it does, in which case it's not going to be "the previous window configuration" that you want). If I'm correct, you should clarify exactly which window configuration you want to restore, and when (in which specific circumstances) that should be captured.
I assume you're talking about the scenario where you want to search for the contents of the kill ring (so C-s C-y
for normal bindings).
That sounds like a deficiency of cua-mode to me; I think it seems reasonable for C-v
to behave like C-y
in that situation.
You can M-x report-emacs-bug
if there isn't an existing bug report for that.
(type-of (read "foo"))
symbol
(type-of (read "\"foo\""))
string
(type-of (read "42"))
integer
(type-of (read "[42]"))
vector
(type-of (read "(42)"))
cons
Etc, etc...
The lisp reader reads text and it produces lisp objects of various types (which might later be evaluated as code).
https://github.com/abo-abo/avy#avy-goto-char-timer is excellent for jumping to any text you can see on screen.
isearch and occur are excellent for jumping to specified text anywhere in the buffer.
imenu and xref-find-* are excellent for jumping to specific definitions in the buffer.
Or did you install Emacs on the server you SSH'd into?
That one, I believe. Eliminating Tramp from the equation is an easy and effective way to avoid Tramp-based overheads!
Unless your network connection is very slow or otherwise issue-prone, in which case ssh may not be responsive -- at which point Tramp offers significant advantages by only occasionally requiring network activity.
I use sticky modifier keys at the OS level. No need for any Emacs config, and I get the benefit in every program.
I'm not sure what that means, but forward-sexp
, backward-sexp
, and backward-up-list
are good for navigating across and within balanced expressions.
FYI on GUI frames the indicators appear in the fringe, and can be configured like so:
(push '(truncation nil nil) ;; no truncation indicators
;; '(truncation nil right-arrow) ;; right indicator only
;; '(truncation left-arrow nil) ;; left indicator only
;; '(truncation left-arrow right-arrow) ;; default
fringe-indicator-alist)))
/u/AkibAzmain has your solution for terminal frames.
For more info:
C-h i g (emacs)Line Truncation
C-h i g (elisp)Truncation
C-h i g (elisp)Display Tables
The question lent itself to both earnest and humorous replies, and it duly received both, so this seems very unnecessary. If you don't think a joke is funny, down-vote it and move on.