|
From: | Mathias Dahl |
Subject: | Re: Is transient-mark-mode for newbies? |
Date: | Mon, 15 Oct 2007 17:21:42 +0200 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) |
bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > I use temporary transient mark mode for mark commands > > (progn > '#1=((after transient-mark activate) > "Activate Transient Mark mode temporarily." > (setq transient-mark-mode 'only)) > (defadvice mark-sexp . #1#) > (defadvice mark-word . #1#) > (defadvice mark-paragraph . #1#) > (defadvice mark-defun . #1#) > (defadvice mark-end-of-sentence . #1#) > (defadvice mark-page . #1#) > (defadvice mark-whole-buffer . #1#) > > (defadvice LaTeX-mark-environment . #1#) > (defadvice LaTeX-mark-section . #1#)) WTF! What IS that stuff?! I thought you had yanked some text by mistake, but that actually works! :) Can anyone explain how/why? What puzzles me the most is the "thing" that looks like a declaration ('#1=).
[Prev in Thread] | Current Thread | [Next in Thread] |