help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is transient-mark-mode for newbies?


From: Tassilo Horn
Subject: Re: Is transient-mark-mode for newbies?
Date: Mon, 15 Oct 2007 18:17:35 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Mathias Dahl <address@hidden> writes:

> address@hidden (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?!

,----[ (info "(elisp)Circular Objects") ]
| To represent shared or circular structures within a complex of Lisp
| objects, you can use the reader constructs `#N=' and `#N#'.
| 
|    Use `#N=' before an object to label it for later reference;
| subsequently, you can use `#N#' to refer the same object in another
| place.  Here, N is some integer.
`----

I didn't know that, too.  Really not bad. :)

Bye,
Tassilo
-- 
No person,  no idea, and no  religion deserves to be  illegal to insult,
not even the Church of Emacs. (Richard M. Stallman)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]