< [new:DrewAdams:2006-09-04 17:45 UTC]
< : You might try adapting code from Lisp:column-marker.el. I might do that myself, when I get some time. -- DrewAdams
< You can also try Library Lisp:col-highlight.el . -- XueFuqiao
> : Try Library Lisp:col-highlight.el . -- XueFuqiao
Some things I have missed in Emacs, and don’t see a way to implement it easily.
These are some configuration files I use. It’s not all of my configuration – some of the Gnus stuff is missing – but it’s most of it.
I don’t use these things anymore, or they have found better maintainers.
VcDarcs was originally written by me, but has found a better maintainer since then.
What emacsen do you use? I use Emacs 21.4. I cannot find
(defalias 'with-selected-window 'save-selected-window) Is this workaround wrong?
Oh, this is GNU Emacs 188.8.131.52 (2006-06-03). A workaround might be
(defmacro with-selected-window (win &rest body) `(let ((win ,win)) (save-selected-window (select-window win t) (with-current-buffer (window-buffer win) ,@body))))
The definition from subr.el:
(defmacro with-selected-window (window &rest body) "Execute the forms in BODY with WINDOW as the selected window. The value returned is the value of the last form in BODY. This macro saves and restores the current buffer, since otherwise its normal operation could potentially make a different buffer current. It does not alter the buffer list ordering. This macro saves and restores the selected window, as well as the selected window in each frame. If the previously selected window of some frame is no longer live at the end of BODY, that frame's selected window is left alone. If the selected window is no longer live, then whatever window is selected at the end of BODY remains selected. See also `with-temp-buffer'." (declare (indent 1) (debug t)) ;; Most of this code is a copy of save-selected-window. `(let ((save-selected-window-window (selected-window)) ;; It is necessary to save all of these, because calling ;; select-window changes frame-selected-window for whatever ;; frame that window is in. (save-selected-window-alist (mapcar (lambda (frame) (list frame (frame-selected-window frame))) (frame-list)))) (save-current-buffer (unwind-protect (progn (select-window ,window 'norecord) ,@body) (dolist (elt save-selected-window-alist) (and (frame-live-p (car elt)) (window-live-p (cadr elt)) (set-frame-selected-window (car elt) (cadr elt)))) (if (window-live-p save-selected-window-window) (select-window save-selected-window-window 'norecord))))))
Could you explain how did you produce the screenshot with the dvorak layout on top of your background image ? And then, could you explain how to setup screen with Emacs C-a is taken by Emacs and I don’t know what key to use instead of this one.
The screenshot is simple. I added the dvorak layout using Gimp to my usual background image. The reason it can be seen is that I run Emacs in console mode - i.e.
emacs -nw - and my terminal (urxvt) supports transparent backgrounds. As for
C-a, to the horror of some people on the EmacsChannel, I actually use
C-a for both screen and ratpoison, resulting in me having to type
C-a a a to get to the beginning of the line - or just the
Home key. But for those who are not as crazy, you can tell screen to use for example
C-z as the escape key using
screen -e ^Zz. (I just couldn’t find a better key than
C-a for this…)
As for the Screen escape key: I’ve used
C-q and liked it. I’ve change recently to
escape `~) and I’m liking it better so far. --EmilioLopes
As recommended in a .screenrc sample i use
C-p. – AnalphaBestie?
Thanks for the suggestion! I tried
C-q for a bit, but for some reason it stressed my fingers more than
C-o works nicely, but I used that for something else already (lengthy explanation). What keyboard layout do you use? --JorgenSchaefer
I’m using your mudel mode for my MUSH endeavours, and find it quite nice save for a thing: highlighting. I’d like to be able to add a list of words to highlight in either one or several colours, so that (for example) when a certain user speaks (or when someone whispers/pages) the line or the username stands out. I don’t know how to really implement this, though… Is it supported already in mudel?